> ## 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.

# 对账报表查询

> 对账报表查询接口说明，支持根据报表任务 ID 查询对账单生成状态并获取报表下载链接。

**说明：**

* **根据「实时对账报表创建」接口返回的 `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 时有值 |

## 相关主题

* [实时对账报表创建](https://doc.haipay.net/zh/history/V20260801/operations/reconcile-report-create.md)
* [对帐文件链接获取](https://doc.haipay.net/zh/history/V20260801/operations/reconcile-file.md)
* [配置商户密钥与 RSA 签名规则](https://doc.haipay.net/zh/history/V20260801/get-started/configuration-and-signatures.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.