List treasury statements and tax forms
list_treasury_statementsRetrieve metadata for a treasury account's statements and tax documents, optionally filtered by document type, to review available records without downloading files.
Instructions
List one treasury account's statements and tax documents (metadata only).
Use this for treasury statement and tax-form (1099 and similar)
metadata; use `list_statements` for checking and savings statements
and `list_tax_docs` for recipients' W-9 forms. `document_type` is not
validated here: a value outside Mercury's list is rejected by Mercury.
Every page is walked. The API exposes these documents only through a
presigned `downloadUrl`, which is not returned or fetched.
`get_statement_pdf` (when enabled) may accept a treasury statement id
(same id type as depository statements), but the docs do not promise
it.
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": {
"entity": "<entity>",
"treasury_id": "<treasury_id>"
},
"name": "list_treasury_statements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | Exact `entity` key from `list_entities`, not its `display_name`. Required; there is no default. | |
| treasury_id | Yes | Treasury account id from `list_treasury`. | |
| document_type | No | Filter by document type. Omit for all. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||