Download statement as PDF
Statements
Download statement as PDF
Download statement PDF
GET
Download statement as PDF
Description
Download statement PDF Sibling ofGET /statements/users/{tenantUserId}/{periodStart}/{periodEnd}
(same URL plus /pdf) — streams the rendered statement (same
branding + currency conversion as the emailed PDF) as a PDF
attachment instead of a JSON envelope. Registered ahead of the JSON
detail route on the router so /pdf is never swallowed by the
period path params.
Same self-or-admin guard and draft-visibility rule as the JSON
detail endpoint: members cannot download an editable draft
Statement row (readFrom='table', status='draft'); ledger-fallback
rows are allowed since they represent immutable ledger facts.
Authorization:
- Required role:
useror higher
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Path Parameters
Response
PDF stream. Cache-Control: no-store (financial document).
The response is of type file.