create_master
Creates TallyPrime account groups, stock groups, godowns, units, or cost centres with optional parent and aliases, plus a dry-run preview before writing.
Instructions
Create an account group, stock group, godown, unit (name = symbol, e.g. "KG") or cost centre.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| type | Yes | ||
| parent | No | Parent group / stock group / godown / cost centre ("Primary" for top level) | |
| aliases | No | Alias names | |
| company | No | Company name as shown in Tally. Omit to use the currently active company. | |
| dry_run | No | If true, only return the XML that would be sent; nothing is written to Tally and no backup is taken. | |
| category | No | cost_centre only: cost category (default Primary Cost Category) | |
| extra_xml | No | ||
| formal_name | No | unit only: formal name, e.g. "Kilograms" | |
| decimal_places | No | unit only |