# 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.

![](/files/Q34KGq0rbIWYyeb0X46y)

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

![](/files/8nsP1riz4xcjJ0rmBAXb)

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.

![](/files/BNDRNxRGeuw6KDnKpnMu)

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

![](/files/SkU5oKxbXPqyUnlvOL8n)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-app-1.4/user-guide/regulatory-fees.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
