Overview /
Operations /
Day-end report
Day-end report
get
https://api.flactrum.com/v1/cash-records/{record}/summary
Sales totals, payment-method breakdown and expected cash. For a closed day these are the figures frozen at closing time — an order entered later never changes a past day-end. For an open day they are calculated live.
| Required scope | cash.read |
| Success status | 200 |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| record * | path | string | ULID of the record. |
Examples
Recorded from the test suite — these are real requests and their real responses.
curl -X GET 'https://api.flactrum.com/v1/cash-records/01m43mzbe84m2anpbf6hrwjmsf/summary' \
-H 'Authorization: Bearer flk_your_key:your_secret' \
-H 'Accept: application/json'
HTTP 200 · application/json
{
"data": {
"methods": [],
"balance_sales": 0,
"points_sales": 0,
"order_count": 0,
"total_sales": 0,
"cash_sales": 0,
"non_cash_sales": 0,
"cash_income": 0,
"cash_expense": 0,
"opening_balance": 500,
"expected_cash": 500
},
"meta": {
"cash_record_id": "01m43mzbe84m2anpbf6hrwjmsf",
"status": "open",
"frozen": false
}
}