2.13.4. Response
Field | Description | Type |
status | success | error | |
code | Error code | Integer |
documentID | ID of the document in the smartone Cashbox system | Integer |
fiscalID | Fiscal code of the doc | String |
Error codes​
Field | Description |
0 | No error |
2 | Invalid JSON format |
5 | Internal error |
6 | Shift not open |
[!NOTE] If the required amount is not available at the cash desk, an error is returned:
9 - there is not enough cash at the cash desk to complete the collection
Response example​
{
"cash": 9100,
"cashIn": 101300,
"cashOut": 100000,
"documentID": 44,
"fiscalID": "23",
"shiftOrdersCnt": 0,
"status": "success"
}