Usage & Billing (v2)
Get Billing Statement
A footed statement for one account and billing period — line items that add up to the totals.
GET
Returns a statement for a single account and period: the individual line items and the totals they foot to. Unlike usage summary, this does not roll up children — it reports one account (the caller by default, or the child named in
childAccountId).
Path Parameters
string
required
The billing month as
YYYY-MM.Query Parameters
integer
Report on one owned child instead of the caller. No portfolio rollup — use usage summary for that.
Response Fields
string
The
YYYY-MM period.string
When the statement was computed.
array
Billed line items (succeeded + refunded records; see billing record). Foot to
billed_total.array
Comped/bypassed line items. Foot to
bypassed_total.number
Sum of
lines.number
Total refunds within the period.
number
billed_total − refunds_total.number
Sum of
bypassed_lines.string
Currency.
string
A plain-language note describing how the lines foot to the totals.