Base path
Endpoints
Attributes
Relationships
Invoices belong to Organizations and Subscriptions, and are built from Usage Records.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Billing invoices generated from subscriptions and metered usage. Invoices are issued per billing period and are read-only once finalized.
/v1/organizations/{organization_id}/invoices
| Method | Path | Description |
|---|---|---|
GET | /v1/organizations/{org_id}/invoices | List invoices for an organization |
GET | /v1/invoices/{id} | Get an invoice |
GET | /v1/invoices/{id}/line-items | List line items on an invoice |
POST | /v1/invoices/{id}/pay | Trigger payment on an open invoice |
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier |
organization_id | string | Parent organization reference |
subscription_id | string | Associated subscription reference |
status | enum | draft, open, paid, void, uncollectible |
total | number | Total invoice amount |
currency | string | ISO 4217 currency code |
period_start | datetime | Start of the billing period |
period_end | datetime | End of the billing period |
due_date | datetime | Payment due date |
paid_at | datetime | When payment was received |
Was this page helpful?