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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"period": "<period>"
},
"name": "get_statement_document"
}
}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`. |