Mercury
getTreasuryStatements
Retrieve a paginated list of statements for a specific treasury account. Supports cursor-based pagination and filtering by document type.
Remote mercury
Remote (network-hosted)
Other tools also called getTreasuryStatements?
See providers with this name
Input Schema
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 1000,
"maximum": 1000,
"minimum": 1,
"description": "Maximum number of results to return. Allowed range: 1 to 1000. Defaults to 1000"
},
"order": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "asc",
"description": "Sort order. Can be 'asc' or 'desc'. Defaults to 'asc'"
},
"end_before": {
"type": "string",
"format": "uuid",
"description": "The ID of the statement to end the page before (exclusive). When provided, results will end just before this ID and work backwards. Use this for reverse pagination or to retrieve previous pages. Cannot be combined with start_after."
},
"treasuryId": {
"type": "string",
"format": "uuid",
"description": "ID for a Mercury account."
},
"start_after": {
"type": "string",
"format": "uuid",
"description": "The ID of the statement to start the page after (exclusive). When provided, results will begin with the statement immediately following this ID. Use this for standard forward pagination to get the next page of results. Cannot be combined with end_before."
},
"documentType": {
"enum": [
"MonthlyStatement",
"TradeConfirmation",
"1099",
"1099R",
"1042S",
"5498",
"5498ESA",
"1099Q",
"FMV",
"SDIRA"
],
"type": "string",
"description": "Filter statements by document type."
}
}
}