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 → Update
AI-generatedSummary
Update an existing voucher in Lexware Office by specifying its UUID and providing the full voucher data as a JSON object.
Inputs
- Voucher ID (required) — The UUID of the voucher to update.
- Voucher Data (JSON) (required) — The complete voucher data as a JSON string. The 'type' field must be one of salesinvoice, salescreditnote, purchaseinvoice, or purchasecreditnote. Include the 'version' field for updates.
Output shape
a single updated voucher record as JSON
Requires specifying the voucher UUID and providing the full voucher data JSON including version for update. The response returns the updated voucher object.
Examples
Example 1: Updating a voucher with new status and line items
Set resource to 'Voucher', operation to 'Update', specify the voucher ID, and provide the updated voucher JSON including fields like voucherStatus, voucherNumber, voucherItems, and version.