> For the complete documentation index, see [llms.txt](https://wiki.dieagenturverwaltung.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.dieagenturverwaltung.de/die-agenturverwaltung-en/finanzen-1/x-invoice-and-e-invoice.md).

# X-invoice and e-invoice

## Die Agenturverwaltung supports XRechnung and e-invoices for both incoming and outgoing invoices.

Invoices are generated in the hybrid PDF/A-3 format ZUGFeRD 2.4. They are readable by both people and machines. Your invoice in PDF format is therefore already an e-invoice; you don't need to do anything else.

When entering purchase invoices, other standards are also supported, such as XRechnung in the Zugferd, UBL or CII formats, as well as various European standards from other countries (Factur-X, FatturaX, ...).&#x20;

If a purchase invoice contains this kind of data, it is also used—even if the PDF view of the invoice may show different and additional data.

## Special BT Additional Fields for XRechnung

If you work for the public sector—for example, government agencies or ministries—or in some cases for large corporations, your customer may require you to submit an XRechnung.

These invoices are XML files without a visual component and can be generated in various formats, such as ZUGFeRD 2.4, UBL or CII.<br>

**BT Numbers** are the fields defined by the EN 16931 standard. They apply equally to XRechnung, ZUGFeRD, UBL and CII.\
Contact our support team if you would like us to enable these fields for you.\
\
**These fields can also be enabled:**

| Field code | Field meaning                                                                                                                         |
| ---------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| BT-10      | Buyer Reference / Leitweg ID                                                                                                          |
| BT-13      | Order Reference / Order Number / PO Number                                                                                            |
| BT-19      | ReceivableSpecifiedTradeAccountingAccount / Cost Center / Buyer's accounting reference                                                |
| BT-133     | ReceivableSpecifiedTradeAccountingAccount / Cost Center / Buyer's accounting reference for the invoice line item (at line-item level) |

## Distinguishing X and e-invoices from regular invoices

You can identify XRechnung or e-invoices from your suppliers by the small green arrow shown next to them in the purchase invoice list.

<figure><img src="https://4063991107-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-La4YdZ1Gw5iHapqZfIo%2Fuploads%2F7wFjcq6DAo6Do0N5lJl3%2FBildschirmfoto%202024-12-15%20um%2014.19.40.png?alt=media&amp;token=7111fc7a-e00f-47b0-a121-560436a70493" alt=""><figcaption></figcaption></figure>

When entering an XRechnung or e-invoice, the bottom of the form indicates that the data comes from the invoice's embedded XML, not from the PDF.

<figure><img src="https://4063991107-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-La4YdZ1Gw5iHapqZfIo%2Fuploads%2FStbfd6D1McHH986gA7ot%2FBildschirmfoto%202024-12-15%20um%2014.18.43.png?alt=media&amp;token=10d0dbbe-0478-40ce-8c4d-c3ae94f7b879" alt=""><figcaption></figcaption></figure>

## Displaying XRechnung Invoices

XRechnung invoices are XML files, not PDFs, and are difficult for people to read.\
When you enter an XRechnung invoice, Die Agenturverwaltung displays a human-readable version in the preview:

<figure><img src="https://4063991107-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-La4YdZ1Gw5iHapqZfIo%2Fuploads%2F7byY8xfjEOsjEXxiWmCm%2FBildschirmfoto%202024-12-15%20um%2015.17.58.png?alt=media&amp;token=a2d0d8a4-3478-4307-8397-7c6417c9e66e" alt=""><figcaption></figcaption></figure>


---

# 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://wiki.dieagenturverwaltung.de/die-agenturverwaltung-en/finanzen-1/x-invoice-and-e-invoice.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.
