batchQueryTaxReports
Query all child export tasks in a tax report batch, including their statuses and download URLs. Poll this endpoint at the recommended interval of 30 seconds.
Instructions
Query all child export tasks in a tax report batch, including their statuses and download URLs. Poll this endpoint at the recommended interval of 30 seconds.
A child task's url is populated only when its status is 2 (completed). The value is a
JSON-encoded string containing Files and Basepath, matching the legacy url endpoint.
Each child task receives a queryId when the batch is created, so it may be present even
while the child status is 0 (pending).
The batchId is checked against the authenticated user context.
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": {
"batchId": "<batchId>"
},
"name": "batchQueryTaxReports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batchId | Yes |