# Profitability by Account Report Fields

The Profitability by Account report provides insights into the financial performance of individual sales and COGS type accounts over a specified period and provides the gross profit for each account to help businesses analyze the profitability of the business by account.

### Key Sections of the Report

The report is structured into 5 main sections:

* **Name:** This section displays the name of the account.&#x20;
* **COGS:** This section details the amount spent from the respective COGS account. It is instrumental in understanding the direct costs tied to product or service delivery. This section is further divided into sub-sections:
  * **Group:** This section shows the amount spent from the account for the selected time period, sectioned on the basis of the how you have chosen to group the report (daily, weekly, quaterly, yearly, etc.)
  * **Total:** This section shows the total expenditure from the account for the selected time period.
* **Sales:** Conversely, this section catalogs the revenue accrued from sales for each sales account. It's a critical indicator of the market performance and customer acceptance of the offerings.&#x20;

  This section is further divided into sub-sections:

  * **Group:** This section shows the amount received into the account for the selected time period, sectioned on the basis of the how you have chosen to group the report (daily, weekly, quaterly, yearly, etc.)
  * **Total:** This section shows the total amount received into the account for the selected time period.
* **Gross Profit:** This section of the report articulates the Total Gross Profit of each account. The formula for assessing Gross Profit for each account within the report is quite straightforward: **Gross Profit = Sales Amount - COGS.** This calculation reveals the Gross Profit margin by account, allowing businesses to identify which accounts are most and least profitable.
* **Total:** The "Total" section at the bottom of the report gives you the total amount of all the sub-sections in the report.&#x20;

The Profitability by Account report delivers insights into the financial health of individual sales and COGS type accounts over a chosen period, presenting the gross profit for each to assist businesses in evaluating the profitability per account.


---

# 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.xorosoft.com/xoroerp-1/reports/sales/profitability-by-account-report/profitability-by-account-report-fields.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.
