2.5.2. Request
Parameter | Description |
/prepay | Sending a prepaid invoice to SmartOne Cashbox. |
#prepay
Request example:​
{
"docTime": "2024-04-18 12:55:00",
"docNumber": "103",
"employeeName": "John Doe",
"amount": 21000,
"currency": "MDL",
"items": [
{
"itemId": "7",
"itemName": "Lay`s",
"itemQty": 5000,
"itemAmount": 21000,
"textToPrint": "See you again!",
"itemTaxes": [
{
"taxName": "TVA A",
"taxCode": "A",
"taxPrc": 2000,
"calcType": 1
}
]
}
],
"payments": {
"cashlessAmount": 21000
},
"printFooter": "Thank you!",
"clientPhone": "+380991122233",
"clientName": "Peter Jackson"
}