POST
method, and the body must include the details of the purchase order.ApiKey: ********************
{
"title": 1,
"order_number": "4",
"order_date": "12-02-2025",
"party_ledger_id": 2702,
"valid_for": 10,
"valid_for_type": 1,
"gstin": "37AAGAA2385M1ZE",
"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,
"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": null
},
"transport_details": {
"transport_id": null,
"transporter_document_number": null,
"transporter_document_date": null
},
"order_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
}
],
"gross_value": 100,
"narration": "Hello World",
"additional_charges": [
{
"ac_ledger_id": 79971,
"ac_type": 1,
"ac_value": 100,
"ac_total": 100
}
],
"taxable_value": 100,
"add_less": [
{
"al_ledger_id": 7655,
"al_is_show_in_print": 0,
"al_type": 1,
"al_value": 100
}
],
"main_classification_nature_type": "Interstate Purchase Taxable",
"is_rcm_applicable": 0,
"cgst": 0,
"sgst": 0,
"igst": 0,
"cess": 0,
"rounding_amount": null,
"grand_total": 100,
"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/purchase-order-transactions' \
--header 'Content-Type: application/json' \
--header 'ApiKey;' \
--data-raw '{
"title": 1,
"order_number": "4",
"order_date": "12-02-2025",
"party_ledger_id": 2702,
"valid_for": 10,
"valid_for_type": 1,
"gstin": "37AAGAA2385M1ZE",
"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,
"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": null
},
"transport_details": {
"transport_id": null,
"transporter_document_number": null,
"transporter_document_date": null
},
"order_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
}
],
"gross_value": 100,
"narration": "Hello World",
"additional_charges": [
{
"ac_ledger_id": 79971,
"ac_type": 1,
"ac_value": 100,
"ac_total": 100
}
],
"taxable_value": 100,
"add_less": [
{
"al_ledger_id": 7655,
"al_is_show_in_print": 0,
"al_type": 1,
"al_value": 100
}
],
"main_classification_nature_type": "Interstate Purchase Taxable",
"is_rcm_applicable": 0,
"cgst": 0,
"sgst": 0,
"igst": 0,
"cess": 0,
"rounding_amount": null,
"grand_total": 100,
"is_gst_enabled": 0,
"is_cgst_sgst_igst_calculated": 0,
"is_gst_na": 1,
"is_round_off_not_changed": false
}'
{
"data": {
"purchase_order_transaction": {
"id": 1,
"company_id": 6,
"title": 1,
"order_number": "4",
"full_order_number": "4",
"order_date": "2025-02-11T18:30:00.000000Z",
"valid_for": 10,
"valid_for_type": 1,
"valid_till_date": "2025-12-11T18:30:00.000000Z",
"party_ledger_id": 6,
"gstin": null,
"broker_id": null,
"brokerage": null,
"brokerage_on_value_type": null,
"shipping_name": null,
"shipping_gstin": null,
"transport_id": null,
"transporter_document_number": null,
"transporter_document_date": null,
"transporter_vehicle_number": null,
"order_type": 2,
"cgst": 0,
"sgst": 0,
"igst": 0,
"cess": 0,
"round_off_amount": null,
"total": 100,
"grand_total": 100,
"taxable_value": 100,
"gross_value": 100,
"narration": "Hello World",
"is_gst_enabled": 0,
"status": "Open",
"is_cgst_sgst_igst_calculated": 0,
"is_gst_na": 1,
"is_round_off_not_changed": false,
"transaction_ledgers": [
{
"id": 1,
"transaction_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"
}
],
"via_api": false,
"created_by": 8,
"created_at": "2025-02-12T12:40:55.000000Z",
"updated_at": "2025-02-12T12:40:55.000000Z"
},
"transaction_id": 1
},
"success": true,
"message": "Purchase Order Transaction Created Successfully."
}