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
Credit Note → Create
AI-generatedSummary
Create a credit note in Lexware Office via POST /v1/credit-notes.
Inputs
- data — JSON object representing the request body for the credit note.
- finalize — When set to true, appends the finalize=true query parameter to finalize the voucher immediately upon creation.
- precedingSalesVoucherId — The ID of a preceding sales voucher to create this document as part of a document chain.
Output shape
a single record
Returns the created credit note object as returned by the Lexware Office API.
Examples
Example 1: Create a draft credit note with raw JSON data
Set Data (JSON) to the credit note object payload, Finalize to false, and leave Preceding Sales Voucher ID empty.
Example 2: Create and finalize a credit note from an existing invoice
Set Data (JSON) to the credit note payload, Finalize to true, and set Preceding Sales Voucher ID to the invoice ID.