Skip to main content
GET
List invoices

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

customer_id
string<uuid>
required

Query Parameters

limit
integer

Max number of results that should be returned

Required range: 1 <= x <= 100
next_page
string

Cursor that indicates where the next page of results should start.

status
string

Invoice status, e.g. DRAFT, FINALIZED, or VOID

type
enum<string>

Filter invoices by type. Defaults to returning all invoice types.

Available options:
USAGE,
USAGE_CONSOLIDATED,
SCHEDULED
skip_zero_qty_line_items
boolean

If set, all zero quantity line items will be filtered out of the response

sort
enum<string>

Invoice sort order by issued_at, e.g. date_asc or date_desc. Defaults to date_asc.

Available options:
date_asc,
date_desc
credit_type_id
string

Only return invoices for the specified credit type

contract_id
string<uuid>

Only return invoices for the specified contract

starting_on
string<date-time>

RFC 3339 timestamp (inclusive). Invoices will only be returned for billing periods that start at or after this time.

ending_before
string<date-time>

RFC 3339 timestamp (exclusive). Invoices will only be returned for billing periods that end before this time.

webhook_notification_id
string

Indicates that this API request was triggered by a webhook notification with the provided ID.

Response

Success

data
object[]
required
next_page
string | null
required