ApiKey: ********************
{
"action": "Stock in hand",
"name": "Stock in hand ledger",
"group_id": "27958",
"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": "Stock in hand",
"name": "Stock in hand ledger",
"group_id": "27958",
"opening_balance_details": {
"opening_balance": 2000,
"opening_balance_dr_cr": 1
}
}'
{
"data": {
"id": 18,
"name": "Stock in hand ledger",
"group_id": "18",
"model_type": "App\\Models\\Master\\StockInHand",
"model_id": 18,
"company_id": 1,
"ledgers_data": {
"StockInHand": {
"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-05T04:37:13.000000Z",
"updated_at": "2025-04-05T04:37:13.000000Z",
"flag": "addless"
},
"success": true,
"message": "Stock in hand Created Successfully."
}