Invoice PDF in the organisation's own layout
POST/api/v1/transactions/:transaction_id/pdf/layout
The PDF of an invoice or credit note the organisation sent, set in its own layout: an HTML document with placeholders, filled from the stored invoice (never from the request) and rendered as GoRoute's own page is, including the embedded ZUGFeRD / Factur-X XML for an EU seller. Refusals: 404 TRANSACTION_NOT_FOUND, 409 LAYOUT_SENT_DOCUMENTS_ONLY (a received document keeps its sender's page), 422 LAYOUT_INVALID (empty, unreadable or over 8 MB).
Requestโ
Responsesโ
- 200
- 404
- 409
- 422
The invoice PDF
Transaction not found
Not a document this organisation sent
The layout cannot be used