Account Heads
Account Heads List
URL
fetch/account_heads
Method
POST
Request Media type
application/json
Response Media type
application/json
Request Parameters
| Parameter | Data Type | Min | Max | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| key | String | 32 | 32 | M | sCZClwdNNCX3JL0lovQBcM8q9U9wlJOy | Key obtained from authentiaction. |
| clientid | String | M | BEST_HMS | Client ID From Tally | ||
| tfirmid | Integer | O | 0 | If '0' is given all the firms data will be shown and if a specific firmid is given that corresponding firms data will be shown. | ||
| tacgroup | String | O | Group filter. If no value is provided, data for all groups will be returned. If a specific group name is provided, only data related to that group will be returned. |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| account_head | Array | M | Account Head List | |||
| achead | String | M | Account Head | |||
| tacgroup | String | M | Account Group | Account Group | ||
| taccode | Integer | M | 1 | Account Code | ||
| tfirmid | Integer | M | 1 | Firm ID | ||
| clientid | String | M | CTPL | Client ID | ||
| gstin | String | M | GSTIN | |||
| statename | String | M | Kerala | State | ||
| partyaddress | String | M | Address | Address of Account |
Sample Request
{
"key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq",
"clientid": "BEST_HMS"
}
Sample Success Response
{
"account_head": [
{
"achead": "Account Head",
"tacgroup": "Account Group",
"taccode": "1",
"tfirmid": "1",
"clientid": "CTPL",
"gstin": "",
"statename": "Kerala",
"partyaddress": "Address"
}
],
"e": 200,
"msg": "Success"
}