> ## Documentation Index
> Fetch the complete documentation index at: https://doc.haipay.net/llms.txt
> Use this file to discover all available pages before exploring further.

# 对账报表查询

**说明：**

* **根据「实时对账报表创建」接口返回的 `reportId` 轮询任务状态，任务成功后返回文件下载链接**

**URL：**

`/common/reconcile/report/query`

**参数：**

| 参数名      | 必选 | 类型     | 说明                      |
| :------- | :- | :----- | :---------------------- |
| appId    | 是  | Long   | 业务ID（后台获取）              |
| reportId | 是  | String | 报表任务ID（由「实时对账报表创建」接口返回） |
| sign     | 是  | String | 签名                      |

返回data参数说明

| 参数名       | 类型     | 说明                                            |
| :-------- | :----- | :-------------------------------------------- |
| requestId | String | 任务唯一键                                         |
| reportId  | String | 报表任务ID                                        |
| status    | String | 任务状态，PENDING：待处理，DOING：处理中，SUCCESS：成功，FAIL：失败 |
| fileUrl   | String | 文件下载地址，仅当 status=SUCCESS 时有值                  |

## 相关主题

* [公共接口概览](/docs/zh/api/version2/CommonApi)
* [实时对账报表创建](/docs/zh/V20260801/api/version2/ReconcileReportCreate)
* [对帐文件链接获取](/docs/zh/V20260801/api/version2/ReconcileFile)
