Created
October 21, 2020 15:09
-
-
Save kendhia/51289b6cd20853154ad85b617b95a2c6 to your computer and use it in GitHub Desktop.
begintransaction.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "parameters": [ | |
| { | |
| "key": "", | |
| "value": "" | |
| } | |
| ], | |
| "requestHeader": { | |
| "channelId": "", | |
| "channelType": "MOBILE", | |
| "date": "2020-10-21T14:26:03.438Z", | |
| "posNo": "1", | |
| "providerId": "", | |
| "storeNo": "1057" | |
| }, | |
| "transactionHeader": { | |
| "customText": "", | |
| "customer": {}, | |
| "customerCode": "", | |
| "discountOnLines": 4600, | |
| "discountOnTotal": null, | |
| "documentNo": "", | |
| "grossTotal": null, | |
| "grossVatTotal": null, | |
| "id": 0, | |
| "num": 0, | |
| "optionBitFlag": 0, | |
| "parameters": [ | |
| { | |
| "key": "", | |
| "value": "" | |
| } | |
| ], | |
| "posNum": 0, | |
| "ptype": "", | |
| "receiptBarcode": "1", | |
| "roundingTotal": 3725, | |
| "status": 0, | |
| "storeNum": 0, | |
| "taxfreeRefundTotal": 0, | |
| "transDate": "2020-10-21T14:27:05.236Z", | |
| "transEndDate": "2020-10-21T14:27:05.236Z", | |
| "transactionBitFlag": "", | |
| "transactionResults": [], | |
| "transactionDiscounts": [ | |
| { | |
| "activationState": 0, | |
| "amount": 0, | |
| "campaignId": 0, | |
| "discountCode": 0, | |
| "discountDescription": "", | |
| "discountReason": { | |
| "code": "", | |
| "description": "", | |
| "id": 0, | |
| "parameters": [ | |
| { | |
| "key": "", | |
| "value": "" | |
| } | |
| ] | |
| }, | |
| "discountType": 0, | |
| "id": 0, | |
| "lineNo": 0, | |
| "parameters": [ | |
| { | |
| "key": "", | |
| "value": "" | |
| } | |
| ], | |
| "parentLine": 0, | |
| "status": 0, | |
| "transactionDiscountDetail": [ | |
| { | |
| "amount": 0, | |
| "id": "", | |
| "parameters": "", | |
| "saleLine": "" | |
| } | |
| ] | |
| } | |
| ], | |
| "transactionPayments": [ | |
| { | |
| "currencyTotal": 3725, | |
| "customText": "", | |
| "id": "5", | |
| "installmentCount": 0, | |
| "keyUsed": 0, | |
| "lineNo": 0, | |
| "parameters": [ | |
| { | |
| "key": "", | |
| "value": "" | |
| } | |
| ], | |
| "paymentCode": "5", | |
| "paymentTotal": 3725, | |
| "paymentType": { | |
| "cash": 0, | |
| "cashReturnLimit": 0, | |
| "chequeMask": { | |
| "chequeDesignMlDef": "", | |
| "chequeReturn": 0, | |
| "code": "", | |
| "defaultDuration": 0, | |
| "description": "", | |
| "effectChequeSplit": 0, | |
| "id": 0, | |
| "isPayment": 0, | |
| "mask": "", | |
| "maxAmount": 0, | |
| "multipleUse": 0, | |
| "optionBitFlag": 0, | |
| "parameters": { | |
| "key": "", | |
| "value": "" | |
| }, | |
| "paymentRatio": 0 | |
| }, | |
| "decimals": 0, | |
| "description": "", | |
| "id": 0, | |
| "limit": 0, | |
| "num": 0, | |
| "optionBitFlag": 0, | |
| "parameters": [ | |
| { | |
| "key": "", | |
| "value": "" | |
| } | |
| ], | |
| "paymentTypeFiscal": { | |
| "description": "", | |
| "id": 0, | |
| "num": 0, | |
| "optionBitFlag": 0, | |
| "parameters": { | |
| "key": "", | |
| "value": "" | |
| }, | |
| "paymentGroup": 0 | |
| }, | |
| "posPaymentWithCampaign": 0, | |
| "provisionFlag": 0, | |
| "symbol": "" | |
| }, | |
| "paymentTypeDetail": 0, | |
| "paymentTypeNo": "5", | |
| "serialNo": "0", | |
| "status": 0 | |
| } | |
| ], | |
| "transactionSales": [ | |
| { | |
| "amount": 1, | |
| "barcode": "1485789123458", | |
| "campaignDiscount": 0, | |
| "chequeDiscount": 0, | |
| "code": "1492", | |
| "currencyUnitPrice": 1100, | |
| "customText": "", | |
| "defaultReturnPrice": 0, | |
| "departmentVat": { | |
| "description": "", | |
| "id": 0, | |
| "num": 0, | |
| "parameters": [ | |
| { | |
| "key": "", | |
| "value": 8 | |
| } | |
| ], | |
| "vat": { | |
| "id": 0, | |
| "num": 0, | |
| "parameters": [ | |
| { | |
| "key": "", | |
| "value": 8 | |
| } | |
| ], | |
| "percentage": 8 | |
| } | |
| }, | |
| "description": "WASHING POWDER", | |
| "discountFlag": 0, | |
| "discountTotal": null, | |
| "firstPrice": 0, | |
| "indirectDiscountTotal": 0, | |
| "keyUsed": 0, | |
| "komandatura": 0, | |
| "lineNo": 1, | |
| "optionBitFlag": 0, | |
| "orgUnitPrice": 1100, | |
| "parameters": [ | |
| { | |
| "key": "", | |
| "value": "" | |
| } | |
| ], | |
| "paymentType": { | |
| "cash": 0, | |
| "cashReturnLimit": 0, | |
| "chequeMask": { | |
| "chequeDesignMlDef": "", | |
| "chequeReturn": 0, | |
| "code": "", | |
| "defaultDuration": 0, | |
| "description": "", | |
| "effectChequeSplit": 0, | |
| "id": 0, | |
| "isPayment": 0, | |
| "mask": "", | |
| "maxAmount": 0, | |
| "multipleUse": 0, | |
| "optionBitFlag": 0, | |
| "parameters": { | |
| "key": "", | |
| "value": "" | |
| }, | |
| "paymentRatio": 0 | |
| }, | |
| "decimals": 0, | |
| "description": "", | |
| "id": 0, | |
| "limit": 0, | |
| "num": 0, | |
| "optionBitFlag": 0, | |
| "parameters": [ | |
| { | |
| "key": "", | |
| "value": "" | |
| } | |
| ], | |
| "paymentTypeFiscal": { | |
| "description": "", | |
| "id": 0, | |
| "num": 0, | |
| "optionBitFlag": 0, | |
| "parameters": { | |
| "key": "", | |
| "value": "" | |
| }, | |
| "paymentGroup": 0 | |
| }, | |
| "posPaymentWithCampaign": 0, | |
| "provisionFlag": 0, | |
| "symbol": "" | |
| }, | |
| "pointTotal": 0, | |
| "priceChangeReason": { | |
| "code": 0, | |
| "description": "", | |
| "id": 0, | |
| "parameters": [ | |
| { | |
| "key": "", | |
| "value": "" | |
| } | |
| ] | |
| }, | |
| "priceChanged": 0, | |
| "returnableAmount": 0, | |
| "roundingTotal": 0, | |
| "saleType": 0, | |
| "seller": { | |
| "code": "", | |
| "id": 0, | |
| "name": "", | |
| "parameters": [ | |
| { | |
| "key": "", | |
| "value": "" | |
| } | |
| ], | |
| "password": "" | |
| }, | |
| "status": 0, | |
| "stockCardCode": "1492", | |
| "stockCodeUsed": 0, | |
| "totalPrice": 1100, | |
| "transactionCheques": [ | |
| { | |
| "amount": 0, | |
| "chequeCode": "", | |
| "id": 0, | |
| "parameters": [ | |
| { | |
| "key": "", | |
| "value": "" | |
| } | |
| ] | |
| } | |
| ], | |
| "transactionDiscountDetails": [ | |
| { | |
| "id": "" | |
| } | |
| ], | |
| "unit": { | |
| "baseAmount": 0, | |
| "description": "", | |
| "id": 0, | |
| "num": 0, | |
| "optionBitFlag": 0, | |
| "parameters": [ | |
| { | |
| "key": "", | |
| "value": "" | |
| } | |
| ], | |
| "symbol": "" | |
| }, | |
| "unitPrice": 1100, | |
| "vatPercent": 8, | |
| "vatTotal": 8800 | |
| }, | |
| { | |
| "amount": 1, | |
| "barcode": "1485789123497", | |
| "campaignDiscount": 0, | |
| "chequeDiscount": 0, | |
| "code": "1493", | |
| "currencyUnitPrice": 3500, | |
| "customText": "", | |
| "defaultReturnPrice": 0, | |
| "departmentVat": { | |
| "description": "", | |
| "id": 0, | |
| "num": 0, | |
| "parameters": [ | |
| { | |
| "key": "", | |
| "value": 8 | |
| } | |
| ], | |
| "vat": { | |
| "id": 0, | |
| "num": 0, | |
| "parameters": [ | |
| { | |
| "key": "", | |
| "value": 8 | |
| } | |
| ], | |
| "percentage": 8 | |
| } | |
| }, | |
| "description": "SOFTENER", | |
| "discountFlag": 0, | |
| "discountTotal": null, | |
| "firstPrice": 0, | |
| "indirectDiscountTotal": 0, | |
| "keyUsed": 0, | |
| "komandatura": 0, | |
| "lineNo": 2, | |
| "optionBitFlag": 0, | |
| "orgUnitPrice": 3500, | |
| "parameters": [ | |
| { | |
| "key": "", | |
| "value": "" | |
| } | |
| ], | |
| "paymentType": { | |
| "cash": 0, | |
| "cashReturnLimit": 0, | |
| "chequeMask": { | |
| "chequeDesignMlDef": "", | |
| "chequeReturn": 0, | |
| "code": "", | |
| "defaultDuration": 0, | |
| "description": "", | |
| "effectChequeSplit": 0, | |
| "id": 0, | |
| "isPayment": 0, | |
| "mask": "", | |
| "maxAmount": 0, | |
| "multipleUse": 0, | |
| "optionBitFlag": 0, | |
| "parameters": { | |
| "key": "", | |
| "value": "" | |
| }, | |
| "paymentRatio": 0 | |
| }, | |
| "decimals": 0, | |
| "description": "", | |
| "id": 0, | |
| "limit": 0, | |
| "num": 0, | |
| "optionBitFlag": 0, | |
| "parameters": [ | |
| { | |
| "key": "", | |
| "value": "" | |
| } | |
| ], | |
| "paymentTypeFiscal": { | |
| "description": "", | |
| "id": 0, | |
| "num": 0, | |
| "optionBitFlag": 0, | |
| "parameters": { | |
| "key": "", | |
| "value": "" | |
| }, | |
| "paymentGroup": 0 | |
| }, | |
| "posPaymentWithCampaign": 0, | |
| "provisionFlag": 0, | |
| "symbol": "" | |
| }, | |
| "pointTotal": 0, | |
| "priceChangeReason": { | |
| "code": 0, | |
| "description": "", | |
| "id": 0, | |
| "parameters": [ | |
| { | |
| "key": "", | |
| "value": "" | |
| } | |
| ] | |
| }, | |
| "priceChanged": 0, | |
| "returnableAmount": 0, | |
| "roundingTotal": 0, | |
| "saleType": 0, | |
| "seller": { | |
| "code": "", | |
| "id": 0, | |
| "name": "", | |
| "parameters": [ | |
| { | |
| "key": "", | |
| "value": "" | |
| } | |
| ], | |
| "password": "" | |
| }, | |
| "status": 0, | |
| "stockCardCode": "1493", | |
| "stockCodeUsed": 0, | |
| "totalPrice": 2625, | |
| "transactionCheques": [ | |
| { | |
| "amount": 0, | |
| "chequeCode": "", | |
| "id": 0, | |
| "parameters": [ | |
| { | |
| "key": "", | |
| "value": "" | |
| } | |
| ] | |
| } | |
| ], | |
| "transactionDiscountDetails": [ | |
| { | |
| "id": "" | |
| } | |
| ], | |
| "unit": { | |
| "baseAmount": 0, | |
| "description": "", | |
| "id": 0, | |
| "num": 0, | |
| "optionBitFlag": 0, | |
| "parameters": [ | |
| { | |
| "key": "", | |
| "value": "" | |
| } | |
| ], | |
| "symbol": "" | |
| }, | |
| "unitPrice": 3500, | |
| "vatPercent": 8, | |
| "vatTotal": 28000 | |
| } | |
| ], | |
| "transactionStatus": 0, | |
| "transactionTotals": [ | |
| { | |
| "departmentTotal": 0, | |
| "departmentVat": { | |
| "description": "", | |
| "id": 0, | |
| "num": 0, | |
| "parameters": [ | |
| { | |
| "key": "", | |
| "value": "" | |
| } | |
| ], | |
| "vat": { | |
| "id": 0, | |
| "num": 0, | |
| "parameters": [ | |
| { | |
| "key": "", | |
| "value": "" | |
| } | |
| ], | |
| "percentage": 0 | |
| } | |
| }, | |
| "id": 0, | |
| "parameters": [ | |
| { | |
| "key": "", | |
| "value": "" | |
| } | |
| ], | |
| "vatTotal": 0 | |
| } | |
| ], | |
| "userNum": 0, | |
| "voidDescription": "" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment