Sales
Last updated
Last updated
URL
Method Type
POST
Post Parameters (JSON Format)
Success Response
--header 'Authorization: JWT {{token}}' \
--header 'https://api-platform.mastersindia.co/api/v1/saas-apis/sales/' \
--data-raw '{
"saleData": [{
"document_number": "enter002",
"document_date": "30/may/22",
"supply_type": "NOR",
"invoice_status": "Add",
"invoice_category": "TXN",
"invoice_type": "R",
"total_invoice_value": 17198,
"total_taxable_value": 14574.56,
"txpd_taxtable_value": 14574.56,
"gstr3b_return_period": "05-2022",
"reverse_charge": "N",
"isamended": "N",
"place_of_supply": "33",
"supplier_gstin": "33GSPTN9511G3Z3",
"buyer_gstin": "33AAOCM4473A1ZE",
"customer_name": "MARUTI SPINCOT INDIA PRIV",
"itemList": [
{
"igst_amount": 0,
"cgst_amount": 655.86,
"sgst_amount": 655.86,
"taxable_value": "7287.28",
"hsn_code": 85171300,
"product_name": "REDMI 9A 3GB\/32GB GREEN",
"item_description": "REDMI 9A 3GB\/32GB GREEN",
"quantity": "1.00",
"cess_amount": "0.00",
"gst_rate": "18",
"unit_of_product": "OTH"
},
{
"igst_amount": 0,
"cgst_amount": 655.86,
"sgst_amount": 655.86,
"taxable_value": "7287.28",
"hsn_code": 85171300,
"product_name": "REDMI 9A 3GB\/32GB GREEN",
"item_description": "REDMI 9A 3GB\/32GB GREEN",
"quantity": "1.00",
"cess_amount": "0.00",
"gst_rate": "18",
"unit_of_product": "OTH"
}
]
}]
}
{
"message": "success",
"success": true,
"data": {
"success_count": 0,
"failure_count": 1,
"sale_error_data": [
{
"document_number": "enter002",
"document_date": "30/may/22",
"supply_type": "NOR",
"invoice_status": "Add",
"invoice_category": "TXN",
"invoice_type": "R",
"total_invoice_value": 17198,
"total_taxable_value": 14574.56,
"txpd_taxtable_value": 14574.56,
"gstr3b_return_period": "05-2022",
"reverse_charge": "N",
"isamended": "N",
"place_of_supply": "33",
"supplier_gstin": "33GSPTN9511G3Z3",
"buyer_gstin": "33AAOCM4473A1ZE",
"customer_name": "MARUTI SPINCOT INDIA PRIV",
"itemList": [
{
"igst_amount": 0,
"cgst_amount": 655.86,
"sgst_amount": 655.86,
"taxable_value": "7287.28",
"hsn_code": 85171300,
"product_name": "REDMI 9A 3GB/32GB GREEN",
"item_description": "REDMI 9A 3GB/32GB GREEN",
"quantity": "1.00",
"cess_amount": "0.00",
"gst_rate": "18",
"unit_of_product": "OTH"
},
{
"igst_amount": 0,
"cgst_amount": 655.86,
"sgst_amount": 655.86,
"taxable_value": "7287.28",
"hsn_code": 85171300,
"product_name": "REDMI 9A 3GB/32GB GREEN",
"item_description": "REDMI 9A 3GB/32GB GREEN",
"quantity": "1.00",
"cess_amount": "0.00",
"gst_rate": "18",
"unit_of_product": "OTH"
}
],
"error": {
"GEAEIN": "This invoice already exists in our system"
}
}
]
}
}