Download transport document PDF
Download the stored PDF of the current version or of ?version=N, byte for byte as issued (never re-rendered).
- Returns application/pdf; pass ?download=1 for an attachment.
- A draft returns 422, a purged document 410 transport_document_file_unavailable and an unknown version 404 transport_document_version_not_found.
Request
- Base URL: https://api.factuarea.com/v1
- URL: https://api.factuarea.com/v1/companies/{company}/transport-documents/{transport_document}/pdf
- Auth: one of:
- HTTP bearer
- API key in header X-API-Key
Path parameters
Public identifier (UUID v7) of the company. Get it from GET /v1/me (data.scope[].id).
Public identifier (UUID v7) of the transport control document (DeCA).
Query parameters
Version number of the PDF to download (1, 2, …). Omit it to get the current version.
Pass 1 (or true) to receive the PDF with Content-Disposition: attachment; otherwise it is served inline.
Headers
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.
Changes
No recorded changes to this operation across all 1 revision of this API.