create_stock_item
Create Tally stock items with unit, stock group, opening stock, GST rate, and HSN code to set up accurate inventory records.
Instructions
Create a stock item with unit, group, opening stock, GST rate and HSN.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| unit | No | Base unit symbol; must exist (see create_master type unit) | |
| group | No | Stock group (default Primary) | |
| 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 | Stock category | |
| gst_rate | No | Total GST % (IGST); CGST/SGST are set to half each | |
| hsn_code | No | ||
| cess_rate | No | ||
| extra_xml | No | Advanced: raw XML tags appended inside <STOCKITEM> | |
| taxability | No | ||
| description | No | ||
| opening_rate | No | ||
| opening_value | No | Defaults to quantity x rate | |
| opening_godown | No | Godown holding the opening stock (default Main Location) | |
| hsn_description | No | ||
| opening_quantity | No |