What XRechnung & ZUGFeRD E-Invoice Inbox does
Since 2025 German companies must accept structured e-invoices. Odoo already imports XRechnung and ZUGFeRD files; this app adds the inbox in front of it: every file is checked against EN 16931 and the XRechnung rules, duplicates are caught, and you decide whether to create the vendor bill or send the invoice back.
Receive German e-invoices (XRechnung UBL / CII, ZUGFeRD / Factur-X hybrid PDF, Peppol) in one inbox: EN 16931 and XRechnung 3.0 rule check (BR-CO, BR-DE), Leitweg-ID check digits, Skonto syntax, IBAN, VAT id, duplicate and posted bill detection, reject with supplier email, vendor bill through the native Odoo import, optional KoSIT validator.
- XRechnung
- ZUGFeRD / Factur-X
- EN 16931
- Leitweg-ID
- KoSIT
Features
E-invoice inbox
Upload, purchase journal mail alias, Peppol or API. Native Odoo imports are registered too.
UBL and CII
XRechnung UBL Invoice and Credit Note, CII, ZUGFeRD / Factur-X hybrid PDFs (embedded XML extracted).
EN 16931 rules
Mandatory business terms, invoice lines, VAT breakdown and totals BR-CO-10 to BR-CO-16.
XRechnung rules
BR-DE-1 to 9, 14 to 28: payment means, seller contact, buyer reference, VAT id, type codes, Skonto, IBAN.
Leitweg-ID check
Format and ISO/IEC 7064 MOD 97-10 check digits of the buyer reference.
Duplicates
Same file, same supplier and invoice number, or an already posted bill with that reference.
Quality gate
Bills from invalid documents are blocked; administrators can still create them, logged.
Reject and notify
Reason plus the findings to the supplier by email from an editable template.
KoSIT validator
Optional binding XSD and Schematron check with your own KoSIT validator in daemon mode.
1. Receive
Upload, email to the purchase journal alias, Peppol, or Odoo's own import.
2. Check
EN 16931 and XRechnung rules, duplicates, optional KoSIT validator.
3. Decide
Create the vendor bill, or reject with a reason to the supplier.
4. Trace
Every check and decision is logged on the document.
Before and after
Without the app
- E-invoices are imported without knowing if they are compliant
- A plain PDF looks like an e-invoice
- The same invoice arrives twice, by email and Peppol
- Suppliers are not told what is wrong
With XRechnung & ZUGFeRD E-Invoice Inbox
- Every file is checked before the bill exists
- Plain PDFs are flagged as "not an e-invoice"
- Same file, same supplier invoice number or posted bill: caught
- Rejection email with reason and rule list
How it works, step by step
01Set up the inbox in one dialog
Choose whether invalid e-invoices block the vendor bill, whether valid ones become bills automatically and whether bills imported by Odoo itself are registered too. Optionally connect your own KoSIT validator and test it.

02Every e-invoice in one inbox
Uploaded files, emails to the purchase journal alias and Peppol messages arrive here with standard, supplier, invoice number, total, errors and warnings. The same file twice is refused by its SHA-256 hash.

03Read at reception
Supplier, invoice number, dates, buyer reference and amounts are read from the XML as soon as the file arrives, and the supplier is matched by VAT id.

04Validate against EN 16931 and XRechnung
One click runs the rule check. A clean XRechnung moves to Validated and can become a vendor bill.
05Findings with rule codes
Each finding names the rule (here BR-DE-6, BR-DE-15 and BR-DE-19), the business term and where it is in the XML. The summary is also posted in the chatter.
06Hybrid PDFs: the XML inside is checked
For ZUGFeRD / Factur-X PDFs the embedded XML is extracted and shown. Here the grand total does not match the lines plus VAT (BR-CO-15), so the document is invalid.
07Duplicates are flagged
A second file with the same supplier and invoice number gets a warning and a link to the other document. A posted bill with the same reference is a blocking error.
08Reject with a reason
Reject the invoice and, if you want, email the supplier the reason and the list of findings from a template you can edit.
09Vendor bill with its check result
The bill is created by Odoo's own UBL / CII import. It shows the e-invoice check badge, a smart button back to the inbox document and the validation summary.
Included apps
Odoo installs these Viyug Infotech apps together with XRechnung & ZUGFeRD E-Invoice Inbox.
Questions about XRechnung & ZUGFeRD E-Invoice Inbox
Is this the official KoSIT validation?
The built-in check is a fast pre-check that follows the EN 16931 and XRechnung rule identifiers. For a binding result, connect your own KoSIT validator (daemon mode); its report is stored and its messages listed.
Do I need extra Python libraries?
No. lxml, requests and python-stdnum are already part of a standard Odoo installation.
Does it replace Odoo's import?
No. Bills are still created by Odoo's own UBL / CII import; this app adds the checks and the triage in front of it.
What about Peppol?
The Peppol Access Point Connector app delivers incoming Peppol documents into this inbox.
