2.2.2. Query string parameters
Parameter | Description | type | Is it Mandatory to complete the field? |
date | date and time of document creation, format: yyyy-MM- dd hh:mm:ss | string | |
docNumber | document number in the accounting system | string | |
wsName | checkout number to print on | string | not necessary |
departmentName | the name of the store to be printed on the check | string | not necessary |
employeeName | full name of the cashier | string | |
amount | document amount in kopecks | integer | |
currency | currency name | string | |
genPreview | true – for generating a graphical image of the receipt, false – for printing | ||
items | list of goods/services by invoice | array | |
payments | payment list | array | |
parentDocID | fiscal code of the sales document | string | |
parentDocID | fiscal number of the sales document | string | not necessary |
items
Array​
Parameter | Description | type | Is it Mandatory to complete the field? |
itemId | product/service code in the accounting system | string | |
itemName | product/service name | string | |
itemQRCode | QR-code product identification system | ||
itemCode | external code, classification code | ||
itemQty | qty*1000 | integer | |
itemAmount | amount payable in kopecks | integer | |
discount | discount amount in kopecks | integer | |
itemTaxes | list of taxes by item | array |
itemTaxes
Array​
Parameter | Description | type | Is it Mandatory to complete the field? |
taxName | tax name | string | |
taxCode | tax symbol (if applicable) | string | |
taxPrc | tax percentage*100 | integer | |
taxAmount | amount of tax in kopecks | integer | |
calcType | tax calculation type, possible values: 1 – including, 2 – fixed, 3 – simplified, Default value - 1 | integer |
payments
Array​
Parameter | Description | type | Is it Mandatory to complete the field? |
type | payment type code ( C - cash, V - by card, other types of payments - see appendix) | string | |
name | payment type name | string | |
amount | payment amount in kopecks | integer | |
change | change amount in kopecks | integer |