Get fiscal day details
GET https://pos.paysera.com/epapi/v1/cash-registers/{number}/fiscal-day/{id}
Retrieve detailed information about a specific fiscal day.
A fiscal day represents a complete day of operations for the cash register, including all transactions and totals.
Authorization​
This endpoint requires MAC (Message Authentication Code) authentication.
Authorization Header Format:
Authorization: MAC id="CLIENT_ID", ts="TIMESTAMP", nonce="RANDOM_STRING", mac="MAC_HASH", ext="body_hash=BODY_HASH"
Example:
Authorization: MAC id="a9b8c7d6e5f4g3h2", ts="1234567890", nonce="xyz123abc456def", mac="dGhpcyBpcyBhIHJhbmRvbSBtYWMgaGFzaCB2YWx1ZQ==", ext="body_hash=cmFuZG9tQm9keUhhc2hWYWx1ZQ%3D%3D"
For more details, see the Authentication section.
Parameters​
Path Parameters​
| Name | Type | Required | Description |
|---|---|---|---|
number | string | ✓ | Cash register identifier/number |
id | string | ✓ | Fiscal day identifier |
Example​
Request​
GET https://pos.paysera.com/epapi/v1/cash-registers/{number}/fiscal-day/{id}
Authorization: MAC id="CLIENT_ID", ts="TIMESTAMP", nonce="RANDOM_STRING", mac="MAC_HASH"
Response​
{
"id": "FD20240123",
"number": 125,
"cashRegisterNumber": "REG001",
"startedAt": "2024-11-04T08:00:00Z",
"closedAt": "2024-11-04T20:00:00Z",
"status": "closed",
"totalSales": 125000,
"totalReturns": 5000,
"totalCollections": 50000,
"currency": "EUR",
"transactionCount": 47,
"receiptCount": 45,
"returnCount": 2
}
AUTHORIZATION: HTTP
REQUEST
Base URL
https://pos.paysera.com
RESPONSE
Fiscal day details retrieved successfully
{
"id": "FD20240123",
"number": 125,
"cashRegisterNumber": "REG001",
"startedAt": "2024-11-04T08:00:00Z",
"closedAt": "2024-11-04T20:00:00Z",
"status": "closed",
"totalSales": 125000,
"totalReturns": 5000,
"totalCollections": 50000,
"currency": "EUR",
"transactionCount": 47,
"receiptCount": 45,
"returnCount": 2
}