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
Dunning → Get PDF
AI-generatedSummary
Fetch the rendered PDF or XML e-invoice document for a specific Lexware Office dunning record.
Inputs
- ID (required) — The unique identifier of the dunning record to retrieve.
- Format — The media format to accept, either 'application/pdf' (PDF) or 'application/xml' (XML e-invoice). Defaults to 'application/pdf'.
- Binary Property — The name of the binary output property where the file data will be stored. Defaults to 'data'.
Output shape
a binary file
Returns the document file as binary data under the specified property name along with a JSON payload containing the record 'id'. Note that draft dunnings return an HTTP 406 error.
Examples
Example 1: Download a dunning document as a PDF
ID: 'd9b1a2c3-4e5f-6a7b-8c9d-0e1f2a3b4c5d', Format: 'PDF', Binary Property: 'data'
Example 2: Download a dunning document in XML e-invoice format
ID: 'd9b1a2c3-4e5f-6a7b-8c9d-0e1f2a3b4c5d', Format: 'XML (e-invoice)', Binary Property: 'xmlData'