Invoices

Download invoice PDF

Download the invoice PDF as a binary stream (application/pdf).

  • format is a4 (default), ticket_80 or ticket_58; others return 422 parameter_invalid_enum.
  • The ETag changes with the invoice, VeriFactu alta and format; If-None-Match returns 304.
get/companies/{company}/invoices/{invoice}/pdf

Request

  • Base URL: https://api.factuarea.com/v1
  • URL: https://api.factuarea.com/v1/companies/{company}/invoices/{invoice}/pdf
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

companystring uuid required

Public identifier (UUID v7) of the company. Get it from GET /v1/me (data.scope[].id).

invoicestring uuid required

Public identifier (UUID v7) of the invoice.

Query parameters

format'a4' | 'ticket_80' | 'ticket_58' | 'null' nullable

Paper of the PDF: a4 (default), ticket_80 (80 mm thermal roll) or ticket_58 (58 mm roll); each format has its own ETag.

downloadstring

Send 1 to get the PDF as an attachment (Content-Disposition: attachment) instead of inline.

Headers

Factuarea-Versionstring date
Example:2026-06-01

Pin the API version (YYYY-MM-DD, Stripe-style date versioning) for this request; omit to use the key's pinned version, or the latest if none. Unsupported version → 400 unsupported_api_version; malformed → 400 parameter_invalid_format. The effective version is echoed in the Factuarea-Version response header. See the Versioning guide.

Response

Binary PDF stream of the invoice (application/pdf) in the paper chosen with format (a4 by default, ticket_80 or ticket_58). Use ?download=1 to receive Content-Disposition: attachment; otherwise the disposition is inline. The response carries an ETag; send it back via If-None-Match to get a 304 Not Modified when nothing changed.

Changes

No recorded changes to this operation across all 1 revision of this API.