ApiKey: ********************
[
{
"action": "Customers",
"name": "Customer ledger",
"group_id": 27960,
"party_details": {
"gstin": "27ANUPC5555H1ZM",
"billing_address": {
"address_1": "billiing, Ward No. 38, P.C. No. 106A, RIS-Raipur",
"address_2": "test 1",
"country_id": "101",
"state_id": "4040",
"city_id": "133590",
"pin_code": "492001"
},
"same_as_billing_address": 0,
"shipping_address": {
"address_1": "shipping, Ward No. 38, P.C. No. 106A, RIS-Raipur",
"address_2": "tes 2",
"country_id": "101",
"state_id": "4017",
"city_id": "57658",
"pin_code": "492001"
},
"contact_person_name": "Test",
"region_iso_1": "in",
"region_code_1": "91",
"contact_person_phone_1": "7878889877",
"region_iso_2": "in",
"region_code_2": "91",
"contact_person_phone_2": "7878889877",
"contact_person_email": "test@gmail.com",
"contact_person_website": ""
},
"tax_details": {
"pan": "AAOFJ9779K",
"type_of_entity": 3,
"gst_registration_type": 1,
"tan": "",
"cin_number": ""
},
"other_details": {
"credit_period": 1,
"credit_period_type": 1,
"allow_credit_limit": 1,
"credit_limit": 100,
"credit_limit_action": 1,
"broker": null,
"brokerage_percentage": null,
"brokerage_on_value": null,
"transporter": null
},
"opening_balance_details": {
"opening_balance": 100,
"opening_balance_dr_cr": 2
}
},
{
"action": "Taxes - TDS",
"name": "Taxes - TDS ledger",
"group_id": "26338",
"tax_type": "1",
"individual_huf": "10",
"for_other": "10",
"pan_not_given": "20",
"individual_bill_wise": "0",
"yearly_total": "5000",
"rounding_method": "1",
"opening_balance_details": {
"opening_balance": 10000,
"opening_balance_dr_cr": 1
}
},
{
"action": "Secured Loan",
"name": "Secured Loan ledger",
"group_id": "4286",
"secured_loan_type": "1",
"loan_account_number": "12345678",
"name_of_financier": "sdsdsd",
"rate_of_annum": "10",
"opening_balance_details": {
"opening_balance": 100000,
"opening_balance_dr_cr": 2
}
}
]
curl --location --request POST 'https://app.hisabkitab.co/third-party/batch/ledgers' \
--header 'Content-Type: application/json' \
--header 'ApiKey;' \
--data-raw '[
{
"action": "Customers",
"name": "Customer ledger",
"group_id": 27960,
"party_details": {
"gstin": "27ANUPC5555H1ZM",
"billing_address": {
"address_1": "billiing, Ward No. 38, P.C. No. 106A, RIS-Raipur",
"address_2": "test 1",
"country_id": "101",
"state_id": "4040",
"city_id": "133590",
"pin_code": "492001"
},
"same_as_billing_address": 0,
"shipping_address": {
"address_1": "shipping, Ward No. 38, P.C. No. 106A, RIS-Raipur",
"address_2": "tes 2",
"country_id": "101",
"state_id": "4017",
"city_id": "57658",
"pin_code": "492001"
},
"contact_person_name": "Test",
"region_iso_1": "in",
"region_code_1": "91",
"contact_person_phone_1": "7878889877",
"region_iso_2": "in",
"region_code_2": "91",
"contact_person_phone_2": "7878889877",
"contact_person_email": "test@gmail.com",
"contact_person_website": ""
},
"tax_details": {
"pan": "AAOFJ9779K",
"type_of_entity": 3,
"gst_registration_type": 1,
"tan": "",
"cin_number": ""
},
"other_details": {
"credit_period": 1,
"credit_period_type": 1,
"allow_credit_limit": 1,
"credit_limit": 100,
"credit_limit_action": 1,
"broker": null,
"brokerage_percentage": null,
"brokerage_on_value": null,
"transporter": null
},
"opening_balance_details": {
"opening_balance": 100,
"opening_balance_dr_cr": 2
}
},
{
"action": "Taxes - TDS",
"name": "Taxes - TDS ledger",
"group_id": "26338",
"tax_type": "1",
"individual_huf": "10",
"for_other": "10",
"pan_not_given": "20",
"individual_bill_wise": "0",
"yearly_total": "5000",
"rounding_method": "1",
"opening_balance_details": {
"opening_balance": 10000,
"opening_balance_dr_cr": 1
}
},
{
"action": "Secured Loan",
"name": "Secured Loan ledger",
"group_id": "4286",
"secured_loan_type": "1",
"loan_account_number": "12345678",
"name_of_financier": "sdsdsd",
"rate_of_annum": "10",
"opening_balance_details": {
"opening_balance": 100000,
"opening_balance_dr_cr": 2
}
}
]'
{
"success": true,
"message": "Ledger Created Successfully."
}