Create Voucher
lexware_create_voucherCreate bookkeeping vouchers directly in Lexware by specifying type, amounts, and items for sales, purchases, and credit notes.
Instructions
Create a new bookkeeping voucher in Lexware.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"body": "<body>"
},
"name": "lexware_create_voucher"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Voucher JSON. Key fields: type ("salesinvoice"|"salescreditnote"|"purchaseinvoice"|"purchasecreditnote"), voucherNumber, voucherDate, totalGrossAmount, totalTaxAmount, taxType, voucherItems (array), contactId |