# API: Contract Accounting Business Partner Invoice (A2X)
# File: API_CABUSPARTINVOICE_0002.md
# Version: 2.0.1
# Status: ACTIVE
# Protocol: OData V4
# Source URL: https://api.sap.com/api/API_CABUSPARTINVOICE_0002/overview
# Generated: 2026-07-23 14:17:02
---

# Contract Accounting Business Partner Invoice (A2X) / 合同会计业务伙伴发票 API

> **API 版本:** 2.0.1 | **状态:** ACTIVE | **协议:** OData V4  
> **技术名称:** `API_CABUSPARTINVOICE`  
> **服务根路径:** `/sap/opu/odata4/sap/api_cabuspartinvoice/srvd_a2x/sap/cabuspartinvoice/0002/`  
> **SAP 通信场景:** `SAP_COM_0009`

## 概述 / Overview

该服务提供合同会计（FI-CA）中业务伙伴发票的读取操作。支持基于业务伙伴、公司代码、FI-CA 凭证和行项目等维度检索发票数据，包括净额、税额、现金折扣及支付状态等关键财务信息。

This synchronous inbound OData V4 service enables read operations on contract accounting business partner invoices from Contract Accounts Receivable and Payable (FI-CA). It supports retrieval of invoice data by business partner, company code, FI-CA document, and line item with key financial information such as net amount, tax amount, cash discount, and payment status.

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

---

## 实体列表 / Entity List

| # | 实体名称 | 描述 (EN) | 描述 (CN) | 主键 |
|---|----------|-----------|-----------|------|
| 1 | `A_CABusPartInvoice` | Business Partner Invoice | 业务伙伴发票 | `BusinessPartner`, `CompanyCode`, `FICADocument`, `FICADocumentItem` |

---

## 1. A_CABusPartInvoice — 业务伙伴发票

**实体集合路径:** `A_CABusPartInvoice`  
**主键 (Key):** `BusinessPartner` (CHAR 10), `CompanyCode` (CHAR 4), `FICADocument` (CHAR 12), `FICADocumentItem` (CHAR 4)  
**ETag:** 不支持

### 字段列表 / Field List

| 字段名 | 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `BusinessPartner` | CHAR | 10 | Business Partner Number | 业务伙伴编号 |
| `CompanyCode` | CHAR | 4 | Company Code | 公司代码 |
| `FICADocument` | CHAR | 12 | FI-CA Document Number | FI-CA 凭证编号 |
| `FICADocumentItem` | CHAR | 4 | FI-CA Document Item Number | FI-CA 凭证行项目编号 |
| `FICADocumentType` | CHAR | 2 | FI-CA Document Type | FI-CA 凭证类型 |
| `FICADocumentCategory` | CHAR | 2 | FI-CA Document Category | FI-CA 凭证类别 |
| `NetAmount` | DEC | 23(2) | Net Amount in Document Currency | 凭证货币净额 |
| `TaxAmount` | DEC | 23(2) | Tax Amount in Document Currency | 凭证货币税额 |
| `DocumentCurrency` | CUKY | 5 | Document Currency | 凭证货币 |
| `PostingDate` | DATS | 8 | Posting Date | 过账日期 |
| `EntryDate` | DATS | 8 | Entry Date | 录入日期 |
| `DocumentReferenceID` | CHAR | 16 | Document Reference ID | 凭证参考标识 |
| `ClearingDate` | DATS | 8 | Clearing Date | 清账日期 |
| `PaymentStatus` | CHAR | 1 | Payment Status | 支付状态 |
| `CashDiscountAmount` | DEC | 23(2) | Cash Discount Amount | 现金折扣金额 |
| `CashDiscountBaseAmount` | DEC | 23(2) | Cash Discount Base Amount | 现金折扣基额 |
| `PaymentMethod` | CHAR | 1 | Payment Method | 支付方式 |
| `PaymentTerms` | CHAR | 4 | Payment Terms | 支付条款 |
| `DueDate` | DATS | 8 | Net Due Date | 净到期日 |
| `CashDiscountDate1` | DATS | 8 | Cash Discount Date 1 | 现金折扣日期 1 |
| `CashDiscountDate2` | DATS | 8 | Cash Discount Date 2 | 现金折扣日期 2 |
| `CashDiscountPercent1` | DEC | 5(3) | Cash Discount Percentage 1 | 现金折扣百分比 1 |
| `CashDiscountPercent2` | DEC | 5(3) | Cash Discount Percentage 2 | 现金折扣百分比 2 |
| `ContractAccount` | CHAR | 12 | Contract Account Number | 合同账户编号 |
| `ReferenceDocument` | CHAR | 16 | Reference Document | 参考凭证 |
| `ReferenceDocumentType` | CHAR | 2 | Reference Document Type | 参考凭证类型 |
| `LastModifiedDateTime` | DEC | 15 | Last Modified Timestamp | 最后修改时间戳 |

### 导航属性 / Navigation Properties

| 导航属性 | 目标实体 | 描述 (EN) | 描述 (CN) |
|----------|----------|-----------|-----------|
| `to_BusinessPartner` | A_BusinessPartner | Business Partner Master Data | 业务伙伴主数据 |