API Docs / Operations / Statements / Stream ContactAnnualStatement PDF

Stream ContactAnnualStatement PDF

GET /contacts/{code}/statements/{year}/pdf/stream

The contact's annual statement as a PDF through the signed pdfUrl of the statement, with no credentials: the tenant, expiry and token come from the query, and disposition=inline shows it in the browser rather than downloading it. A bad or expired token is 401; a contact not paid in the period is 404.

Parameters

NameTypeDescription
tenant* query string
code* path string
disposition query string
expires* query integer (int64)
token* query string
year* path integer (int32)

Responses

200 OK
application/pdf
401 Unauthorized
404 Not Found
application/problem+json