---
# API: Settlement Document (A2X)
# File: SETTLMTDOC_0001.md
# Version: 1.3.4
# Status: ACTIVE
# Protocol: OData V4
# Source URL: https://api.sap.com/api/SETTLMTDOC_0001/overview
# Generated: 2026-07-23
---

# Settlement Document / 结算凭证 API

> **API 版本:** 1.3.4 | **状态:** ACTIVE | **协议:** OData V4  
> **技术名称:** `SETTLMTDOC_0001`  
> **服务根路径:** `/sap/opu/odata4/sap/settlmtdoc/srvd_a2x/sap/settlementdocument/0001/`  
> **SAP 通信场景:** `SAP_COM_0107`

## 概述 / Overview

该服务支持从SAP S/4HANA系统读取结算凭证信息。结算凭证记录了成本对象（如内部订单、生产订单、WBS元素等）向接收方（如成本中心、物料、资产等）进行结算的完整数据。

This synchronous inbound OData V4 service enables you to read settlement documents on header and item level. Settlement documents record the complete settlement data from sender objects (such as internal orders, production orders, WBS elements) to receiver objects (such as cost centers, materials, assets, etc.).

**API 业务加速器中心:** [https://api.sap.com/api/SETTLMTDOC_0001/overview](https://api.sap.com/api/SETTLMTDOC_0001/overview)

---

## 实体列表 / Entity List

| # | 实体名称 | 描述 (EN) | 描述 (CN) | 主键 |
|---|----------|-----------|-----------|------|
| 1 | `A_SettlementDocument` | Settlement Document Header | 结算凭证抬头 | `SettlementDocument`, `SettlementDocumentItem` |

---

## 1. A_SettlementDocument — 结算凭证

**实体集合路径:** `A_SettlementDocument`  
**主键 (Key):** `SettlementDocument` (CHAR 10), `SettlementDocumentItem` (NUMC 4)  
**ETag:** 不支持

### 字段列表 / Field List

| 字段名 | 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `SettlementDocument` | String | 10 | Settlement Document Number | 结算凭证编号 (主键) |
| `SettlementDocumentItem` | String | 4 | Settlement Document Item | 结算凭证行项目 (主键) |
| `SettlementDocumentType` | String | 3 | Settlement Document Type | 结算凭证类型 |
| `SenderObjectType` | String | 3 | Sender Object Type | 发送方对象类型 |
| `SenderObject` | String | 22 | Sender Object Number | 发送方对象编号 |
| `ReceiverObjectType` | String | 2 | Receiver Object Type (Account Assignment Category) | 接收方对象类型 |
| `ReceiverObject` | String | 22 | Receiver Object Number | 接收方对象编号 |
| `ControllingArea` | String | 4 | Controlling Area | 控制范围 |
| `CompanyCode` | String | 4 | Company Code | 公司代码 |
| `SettlementRule` | String | 6 | Allocation Structure (Settlement Rule) | 结算规则/分配结构 |
| `SettlementPeriod` | String | 3 | Settlement Period | 结算期间 |
| `SettlementYear` | String | 4 | Settlement Year | 结算年度 |
| `TotalAmount` | Decimal | 23 | Total Amount in Document Currency | 总金额 (凭证货币) |
| `Currency` | String | 5 | Document Currency | 凭证货币 |
| `SettlementStatus` | String | 1 | Settlement Status | 结算状态 |
| `PostingDate` | DateTime | - | Posting Date | 过账日期 |
| `AssetValueDate` | DateTime | - | Asset Value Date | 资产计值日期 |
| `DocumentCreationDate` | DateTime | - | Document Created On | 凭证创建日期 |
| `SenderCostCenter` | String | 10 | Sender Cost Center | 发送方成本中心 |
| `SenderOrder` | String | 12 | Sender Order | 发送方内部订单 |
| `SenderWBSElement` | String | 8 | Sender WBS Element | 发送方WBS元素 |
| `ReceiverCostCenter` | String | 10 | Receiver Cost Center | 接收方成本中心 |
| `ReceiverGLAccount` | String | 10 | Receiver G/L Account | 接收方总账科目 |
| `ReceiverMaterial` | String | 18 | Receiver Material | 接收方物料 |
| `ReceiverAsset` | String | 12 | Receiver Asset Number | 接收方资产编号 |
| `ReceiverProfitCenter` | String | 10 | Receiver Profit Center | 接收方利润中心 |
| `ReceiverBusinessProcess` | String | 12 | Receiver Business Process | 接收方业务流程 |
| `ReceiverProfitabilitySegment` | String | 10 | Receiver Profitability Segment | 接收方获利能力段 |
| `ReferenceDate` | DateTime | - | Reference Date for Settlement | 结算参考日期 |
| `SettlementCostElement` | String | 10 | Settlement Cost Element | 结算成本要素 |
| `DocumentIsReversed` | Boolean | - | Reversal Indicator | 冲销标识 |
| `ReversalDocument` | String | 10 | Reversal Document Number | 冲销凭证编号 |
| `ExchangeRateType` | String | 4 | Exchange Rate Type | 汇率类型 |
| `TotalQuantity` | Decimal | 15 | Total Quantity | 总数量 |
| `QuantityUnit` | String | 3 | Unit of Measure | 数量单位 |

### 导航属性 / Navigation Properties

| 属性名 | 目标实体 | 基数 | 描述 |
|--------|----------|------|------|
| `to_SettlementDocumentType` | `A_SettlementDocumentType` | 0..1 | Settlement Document Type / 结算凭证类型 |
