Search Documentation
Search for a documentation page...
Invoices API
REST API endpoints for reading invoices.
Invoices are issued by the platform as orders are paid – this resource is read-only. To configure whether invoices are issued, or to set the footer note printed on them, use the invoiceSettings group on PATCH /api/v1/settings.
Scope: orders:read.
Order visibility. A request made for a person – through an OAuth app or the AI Assistant – only reaches the invoices of orders that person's role may see: the others are missing from the list and answer
404onGET /api/v1/invoices/:id. API keys see every invoice.
List Invoices
Query Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
offset | number | 0 | Number of invoices to skip |
limit | number | 20 | Invoices per page (1-100) |
query | string | – | Match an invoice number or the order's lookup reference |
environment | string | – | live or test; omit for both |
Response
series is the numbering series the number was counted in: "b2b" (company buyer) or "b2c" (consumer) while the store numbers consumer invoices separately (invoiceSettings.b2c on Settings), and null for the store's single shared series.
buyerType says who bought: "company" when the buyer's billing address (or the shipping address if there is none) has a valid NIP or EU VAT ID, "consumer" otherwise. It's set whether or not the store numbers consumer invoices separately. It can be null on invoices issued before November 2026 until they're backfilled.
Get Invoice
Returns a single invoice by UUID. Returns 404 if the invoice does not exist in this store.
Returns the same shape as a single item from the list response.