> 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/administration-and-setup/settings/document-processing/e-documents.md).

# E-Documents

DocBits validates incoming electronic invoices (e-invoices) against the official standards — **XRechnung**, **ZUGFeRD** and **Factur-X** — and routes any problems it finds to the right handler. The **E-Documents** settings group (under **Document Processing**) has these pages:

* [**E-Invoice Validation**](/administration-and-setup/settings/document-processing/e-documents/validation-rules.md) — choose which e-invoice versions and profiles you accept, and set the severity of each validation rule for your organization.
* [**Validation report**](/administration-and-setup/settings/document-processing/e-documents/validation-rules/validation-report.md) — what a user sees when an invoice fails validation: the findings in plain language, the next step, and the option to reject the document.
* [**Validation for each document type**](/administration-and-setup/settings/document-processing/e-documents/validation-rules/validation-per-document-type.md) — for administrators: turn validation on and set whether it blocks, per document type, with a change log.
* [**Notification Routing**](/administration-and-setup/settings/document-processing/e-documents/notification-routing.md) — map validation findings to the AI Workforce agent that should handle them.

Together they let you decide **what counts as a problem** on an incoming e-invoice and **who deals with it**.

## Enable or disable e-invoice validation

The two E-Documents pages only take effect once **e-invoice validation is switched on for the document type**. The switch lives on the document type itself, not in the E-Documents menu.

Go to **Settings → Document Types → Invoice → Advanced Settings** and open the **E-Invoice Validation** section.

<figure><img src="https://578966019-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT2n2w4uDCJvv7CJ5zrdk%2Fuploads%2Fgit-blob-baec34029bc9fef9b46b264e24593b501895102e%2Feinvoice-enable-toggle.png?alt=media" alt="The E-Invoice Validation toggles on the Invoice document type"><figcaption><p>Turn e-invoice validation on or off per document type, with optional supplier notification</p></figcaption></figure>

* **Validate incoming e-invoices** — the master switch. When **on**, every uploaded invoice is checked against the KoSIT XRechnung Schematron rules plus the L0 PDF/A-3 and L4 IBAN/VAT semantic checks, using the severities you set on the [Validation Rules](/administration-and-setup/settings/document-processing/e-documents/validation-rules.md) page. Invalid invoices are blocked. When **off**, invoices skip e-invoice validation entirely and the E-Invoice Validation and Notification Routing pages have no effect.
* **Notify supplier on rejection** — appears once validation is enabled. When **on**, a rejected invoice triggers an email to the supplier listing the missing or incorrect fields so they can reissue it. Who receives and handles each finding is configured on the [Notification Routing](/administration-and-setup/settings/document-processing/e-documents/notification-routing.md) page.

> E-invoice validation is configured **per document type**. Today it applies to the **Invoice** document type; enable it on each document type that should be validated.

You can also jump straight here with **Global Quick Search**: press <kbd>Cmd</kbd> + <kbd>K</kbd> (<kbd>Ctrl</kbd> + <kbd>K</kbd> on Windows and Linux) anywhere in DocBits and type *e-invoice*.

<figure><img src="https://578966019-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT2n2w4uDCJvv7CJ5zrdk%2Fuploads%2Fgit-blob-176cd1966e5292d3688f9b1bb066dd02d25385fd%2Feinvoice-quicksearch.png?alt=media" alt="Global Quick Search jumping to E-Invoice Validation"><figcaption><p>Type "e-invoice" in Quick Search to jump straight to the toggle.</p></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://docs.docbits.com/administration-and-setup/settings/document-processing/e-documents.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.
