create_voucher
Create balanced accounting vouchers in Tally, including Payment, Receipt, Journal, Contra, Sales, and Purchase. Provide ledger entries with debits and credits to record transactions accurately.
Instructions
Create a new accounting voucher (e.g. Payment, Receipt, Journal, Contra, Sales, Purchase) in the active Tally company. Provide the full set of ledger entries; debits and credits must balance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Voucher date as YYYY-MM-DD or YYYYMMDD. | |
| entries | Yes | Ledger entries for the voucher. Sum of debit amounts must equal sum of credit amounts. | |
| narration | No | Optional narration/description for the voucher. | |
| voucherType | Yes | Tally voucher type name, e.g. "Payment", "Receipt", "Journal", "Contra", "Sales", "Purchase". | |
| voucherNumber | No | Optional voucher number; Tally auto-numbers if omitted. | |
| partyLedgerName | No | Optional party ledger name, relevant for Sales/Purchase vouchers. |