> For the complete documentation index, see [llms.txt](https://docs.docbits.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.docbits.com/chinese/guan-li-yu-she-zhi/settings/global-settings/document-types/edi/xrechnung.md).

# XRechnung 概览

## 简介

XRechnung 是一种面向公共行政机构的德国电子发票标准。它基于欧洲标准 EN 16931，包含两种技术格式：**UBL**（通用商业语言）和 **CII**（跨行业发票）。

DocBits 全面支持 XRechnung，可提取结构化数据并将其无缝导出到 Infor ERP 系统。

## 支持的 XRechnung 版本（CII）

DocBits 支持以下 XRechnung CII 版本：

* [XRechnung 1.2](/chinese/guan-li-yu-she-zhi/settings/global-settings/document-types/edi/xrechnung/xrechnung-1-2.md)
* [XRechnung 2.1](/chinese/guan-li-yu-she-zhi/settings/global-settings/document-types/edi/xrechnung/xrechnung-2-1.md)
* [XRechnung 3.0](/chinese/guan-li-yu-she-zhi/settings/global-settings/document-types/edi/xrechnung/xrechnung-3-0.md)
* [XRechnung 3.0.1](/chinese/guan-li-yu-she-zhi/settings/global-settings/document-types/edi/xrechnung/xrechnung-3-0-1.md)
* [XRechnung 3.0.2](/chinese/guan-li-yu-she-zhi/settings/global-settings/document-types/edi/xrechnung/xrechnung-3-0-2.md)

## 数据流

XRechnung 文档到 ERP 系统的数据流包括以下步骤：

1. **提取**：DocBits 根据 XRechnung 版本和格式（CII 或 UBL）解析 XML 数据。
2. **DocBits 字段映射**：将提取的数据映射到标准 DocBits 字段。
3. **ERP 对齐**：将 DocBits 字段映射到 Infor BOD（业务对象文档）字段，通常使用 `SyncSupplierInvoice` BOD。
4. **导出**：将映射后的数据导出到 Infor 系统。

## 映射标准

映射基于以下标准：

* **UN/CEFACT CII**：XRechnung CII XML 结构的基础。
* **OAGIS/OASIS**：Infor BOD 所采用的标准。
* **EN 16931**：欧洲电子发票标准。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.docbits.com/chinese/guan-li-yu-she-zhi/settings/global-settings/document-types/edi/xrechnung.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
