---
# API: PRA Revenue Accounting Document
# File: CE_PRAREVENUEACCTDOCUMENT_0001.md
# Version: 1.0.0
# Status: ACTIVE
# Protocol: OData V4
# Source URL: https://api.sap.com/api/CE_PRAREVENUEACCTDOCUMENT_0001/overview
# Generated: 2026-07-23 14:17:02
---

# PRA Revenue Accounting Document / PRA 收入会计凭证 API

> **API 版本:** 1.0.0 | **状态:** ACTIVE | **协议:** OData V4
> **技术名称:** `CE_PRAREVENUEACCTDOCUMENT_0001`
> **服务根路径:** `/sap/opu/odata4/sap/CE_PRAREVENUEACCTDOCUMENT_0001/srvd_a2x/sap/pra_revenueacctdoc/0001`
> **SAP 通信场景:** `SAP_COM_0187`

## 概述 / Overview

该 OData V4 服务提供对 PRA 收入会计凭证的读取访问。支持按过账日期、金额和货币查询收入会计凭证数据，用于油气收入核算和分析。

This OData V4 service provides read access to PRA revenue accounting documents. It supports querying revenue accounting documents by posting date, amount, and currency for oil and gas revenue accounting and analysis.

**API 业务加速器中心:** https://api.sap.com/api/CE_PRAREVENUEACCTDOCUMENT_0001/overview

---

## 实体列表 / Entity List

| # | 实体名称 | 描述 (EN) | 描述 (CN) | 主键 |
|---|----------|-----------|-----------|------|
| 1 | `A_PRARvenueAcctDoc` | PRA Revenue Accounting Document | PRA 收入会计凭证 | `PRARvenueAccountingDocument` |

---

## 1. A_PRARvenueAcctDoc — PRA 收入会计凭证

**实体集合路径:** `A_PRARvenueAcctDoc`
**主键 (Key):** `PRARvenueAccountingDocument` (RAW 16)
**ETag:** 不支持

### 字段列表 / Field List

| 字段名 | 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `PRARvenueAccountingDocument` | RAW | 16 | Key: Revenue Accounting Document UUID | 键：收入会计凭证 UUID |
| `RevenueAccountingDocument` | CHAR | 12 | Revenue Accounting Document Number | 收入会计凭证编号 |
| `PostingDate` | DATS | 8 | Posting Date | 过账日期 |
| `DocumentDate` | DATS | 8 | Document Date | 凭证日期 |
| `Amount` | DEC | 23(2) | Total Amount in Document Currency | 凭证货币总金额 |
| `Currency` | CUKY | 5 | Document Currency | 凭证货币 |
| `TaxAmount` | DEC | 23(2) | Tax Amount | 税额 |
| `DocumentType` | CHAR | 2 | Document Type | 凭证类型 |
| `DocumentTypeText` | CHAR | 60 | Document Type Description | 凭证类型描述 |
| `FiscalYear` | NUMC | 4 | Fiscal Year | 会计年度 |
| `AccountingPeriod` | NUMC | 3 | Accounting Period | 会计期间 |
| `CompanyCode` | CHAR | 4 | Company Code | 公司代码 |
| `JointVenture` | CHAR | 10 | Joint Venture | 合资企业 |
| `Contract` | CHAR | 20 | Contract Number | 合同编号 |
| `RevenueType` | CHAR | 4 | Revenue Category | 收入类别 |
| `RevenueTypeText` | CHAR | 60 | Revenue Category Description | 收入类别描述 |
| `Status` | CHAR | 2 | Document Status | 凭证状态 |
| `StatusText` | CHAR | 60 | Document Status Description | 凭证状态描述 |
| `CreationDate` | DATS | 8 | Creation Date | 创建日期 |
| `CreatedByUser` | CHAR | 12 | Created By User | 创建用户 |
| `LastModifiedDateTime` | EDTM | - | Last Modified Date/Time | 最后修改日期/时间 |

### 示例请求 / Sample Request

```
GET /sap/opu/odata4/sap/CE_PRAREVENUEACCTDOCUMENT_0001/srvd_a2x/sap/pra_revenueacctdoc/0001/A_PRARvenueAcctDoc?$filter=PostingDate ge 2026-01-01&$top=10
Accept: application/json
```

### 示例响应 / Sample Response

```json
{
  "d": {
    "results": [
      {
        "PRARvenueAccountingDocument": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
        "RevenueAccountingDocument": "REV0001234",
        "PostingDate": "/Date(1767225600000)/",
        "Amount": "250000.00",
        "Currency": "USD",
        "CompanyCode": "1000",
        "DocumentType": "RV"
      }
    ]
  }
}
```