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.

Query Parameters

limit
number
default:50

Maximum number of items to return (1-100).

Required range: x <= 100
Example:

50

cursor
string

Opaque cursor returned in the previous response's next_cursor. Omit to fetch the first page.

include_total
default:false

Set to true to include total in the response.

Example:

false

order
enum<string>
default:desc

Sort direction.

Available options:
asc,
desc
Example:

"desc"

sort
enum<string>

Field used to sort the results.

Available options:
created_at,
emitted_at
type
Available options:
invoice,
refund,
document,
child_invoice_ref,
child_creditnote_ref
type__in
Available options:
invoice,
refund,
document,
child_invoice_ref,
child_creditnote_ref
type__not
string

Rows that match one of the other type values. Values: invoice, refund, document, child_invoice_ref, child_creditnote_ref.

type__notIn
string

Rows that match none of these type values; a single value returns the rows that match one of the other values. Comma-separated, max 100 values. Values: invoice, refund, document, child_invoice_ref, child_creditnote_ref.

status
Available options:
all,
open,
grace_period,
to_pay,
to_reconcile,
error,
paid,
settleable,
finalized,
partially_paid,
outstanding,
refunded,
late,
draft,
pending_approval,
changes_requested,
voided,
closed,
uncollectible,
pending_consolidation,
consolidated
status__in
Available options:
all,
open,
grace_period,
to_pay,
to_reconcile,
error,
paid,
settleable,
finalized,
partially_paid,
outstanding,
refunded,
late,
draft,
pending_approval,
changes_requested,
voided,
closed,
uncollectible,
pending_consolidation,
consolidated
status__not
string

Rows that match one of the other status values. Values: all, open, grace_period, to_pay, to_reconcile, error, paid, settleable, finalized, partially_paid, outstanding, refunded, late, draft, pending_approval, changes_requested, voided, closed, uncollectible, pending_consolidation, consolidated.

status__notIn
string

Rows that match none of these status values; a single value returns the rows that match one of the other values. Comma-separated, max 100 values. Values: all, open, grace_period, to_pay, to_reconcile, error, paid, settleable, finalized, partially_paid, outstanding, refunded, late, draft, pending_approval, changes_requested, voided, closed, uncollectible, pending_consolidation, consolidated.

origin
Available options:
subscription,
quote,
wallet,
customer_credits,
invoice,
manual,
import
origin__in
Available options:
subscription,
quote,
wallet,
customer_credits,
invoice,
manual,
import
origin__not
string

Rows that match one of the other origin values. Values: subscription, quote, wallet, customer_credits, invoice, manual, import.

origin__notIn
string

Rows that match none of these origin values; a single value returns the rows that match one of the other values. Comma-separated, max 100 values. Values: subscription, quote, wallet, customer_credits, invoice, manual, import.

customer_id
string
customer_id__not
string
customer_id__equals
string
customer_id__contains
string
customer_id__startsWith
string
customer_id__endWith
string
customer_id__in
string

Rows whose customer_id is one of these values. Comma-separated, max 100 values.

customer_id__notIn
string

Rows whose customer_id is none of these values. Comma-separated, max 100 values.

customer_external_id
string
subscription_id
string
subscription_id__not
string
subscription_id__equals
string
subscription_id__contains
string
subscription_id__startsWith
string
subscription_id__endWith
string
subscription_id__isNull
subscription_id__isNotNull
subscription_id__in
string

Rows whose subscription_id is one of these values. Comma-separated, max 100 values.

subscription_id__notIn
string

Rows whose subscription_id is none of these values. Comma-separated, max 100 values. Rows where subscription_id is empty are not returned; use subscription_id__isNull=true to get them.

invoicing_entity_id
string
invoicing_entity_id__not
string
invoicing_entity_id__equals
string
invoicing_entity_id__contains
string
invoicing_entity_id__startsWith
string
invoicing_entity_id__endWith
string
invoicing_entity_id__in
string

Rows whose invoicing_entity_id is one of these values. Comma-separated, max 100 values.

invoicing_entity_id__notIn
string

Rows whose invoicing_entity_id is none of these values. Comma-separated, max 100 values.

invoice_number
string
invoice_number__not
string
invoice_number__equals
string
invoice_number__contains
string
invoice_number__startsWith
string
invoice_number__endWith
string
invoice_number__in
string

Rows whose invoice_number is one of these values. Comma-separated, max 100 values.

invoice_number__notIn
string

Rows whose invoice_number is none of these values. Comma-separated, max 100 values.

original_invoice_id
string
original_invoice_id__not
string
original_invoice_id__equals
string
original_invoice_id__contains
string
original_invoice_id__startsWith
string
original_invoice_id__endWith
string
original_invoice_id__isNull
original_invoice_id__isNotNull
original_invoice_id__in
string

Rows whose original_invoice_id is one of these values. Comma-separated, max 100 values.

original_invoice_id__notIn
string

Rows whose original_invoice_id is none of these values. Comma-separated, max 100 values. Rows where original_invoice_id is empty are not returned; use original_invoice_id__isNull=true to get them.

original_invoice_number
string
original_invoice_number__not
string
original_invoice_number__equals
string
original_invoice_number__contains
string
original_invoice_number__startsWith
string
original_invoice_number__endWith
string
original_invoice_number__isNull
original_invoice_number__isNotNull
original_invoice_number__in
string

Rows whose original_invoice_number is one of these values. Comma-separated, max 100 values.

original_invoice_number__notIn
string

Rows whose original_invoice_number is none of these values. Comma-separated, max 100 values. Rows where original_invoice_number is empty are not returned; use original_invoice_number__isNull=true to get them.

line_item_id
string
line_item_id__in
string

Rows whose line_item_id is one of these values. Comma-separated, max 100 values.

period_start
string<date-time>
period_start__not
string<date-time>
period_start__equals
string<date-time>
period_start__lt
string<date-time>
period_start__lte
string<date-time>
period_start__gt
string<date-time>
period_start__gte
string<date-time>
period_start__isNull
period_start__isNotNull
period_end
string<date-time>
period_end__not
string<date-time>
period_end__equals
string<date-time>
period_end__lt
string<date-time>
period_end__lte
string<date-time>
period_end__gt
string<date-time>
period_end__gte
string<date-time>
period_end__isNull
period_end__isNotNull
issued_at
string<date-time>
issued_at__not
string<date-time>
issued_at__equals
string<date-time>
issued_at__lt
string<date-time>
issued_at__lte
string<date-time>
issued_at__gt
string<date-time>
issued_at__gte
string<date-time>
due_at
string<date-time>
due_at__not
string<date-time>
due_at__equals
string<date-time>
due_at__lt
string<date-time>
due_at__lte
string<date-time>
due_at__gt
string<date-time>
due_at__gte
string<date-time>
updated_at
string<date-time>
updated_at__not
string<date-time>
updated_at__equals
string<date-time>
updated_at__lt
string<date-time>
updated_at__lte
string<date-time>
updated_at__gt
string<date-time>
updated_at__gte
string<date-time>

Response

200 - application/json
data
object[]
required

List of Invoice.

next_cursor
string | null
required

Cursor to fetch the next page. null when there are no more items.

Example:

null

has_more
boolean
required

Whether more items are available after this page.

Example:

false

total
number

Total number of items matching the filters. Only present when include_total=true was passed.

Example:

1