Developer docsv1
Invoices

Download the invoice PDF

GET/invoices/{invoice}/download

Streams the invoice PDF. The PDF is rendered asynchronously after create and update; if it does not exist yet the request waits for it for up to 20 seconds and then fails with 500. Content-Length is not sent.

Authorization

bearerAuth
AuthorizationBearer <token>

Business token created in the app under Settings, Integrations, API. The token is scoped to exactly one business, has no expiry and is shown only once. Send it as Authorization: Bearer <token> together with Accept: application/json.

In: header

Path Parameters

invoice*string

The invoice ID.

Response Body

application/pdf

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/invoices/string/download"
"string"
F-sąskaita / DevelopersWhat’s new