# Regulatory fees

[Regulatory fee](https://docs.digitalriver.com/digital-river-api/product-management/regulatory-fees) creation and management are outside the scope of the Salesforce Lightning app. Work with your Digital River project manager on the management of regulatory fees.

Once the fees are configured, the app will display any applicable fees to the shopper in the checkout flow.

![](https://4256002884-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqjgXMvJr1fV9cPhH4Ukz%2Fuploads%2FuHdq6f9vFzzAJpYDmnJG%2FRegulatory%20fee%201.png?alt=media)

The total of the fees is added to the **Cart** and **Order** and stored in the **DR Total Regulatory Fee** field.

![](https://4256002884-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqjgXMvJr1fV9cPhH4Ukz%2Fuploads%2FXU2G5jnYC0Y2eOlxn7XX%2FRegulatory%20fee%202.png?alt=media)

Additionally, any fees will be stored in the `CartItem` and `OrderItem` objects in the **DR Regulatory Fee**, which stores the sum of the regulatory fees for that line item.

![](https://4256002884-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqjgXMvJr1fV9cPhH4Ukz%2Fuploads%2F3XG5wjpUjNkYD0Pk5jjS%2FRegulatory%20fee%203.png?alt=media)

The breakdown of each fee is stored in the **Digital River Regulatory Fee** object, which is linked to the **Cart Item**.

![](https://4256002884-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqjgXMvJr1fV9cPhH4Ukz%2Fuploads%2FVqOahf7ffiXi85oGLxDU%2FRegulatory%20fee%204.png?alt=media)
