Skip to content

List invoices

GET
/invoices
Code sample: Shell / cURL
curl --request GET \
--url 'https://example.com/api/v1/invoices?page=1&perPage=20&status=DRAFT&origin=SYSTEM&subscription=only&accounting=incomplete&orderState=pending&sort=createdAt&dir=asc' \
--header 'Authorization: Bearer <token>'

Lists invoices, searchable by q (number, subject, company, or the name of one of the company’s users) and filterable by client, order, status, order state (orderState=pending for the invoices whose order is To be confirmed), accounting state, issue-date range, and payment-date range (paidFrom and paidTo). accounting=incomplete is answered with 400 when the workspace has no active revenue account. Requires the invoices.view permission.

page
integer
default: 1 >= 1 <= 9007199254740991
perPage
integer
default: 20 >= 1 <= 100
q

Free-text search, ignoring case, over the invoice number or external number, subject and bill-to name, the company’s name, legal name or order prefix, and the first and last name of the company’s users (every word must appear in one of them, in any order). A person’s name returns every invoice of each company they are a user of, plus any invoice addressed to them.

string
<= 200 characters

Free-text search, ignoring case, over the invoice number or external number, subject and bill-to name, the company’s name, legal name or order prefix, and the first and last name of the company’s users (every word must appear in one of them, in any order). A person’s name returns every invoice of each company they are a user of, plus any invoice addressed to them.

clientId
string
orderId

Only invoices that sell or renew this order.

string

Only invoices that sell or renew this order.

status

Filter by invoice status. UNPAID and ISSUED are filters, not statuses. UNPAID keeps SENT, VIEWED and OVERDUE, including invoices paid in part, and leaves out DRAFT, PAID and CANCELLED: the invoices the Outstanding figure counts, overdue ones included. ISSUED keeps SENT, VIEWED, PAID and OVERDUE, the invoices the Invoiced figure counts.

string
Allowed values: DRAFT SENT VIEWED OVERDUE PAID CANCELLED UNPAID ISSUED

Filter by invoice status. UNPAID and ISSUED are filters, not statuses. UNPAID keeps SENT, VIEWED and OVERDUE, including invoices paid in part, and leaves out DRAFT, PAID and CANCELLED: the invoices the Outstanding figure counts, overdue ones included. ISSUED keeps SENT, VIEWED, PAID and OVERDUE, the invoices the Invoiced figure counts.

origin
string
Allowed values: SYSTEM EXTERNAL
subscription

Split revenue by billing model. only returns invoices that anchor a subscription or are one of its cycles; exclude returns everything else.

string
Allowed values: only exclude

Split revenue by billing model. only returns invoices that anchor a subscription or are one of its cycles; exclude returns everything else.

accounting

incomplete returns invoices with a priced line (non-zero amount) that has no revenue account or no class. Staff only. The request is rejected when the workspace has no active revenue account.

string
Allowed values: incomplete

incomplete returns invoices with a priced line (non-zero amount) that has no revenue account or no class. Staff only. The request is rejected when the workspace has no active revenue account.

orderState

pending keeps the invoices whose order is To be confirmed: created without knowing it and not yet added to an order, opened as one or marked No order. Cancelled invoices are left out.

string
Allowed values: pending

pending keeps the invoices whose order is To be confirmed: created without knowing it and not yet added to an order, opened as one or marked No order. Cancelled invoices are left out.

from

Inclusive start of an issue-date range (YYYY-MM-DD), resolved against the workspace’s own calendar day.

string format: date
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$/

Inclusive start of an issue-date range (YYYY-MM-DD), resolved against the workspace’s own calendar day.

to

Inclusive end of an issue-date range (YYYY-MM-DD), resolved against the workspace’s own calendar day.

string format: date
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$/

Inclusive end of an issue-date range (YYYY-MM-DD), resolved against the workspace’s own calendar day.

paidFrom

Payment-date range (YYYY-MM-DD, inclusive, the workspace’s calendar days; paidFrom and paidTo may be given alone). Keeps the issued invoices that received a successful payment dated in the range, or that were marked paid in it: the invoices behind the Received figure, whatever their issue date.

string format: date
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$/

Payment-date range (YYYY-MM-DD, inclusive, the workspace’s calendar days; paidFrom and paidTo may be given alone). Keeps the issued invoices that received a successful payment dated in the range, or that were marked paid in it: the invoices behind the Received figure, whatever their issue date.

paidTo

Payment-date range (YYYY-MM-DD, inclusive, the workspace’s calendar days; paidFrom and paidTo may be given alone). Keeps the issued invoices that received a successful payment dated in the range, or that were marked paid in it: the invoices behind the Received figure, whatever their issue date.

string format: date
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$/

Payment-date range (YYYY-MM-DD, inclusive, the workspace’s calendar days; paidFrom and paidTo may be given alone). Keeps the issued invoices that received a successful payment dated in the range, or that were marked paid in it: the invoices behind the Received figure, whatever their issue date.

sort

Column to order by, as on the invoices list: createdAt, issueDate, dueDate, paidAt (the date the invoice was paid in full; unpaid invoices come last) or total. Ties keep the newest created first. Without it the list is ordered by creation, newest first.

string
Allowed values: createdAt issueDate dueDate paidAt total

Column to order by, as on the invoices list: createdAt, issueDate, dueDate, paidAt (the date the invoice was paid in full; unpaid invoices come last) or total. Ties keep the newest created first. Without it the list is ordered by creation, newest first.

dir

Direction of sort: desc (default, latest date or largest amount first) or asc. Ignored without sort.

string
Allowed values: asc desc

Direction of sort: desc (default, latest date or largest amount first) or asc. Ignored without sort.

Paginated list of invoices.

