GET /v1/organizations/{organizationId}/billing/invoices
Returns one page of the selected organization’s invoices, newest first: every invoice issued to it with a nonzero total or actual charges, including charges fully paid by credit; drafts and empty invoices are excluded. Each names what it charged the organization’s own subscription and each project. Pass subject to list only the invoices that charge the organization itself or one of its projects, and nextCursor as cursor to read further. Listing invoices does not make a payment or modify a subscription.
- TypeScript
- Python
- Rust
- Go
TypeScript
Parameters
string
required
string
nextCursor of the page before; omitted for the first page.
integer
At most this many invoices, 1 to 100. 20 when omitted.
ListInvoicesSubjectParam
Only the invoices that charge this subject a nonzero amount: organization for the organization’s own charges, such as SSO and 10DLC, or one of its projects by id. Omitted, every invoice.
Returns
200 One page of the organization’s invoices, newest first, excluding drafts and empty invoices; includes charges fully paid by credit. ListInvoicesResponse
array of Invoice
required
string | null
required
Pass as cursor to read the next page. Null on the last page.