Purchase
Last updated
Last updated
Method Type
POST
Post Parameters (JSON Format)
--header 'Authorization: JWT {{token}}' \
--header 'qa: https://qa-enterprise.mastersindia.co' \
--header 'productId: enterprises' \
--data-raw '{
"purchaseData": [
{
"document_number": "JIT201910005",
"document_date": "30-10-2019",
"original_document_number": "UIP2019156005",
"original_document_date": "12-09-2019",
"ref_document_number": "KOP2019145005",
"ref_document_date": "16-08-2019",
"supply_type": "NOR",
"erp_document_number": "JKL20205675",
"erp_document_date": "01-12-2020",
"transaction_number": "6131883",
"gl_code": "",
"invoice_status": "Add",
"invoice_category": "CDN",
"invoice_type": "R",
"toal_invoice_value": 2.08,
"total_taxtable_value": 2.06,
"txpd_taxtable_value": 2.0,
"shipping_bill_number": "",
"shipping_bill_date": "",
"reason": "Product damaged.",
"port_code": "",
"inv_itc_elgibity": "Y",
"location": "",
"gstr2_return_period": "01-2020",
"gstr3b_return_period": "02-2020",
"reverse_charge": "Y",
"isamended": "Y",
"amended_pos": "03",
"amended_period": "08-2019",
"place_of_supply": "33",
"supplier_gstin": "09AABCR1718E1ZN",
"buyer_gstin": "27AARCA7991A1ZB",
"customer_name": "Sony",
"itemList": [
{
"hsn_code": "1001",
"quantity": 1,
"unit_of_product": "OTH",
"gst_rate": 12,
"cess_amount": 1.0,
"taxable_value": 1,
"cgst_amount": 10.50,
"sgst_amount": 10.50,
"igst_amount": 0.00,
"item_description": "Digital good for viewing",
"product_name": "Smart TV",
"itc_elgibity": "IS"
}
]
},
{
"document_number": "JIT201910005",
"document_date": "30-10-2019",
"original_document_number": "",
"erp_document_number": "JKL20205675",
"erp_document_date": "01-12-2020",
"transaction_number": "6131883",
"gl_code": "",
"original_document_date": "",
"ref_document_number": "",
"ref_document_date": "",
"supply_type": "NOR",
"invoice_status": "Add",
"invoice_category": "abc",
"inv_itc_elgibity": "N",
"invoice_type": "R",
"total_taxable_value": 1.0,
"total_invoice_value": 2.08,
"txpd_taxtable_value": 2.0,
"shipping_bill_number": "",
"shipping_bill_date": "",
"reason": "Product damaged.",
"port_code": "",
"location": "",
"gstr2_return_period": "01-2020",
"gstr3b_return_period": "02-2020",
"reverse_charge": "Y",
"isamended": "N",
"place_of_supply": "33",
"supplier_gstin": "09AABCR1718E1ZN",
"buyer_gstin": "27AARCA7991A1ZB",
"customer_name": "Sony",
"itemList": [
{
"hsn_code": "1001",
"quantity": 1,
"unit_of_product": "OTH",
"gst_rate": 56,
"cess_amount": 1.0,
"taxable_value": 1,
"cgst_amount": 10.50,
"sgst_amount": 10.50,
"igst_amount": "",
"item_description": "Digital good for viewing",
"product_name": "Smart TV",
"itc_elgibity": "IS"
}
]
}
]
}
Success Response