delete_master
Permanently delete a Tally ledger, group, stock item, or similar master after taking a backup; requires confirmation and fails if referenced by vouchers.
Instructions
Permanently delete a ledger, group, stock item, stock group, godown, unit or cost centre (a backup is taken first). Tally refuses if it is still used by vouchers or other masters. Requires confirm: true; get the user's approval first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| type | Yes | ||
| 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. |