> ## Documentation Index
> Fetch the complete documentation index at: https://ownpay.org/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> OwnPay is licensed under AGPL-3.0 and is completely free - no licensing fees.
> Production docs URL: https://ownpay.org/docs - append .md to any page URL for clean markdown.
> OwnPay requires PHP 8.3+, MySQL/MariaDB, and Redis.
> MCP server available at https://ownpay.org/docs/mcp for programmatic documentation queries.
> Use root-relative links (e.g. /quickstart) for internal navigation - do NOT include /docs prefix.
> Plugin development: consult /developer/plugin-types/ pages for correct interfaces and manifests.

# Reports - Transaction Volume, Fees, and CSV Export

> Monitor business KPIs, analyze transaction volume, audit gateway fees, and export payment data as CSV or PDF reports per brand and date range.

The Reports page compiles analytics for your active brand. It provides visual summary cards for key performance indicators (KPIs) like Total Revenue, Transactions Count, Average Transaction value, and Total Gateway Fees.

## Getting here

1. Log in to the OwnPay admin dashboard
2. Under the **REPORTS & FINANCE** section in the left sidebar, click **Reports**

## Page sections

### 1. Filter control bar

* **From Date:** Start date of the audit window
* **To Date:** End date of the audit window
* **Gateway Dropdown:** Select a specific API or manual gateway, or select `All Gateways`
* **Generate Report Button:** Refreshes page calculations
* **Export CSV Link:** Generates and downloads the filtered raw transaction ledger list

### 2. Summary KPI cards

* **Total Revenue:** The total value of all completed payments
* **Transactions:** The total number of completed payments
* **Avg Transaction:** The average ticket size
* **Total Fees:** The cumulative transaction fees processed by payment gateways

### 3. Detailed analytics chart / table

Displays detailed conversion metrics. If no transactions are registered in the selected window, it displays "No transaction data for this period".

## Fields and options reference

| Query Field    | Type        | Default              | Description                                    |
| -------------- | ----------- | -------------------- | ---------------------------------------------- |
| **From Date**  | Date Picker | 1st of current month | The start of the reporting period              |
| **To Date**    | Date Picker | Current Date         | The end of the reporting period                |
| **Gateway**    | Select      | All Gateways         | Filter analytics to a specific payment gateway |
| **Export CSV** | Link        | -                    | Download option for raw spreadsheet data       |

## Best practices

* Regularly export CSV logs and archive them to secure local servers for bookkeeping backup
* Compare **Total Fees** metrics against your physical statements to ensure gateway fee percentages are configured correctly
* Do not select excessively wide date ranges (more than 1 year) if your brand processes thousands of transactions daily

<Warning>
  Double-check that your base default currency matches your report expectations. If your brand context defaults to BDT, all amounts shown in the reports cards represent BDT values.
</Warning>

## Common mistakes and troubleshooting

| Symptom                        | Cause                                               | Fix                                                            |
| ------------------------------ | --------------------------------------------------- | -------------------------------------------------------------- |
| Report shows zero transactions | Date range filter too narrow or wrong brand context | Expand the date range and verify the correct brand is selected |
| Amounts look wrong             | Currency mismatch between brand and report          | Verify the brand's default currency in **System > Settings**   |
| Chart not loading              | Browser blocked JavaScript or large dataset timeout | Refresh the page; if persistent, narrow the date range         |

## Related pages

* [Transactions](/user-guide/payments/transactions) - Review individual customer invoices and payments
* [Ledger](/user-guide/payments/ledger) - View double-entry debit and credit lines
* [Audit Log](/user-guide/reports-finance/audit-log) - Track actions performed by staff users


## Related topics

- [Features and Capabilities](/docs/resources/features.md)
- [Retrieve Dashboard Summary](/docs/api-reference/retrieve-dashboard-summary.md)
- [Ledger and Accounting - Double-Entry Journal Entries](/docs/user-guide/payments/ledger.md)
- [Performance and Scaling - Caching, Queues, and Optimization](/docs/advanced-topics/performance-scaling.md)
- [Double-Entry Ledger - Built-in Accounting for Payments](/docs/concepts/ledger.md)
