Actions40
- Article Actions
- Contact Actions
- Country Actions
- Credit Note Actions
- Delivery Note Actions
- Event Subscription Actions
- File Actions
- Invoice Actions
- Order Confirmation Actions
- Payment Actions
- Payment Condition Actions
- Posting Category Actions
- Profile Actions
- Quotation Actions
- Voucher Actions
- Voucherlist Actions
Voucher → Create
AI-generatedSummary
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.