Download invoice PDF
Downloads the invoice as a PDF file. See the right panel for request examples.
GET /api/sales-invoices/{id}/download-pdfPath parameters
Response
Status code: 200 OK
Response headers:
Response body: Returns the PDF file data in bytes.
PDF download is allowed when meta_info.peppol_status.overall_status is APPROVED, or when the document is a simplified invoice (transaction_type bit 1 is 1). Other Peppol statuses (PENDING, REJECTED, VALIDATION_FAILED) return 400.
