Update Voucher
lexware_update_voucherUpdate a bookkeeping voucher using its current version for optimistic locking; set an unchecked voucher's status to open during the update.
Instructions
Update a bookkeeping voucher with the current version for optimistic locking. If the existing voucher is unchecked, the update must transition voucherStatus to open.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Voucher UUID | |
| body | Yes | Voucher JSON with the current version field required for optimistic locking. If the existing voucher is unchecked, the update must transition voucherStatus to open; this constraint does not apply to vouchers already in other statuses. |