voucher-details
Fetches complete voucher data by voucher code or number, including header, ledger entries, items, taxes, bill references, and payment splits for auditing or review.
Instructions
Complete voucher by vch_code or vch_no: header (series, sale type, godown, audit fields), narration, accounting entries, items (qty, rate, discount, godown), bill sundries, bill references, order lines, GST and TDS lines, serial numbers, batches, billing and transport details, POS payment split.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "voucher-details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fy | No | FY start year, e.g. 2024 = FY 2024-25 (default: selected year) | |
| vch_no | No | ||
| company | No | Company code e.g. COMP0001 (default: selected company) | |
| vch_code | No | ||
| vch_type | No | ||
| include_raw | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||