Lexware Office icon

Lexware Office

Interact with the full Lexware Office (lexoffice) API

Actions48

Invoice → Create

AI-generated

Summary

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 json field 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.

Links

Discussion