get
https://example.com
GET /v2/invoices/{id} — Get invoice detail
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Returns the full detail of a single invoice including line items.
Required role
affiliate_super_admin, affiliate_admin, or affiliate_agent
Response 200
200{
"id": "inv::abc123",
"billingPeriod": {
"id": "bp::abc123",
"periodStartAt": "2026-06-01T00:00:00.000Z",
"periodEndAt": "2026-06-30T00:00:00.000Z"
},
"status": "finalized",
"issueDate": "2026-06-01T00:00:00.000Z",
"dueDate": "2026-06-30T00:00:00.000Z",
"subtotalCents": 15000,
"subtotalDollars": 150.00,
"totalCents": 15000,
"totalDollars": 150.00,
"externalInvoiceLink": null,
"chargeFailureReason": null,
"summary": {},
"metadata": {},
"lineItems": [
{
"id": "li::abc123",
"lineType": "usage",
"category": "platform_fee",
"code": "platform_fee",
"description": "Platform fee — May 2026",
"quantity": 1,
"unitPriceCents": 15000,
"amountCents": 15000,
"metadata": {}
}
],
"createdAt": "2026-05-30T14:00:00.000Z",
"updatedAt": "2026-05-30T14:00:00.000Z"
}There is no totalAmount, currency, or lineItems[].amount field — use totalCents/totalDollars and lineItems[].amountCents. Status values are draft, finalized, processing, paid, overdue, failed, void — there is no pending status.
