Report API
| Method | Endpoint | Description |
|---|---|---|
GET |
/api/report/offline/oldest |
Get oldest offline record |
POST |
/api/report/offline |
Get offline report |
Get oldest offline record
GET /api/report/offline/oldest
Get oldest offline document or location
Responses
500 — An error occurred...
default — Success
Schema: OfflineReportResponse
Get offline report
POST /api/report/offline
Get offline documents and locations report
Request Body
Filter rules.
Schema: GetOfflineDocumentsRequest
Examples
All offline data
Return all offline data (documents and locations) up to the hardcoded limit.
{}
All offline data with print
Return all offline data (documents and locations) up to the hardcoded limit and prints them. If the printer supports delays, the window and delay settings help preventing the printer overheat.
{
"printer": {
"windowSize": 2500,
"printDelay": 5000
}
}
10 oldest records
Return up to ten offline items.
{
"limit": 10
}
Filtered records
Returns only offline items matching the provided filter data. All filter data are optional and might be used in any combination.
{
"offlineDocumentsFilter": {
"sequenceId": 13,
"from": "27.08.2025 16:56:02",
"to": "03.09.2025 16:56:02"
}
}
Data with offset
Skips exactly as many documents as the offset value. The offset is usually used in conjunction with print option, in case if the printer overheats, to continue the print where it left off.
{
"printer": {},
"offset": 70
}
Responses
500 — An error occurred...
default — Success
Schema: OfflineReportResponse
Everything up to date
Empty lists mean that nothing is waiting to be sent.
{
"resultCode": 0,
"documents": [],
"locations": []
}
Offline data exist
One offline document and one offline location is still not sent. Send them to the SFS as soon as possible and then verify that nothing is waiting to be sent.
{
"resultCode": 0,
"documents": [
{
"type": "VK",
"merchant": {
"id": 12,
"corporateFullName": "Company s.r.o.",
"ico": "123456789",
"dic": "SK123456789",
"physicalAddress": {
"country": "Slovenská Republika",
"municipality": "Bratislava",
"street": "Heydukova",
"buildingNumber": "2155",
"propertyRegistrationNumber": "6",
"postalCode": "81108"
},
"organizationUnit": {
"name": "Optional organization unit name",
"cashRegisterCode": "88812345678900001",
"cashRegisterType": "STANDARD",
"location": {
"physicalAddress": {
"country": "Slovenská Republika",
"municipality": "Bratislava",
"street": "Heydukova",
"buildingNumber": "2155",
"propertyRegistrationNumber": "6",
"postalCode": "81108"
}
}
}
},
"cashRegisterCode": "88812345678900001",
"amount": 150,
"issueDate": "03.09.2025 16:56:01",
"createDate": "03.09.2025 16:56:01",
"processDate": "03.09.2025 16:56:01",
"sequenceId": 1,
"uuid": "O-A1B2C3D4E5F6000000123456789-TEST",
"pkp": "EjRWeJASNFra0KvN7xI0VniQq83vEjRWetrTRWeJEjRWeJEjRWetrQAGeJEjRWeJEjRWeAAARWSJcSNFZ4kSNFZ4kSNFZ4kVNFl4EjRWSJeqqqu7vMzN3d7v//EjRWeJEjRWeJEjRWeYC62u387yLtVfTvXvQV/q9Rrxpe8SxVAAVFRK2tpUQUFRUVUQgIgI4UUVEV8V8YVaVVtLVLQbW1RbFbFbuxvu8V7xXhX+FQUFUUUQVRBQWXl0kEAAAAAABUFFFRUSUhAAAAEjRWeJEjRWeJEjRWeJEjRlqJEjRWeJEjRdrYkSNFZ4kSNFZ4kSNK2trSNFZ5gSNFatraNFZw==",
"okp": "ABCDEFAB-12345678-12345678-12345678-ABCDEFAB",
"qrCode": "O-A1B2C3D4E5F6000000123456789-TEST",
"documentNumber": "202509/1"
}
],
"locations": [
{
"internalId": 100,
"other": "Taxi SPZ AB12345",
"createDate": "03.09.2025 16:56:01",
"cashRegisterCode": "88812345678900001",
"merchant": {
"id": 12,
"corporateFullName": "Company s.r.o.",
"ico": "123456789",
"dic": "SK123456789",
"physicalAddress": {
"country": "Slovenská Republika",
"municipality": "Bratislava",
"street": "Heydukova",
"buildingNumber": "2155",
"propertyRegistrationNumber": "6",
"postalCode": "81108"
},
"organizationUnit": {
"name": "Optional organization unit name",
"cashRegisterCode": "88812345678900001",
"cashRegisterType": "STANDARD",
"location": {
"physicalAddress": {
"country": "Slovenská Republika",
"municipality": "Bratislava",
"street": "Heydukova",
"buildingNumber": "2155",
"propertyRegistrationNumber": "6",
"postalCode": "81108"
}
}
}
},
"sendingCount": 2
}
]
}