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

> ## Agent Instructions
> Test in the sandbox first: base URL https://api-sandbox.y.uno (Test Mode in the Dashboard). Production is https://api.y.uno (Live Mode).
> Every API request needs the public-api-key and private-secret-key headers. Get them in the Dashboard at https://dashboard.y.uno/developers (Developers > Credentials); sandbox and production keys are different.
> Send an X-Idempotency-Key (a UUID) when creating payments, refunds and cancels, so retries do not create duplicates.
> Start with the Quickstart (https://docs.y.uno/docs/quickstart.md) and the agent guide (https://docs.y.uno/agents.md). To search these docs from a coding agent, connect the docs MCP server at https://docs.y.uno/mcp.

# 对账

> 将交易与服务提供商的结算进行比对，以解决差异并确认 payouts 准确无误

对账是将您的交易与支付服务提供商的结算文件进行比对的流程，目的是：

* 识别并解决差异
* 确保所有已处理的交易都已正确结算
* 保持准确的财务记录

对账流程的工作方式如下：

**1. 收集结算文件**

从每个支付服务提供商收集结算文件。

**2. 比对文件**

将这些文件与通过 Yuno 处理的交易进行比对。

**3. 核对余额**

与您的收单机构核对账户余额。

**4. 核实记录**

核实所有记录准确、一致且为最新。

![Yuno Dashboard 中的 Recon Insights Overview 标签页，显示对账率、各服务提供商的每日对账率、流水线警报，以及按服务提供商划分的未对账交易](https://mintcdn.com/yuno-3979e326/ftEl-qqaJN9xQRxt/images/reference/reconciliations/image1.png?fit=max\&auto=format\&n=ftEl-qqaJN9xQRxt\&q=85\&s=b3d30e144796807e553258bd0a41d8db)

## 为什么对账很重要

对账帮助您识别并解决支付处理中的差异。虽然有些差异无害，但支付时间、存款和待处理交易等因素可能会影响您的银行账户余额。定期对账让您可以：

* 发现并预防余额错误
* 识别潜在欺诈
* 跟踪失败的支付
* 确保财务记录准确

对账的主要目标是：

* 核实商户收到成功的 Yuno 交易所对应的所有支付
* 确保商户与收单机构之间的付款条款得到遵守
* 监控收单处理成本，并根据约定条款进行验证
* 在 Yuno Dashboard 中保持数据完整性和准确的交易状态

为获得最佳效果，请每天进行对账。如果无法每天对账，请尽量每周对账，至少每月对账一次。

## Yuno 如何协助对账

Yuno 提供全面的交易对账流程，帮助您：

* 确保支付正确入账
* 核实付款条款的遵守情况
* 跟踪处理成本

我们的系统编排并管理来自 Yuno、合作伙伴和商户的数据，以执行准确的对账。

### 对账状态

每笔交易可以具有以下对账状态之一：

| 状态 | 描述 |
| :- | :- |
| Reconciled | 已在服务提供商的结算中找到该交易，款项将存入您的银行账户 |
| Non reconcilable | 该交易不符合对账条件，无法对账。不会采取进一步操作 |
| Not reconciled | 该交易正在等待在结算中被识别。请查看子状态，确认其是否仍在付款期限内 |
| Conflict | 在结算中找到了匹配的交易，但与已处理的记录存在差异 |

![Yuno Dashboard 中的 Recon Insights，显示按原因划分的未对账交易明细，以及按服务提供商划分的状态和金额冲突](https://mintcdn.com/yuno-3979e326/ftEl-qqaJN9xQRxt/images/reference/reconciliations/recon-insights-conflicts-by-provider.png?fit=max\&auto=format\&n=ftEl-qqaJN9xQRxt\&q=85\&s=4f982f669f8da537ed1bf5ecffeae424)

### 状态机

![对账状态转换示意图：Not reconciled（Pending 或 Missing）自动转为 Reconciled、Non reconcilable 或 Conflict（Amount、Date 或 Key 不匹配）](https://mintcdn.com/yuno-3979e326/m5ay49t24ir2tLEj/images/reference/reconciliations/image2.png?fit=max\&auto=format\&n=m5ay49t24ir2tLEj\&q=85\&s=201840979a3177e4a390c6519efafc6c)

### 报告

Yuno 提供三种对账报告。在 Dashboard 中，您可以在 **Recon Operations** 的标签页中找到它们：

1. **Reconciliation Overview**
   * 显示对账状态和子状态
   * 包含每笔交易的对账 ID

2. **Settlements & Fees**
   * 列出转入您账户的银行转账中的所有交易
   * 包含每笔交易的对账详情

3. **Settlement Payouts** 报告
   * 列出每个支付服务提供商报告已支付到您商户账户的 payouts（银行转账）
   * 对于使用 Yuno 新对账引擎的商户，可在 **Settlement payouts** 标签页中以及通过 Reports API 获取。请参阅 [Settlement Payouts](https://docs.y.uno/reference/reports/reports-fields.md#settlement-payouts)

![Recon Operations 中的 Settlements & Fees 标签页，列出每笔交易的支付 ID、商户订单 ID、结算 ID、payout 批次 ID、结算日期和类型](https://mintcdn.com/yuno-3979e326/ftEl-qqaJN9xQRxt/images/reference/reconciliations/recon-operations-settlements-and-fees.png?fit=max\&auto=format\&n=ftEl-qqaJN9xQRxt\&q=85\&s=48f43e1274c6e988d399a7a7a5009f52)

### 通过 API 获取对账数据

要从您的 backend 按服务提供商、账户和币种跟踪已结算金额（例如用于记账），请通过 Reports API 请求对账报告：[创建报告](https://docs.y.uno/reference/reports/create-a-report.md)、[检查报告是否就绪](https://docs.y.uno/reference/reports/retrieve-a-report.md)并[下载报告](https://docs.y.uno/reference/reports/download-a-report.md)。完整流程请参阅[构建报告](https://docs.y.uno/zh-hans/docs/direct-integration-use-cases/build-reports.md)。

* 使用 [Settlements & Fees](https://docs.y.uno/reference/reports/reports-fields.md#settlements--fees) 获取每笔交易的结算明细和费用。
* 使用 [Settlement Payouts](https://docs.y.uno/reference/reports/reports-fields.md#settlement-payouts) 获取服务提供商报告已支付到您商户账户的每笔转账的总额、费用和净额。为尚未使用新对账引擎的组织请求该报告会返回 400 错误。

> [!NOTE]
>
> [Get Account Details](https://docs.y.uno/reference/banking-connectivity/accounts/get-account-details-banking.md) 返回的 `balance` 字段属于通过 [Banking Connectivity](https://docs.y.uno/reference/banking-connectivity.md) 创建的银行账户。它们不是您在收单机构或支付服务提供商处持有的余额。


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