Pursue to a Dunning
lexware_pursue_dunningCreate a dunning as a follow-up to an unpaid invoice by providing the invoice ID. The dunning is generated in draft mode, ready for review.
Instructions
Create a new dunning as a follow-up to a preceding invoice via the documented POST /dunnings?precedingSalesVoucherId={id} endpoint. Dunnings are always created in draft mode and do not need to be finalized.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Dunning JSON body. Key fields: voucherDate, address (object with contactId or manual fields), lineItems (array), totalPrice (object), taxConditions (object). See Lexware API docs for full schema. | |
| precedingSalesVoucherId | Yes | UUID of the preceding invoice that this dunning is pursued from. Required by the Lexware API. |