Look Up Vouchers by Number
lexware_list_vouchersRetrieve a specific bookkeeping voucher by its voucher number. Requires the voucherNumber parameter to return matching voucher details efficiently.
Instructions
Look up bookkeeping vouchers by voucher number. GET /vouchers is a LOOKUP endpoint, not a browsable collection: the Lexware API rejects any call without voucherNumber with HTTP 400 "voucherNumber parameter is required". To browse or filter vouchers, use lexware_list_voucherlist, which is the collection endpoint and carries the summary fields (contactName, openAmount) that /vouchers does not.
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": {
"voucherNumber": "<voucherNumber>"
},
"name": "lexware_list_vouchers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (0-indexed) | |
| size | No | Results per page (max 250) | |
| voucherNumber | Yes | Voucher number to look up. REQUIRED — the API returns 400 without it. |