ApiKey: ********************
{
"action": "Loan and Advance (Asset)",
"name": "Loan and Advance Ledger",
"group_id": "10",
"address": {
"address_1": "billiing, Ward No. 38, P.C. No. 106A, RIS-Raipur",
"address_2": "test",
"country_id": "1",
"state_id": "3",
"city_id": "2",
"pin_code": "492001"
},
"contact_details": {
"contact_person_name": "test",
"contact_person_email": "test@gmail.com",
"region_iso_1": "in",
"region_code_1": 91,
"contact_person_phone_1": "",
"region_iso_2": "in",
"region_code_2": 91,
"contact_person_phone_2": "",
"contact_person_website": ""
},
"tax_details": {
"pan": "AAOFJ9779K",
"type_of_entity": "5"
},
"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": "Loan and Advance (Asset)",
"name": "Loan and Advance Ledger",
"group_id": "10",
"address": {
"address_1": "billiing, Ward No. 38, P.C. No. 106A, RIS-Raipur",
"address_2": "test",
"country_id": "1",
"state_id": "3",
"city_id": "2",
"pin_code": "492001"
},
"contact_details": {
"contact_person_name": "test",
"contact_person_email": "test@gmail.com",
"region_iso_1": "in",
"region_code_1": 91,
"contact_person_phone_1": "",
"region_iso_2": "in",
"region_code_2": 91,
"contact_person_phone_2": "",
"contact_person_website": ""
},
"tax_details": {
"pan": "AAOFJ9779K",
"type_of_entity": "5"
},
"opening_balance_details": {
"opening_balance_dr_cr": 1,
"opening_balance": 100
}
}'
{
"data": {
"id": 10,
"name": "Loan and Advance Ledger",
"group_id": "10",
"model_type": "App\\Models\\Master\\LoanAndAdvanceAsset",
"model_id": 10,
"company_id": 1,
"ledgers_data": {
"LoanAndAdvanceAsset": {
"person_name": "test",
"person_email": "test@gmail.com",
"phone_1": null,
"phone_2": null,
"website": null,
"pan_card_number": "AAOFJ9779K",
"entity_type": "5",
"tan": null,
"cin_number": null,
"rate_of_interest": null,
"reference": null,
"reference_name": null,
"reference_address": null,
"reference_contact_details": null,
"opening_balance": null,
"opening_balance_dr_cr": null,
"billing_address_address_1": "billiing, Ward No. 38, P.C. No. 106A, RIS-Raipur",
"billing_address_address_2": "test",
"billing_address_country_id": 1,
"billing_address_state_id": 3,
"billing_address_city_id": 2,
"billing_address_pin_code": "492001"
}
},
"opening_balance": null,
"opening_balance_dr_cr": null,
"via_api": 2,
"is_import": false,
"created_at": "2025-04-04T13:04:55.000000Z",
"updated_at": "2025-04-04T13:04:55.000000Z",
"flag": "addless"
},
"success": true,
"message": "Loan and Advance (Asset) Created Successfully."
}