GET
/
invoices

Authorizations

Authorization
string
header
required

API Keys can be issued in the Orb's web application.

Query Parameters

customer_id
string | null
external_customer_id
string | null
subscription_id
string | null
status
enum<string> | null
Available options:
draft,
issued,
paid,
synced,
void
status[]
enum<string>[] | null
Available options:
draft,
issued,
paid,
synced,
void
due_date_window
string | null

Filters invoices by their due dates within a specific time range in the past. Specify the range as a number followed by 'd' (days) or 'm' (months). For example, '7d' filters invoices due in the last 7 days, and '2m' filters those due in the last 2 months.

date_type
enum<string> | null
default:
invoice_date
Available options:
due_date,
invoice_date
due_date
string | null
due_date[gt]
string | null
due_date[lt]
string | null
amount
string | null
amount[gt]
string | null
amount[lt]
string | null
is_recurring
boolean | null
limit
integer
default:
20

The number of items to fetch. Defaults to 20.

Required range: 1 < x < 100
cursor
string | null

Cursor for pagination. This can be populated by the next_cursor value returned from the initial request.

invoice_date[gte]
string | null
invoice_date[gt]
string | null
invoice_date[lt]
string | null
invoice_date[lte]
string | null

Response

200
application/json
OK
data
object[]
required
pagination_metadata
object
required