> ## 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`，需通过「对账报表查询」接口轮询任务状态并获取下载链接**
* **限制：单个 appId 每天最多创建 50 次，单次查询的时间范围最大为 31 天**

**URL：**

`/common/reconcile/report/create`

**参数：**

| 参数名 | 必选 | 类型 | 说明 |
| :- | :- | :- | :- |
| requestId | 是 | String | 任务唯一键，长度 ≤ 64 |
| appId | 是 | Long | 业务ID（后台获取） |
| type | 是 | Integer | 报表类型，15:代付订单数据，20:代收订单数据，40:资金流水数据 |
| startDate | 否 | String | 创建时间范围的开始日期（UTC），格式：yyyy-MM-dd。当 `type` 为 40 时，须与 `endDate` 同时传入 |
| endDate | 否 | String | 创建时间范围的结束日期（UTC），格式：yyyy-MM-dd。当 `type` 为 40 时，须与 `startDate` 同时传入 |
| successTimeStartDate | 否 | String | 成功时间范围的开始日期（UTC），格式：yyyy-MM-dd |
| successTimeEndDate | 否 | String | 成功时间范围的结束日期（UTC），格式：yyyy-MM-dd |
| sign | 是 | String | 签名 |

返回data参数说明

| 参数名 | 类型 | 说明 |
| :- | :- | :- |
| requestId | String | 任务唯一键 |
| reportId | String | 报表任务ID，用于「对账报表查询」接口查询任务状态 |

## 相关主题

* [对账报表查询](https://doc.haipay.net/zh/history/V20260801/operations/reconcile-report-query.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.