Cost Report
The Cost Report displays WhatsApp conversation cost details for your billing account at Mahadata — broken down by conversation category (marketing, utility, authentication, service), by hour, and by phone number. This page is intended for account owners, finance teams, and operators who need to reconcile usage against invoices.
You access this feature from Billing > Usage & Reports (/billing/reports). This feature requires the billing:read permission — users without this permission cannot open the page.

Filter
Section titled “Filter”The filter bar is located above the report. The report reloads automatically shortly after you change the filters; there is also a button Refresh to manually reload.
| Field | Required | Default | Description |
|---|---|---|---|
| Date range | Yes | Last 30 days | Selects the report period (start date to end date). |
| Billing Account | Yes | First account | The report data source. Without a selected account, the report does not load and the message “Please select a Billing Account.” appears. The account list is taken from GET /api/billing. |
| WABA | No | All WABA | Restricts the report to a single WhatsApp Business Account. See the note below — the WABA options list is currently not populated so the filter is disabled. |
| Country | No | All Countries | Restricts to a single country code. Available options: Indonesia (ID), Singapore (SG), Malaysia (MY), Thailand (TH). |
Cost Summary Cards
Section titled “Cost Summary Cards”Below the filters there are five KPI cards. Each card shows the total cost value, the number of conversations, and the average cost per conversation (the average only appears if it is greater than zero).
| Card | Description |
|---|---|
| Total | Total cost across all categories for the selected period and filters |
| Marketing | Marketing category conversation costs |
| Utility | Utility category conversation fee |
| Authentication | Authentication category conversation fee |
| Service | Service category conversation fee |
If there is no data for the selected filters, the card area displays the message “No summary data available for the selected filters.”
Hourly Cost Breakdown Chart
Section titled “Hourly Cost Breakdown Chart”The Hourly Cost Breakdown section displays a stacked bar chart. Each bar represents one hour, and the bar height is divided into four color series according to the conversation category:
| Series | Category |
|---|---|
| Blue | Utility |
| Green | Marketing |
| Purple | Authentication |
| Pink | Service |
Hover over a bar to see a tooltip with the cost and count per category for that hour. If there is no data yet, the chart displays “No hourly data available.”
Export XLSX
Section titled “Export XLSX”The Export XLSX button in the corner of the chart downloads the report for the selected period as an Excel file (financial_report_<mulai>_to_<akhir>.xlsx). The export requires a Billing Account and a date range; if these are incomplete, a warning will appear. The file is generated by GET /api/reports/financial/export.
Cost per Phone Number Table
Section titled “Cost per Phone Number Table”The Costs by Phone Number breaks down costs per sender number, sorted from highest to lowest cost.
| Column | Description |
|---|---|
| Phone Number ID | The phone number identifier (phone number id), displayed in a monospace font |
| Total Conversations | The number of conversations for that number, along with its percentage of the total across all numbers |
| Average Cost / Conv. | Total cost divided by the number of conversations |
| Total Cost | The total cost for that number (the default sort column) |
If there is no data, the table displays “No data available.”
Currency and Time Zone
Section titled “Currency and Time Zone”- Currency is determined by the selected billing account and can be either IDR or USD. All cost values on cards, charts, and tables follow this currency.
- Time zone: hourly data is displayed according to the time zone set in your profile. When data is available, a “Data based on …” notice appears with a link to the profile page to change it.