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
Down Payment Invoice → Get PDF
AI-generatedSummary
Fetch the rendered PDF or XML document file for a down payment invoice from Lexware Office.
Inputs
- id (required) — The unique identifier of the down payment invoice record.
- accept — The file format to retrieve: PDF ('application/pdf') or XML e-invoice ('application/xml'). Defaults to PDF.
- binaryPropertyName — The name of the binary property on the output item where the downloaded file data is stored. Defaults to 'data'.
Output shape
a binary file
The output item contains the requested file standard binary data stored under the designated binary property name, alongside a JSON object containing the invoice ID. Requesting a file for a draft voucher results in an HTTP 406 error.
Examples
Example 1: Retrieve a down payment invoice PDF
Set ID to the target down payment invoice ID, Format to 'PDF', and Binary Property to 'data'.
Example 2: Retrieve an e-invoice XML file
Set ID to the target down payment invoice ID, Format to 'XML (e-invoice)', and Binary Property to 'file'.