Skip to content

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.

Detailed cost report per channel and period
Detailed cost report per channel and period

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.

FieldRequiredDefaultDescription
Date rangeYesLast 30 daysSelects the report period (start date to end date).
Billing AccountYesFirst accountThe 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.
WABANoAll WABARestricts 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.
CountryNoAll CountriesRestricts to a single country code. Available options: Indonesia (ID), Singapore (SG), Malaysia (MY), Thailand (TH).

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

CardDescription
TotalTotal cost across all categories for the selected period and filters
MarketingMarketing category conversation costs
UtilityUtility category conversation fee
AuthenticationAuthentication category conversation fee
ServiceService 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.”

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:

SeriesCategory
BlueUtility
GreenMarketing
PurpleAuthentication
PinkService

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

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.

The Costs by Phone Number breaks down costs per sender number, sorted from highest to lowest cost.

ColumnDescription
Phone Number IDThe phone number identifier (phone number id), displayed in a monospace font
Total ConversationsThe 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 CostThe total cost for that number (the default sort column)

If there is no data, the table displays “No data available.”

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