Invoices

List invoices

get

Get a paginated list of invoices with optional filtering

Authorizations
OAuth2applicationRequired
Token URL:
Query parameters
limitintegerOptional

Number of items to return

afterstringOptional

Specifies the cursor after which to start returning results. For the first page, this should be left empty. For subsequent pages, use the value of the end_cursor field from the previous response.

beforestringOptional

Specifies the cursor before which to return results. Use this to paginate backwards. For example, to load the previous page, provide the value of the start_cursor field from the last response.

created_at_startstringOptional

Filter by creation date start (RFC3339 format)

created_at_endstringOptional

Filter by creation date end (RFC3339 format)

due_date_startstringOptional

Filter by due date start (RFC3339 format)

due_date_endstringOptional

Filter by due date end (RFC3339 format)

customer_idstringOptional

Filter by customer ID

statusstring · enumOptional

Filter by invoice status

Possible values:
Responses
200

OK

application/json
get
/invoices

Create an invoice

post

Create a new invoice with line items

Authorizations
OAuth2applicationRequired
Token URL:
Body
customer_idstringOptional
due_datestringOptionalExample: 2025-01-01
Responses
post
/invoices

Get an invoice

get

Get invoice details by ID

Authorizations
OAuth2applicationRequired
Token URL:
Path parameters
idstringRequired

Invoice ID

Responses
200

OK

application/json
get
/invoices/{id}

Archive an invoice

delete

Archive an invoice

Authorizations
OAuth2applicationRequired
Token URL:
Path parameters
idstringRequired

Invoice ID

Responses
200

OK

application/json
delete
/invoices/{id}
get

Get a payment link for the specified invoice

Authorizations
OAuth2applicationRequired
Token URL:
Path parameters
idstringRequired

Invoice ID

Responses
200

OK

application/json
get
/invoices/{id}/payment-link
get

Get a signed PDF URL for the specified invoice

Authorizations
OAuth2applicationRequired
Token URL:
Path parameters
idstringRequired

Invoice ID

Responses
200

OK

application/json
get
/invoices/{id}/pdf-link

Restore an invoice

post

Restore an invoice

Authorizations
OAuth2applicationRequired
Token URL:
Path parameters
idstringRequired

Invoice ID

Responses
200

OK

application/json
post
/invoices/{id}/restore

Last updated

Was this helpful?