# 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.&#x20;

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

<div align="left"><img src="https://3825059470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE4mQlr6JaI21hIMVilNW%2Fuploads%2FdJzYOOAAneNv0vt5ECoF%2FRegulatory%20fee%201.png?alt=media&#x26;token=3c78fd93-2e93-4d56-bc34-9f8cc5501331" alt=""></div>

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

<div align="left"><img src="https://3825059470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE4mQlr6JaI21hIMVilNW%2Fuploads%2FTIzg12lnmIyaylJMscGs%2FRegulatory%20fee%202.png?alt=media&#x26;token=d408c5fd-47cf-4d6a-9ad5-a31472157fd3" alt=""></div>

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.

<div align="left"><img src="https://3825059470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE4mQlr6JaI21hIMVilNW%2Fuploads%2FE46vCsW9NkKJPTv5pA1y%2FRegulatory%20fee%203.png?alt=media&#x26;token=4b7ffe9b-8f9b-470e-8cd3-85c60265048f" alt=""></div>

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

<div align="left"><img src="https://3825059470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FE4mQlr6JaI21hIMVilNW%2Fuploads%2F2ZQGAlkR3kkJyIQJCWGl%2FRegulatory%20fee%204.png?alt=media&#x26;token=03e81a9b-ff94-4f9e-8db1-e6e16cc03572" alt=""></div>
