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
Invoice → Create
AI-generatedSummary
Creates a new invoice in Lexware Office.
Inputs
- Data (JSON) — Full Lexware request body as JSON (covers every field of the resource). Defaults to an empty object if not provided.
- Finalize — Whether to finalize the voucher (adds ?finalize=true to the request). Defaults to false.
- Preceding Sales Voucher ID — ID of a preceding voucher to create this document from (document chain). Defaults to empty string (no preceding voucher).
Output shape
For each input item, returns an object with a json field containing the created invoice as returned by the Lexware Office API.
If the request fails and the node is set to continue on failure, the error message is returned in the
jsonfield instead.
Examples
Example 1: Create a draft invoice from JSON data
Set Data (JSON) to the invoice payload, leave Finalize unchecked, leave Preceding Sales Voucher ID empty.
Example 2: Create and immediately finalize an invoice
Provide invoice JSON, enable Finalize.
Example 3: Create an invoice based on a previous document
Provide invoice JSON, set Preceding Sales Voucher ID to the ID of the existing voucher.