Search vouchers
list_vouchersSearch sales and purchase invoices, credit notes, quotations and other vouchers by type, status, and date range. Returns metadata; use get_sales_document or get_voucher for full details.
Instructions
Search all vouchers (sales and purchase invoices, credit notes, quotations and more) by type, status and dates. Returns metadata. Use get_sales_document or get_voucher for full details.
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": {
"voucherType": "<voucherType>",
"voucherStatus": "<voucherStatus>"
},
"name": "list_vouchers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 0-based page index | |
| size | No | Page size, 1 to 250, Lexware default 25 | |
| archived | No | ||
| contactId | No | Lexware resource id (UUID) | |
| voucherType | Yes | ||
| voucherDateTo | No | ||
| voucherNumber | No | ||
| voucherStatus | Yes | 'overdue' cannot be combined with other status values | |
| voucherDateFrom | No |