List invoices and statements
GET/v1/orgs/{orgId}/billing/invoices
Monthly statements (direct customers) or invoices (platforms), newest first (billing:view).
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. |
limitquery, integer | How many items to return. 1 to 100 |
Response 200
Statements and invoices
| Field | What it does |
|---|---|
itemsBillingInvoice[]required | No description in the spec yet. |
items[].idstring (uuid)required | No description in the spec yet. |
items[].numberstringrequired | No description in the spec yet. |
items[].kindenumrequired | No description in the spec yet. One of |
items[].statusenumrequired | No description in the spec yet. One of |
items[].period_startstring (date)required | No description in the spec yet. |
items[].period_endstring (date)required | No description in the spec yet. |
items[].currencystringrequired | No description in the spec yet. |
items[].subtotalstringrequired | No description in the spec yet. |
items[].credits_totalstringrequired | No description in the spec yet. |
items[].totalstringrequired | No description in the spec yet. |
items[].inline_paidstringrequired | Fees already collected at settlement (shown, not owed) |
items[].amount_paidstringrequired | No description in the spec yet. |
items[].amount_duestringrequired | No description in the spec yet. |
items[].due_atstring (date-time) | No description in the spec yet. |
items[].issued_atstring (date-time) | No description in the spec yet. |
items[].paid_atstring (date-time) | No description in the spec yet. |
items[].payment_methodenum | No description in the spec yet. One of |
items[].pdf_availablebooleanrequired | No description in the spec yet. |
items[].created_atstring (date-time)required | No description in the spec yet. |