get_treasury_statements
Retrieve statements for a specific Mercury treasury account, filter by document type, and get download URLs plus period and document details.
Instructions
Retrieve statements for a specific Mercury treasury account. Returns downloadUrl, periodStart, periodEnd, documentType, description, and creationDate. Filter by documentType: MonthlyStatement, TradeConfirmation, 1099, 1099R, 1042S, 5498, 5498ESA, 1099Q, FMV, SDIRA.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results (1–1000, default 1000). | |
| order | No | Sort order. Defaults to asc. | |
| end_before | No | UUID of statement to end page before. | |
| treasuryId | Yes | The Mercury treasury account UUID. | |
| start_after | No | UUID of statement to start page after. | |
| documentType | No | Filter by document type. |