SmartGare
API referenceEndpoints

Read a cash-register session's closure summary

Returns the financial statement a closed register produced. **Required permission:** `ticketing.cash-register:read`

GET/ticketing/v1/cash-registers/{id}/summary

Returns the financial statement a closed register produced.

Required permission: ticketing.cash-register:read

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

*/*

*/*

curl -X GET "https://example.com/ticketing/v1/cash-registers/string/summary"
{  "closed_at": "2019-08-24T14:15:22Z",  "closed_by": "string",  "counted_amount": 0,  "currency": "string",  "declared_float": 0,  "difference": 0,  "drawer_releases": [    {      "agent": "string",      "asked_at": "2019-08-24T14:15:22Z",      "cash_register_id": "string",      "id": "string",      "outcome": "DELIVERED",      "printer_place": "string",      "reason": "string",      "workstation": "string"    }  ],  "id": "string",  "justification": "string",  "movement_totals": {    "property1": 0,    "property2": 0  },  "owner": "string",  "refunds": {    "count": 0,    "total": 0  },  "sales": {    "card_total": 0,    "cash_total": 0,    "count": 0,    "total": 0  },  "submitted_counts": [    {      "counted_amount": 0,      "submitted_at": "2019-08-24T14:15:22Z",      "submitted_by": "string"    }  ],  "theoretical_balance": 0}