list_vouchers
Retrieve vouchers and their entries for a date range, returning master_id values needed to alter or delete them; keep ranges short because each month takes about 5 seconds.
Instructions
List vouchers in a date range with their entries. Each row has master_id, which alter_voucher / delete_voucher use. Roughly 5 seconds per month of data, so keep ranges short.
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": {
"from": "<from>",
"to": "<to>"
},
"name": "list_vouchers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End date (YYYY-MM-DD) | |
| from | Yes | Start date (YYYY-MM-DD) | |
| item | No | Only vouchers with this stock item (case-insensitive contains) | |
| limit | No | Default 200 | |
| ledger | No | Only vouchers that touch this ledger (case-insensitive contains) | |
| search | No | Text to find in narration, reference or voucher number | |
| company | No | Company name as shown in Tally. Omit to use the currently active company. | |
| voucher_type | No | Exact voucher type name, e.g. "Sales" or "SALES GST-RD" |