POST
request to create a new Expense Debit Note. The request body should contain the details of the new transaction.ApiKey: ********************
{
"voucher_number": "4",
"voucher_date": "14-01-2025",
"supplier_id": 2702,
"gstin": "06AAKCA6445Q1Z2",
"supplier_purchase_return_number": null,
"supplier_purchase_return_date": null,
"original_inv_no": null, // purchase transaction id
"original_inv_date": null,
"billing_address": {
"address_1": "2121, 3RD FLOOR, RADHA RAMAN TEXTILE MARKET",
"address_2": "KADODARA ROAD",
"country_id": 101,
"state_id": 4030,
"city_id": 134096,
"pin_code": "395008"
},
"shipping_address": {
"shipping_name": null,
"shipping_gstin": null,
"address_1": "2121, 3RD FLOOR, RADHA RAMAN TEXTILE MARKET",
"address_2": "KADODARA ROAD",
"country_id": 101,
"state_id": 4030,
"city_id": 134096,
"pin_code": "395008"
},
"broker_details": {
"broker_id": null,
"brokerage_for_sale": null,
"brokerage_on_value_type": 1
},
"transport_details": {
"transport_id": null,
"transporter_document_number": null,
"transporter_document_date": null,
"transporter_vehicle_number": null
},
"eway_bill_details": {
"eway_bill_number": null,
"eway_bill_date": null
},
"other_details": {
"po_no": "FASG522",
"po_date": "10-12-2024",
"credit_period": "30",
"credit_period_type": 2
},
"ledgers": [
{
"ledger_id": 79973,
"additional_description": "test",
"rpu": 1000,
"with_tax": 0,
"discount_type": 1,
"discount_value": null,
"discount_type_2": 1,
"discount_value_2": null,
"gst_id": 12,
"cess": 0,
"total": 1000
},
{
"ledger_id": 79968,
"additional_description": "test",
"rpu": 500,
"with_tax": 0,
"discount_type": 1,
"discount_value": null,
"discount_type_2": 1,
"discount_value_2": null,
"gst_id": 12,
"cess": 0,
"total": 500
}
],
"main_classification_nature_type": "Interstate Purchase Taxable",
"is_rcm_applicable": 0,
"narration": "Expense credit note",
"gross_value": 200,
"additional_charges": [
{
"ac_ledger_id": 79970,
"ac_type": 1,
"ac_value": 500,
"ac_gst_rate_id": 12,
"ac_total_without_tax": 500
}
],
"taxable_value": 200,
"cgst": 0,
"sgst": 0,
"igst": 0,
"cess": 0,
"tcs_details": {
"tcs_tax_id": 80097,
"tcs_rate": 1,
"tcs_amount": 100
},
"tds_details": {
"tds_tax_id": null,
"tds_rate": null,
"tds_amount": null
},
"add_less": [
{
"al_ledger_id": 104221,
"al_is_show_in_print": 0,
"al_type": 1,
"al_value": 100
}
],
"rounding_amount": 0,
"grand_total": 200,
"payment_details": [
{
"pd_ledger_id": 2,
"pd_date": "10-12-2024",
"pd_amount": 400,
"pd_mode": 5,
"pd_reference_number": null
}
],
"is_gst_enabled": 0,
"is_cgst_sgst_igst_calculated": 0,
"is_gst_na": 1,
"is_round_off_not_changed": false
}
curl --location --request POST 'https://app.hisabkitab.co/third-party/expense-debit-note' \
--header 'Content-Type: application/json' \
--header 'ApiKey;' \
--data-raw '{
"voucher_number": "4",
"voucher_date": "14-01-2025",
"supplier_id": 2702,
"gstin": "06AAKCA6445Q1Z2",
"supplier_purchase_return_number": null,
"supplier_purchase_return_date": null,
"original_inv_no": null, // purchase transaction id
"original_inv_date": null,
"billing_address": {
"address_1": "2121, 3RD FLOOR, RADHA RAMAN TEXTILE MARKET",
"address_2": "KADODARA ROAD",
"country_id": 101,
"state_id": 4030,
"city_id": 134096,
"pin_code": "395008"
},
"shipping_address": {
"shipping_name": null,
"shipping_gstin": null,
"address_1": "2121, 3RD FLOOR, RADHA RAMAN TEXTILE MARKET",
"address_2": "KADODARA ROAD",
"country_id": 101,
"state_id": 4030,
"city_id": 134096,
"pin_code": "395008"
},
"broker_details": {
"broker_id": null,
"brokerage_for_sale": null,
"brokerage_on_value_type": 1
},
"transport_details": {
"transport_id": null,
"transporter_document_number": null,
"transporter_document_date": null,
"transporter_vehicle_number": null
},
"eway_bill_details": {
"eway_bill_number": null,
"eway_bill_date": null
},
"other_details": {
"po_no": "FASG522",
"po_date": "10-12-2024",
"credit_period": "30",
"credit_period_type": 2
},
"ledgers": [
{
"ledger_id": 79973,
"additional_description": "test",
"rpu": 1000,
"with_tax": 0,
"discount_type": 1,
"discount_value": null,
"discount_type_2": 1,
"discount_value_2": null,
"gst_id": 12,
"cess": 0,
"total": 1000
},
{
"ledger_id": 79968,
"additional_description": "test",
"rpu": 500,
"with_tax": 0,
"discount_type": 1,
"discount_value": null,
"discount_type_2": 1,
"discount_value_2": null,
"gst_id": 12,
"cess": 0,
"total": 500
}
],
"main_classification_nature_type": "Interstate Purchase Taxable",
"is_rcm_applicable": 0,
"narration": "Expense credit note",
"gross_value": 200,
"additional_charges": [
{
"ac_ledger_id": 79970,
"ac_type": 1,
"ac_value": 500,
"ac_gst_rate_id": 12,
"ac_total_without_tax": 500
}
],
"taxable_value": 200,
"cgst": 0,
"sgst": 0,
"igst": 0,
"cess": 0,
"tcs_details": {
"tcs_tax_id": 80097,
"tcs_rate": 1,
"tcs_amount": 100
},
"tds_details": {
"tds_tax_id": null,
"tds_rate": null,
"tds_amount": null
},
"add_less": [
{
"al_ledger_id": 104221,
"al_is_show_in_print": 0,
"al_type": 1,
"al_value": 100
}
],
"rounding_amount": 0,
"grand_total": 200,
"payment_details": [
{
"pd_ledger_id": 2,
"pd_date": "10-12-2024",
"pd_amount": 400,
"pd_mode": 5,
"pd_reference_number": null
}
],
"is_gst_enabled": 0,
"is_cgst_sgst_igst_calculated": 0,
"is_gst_na": 1,
"is_round_off_not_changed": false
}'
{
"data": {
"expense_debit_note_transaction": {
"id": 3,
"company_id": 6,
"payment_mode": null,
"payment_type_ledger_id": null,
"voucher_number": "4",
"voucher_date": "2025-01-13T18:30:00.000000Z",
"supplier_id": 6,
"original_inv_no": null,
"original_inv_date": null,
"supplier_purchase_return_number": null,
"supplier_purchase_return_date": null,
"gstin": null,
"broker_id": null,
"brokerage_for_sale": null,
"brokerage_on_value_type": 1,
"transport_id": null,
"transporter_document_number": null,
"transporter_document_date": null,
"transporter_vehicle_number": null,
"shipping_name": null,
"shipping_gstin": null,
"dn_item_type": 1,
"tcs_tax_id": null,
"tcs_rate": null,
"tcs_amount": null,
"ledger_of_tds": null,
"tds_rate": null,
"tds_amount": null,
"cgst": 0,
"sgst": 0,
"igst": 0,
"rounding_amount": 0,
"total": 200,
"grand_total": 200,
"taxable_value": 200,
"gross_value": 200,
"narration": "Expense debit note",
"is_gst_enabled": 0,
"cess": 0,
"is_cgst_sgst_igst_calculated": 0,
"is_gst_na": 1,
"is_round_off_not_changed": false,
"payment_status": "Unpaid",
"due_amount": 200,
"paid_amount": 0,
"payment_transaction_item": [],
"journal_transaction_item": [],
"debit_note_ledgers": [
{
"id": 1,
"debit_note_id": 1,
"ledger_id": 1,
"additional_description": "test",
"with_tax": false,
"rpu_with_gst": 100,
"rpu_without_gst": 100,
"discount_type": 1,
"discount_value": null,
"discount_type_2": 1,
"discount_value_2": null,
"total_discount_amount": 0,
"gst_id": null,
"gst_tax_percentage": null,
"total": 100,
"cess_rate": 0,
"cess_amount": 0,
"classification_igst_tax": null,
"classification_cgst_tax": null,
"classification_sgst_tax": null,
"classification_cess_tax": null,
"classification_is_rcm_applicable": 0,
"classification_nature_type": null,
"taxable_value": 100,
"created_at": "2025-01-28T10:25:13.000000Z",
"updated_at": "2025-01-28T10:25:13.000000Z"
},
{
"id": 2,
"debit_note_id": 1,
"ledger_id": 2,
"additional_description": "test",
"with_tax": false,
"rpu_with_gst": 100,
"rpu_without_gst": 100,
"discount_type": 1,
"discount_value": null,
"discount_type_2": 1,
"discount_value_2": null,
"total_discount_amount": 0,
"gst_id": null,
"gst_tax_percentage": null,
"total": 100,
"cess_rate": 0,
"cess_amount": 0,
"classification_igst_tax": null,
"classification_cgst_tax": null,
"classification_sgst_tax": null,
"classification_cess_tax": null,
"classification_is_rcm_applicable": 0,
"classification_nature_type": null,
"taxable_value": 100,
"created_at": "2025-01-28T10:25:13.000000Z",
"updated_at": "2025-01-28T10:25:13.000000Z"
}
],
"via_api": false,
"is_import": false,
"created_by": 8,
"created_at": "2025-02-12T10:51:29.000000Z",
"updated_at": "2025-02-12T10:51:29.000000Z"
},
"is_tds_applicable": 1
},
"success": true,
"message": "Expense debit note Transaction created Successfully"
}