> For the complete documentation index, see [llms.txt](https://docs.goaffpro.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.goaffpro.com/program-settings/advanced-settings/setup-sales-reporting.md).

# Setup Sales Reporting

**GoAffPro** provides you with the option to set up how sales are reported in the app.

To set up how sales are reported, go to the **Advanced** section of the **Settings** tab in the GoAffPro admin panel.

<figure><img src="/files/fUDA3Aripl1eYEpvzyfx" alt=""><figcaption><p>Settings > Advanced</p></figcaption></figure>

Here, go to the Sale reporting section.

![Sale reporting](/files/-MC5zPmfj81BzInGq0rr)

Now, choose between order total or order subtotal.

![Choose between order total or order subtotal](/files/-MC6OqGBocEoTE_TjN4p)

The order subtotal refers to the order amount before factoring in the discounts, shipping, or taxes. On the other hand, the order total is the complete sum that includes any discounts, shipping, or taxes.

{% hint style="info" %}
For example, if the order total is $100, with the product price being $90 and the shipping fee $10, then the order subtotal would be $90.&#x20;

In this sale, if a 10% discount is also applied to the product price, the order total would be $91 ($81 for the product price + $10 for shipping). In this case, the order subtotal would be $81.
{% endhint %}

<figure><img src="/files/RpOb0Asrlkjilkqtjtr2" alt=""><figcaption></figcaption></figure>

{% embed url="<https://www.youtube.com/watch?v=BxHL56RYFBI&feature=youtu.be>" %}
Setup Sales Reporting
{% endembed %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.goaffpro.com/program-settings/advanced-settings/setup-sales-reporting.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
