Get Statement Document
get_statement_documentReturns the signed-in partner's own monthly statement of account for period (YYYY-MM) exactly as it was sent to them: format pdf (default) returns the PDF as an embedded file, csv returns the CSV as text in csv. Statements exist only for months already issued; any other month returns RESOURCE_NOT_FOUND. Read-only. Needs a signed-in partner credit-line account session; guest sessions have no credit line.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | pdf (default) or csv | |
| period | Yes | Statement month, YYYY-MM | |
| sessionToken | No | Optional guest-checkout token returned by `guest_login`. |