Overview /
Operations /
Download the day-end report
Download the day-end report
get
https://api.flactrum.com/v1/cash-records/{record}/export
Returns the file, not JSON: the same report the panel exports.
| Required scope | cash.read |
| Success status | 200 |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| record * | path | string | ULID of the record. |
| format | query | string | — |
Examples
Recorded from the test suite — these are real requests and their real responses.
curl -X GET 'https://api.flactrum.com/v1/cash-records/01m43sq8666vztpx63fy721jbj/export?format=xlsx' \
-H 'Authorization: Bearer flk_your_key:your_secret' \
-H 'Accept: application/json'
HTTP 200 · application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
(file download — the body is the report itself, not JSON)