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.

Headers

Content-Type
string

Content-Type must be set to application/json.

Path Parameters

businessId
string
required

The UUID of the business to fetch invoices for.

Query Parameters

status
string

Filter invoices by status. Supports filtering by multiple statuses using two formats: 1) Comma-separated values: ?status=PAID,PARTIALLY_PAID 2) Multiple query parameters: ?status=PAID&status=PARTIALLY_PAID. Both formats return invoices matching any of the specified statuses.

due_at_start
string<date-time>

Filter invoices by due date. Invoices with a due date on or after this date will be included. Invoices without a set due date will not be included. ISO 8601 date format.

due_at_end
string<date-time>

Filter invoices by due date. Invoices with a due date on or before this date will be included. Invoices without a set due date will not be included. ISO 8601 date format.

sent_at_start
string<date-time>

Filter invoices by sent date. Invoices with a sent date on or after this date will be included. ISO 8601 date format.

sent_at_end
string<date-time>

Filter invoices by sent date. Invoices with a sent date on or before this date will be included. ISO 8601 date format.

customer_id
string<uuid>

Filter invoices by Layer customer id.

customer_external_id
string

Filter invoices by customer external id. Either the customer_id or the customer_external_id can be provided, but must match if both are provided.

reference_number
string

Filter by exact reference number match. Returns only records with this exact reference number.

reference_numbers
string

Comma-separated list of reference numbers to filter invoices by. Only invoices with reference numbers matching any value in this list will be returned.

min_amount
integer<int64>

Filter invoices by minimum total amount (in positive cents).

Required range: x >= 0
max_amount
integer<int64>

Filter invoices by maximum total amount (in positive cents).

Required range: x >= 0
memo
string

Filter invoices by exact memo match.

memo_contains
string

Filter invoices where memo contains this substring.

Response

data
object[]
required
meta
object

Request metadata. Present on paginated list responses.