get_voucher
Fetch a single TallyPrime voucher by its voucher number. Returns the voucher data as JSON, with an optional company name to select the correct ledger.
Instructions
Get a single voucher by its voucher number.
Args: voucher_identifier: The voucher number as it appears in TallyPrime. company: Company name. If omitted, uses the configured default.
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": {
"voucher_identifier": "<voucher_identifier>"
},
"name": "get_voucher"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| company | No | ||
| voucher_identifier | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||