Skip to navigation

List invoices

Lists invoices, newest first.

Authentication

AuthorizationBearer
API Key authentication using Bearer token

Headers

Paid-BetaenumRequired

This endpoint is in the invoices=v1 beta. Send this header to use it.

Allowed values:

Query parameters

currencystringOptionalformat: "^[a-z]{3}$"

Lowercase ISO 4217 currency code, e.g. usd. Must be enabled on your account.

cursorstringOptional

The nextCursor of the previous page. Omit it for the first page.

customerstringOptional1-255 characters

Only this customer’s invoices: its cus_ ID, your externalId, or one of its aliases.

dueAt[gte]datetimeOptional
Due at or after this time.
dueAt[lt]datetimeOptional
Due before this time.
issuedAt[gte]datetimeOptional
Issued at or after this time.
issuedAt[lt]datetimeOptional
Issued before this time.
limitintegerOptional1-100Defaults to 10
How many objects to return, 1 to 100. Defaults to 10.
numberstringOptional
The invoice with this number.
orderstringOptional1-255 characters

Only this ord_ order’s invoices.

overdueenumOptional

true for overdue invoices only, false to omit them.

Allowed values:
paymentStatusenumOptional
From payments allocated to the invoice and credit notes applied to it. Expect new values.
Allowed values:
purchaseOrderNumberstringOptional
Invoices with this purchase order number.
sourceenumOptional

order when the billing run, an activation or an amendment built it from an order, manual when it was created with invoices.create.

Allowed values:
statusenumOptional

draft until finalized, then finalized. uncollectible once written off, voided once voided; voided is final. Payment is paymentStatus, not this. Expect new values.

Allowed values:

Response

200
objectenum

The type of object. Always list.

Allowed values:
datalist of objects
The invoices on this page, newest first.
hasMoreboolean
Whether another page follows this one.
nextCursorstring or null

Send it as cursor to get the next page. Null on the last page.

Errors

400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error
502
Bad Gateway Error
503
Service Unavailable Error