Skip to main content

Usage, bills and reports

Everything you see on the portal's dashboard, Billing and Reports pages is available through the API, as JSON or (for reports and breakdowns) as spreadsheets.

Usage​

Across your estate​

GET/api/v1/usage/summaryTry it →
{
"totalSims": 214,
"activeSims": 198,
"suspendedSims": 6,
"transmittingSims": 187,
"dormantSims": 27,
"usageBytesThisMonth": 642123456512
}

transmittingSims have used data this month; dormantSims haven't.

GET/api/v1/usage/dailyTry it →

Data used across every SIM, one entry per day: the last 30 days by default, or ?from=2026-09-01&to=2026-09-30 (up to 366 days at a time).

{ "data": [ { "date": "2026-10-06", "usageBytes": 21474836480 }, { "date": "2026-10-07", "usageBytes": 19864223744 } ] }

One SIM​

Each SIM's usage block has this month so far: usageBytes, its allowanceBytes (or poolShareBytes in a pool), topUpBytes, overageBytes, smsCount and voiceMinutes. For more detail:

GET/api/v1/sims/{id}/usage/daily?month=2026-09Try it →
GET/api/v1/sims/{id}/sessions?from=…&to=…Try it →

Sessions are the network's own records, newest first: when, how much, the IP address, and which network (handy when roaming). Detailed session records are kept for a limited time; daily usage is kept for longer.

This month's bill so far​

GET/api/v1/billing/summaryTry it →
{
"currentMonth": "2026-10",
"currentMonthInvoiceDate": "2026-11-28T01:00:00Z",
"estimate": {
"total": 1286.4, "plans": 1090.0, "planSims": 198, "overage": 61.2, "sms": 3.2, "voice": 0.0,
"fixedPublicIps": 32.0, "topUps": 70.0, "privateApns": 30.0
},
"pendingMonth": "2026-09",
"pendingInvoiceDate": "2026-10-28T01:00:00Z",
"nextInvoiceDate": "2026-10-28T01:00:00Z"
}

An estimate in pounds excluding VAT, from this month's plans, usage and add-ons. Each month is invoiced late the following month, once the network's final usage figures are in, so between the 1st and that invoice there's also a pendingMonth waiting to be invoiced.

GET/api/v1/billing/payment-methodTry it →

Whether there's a card on file (hasCard), with its brand, last four digits and expiry. Cards are added and changed in the portal only.

Invoices and breakdowns​

GET/api/v1/billing/invoicesTry it →

Monthly bills and SIM orders, newest first, with the total including VAT, the status (paid, open, void, uncollectible), and a url to view or pay it. A monthly bill has month and a breakdownId.

GET/api/v1/billing/breakdownsTry it →
GET/api/v1/billing/breakdowns/{id}/file?format=xlsx | csvTry it →

Every monthly invoice comes with a breakdown: each SIM's plan, usage and charges, adding up exactly to the invoice. Download it as the .xlsx spreadsheet that was emailed, or ?format=csv for just the per-SIM rows (easy to load into your own systems).

curl -L "https://app.zentarinetworks.com/api/v1/billing/breakdowns/88/file?format=csv" \
-H "Authorization: Bearer $AXIS_API_KEY" -o breakdown-2026-09.csv

Reports​

The portal's Reports page, as data. Each report comes as JSON by default, or add ?format=csv or ?format=xlsx for a file.

ReportEndpointWhat's in it
Monthly usage and costGET /reports/monthly-usage?month=2026-09Every SIM's usage and cost for a month. A billed month matches the invoice exactly; the current month is provisional
Add-onsGET /reports/add-ons?month=2026-09The month's Fixed Public IPs, top-ups and private APN charges
EstateGET /reports/estateEvery SIM as it stands now: plan, status, usage and add-ons
Daily usageGET /reports/daily-usage?month=2026-09&poolId=7Each SIM's usage per day (only days with activity)
Needs attentionGET /reports/attentionSIMs worth a look: near or over their allowance, dormant, or whose usage jumped

As JSON, a report is a table:

{
"name": "Monthly usage and cost",
"notes": ["Usage is from the network's final records for the month."],
"columns": [
{ "key": "iccid", "header": "ICCID", "kind": "text" },
{ "key": "usage_bytes", "header": "Data used", "kind": "bytes" },
{ "key": "total", "header": "Total (£)", "kind": "money" }
],
"rows": [
["8944501234567890123", 1873420288, 6.5]
]
}

Each column's kind says how to read its values: text, integer, decimal, money (pounds), bytes, seconds, date or datetime. Columns' keys stay the same over time, so you can rely on them.