Get an invoice
GET/v1/orgs/{orgId}/billing/invoices/{invoiceId}
One invoice or monthly statement with its lines and payment status.
Before you call it
- Permission
billing:view
Parameters
| Parameter | What it does |
|---|---|
orgIdpath, uuidrequired | The organization the call acts on. For platform calls, your platform's id; for customer calls, the customer's organization id. Get them from getMe or the customer list. |
invoiceIdpath, uuidrequired | An invoice id from the invoice list. |
Response 200
The statement or invoice with its lines (billing:view)
| Field | What it does |
|---|---|
idstring (uuid)required | No description in the spec yet. |
numberstringrequired | No description in the spec yet. |
kindenumrequired | No description in the spec yet. One of |
statusenumrequired | No description in the spec yet. One of |
period_startstring (date)required | No description in the spec yet. |
period_endstring (date)required | No description in the spec yet. |
currencystringrequired | No description in the spec yet. |
subtotalstringrequired | No description in the spec yet. |
credits_totalstringrequired | No description in the spec yet. |
totalstringrequired | No description in the spec yet. |
inline_paidstringrequired | Fees already collected at settlement (shown, not owed) |
amount_paidstringrequired | No description in the spec yet. |
amount_duestringrequired | No description in the spec yet. |
due_atstring (date-time) | No description in the spec yet. |
issued_atstring (date-time) | No description in the spec yet. |
paid_atstring (date-time) | No description in the spec yet. |
payment_methodenum | No description in the spec yet. One of |
pdf_availablebooleanrequired | No description in the spec yet. |
created_atstring (date-time)required | No description in the spec yet. |
linesBillingInvoiceLine[]required | No description in the spec yet. |
lines[].idstring (uuid)required | No description in the spec yet. |
lines[].kindenumrequired | No description in the spec yet. One of |
lines[].product_codestring | No description in the spec yet. |
lines[].customer_org_idstring (uuid) | The end-customer (platform invoices) |
lines[].customer_namestring | No description in the spec yet. |
lines[].descriptionstringrequired | No description in the spec yet. |
lines[].quantitystringrequired | No description in the spec yet. |
lines[].volumestringrequired | No description in the spec yet. |
lines[].amountstringrequired | No description in the spec yet. |