Use the /v1/oauth2/token endpoint to obtain an access token and pass it as a Bearer token in the Authorization header.
The unique identifier of the invoice
A single invoice
The unique identifier of the invoice
"1a901a90-1a90-1a90-1a90-1a901a901a90"
Unique code used to identify the billing entity. Must contain only alphanumeric characters, underscores, and hyphens.
"acme_inc"
Sequential ID of the invoice, unique within the billing entity.
3
Status of the invoice
DRAFT, FINALIZED "FINALIZED"
Status of invoice payment
PENDING, FAILED, SUCCEEDED "PENDING"
Total amount due for the invoice, including breakdown of fees, taxes, and discounts.
{
"total_amount": { "value": 19.99, "currency_code": "USD" },
"breakdown": {
"fees": { "value": 1, "currency_code": "USD" },
"credit_notes": { "value": 0, "currency_code": "USD" },
"sub_total_excluding_taxes": { "value": 20, "currency_code": "USD" },
"taxes": { "value": 0.99, "currency_code": "USD" },
"sub_total_including_taxes": { "value": 19.99, "currency_code": "USD" }
}
}Due date for the invoice payment
"2023-01-15"
Date when the invoice was issued
"2023-01-01"
Invoice number, unique within the billing entity.
"INV-2023-001"
Version number of the invoice, indicating the revision of the invoice.
"INV-2023-001"
Indicates whether the invoice payment is overdue.
false
Type of invoice
SUBSCRIPTION, ONE_OFF, CREDIT "SUBSCRIPTION"
A customer represents an individual or organization that can be billed for services. It includes personal information, contact details, and metadata.
Timestamp when the invoice was created
"2023-01-01T00:00:00Z"
Timestamp when the invoice was last updated
"2023-01-01T00:00:00Z"