get_voucher
Fetch one complete TallyPrime voucher by master_id, GUID, or date plus voucher number and type; optionally return raw Tally XML for inspection.
Instructions
Get one voucher in full by master_id (or guid, or date + voucher_number + voucher_type).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | With voucher_number: voucher date (YYYY-MM-DD) | |
| guid | No | ||
| company | No | Company name as shown in Tally. Omit to use the currently active company. | |
| master_id | No | Voucher master_id (from list_vouchers / get_voucher). Preferred. | |
| include_xml | No | Also return the raw Tally XML | |
| voucher_type | No | ||
| voucher_number | No |