create_ledger
Create TallyPrime ledgers for parties, banks, expenses, income, and taxes by specifying a name and parent group, with optional contact, GST, address, and opening balance fields.
Instructions
Create a ledger (party, bank, expense, income, tax...).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pan | No | ||
| name | Yes | ||
| No | |||
| group | Yes | Parent group | |
| gstin | No | ||
| phone | No | ||
| state | No | ||
| mobile | No | ||
| address | No | Address lines (replaces existing lines) | |
| aliases | No | Alias names | |
| company | No | Company name as shown in Tally. Omit to use the currently active company. | |
| country | No | ||
| dry_run | No | If true, only return the XML that would be sent; nothing is written to Tally and no backup is taken. | |
| pincode | No | ||
| extra_xml | No | Advanced: raw XML tags appended inside <LEDGER> | |
| credit_days | No | ||
| mailing_name | No | ||
| opening_type | No | Default Dr | |
| contact_person | No | ||
| opening_balance | No | ||
| place_of_supply | No | Defaults to state | |
| maintain_bill_wise | No | ||
| gst_registration_type | No |