Skip to main content

Body structure (JSON)

Required fields are in bold.

FieldExampleType and formatComments
{
"receiptNumber"6,intreceipt number, should be unique for the shift and deviceID
"zNumber"2,intshift number, should be unique for deviceID
"fiscalNum"70154,int
"msgID"7,int
"cashier""Teller ",string
"currency""PHP",string
"totalAmount"14862,int
"dateTime""2025-01-09T142318.022Z",dateTime of ISO-8601 format
"location"optional
{
"latitude"48.14963,float
"longitude"17.050056float
},
"identity"
{
"fn""SM00000017",stringdevice token
"tin""1212121212121",string
"shopName""Test 12",string
"shopAddress""Kresánkova 3597/10"string
}
}

Example:

{
"receiptNumber": 6,
"zNumber": 2,
"fiscalNum": 70154,
"msgID": 7,
"cashier": "Teller ",
"currency": "PHP",
"totalAmount": 14862,
"dateTime": "2025-01-09T142318.022Z",
"location": {
"latitude": 48.14963,
"longitude": 17.050056
},
"identity": {
"fn": "SM00000017",
"tin": "1212121212121",
"shopName": "Test 12",
"shopAddress": "Kresánkova 3597/10"
}
}