ApiKey: ********************
{
"action": "Fixed Asset",
"name": "Fixed Asset Ledger",
"group_id": "8",
"location_of_asset_id": 2,
"opening_balance_details": {
"opening_balance_dr_cr": 1,
"opening_balance": 100
}
}
curl --location --request POST 'https://app.hisabkitab.co/third-party/ledgers' \
--header 'Content-Type: application/json' \
--header 'ApiKey;' \
--data-raw '{
"action": "Fixed Asset",
"name": "Fixed Asset Ledger",
"group_id": "8",
"location_of_asset_id": 2,
"opening_balance_details": {
"opening_balance_dr_cr": 1,
"opening_balance": 100
}
}'
{
"data": {
"name": "Fixed Asset Ledger",
"group_id": "8",
"model_type": "App\\Models\\Master\\FixedAsset",
"model_id": 8,
"company_id": 1,
"ledgers_data": {
"FixedAsset": {
"location_of_asset_id": 93,
"opening_balance": null,
"opening_balance_dr_cr": null
}
},
"opening_balance": null,
"opening_balance_dr_cr": null,
"via_api": 2,
"is_import": false,
"updated_at": "2025-04-04T12:29:00.000000Z",
"created_at": "2025-04-04T12:29:00.000000Z",
"id": 8,
"flag": "additional"
},
"success": true,
"message": "Fixed Asset Created Successfully."
}