Skip to navigation

List invoices

Beta

Returns a list of invoices, most recent invoice date first.

Beta: available to selected customers. Contact your Kota account manager for access.

Authentication

AuthorizationBearer
Authorization header using the Bearer scheme

Headers

X-Platform-IdstringOptional

The target platform id. Required only when calling with a dashboard (WorkOS AuthKit) access token instead of a platform API key — the token carries no platform claim, so the caller must say which platform it means. Ignored for platform API key / embed session token callers.

Query parameters

provider_idstringOptionalformat: "pr_.+"

Filter by provider. Prefixed with pr_.

employer_idstringOptionalformat: "er_.+"

Filter by employer. Prefixed with er_.

invoice_numberstringOptional

Filter by invoice number (case-insensitive, partial match).

from_datedateOptional
Only invoices dated on or after this date.
to_datedateOptional
Only invoices dated on or before this date.
pageintegerOptional
The page of results to return. Defaults to 1 if not provided.
page_sizeintegerOptional
The number of results to return per page. Defaults to 10 if not provided. Maximum value is 100.

Response

OK
itemslist of objects
A paginated array containing the response elements
pageinteger
The current page of the results
page_sizeinteger
The number of results on this page. This can be different from the requested page size if the total number of results is less than the requested page size
total_countinteger
The total number of elements available in the response. This is the total number of elements available across all pages, not just the current page.
has_next_pagebooleanOptionalRead-only
Whether there are more pages available after this page
has_previous_pagebooleanOptionalRead-only
Whether there are more pages available before this page

Errors

400
Bad Request Error