Export statements roster as CSV
Statements
Export statements roster as CSV
Export statements roster (CSV)
GET
Export statements roster as CSV
Description
Export statements roster (CSV) Streaming CSV sibling ofGET /statements ā same admin guard and
the same unpaginated readRoster query, streamed via fast-csv
instead of a JSON envelope. Registered at /export (not nested
under /users/*) so it can never be swallowed by a param route.
Object/array fields (flags, breakdownSnapshot,
deductionsSnapshot, statusHistory) are JSON-stringified per
CSV cell.
Authorization:
- Required role:
adminor higher
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Query Parameters
Provide together with periodEnd, or omit both for all periods.
Response
CSV stream of the statements roster.
The response is of type file.