GrayMatter Dummy API Call to POST Sales Data
JSON Input:
[ { "header": { "storeName": "BNG006 - Banglore Airport ", "storeCode": "BNG006", "posTill": "12675", "receiptNo": "bng12345", "receiptDate": "2020-09-12", "actualReceiptDate": null, "invAmt": "21232230.0", "taxAmt": "5564654", "cess": "0", "retAmt": "0", "retTaxAmt": "0", "netSales": "12344", "discount": "0", "transStatus": "SALES", "operationCurrency": "INR", "custGender": "Male", "custNation": "Indian", "custEmail": "customer@example.com", "custCont": "1234567890", "custPpNo": "A1234567", "custBpNo": "BP123456", "custFlNo": "FL123", "custPaxType": "Adult", "custFlClass": "Economy", "custPnrNo": "PNR123456", "custOrigin": "Mumbai", "custDestination": "Delhi", "vouchCode": "VOUCH123", "custBrGateNo": "Gate1", "orderNo": "ORD123456", "nId": null, "filename": null, "ocrInvoiceDate": null, "ocrInvoiceTime": null, "ocrInvoiceType": null, "ocrTransNo": null, "ocrInvoiceAmt": null, "ocrSgst": null, "ocrCgst": null, "ocrTaxableAmt": null, "ocrTax": null, "ocrCess": null, "ocrDiscount": null, "ocrDocumentName": null, "ocrUploadName": null, "ocrId": null, "tender": "CASH", "dwellTime": null, "dwellHour": null, "loungeCapacity": null, "custName": "John Doe", "charges": "0", "giftcardFlag": "0", "priceId": null, "tenderType1": "CASH", "tenderType1_Amt": "21232230.0", "tenderType2": null, "tenderType2_Amt": null, "tenderType3": null, "tenderType3_Amt": null }, "lineItems": [ { "storeName": "BNG006 - Banglore Airport ", "storeCode": "BNG006", "posTill": "12675", "receiptNo": "bng12345", "receiptDate": "2020-09-12", "actualReceiptDate": null, "itemCode": "ITEM123", "itemName": "Example Item", "itemQty": "2", "itemPrice": "500.0", "itemTax1": "50.0", "itemTaxType1": "CGST", "itemNetAmt": "450.0", "opCur": "INR", "itemStatus": "SALES", "itemDiscount": "0", "itemTax2": "50.0", "itemTaxType2": "SGST", "parentId": null, "filename": null, "deptCode": "DPT123", "nId": null, "nParentId": null, "deptName": "Electronics", "loungePass": null, "itemTax3": null, "itemTaxType": null } ] } ]
Call API
API Response: