Authorizations
API key authentication
Path Parameters
The invoice ID
Query Parameters
Comma-separated list of fields to expand. Currently supports: lineItems
Page size for line items when expand=lineItems
1 <= x <= 1000Pagination token for line items when expand=lineItems
Response
Invoice details
The invoice ID
The object type
invoice Whether this invoice auto-approves after calculation
The billing anchor date used for period calculations
ISO 8601 duration string for billing frequency
When the invoice was created
The end of the grace period for accepting usage events
Grand total (subtotal + tax) in decimal dollars (real-time for ACTIVE/CLOSING/CLOSED, cached otherwise)
Number of billing items (real-time for ACTIVE/CLOSING/CLOSED, cached otherwise)
The merchant organization ID
Amount already paid via wallet (account_type='main') in decimal dollars
The end of the billing period
The start of the billing period
The sequence number of this invoice period
The current status of the invoice
ACTIVE, CLOSING, CLOSED, CALCULATING, DRAFT, ISSUED, PAYMENT_FAILED, PAID, CANCELLED, WRITTEN_OFF, FAILED The subscription ID this invoice belongs to
Subtotal in decimal dollars (real-time for ACTIVE/CLOSING/CLOSED, cached otherwise)
Total tax in decimal dollars (real-time for ACTIVE/CLOSING/CLOSED, cached otherwise)
Amount accrued as liability (account_type='usage') in decimal dollars
When the invoice was last updated
The invoice number
Line items (only present if expand=lineItems query parameter is provided)
Additional metadata including transition history
When the next scheduled action should occur
When the invoice was paid (null if not yet paid)
Payment URL for completing payment (only present when status is ISSUED and unpaidAmount > 0)
Direct PDF download link for tax invoice
Public URL to view tax invoice
Tax reconciliation metadata (only present when plan has taxEnabled)