ApiKey: ********************
{
"action": "Other Current Assets",
"name": "Other Current Assets ledger",
"group_id": "12",
"opening_balance_details": {
"opening_balance": 2000,
"opening_balance_dr_cr": 1
}
}
curl --location --request POST 'https://app.hisabkitab.co/third-party/ledgers' \
--header 'Content-Type: application/json' \
--header 'ApiKey;' \
--data-raw '{
"action": "Other Current Assets",
"name": "Other Current Assets ledger",
"group_id": "12",
"opening_balance_details": {
"opening_balance": 2000,
"opening_balance_dr_cr": 1
}
}'
{
"data": {
"id": 12,
"name": "Other Current Assets ledger",
"group_id": "12",
"model_type": "App\\Models\\Master\\OtherCurrentAssets",
"model_id": 12,
"company_id": 1,
"ledgers_data": {
"OtherCurrentAssets": {
"opening_balance": null,
"opening_balance_dr_cr": null
}
},
"opening_balance": null,
"opening_balance_dr_cr": null,
"via_api": 2,
"is_import": false,
"created_at": "2025-04-04T13:10:49.000000Z",
"updated_at": "2025-04-04T13:10:49.000000Z",
"flag": "addless"
},
"success": true,
"message": "Other Current Assets Created Successfully."
}