Body structure (JSON)
Required fields are in bold.
| Field | Example | Type and format | Comments |
| { | |||
| "zNumber" | 2, | int | shift number, should be unique for deviceID |
| "fiscalNum" | 70154, | int | |
| "receiptNumber" | 15, | int | receipt number, should be unique for the shift and deviceID |
| "cashier" | "Teller ", | string | |
| "currency" | "PHP", | string | |
| "totalAmount" | 1000000, | int | |
| "fiscalNum" | 70113, | int | |
| "msgID" | 16, | int | |
| "identity" | |||
| { | |||
| "fn" | "SM00000007", | string | device token |
| "tin" | "123412341234", | string | |
| "shopName" | "Traxion Main", | string | |
| "shopAddress" | "Kadena Hub, Mabini cor Araullo St, Poblacion, Davao City, PH" | string | |
| }, | |||
| "dateTime" | "2025-01-08T184600.930Z", | dateTime of ISO-8601 format | |
| "location" | optional | ||
| { | |||
| "latitude" | 48.149647, | float | |
| "longitude" | 17.05007 | float | |
| } | |||
| } |
Example:
{
"zNumber": 2,
"fiscalNum": 70154,
"receiptNumber": 15,
"cashier": "Teller ",
"currency": "PHP",
"totalAmount": 1000000,
"msgID": 16,
"identity": {
"fn": "SM00000007",
"tin": "123412341234",
"shopName": "Traxion Main",
"shopAddress": "Kadena Hub, Mabini cor Araullo St, Poblacion, Davao City, PH"
},
"dateTime": "2025-01-08T184600.930Z",
"location": {
"latitude": 48.149647,
"longitude": 17.05007
}
}