> 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/xrechnung-and-e-invoice.md).

# XRechnung and e-invoice

## Die Agenturverwaltung supports X-invoice and E-invoice both for receipt and for sending.

Outgoing invoices are created in the hybrid PDF/A3 format Zugferd 2.2. They are readable by both humans and machines. Your outgoing invoice in PDF format is therefore already an E-invoice, you don't need to do anything else.

When recording purchase invoices, other standards are also supported, such as the X-invoice in Zugferd format, UBL or CII and various foreign European standards (Factur X, FatturaX, ...).&#x20;

If a purchase invoice contains such data, that data is also used - even if the PDF view of that invoice may show different and even extended data.

## Distinguishing X- and E-invoices from regular invoices

X- or E-invoices from your suppliers can be recognized by a small green ribbon in the list of purchase invoices.

<figure><img src="/files/8dfba24dcee9689d6d8e5a4a1370fa9c877e7d16" alt=""><figcaption></figcaption></figure>

When recording an X- or E-invoice, the form shows at the very bottom that the data comes from the embedded XML of that invoice (not from the PDF).

<figure><img src="/files/1a171318a9f1a2b711cb913ddb15d9b0f83d579a" alt=""><figcaption></figcaption></figure>

## Display of X-invoices

X-invoices are not PDF files but XML files that are hard for humans to read.\
When recording such X-invoices, Die Agenturverwaltung shows a human-readable representation in the preview:

<figure><img src="/files/23b9b0d97bce463bd0dff7451949557f7d6e5b37" 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://wiki.dieagenturverwaltung.de/die-agenturverwaltung-en/finanzen-1/xrechnung-and-e-invoice.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
