delete_voucher
Permanently deletes a Tally voucher after taking a backup, uses master_id (preferred) with confirm: true, and requires showing the voucher and getting approval first.
Instructions
Permanently delete a voucher from Tally (a backup is taken first). Identify it with master_id (preferred). Requires confirm: true. Show the user the voucher (get_voucher) and get their approval before calling this.
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. | |
| confirm | Yes | Must be true | |
| dry_run | No | If true, only return the XML that would be sent; nothing is written to Tally and no backup is taken. | |
| master_id | No | Voucher master_id (from list_vouchers / get_voucher). Preferred. | |
| voucher_type | No | ||
| voucher_number | No |