Create Credit Note
lexware_create_credit_noteCreate a credit note in Lexware, either as a draft or finalized immediately. Supports Lexware text formatting for descriptions and remarks.
Instructions
Create a new credit note in Lexware; finalize=true finalizes at creation, false or omitted creates a draft. In introduction, lineItems[].description, and remark, use only Lexware formatting: bold, italic, and dash-prefixed list items separated by newlines.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Credit note JSON body with voucherDate, address (contactId or manual fields), lineItems (name, quantity, unitPrice), totalPrice, and taxConditions. In introduction, lineItems[].description, and remark, use only Lexware formatting: **bold**, __italic__, and dash-prefixed list items separated by newlines. | |
| finalize | No | When true, finalize the credit note at creation via ?finalize=true. When false or omitted, create as draft. |