list_treasury_statements
Fetch metadata for a treasury account's statements and tax documents (1099 and similar), filtered by document type. Find 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.
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 | |||