Overview / Operations / List cash days

List cash days

get https://api.flactrum.com/v1/cash-records
Required scope cash.read
Panel screenOperations → Cash & day-end
Success status200
Returns A paginated list of CashRecord objects

Parameters

NameInTypeDescription
branch_id query string —
status query string —
from query string —
to query string —
page query integer Page number.
per_page query integer Page size. Values above the maximum are rejected rather than silently clamped.
updated_since query string Only records changed at or after this instant. Use it for incremental sync.
sort query string Column to sort by. Each endpoint lists what it accepts.
direction query string Sort direction.

Response fields

FieldTypeDescription
id string —
branch_id string —
date string —
status string —
opening_balance number —
closing_balance number|null What was actually counted at close.
expected_balance number|null What should have been in the drawer. Frozen at close.
difference number|null counted − expected. Negative means cash is missing.
total_sales number|null —
cash_sales number|null —
payment_breakdown object|null Sales per payment method, frozen at close.
cash_breakdown object|null Note and coin counts entered at close.
count_code string|null 10-character envelope code issued at close (shown as XXXXX-XXXXX). Opens the count page behind count_url.
count_url string|null Public page encoded in the envelope QR; shows the count only after count_code is entered.
method_counts object|null Counted amounts per non-cash method.
note string|null —
opened_at string|null —
closed_at string|null —

Examples

Recorded from the test suite — these are real requests and their real responses.

curl -X GET 'https://api.flactrum.com/v1/cash-records' \
  -H 'Authorization: Bearer flk_your_key:your_secret' \
  -H 'Accept: application/json'

HTTP 200 · application/json

{
    "data": [
        {
            "id": "01m43mzbe84m2anpbf6hrwjmsf",
            "branch_id": "01m43mzbdnp6xze42d34dfyskp",
            "branch": {
                "id": "01m43mzbdnp6xze42d34dfyskp",
                "name": "Nişantaşı",
                "code": "NIS",
                "city": "İstanbul",
                "region": "Bölge 3",
                "address": null,
                "phone": null,
                "is_active": true,
                "opened_at": null,
                "monthly_rent": null,
                "latitude": null,
                "longitude": null,
                "working_hours": [],
                "created_at": "2026-10-04T14:27:04+00:00",
                "updated_at": "2026-10-04T14:27:04+00:00"
            },
            "date": "2026-10-04",
            "status": "open",
            "opening_balance": 500,
            "closing_balance": null,
            "expected_balance": null,
            "difference": null,
            "total_sales": null,
            "cash_sales": null,
            "payment_breakdown": null,
            "cash_breakdown": null,
            "method_counts": null,
            "note": null,
            "count_code": null,
            "count_url": null,
            "opened_at": "2026-10-04T14:27:04+00:00",
            "closed_at": null,
            "created_at": "2026-10-04T14:27:04+00:00",
            "updated_at": "2026-10-04T14:27:04+00:00"
        }
    ],
    "meta": {
        "total": 1,
        "page": 1,
        "per_page": 25,
        "last_page": 1
    }
}