Developer docsv1
Invoices

Download the invoice PDF

GET/invoices/{invoice}/download

Streams the invoice PDF. If the PDF is not ready yet, the request waits up to 20 seconds for it 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://app.fsaskaita.lt/api/invoices/9c1f7b2e-3a6d-4d5e-9f0a-2b7c8d9e0f11/download" \  -H "Authorization: Bearer $FSASKAITA_TOKEN" \  -H "Accept: application/json"
"string"
F-sąskaita / DevelopersWhat’s new