Itemized statement
GET /api/account/billing/statement?from=<rfc3339>&to=<rfc3339>
Returns the statement for a window. Authenticate with the account TokenAccount, or with the global token passing ?account=<account-name>. The from and to parameters are required, in RFC3339 format.
string
required
Start of the window, in RFC3339 (e.g.
2026-08-01T00:00:00Z).string
required
End of the window, in RFC3339 (e.g.
2026-09-01T00:00:00Z).string
Account name. Required only when you use the global token. With the TokenAccount, the account already comes from the token itself.
200 OK
Response fields
array
The line items for the period, one row per instance that had a billable period in the window. An instance deleted mid-period still appears, with the name and number it had, because the record survives deletion. See How billing works.
integer
Peak of simultaneous billable instances in the window. It is what sets the unit price tier.
integer
The sum of every item’s
amountCents, in cents. The usage for the period.integer
The credit included in your contract for the period, in cents. It is the invoice floor.
integer
How much usage went past the credit, in cents: the greater of
0 and usageCents minus creditCents. It stays 0 when usage fits within the credit.integer
The total charged for the period, in cents: the greater of
creditCents and usageCents. In other words, you never pay below the credit, and you pay the usage when it exceeds the credit.string
Start of the queried window.
string
End of the queried window.
Need a document ready to send to your customer? In the panel, at
/settings, tab Invoices and usage, you can download the period’s statement formatted as a PDF, and your invoices as PDF too.Next
Connection history
The timeline of when each number was connected.
How billing works
Credit, trial and the committed model in detail.