POST
request, with the body containing the necessary details to create the debit note.ApiKey: ********************
{
"debit_note_number": "1",
"date": "01-10-2024",
"customer_ledger_id": 1,
"gstin": "06AAKCA6445Q1Z2",
"party_phone_number": "9521453010",
"region_iso": "in",
"region_code": 91,
"original_inv_no": null,
"original_inv_date": null,
"dispatch_address_id": null,
"billing_address": {
"address_1": "172/5, , Coastal City Center",
"address_2": "Undi Road, Bhimavaram town and Municipality",
"country_id": 1,
"state_id": 2,
"city_id": 1,
"pin_code": "395010"
},
"shipping_address": {
"shipping_name": null,
"shipping_gstin": null,
"address_1": "test1",
"address_2": "test1",
"country_id": 1,
"state_id": 2,
"city_id": 1,
"pin_code": "395010"
},
"broker_details": {
"broker_id": null,
"brokerage_for_sale": null,
"brokerage_on_value_type": 1
},
"transport_details": {
"transport_id": null,
"transporter_document_number": "212",
"transporter_document_date": "12-10-2024",
"transporter_vehicle_number": "GJ05-SG-1234"
},
"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
},
"dn_item_type": 1,
"ledgers": [
{
"ledger_id": 1,
"additional_description": "test",
"rpu": 100,
"with_tax": 0,
"discount_type": 1,
"discount_value": null,
"discount_type_2": 1,
"discount_value_2": null,
"gst_id": 12,
"total": 100
},
{
"ledger_id": 2,
"additional_description": "test",
"rpu": 100,
"with_tax": 0,
"discount_type": 1,
"discount_value": null,
"discount_type_2": 1,
"discount_value_2": null,
"gst_id": 12,
"total": 100
}
],
"main_classification_nature_type": "Intrastate Income Debit Note Taxable",
"is_rcm_applicable": 0,
"narration": null,
"term_and_condition": null,
"additional_charges": [
{
"ac_ledger_id": 1,
"ac_type": 1,
"ac_value": 100,
"ac_gst_rate_id": 1,
"ac_total": 100
}
],
"gross_value": 300,
"taxable_value": 300,
"cgst": 0,
"sgst": 0,
"igst": 0,
"cess": 0,
"tcs_details": {
"tcs_tax_id": null,
"tcs_rate": null,
"tcs_amount": null
},
"add_less": [],
"rounding_amount": null,
"grand_total": 300,
"tds_details": {
"tds_tax_id": null,
"tds_rate": null,
"tds_amount": null
},
"payment_details": [
{
"pd_ledger_id": 2,
"pd_date": "10-12-2024",
"pd_amount": 300,
"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/income-debit-notes' \
--header 'Content-Type: application/json' \
--header 'ApiKey;' \
--data-raw '{
"debit_note_number": "1",
"date": "01-10-2024",
"customer_ledger_id": 1,
"gstin": "06AAKCA6445Q1Z2",
"party_phone_number": "9521453010",
"region_iso": "in",
"region_code": 91,
"original_inv_no": null,
"original_inv_date": null,
"dispatch_address_id": null,
"billing_address": {
"address_1": "172/5, , Coastal City Center",
"address_2": "Undi Road, Bhimavaram town and Municipality",
"country_id": 1,
"state_id": 2,
"city_id": 1,
"pin_code": "395010"
},
"shipping_address": {
"shipping_name": null,
"shipping_gstin": null,
"address_1": "test1",
"address_2": "test1",
"country_id": 1,
"state_id": 2,
"city_id": 1,
"pin_code": "395010"
},
"broker_details": {
"broker_id": null,
"brokerage_for_sale": null,
"brokerage_on_value_type": 1
},
"transport_details": {
"transport_id": null,
"transporter_document_number": "212",
"transporter_document_date": "12-10-2024",
"transporter_vehicle_number": "GJ05-SG-1234"
},
"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
},
"dn_item_type": 1,
"ledgers": [
{
"ledger_id": 1,
"additional_description": "test",
"rpu": 100,
"with_tax": 0,
"discount_type": 1,
"discount_value": null,
"discount_type_2": 1,
"discount_value_2": null,
"gst_id": 12,
"total": 100
},
{
"ledger_id": 2,
"additional_description": "test",
"rpu": 100,
"with_tax": 0,
"discount_type": 1,
"discount_value": null,
"discount_type_2": 1,
"discount_value_2": null,
"gst_id": 12,
"total": 100
}
],
"main_classification_nature_type": "Intrastate Income Debit Note Taxable",
"is_rcm_applicable": 0,
"narration": null,
"term_and_condition": null,
"additional_charges": [
{
"ac_ledger_id": 1,
"ac_type": 1,
"ac_value": 100,
"ac_gst_rate_id": 1,
"ac_total": 100
}
],
"gross_value": 300,
"taxable_value": 300,
"cgst": 0,
"sgst": 0,
"igst": 0,
"cess": 0,
"tcs_details": {
"tcs_tax_id": null,
"tcs_rate": null,
"tcs_amount": null
},
"add_less": [],
"rounding_amount": null,
"grand_total": 300,
"tds_details": {
"tds_tax_id": null,
"tds_rate": null,
"tds_amount": null
},
"payment_details": [
{
"pd_ledger_id": 2,
"pd_date": "10-12-2024",
"pd_amount": 300,
"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": {
"income_debit_note_transaction": {
"id": 1,
"company_id": 6,
"payment_mode": null,
"payment_type_ledger_id": null,
"full_invoice_number": "DN1",
"debit_note_number": "1",
"date": "2024-09-30T18:30:00.000000Z",
"customer_ledger_id": 1,
"party_phone_number": "9521453010",
"region_iso": "in",
"region_code": 91,
"gstin": null,
"original_inv_no": null,
"original_inv_date": null,
"broker_id": null,
"brokerage_for_sale": null,
"brokerage_on_value_type": 1,
"credit_period": 30,
"credit_period_type": 2,
"credit_period_due_date": "2024-10-30T18:30:00.000000Z",
"transport_id": null,
"transporter_document_number": "212",
"transporter_document_date": "2024-10-11T18:30:00.000000Z",
"transporter_vehicle_number": "GJ05-SG-1234",
"shipping_name": null,
"shipping_gstin": null,
"po_no": "FASG522",
"po_date": "2024-12-09T18:30:00.000000Z",
"eway_bill_number": null,
"eway_bill_date": null,
"dn_item_type": 1,
"tcs_tax_id": null,
"tcs_rate": null,
"tcs_amount": null,
"tds_tax_id": null,
"tds_rate": null,
"tds_amount": null,
"cgst": 0,
"sgst": 0,
"igst": 0,
"rounding_amount": null,
"total": 300,
"grand_total": 300,
"taxable_value": 300,
"gross_value": 300,
"narration": null,
"term_and_condition": null,
"dispatch_address_id": null,
"is_gst_enabled": 0,
"cess": 0,
"is_cgst_sgst_igst_calculated": 0,
"is_gst_na": 1,
"payment_status": "Unpaid",
"due_amount": 300,
"receipt_transaction_item": [],
"journal_transaction_item": [],
"income_debit_note_ledgers": [
{
"id": 1,
"income_dn_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,
"income_dn_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": 1,
"updated_at": "2025-01-28T10:21:18.000000Z",
"created_at": "2025-01-28T10:21:18.000000Z"
},
"transaction_id": 1,
"e_invoice_is_create": false
},
"success": true,
"message": "Income Debit Note Transaction Created Successfully"
}