ApiKey: ********************
{
"action": "Taxes - TCS",
"name": "TCS Receivable",
"group_id": 21,
"tax_type": 2,
"individual_huf": 0.1,
"for_other": 0.1,
"pan_not_given": 1,
"calculated_on": 2,
"individual_bill_wise": 0,
"yearly_total": 50000,
"rounding_method": 1,
"opening_balance_details": {
"opening_balance": "500000",
"opening_balance_dr_cr": 2
}
}
curl --location --request POST 'https://app.hisabkitab.co/third-party/ledgers' \
--header 'Content-Type: application/json' \
--header 'ApiKey;' \
--data-raw '{
"action": "Taxes - TCS",
"name": "TCS Receivable",
"group_id": 21,
"tax_type": 2,
"individual_huf": 0.1,
"for_other": 0.1,
"pan_not_given": 1,
"calculated_on": 2,
"individual_bill_wise": 0,
"yearly_total": 50000,
"rounding_method": 1,
"opening_balance_details": {
"opening_balance": "500000",
"opening_balance_dr_cr": 2
}
}'
{
"data": {
"id": 21,
"name": "TCS Receivable",
"group_id": 21,
"model_type": "App\\Models\\Master\\TaxesTcs",
"model_id": 21,
"company_id": 1,
"ledgers_data": {
"TCSReceivable": {
"tax_type": 2,
"individual_huf": 0.1,
"for_other": 0.1,
"pan_not_given": 1,
"individual_bill_wise": 0,
"yearly_total": 50000,
"rounding_method": 1,
"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-05T05:11:44.000000Z",
"updated_at": "2025-04-05T05:11:44.000000Z",
"flag": "tcs"
},
"success": true,
"message": "Taxes - TCS Created Successfully."
}