Lexware Office icon

Lexware Office

Interact with the Lexware Office API

Actions40

Voucher → Create

AI-generated

Summary

Create a new bookkeeping voucher in Lexware Office by providing the voucher data as a JSON object.

Inputs

  • Voucher Data (JSON) (required) — The voucher data as JSON. Type must be one of: salesinvoice, salescreditnote, purchaseinvoice, purchasecreditnote. For creation, include fields like type, voucherStatus, voucherNumber, voucherDate, totalGrossAmount, totalTaxAmount, taxType, useCollectiveContact, and voucherItems details.

Output shape

a single JSON object representing the created voucher

The operation returns the created voucher's data as JSON. The returned data structure corresponds to the Lexware Office API's response for a created voucher.

Examples

Example 1: Create a purchase invoice voucher

Set resource to Voucher, operation to Create, and provide a valid voucherBody JSON with necessary fields such as type 'purchaseinvoice', voucherNumber, voucherDate, monetary amounts, and voucher items.

Links

Discussion