Actions48
- Article Actions
- Contact Actions
- Country Actions
- Credit Note Actions
- Delivery Note Actions
- Dunning Actions
- Down Payment Invoice Actions
- Event Subscription Actions
- File Actions
- Invoice Actions
- Order Confirmation Actions
- Payment Actions
- Payment Condition Actions
- Posting Category Actions
- Print Layout Actions
- Profile Actions
- Quotation Actions
- Recurring Template Actions
- Voucher Actions
- Voucherlist Actions
Order Confirmation → Get PDF
AI-generatedSummary
Fetch the PDF or XML e-invoice file for a specific order confirmation from Lexware Office.
Inputs
- id (required) — The unique ID of the order confirmation record.
- accept — The format of the file to retrieve. Choose 'application/pdf' for PDF or 'application/xml' for XML e-invoice. Defaults to 'application/pdf'.
- binaryPropertyName — Name of the binary property under which to save the downloaded file data. Defaults to 'data'.
Output shape
a binary file
Returns a JSON object containing the record's ID alongside the downloaded file in the binary payload. Note that requesting a file for a draft document returns an HTTP 406 error.
Examples
Example 1: Download order confirmation as a PDF
Set ID to the order confirmation ID and Format to 'PDF'.
Example 2: Download order confirmation as an XML e-invoice
Set ID to the order confirmation ID, Format to 'XML (e-invoice)', and Binary Property to 'invoiceXml'.