Media typeapplication/json
object
data
required
Array<object>

An invoice. Monetary amounts are numbers; dates are ISO 8601 strings.

object
amountPaid
required
number
clientId
required
string
commissionDurationMonths
required
Any of:
integer
>= -9007199254740991 <= 9007199254740991
commissionDurationRule
required

Commission duration rule: ALWAYS, NEVER or FIRST_N_MONTHS.

string
contactId
required

The user of the invoice’s company it is addressed to (a contact id from GET /clients/{id}/contacts); it prints above the company’s name. Null addresses nobody.

string | null
createdAt
required
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
currency
required

ISO 4217 currency code.

string
discount
required

Discount percentage (0-100); null when no discount applies.

number | null
discountAmount
required
number
documentUrl
required

Link to the document the originating system produced.

string | null
dueDate
required
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
estimateId
required

Source estimate when the invoice was converted from one.

string | null
externalNumber
required

The number the originating system gave it. For an EXTERNAL invoice this is also its number; null for SYSTEM.

string | null
externalSource
required

Which system issued an EXTERNAL invoice, e.g. SPP or QuickBooks. Null for SYSTEM.

string | null
id
required
string
importedFrom
required

The import source (e.g. SPP) that wrote this invoice as one of the workspace’s own. Null for an invoice issued in Chelsea. An imported invoice keeps the notes it was sent with: the workspace’s note on every invoice is not printed on it.

string | null
isRecurring
required

True when the invoice bills a cycle of a client subscription (it has a subscriptionId).

boolean
issueDate
required
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
notes
required
string | null
number
required
string
orderId
required

The order this invoice sells or renews, when it has one.

string | null
orderPendingAt
required

When the invoice was created with its order To be confirmed; null once someone added it to an order, opened one from it or marked it No order, and for every invoice that never waited.

Any of:
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
origin
required

SYSTEM for an invoice this workspace issued, EXTERNAL for one issued elsewhere and recorded here. An EXTERNAL invoice is never emailed, rendered to PDF, charged, published or made recurring.

string
paidAt
required
Any of:
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
paymentRemindersPaused
required

Whether payment reminders are paused for this invoice alone. A paused company pauses all of its invoices regardless of this flag.

boolean
paymentRemindersPausedAt
required

When this invoice’s payment reminders were paused; null while they are not.

Any of:
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
periodEnd
required

End of the service period, inside its last day; an end exactly at a workspace midnight means the period ended the day before. See periodStart.

Any of:
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
periodStart
required

Start of the invoice’s own service period, the one accounting books: the subscription cycle or what a member set for a SYSTEM invoice, the order’s billing period orderId paid for on an EXTERNAL one. Workspace midnight of its first day.

Any of:
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
poNumber
required
string | null
sentAt
required
Any of:
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
status
required

Invoice status: DRAFT, SENT, VIEWED, OVERDUE, PAID or CANCELLED.

string
subject
required
string | null
subtotal
required
number
taxAmount
required
number
taxRate
required

Tax rate as a percentage (0-100); null when the invoice has no tax rate.

number | null
total
required
number
updatedAt
required
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
meta
required

Pagination metadata for list responses.

object
page
required
integer
>= -9007199254740991 <= 9007199254740991
perPage
required
integer
>= -9007199254740991 <= 9007199254740991
total
required
integer
>= -9007199254740991 <= 9007199254740991
totalPages
required
integer
>= -9007199254740991 <= 9007199254740991

Example generated

{
"data": [
{
"amountPaid": 1,
"clientId": "example",
"commissionDurationMonths": 1,
"commissionDurationRule": "example",
"contactId": "example",
"createdAt": "2026-04-15T12:00:00Z",
"currency": "example",
"discount": 1,
"discountAmount": 1,
"documentUrl": "example",
"dueDate": "2026-04-15T12:00:00Z",
"estimateId": "example",
"externalNumber": "example",
"externalSource": "example",
"id": "example",
"importedFrom": "example",
"isRecurring": true,
"issueDate": "2026-04-15T12:00:00Z",
"notes": "example",
"number": "example",
"orderId": "example",
"orderPendingAt": "2026-04-15T12:00:00Z",
"origin": "example",
"paidAt": "2026-04-15T12:00:00Z",
"paymentRemindersPaused": true,
"paymentRemindersPausedAt": "2026-04-15T12:00:00Z",
"periodEnd": "2026-04-15T12:00:00Z",
"periodStart": "2026-04-15T12:00:00Z",
"poNumber": "example",
"sentAt": "2026-04-15T12:00:00Z",
"status": "example",
"subject": "example",
"subtotal": 1,
"taxAmount": 1,
"taxRate": 1,
"total": 1,
"updatedAt": "2026-04-15T12:00:00Z"
}
],
"meta": {
"page": 1,
"perPage": 1,
"total": 1,
"totalPages": 1
}
}

Validation error. Parse failures include field paths and expectations.

Media typeapplication/json

Validation error with safe field paths and expected values; submitted values are never returned.

object
error
required
object
code
required

Stable machine-readable error code.

string
issues
Array<object>
object
expected
required
string
message
required
string
path
required
Array<string | number>
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Unauthorized.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Forbidden.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Rate limit exceeded. Wait for Retry-After before retrying.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}
RateLimit-Limit
string
/^\d+$/

Maximum requests in the current quota window.

RateLimit-Policy
string

Quota policy in requests and window seconds, for example 60;w=60.

RateLimit-Remaining
string
/^\d+$/

Requests left in this quota window (zero when blocked).

RateLimit-Reset
string
/^\d+$/

Seconds until the current quota window resets, when available from the rate-limit store.

Retry-After
string
/^\d+$/

Seconds until another request may be attempted.