E-invoicing in Europe is moving from optional to mandatory. Germany has been phasing in structured electronic invoices for B2B, and similar rules are spreading. Formats such as ZUGFeRD and Factur-X combine a readable PDF with an embedded XML file that accounting systems can process automatically.
Odoo supports these formats, and for most businesses the standard configuration works once company and customer data are complete. But in practice, e-invoices can be rejected by a recipient's validator even though the PDF looks perfect. We worked through exactly this in an Odoo support case. This article describes what we learned. Odoo projects are a small part of our portfolio, so this is based on experience, not statistics.
The problem: valid PDF, rejected XML
The e-invoices generated from Odoo were rejected by a validator. The PDF looked fine. The problem was in the embedded XML.
When we ran the XML through a validator, the cause became clear: the invoices were generated with the "extended" profile, which includes fields beyond the common standard. The recipient's system expected the standard EN16931 profile (called COMFORT in ZUGFeRD terminology) and rejected anything else.
The fix
We switched the e-invoice output to the EN16931 / COMFORT profile, regenerated test invoices and validated them again. They passed, and the corrected setting became the default for outgoing invoices.
Why profiles matter
ZUGFeRD and Factur-X come in several profiles with different levels of detail:
| Profile | Use |
|---|---|
| Minimum / Basic WL | Very limited data, mostly for archiving |
| Basic | Simple invoices with line items |
| EN16931 (COMFORT) | The European standard, the safe default for most B2B invoices |
| Extended | Additional fields for special industry needs |
More is not always better. Many recipients validate strictly against EN16931. Unless a recipient explicitly requires the extended profile, EN16931 is the safer choice.
Keep a test routine after updates
Odoo updates and localisation module updates can change how e-invoices are generated. After each update, validating one sample invoice takes minutes and prevents a wave of rejections.
How to test e-invoices
- Generate a test invoice with typical content: several lines, taxes, discounts.
- Extract the XML from the PDF, or export it directly.
- Validate it with a public e-invoice validator for the relevant standard.
- Fix errors in the configuration: company data, tax settings, units, payment terms.
- Send a test to a key customer and confirm their system accepts it.
Other details that cause rejections
- Missing company data: VAT ID, tax number, full address
- Customer data gaps: missing VAT ID for EU customers, incomplete addresses
- Units of measure that do not map to standard codes
- Tax configuration that does not match the invoice situation
- Payment terms and bank details missing or formatted incorrectly
Legal notes on invoices
A related topic we handled in the same area: legal notes that must appear on certain invoices. For intra-community supplies within the EU, invoices need a note stating the tax exemption. In Odoo, this can be printed automatically based on the customer's fiscal position, so staff do not have to remember it. We configured this so the correct note appears whenever the fiscal position applies.
Beyond the invoice
E-invoicing touches other documents and templates too. In Odoo support work, we also adjust delivery slips and invoice email templates so that what customers receive is consistent and professional. In our maintenance retainers, ERP, invoice and document requests were a small share of all requests but among the more time-intensive ones.
Receiving e-invoices
Sending is only half of e-invoicing. Businesses also need to receive and process structured invoices from their suppliers. Odoo can import e-invoice XML and create vendor bills from it, which saves manual typing – but only if supplier master data, products and tax mappings are clean. We recommend testing incoming invoices from a few key suppliers early, so problems appear before volumes grow.
Who should own e-invoicing internally
E-invoicing sits between accounting and IT. Accounting knows the legal and tax requirements; IT or the ERP partner knows the configuration. In our experience, problems are solved fastest when one person in accounting owns the topic, collects rejection messages from customers, and passes them on with the exact validator output. A rejection message with the error code is usually enough to find the cause within a short time.
Preparing for mandatory e-invoicing
- [ ] Check which formats your customers and your country require
- [ ] Complete company and customer master data (VAT IDs, addresses)
- [ ] Choose EN16931 as the default profile unless required otherwise
- [ ] Validate sample invoices with a public validator
- [ ] Test with your largest customers
- [ ] Configure legal notes via fiscal positions
- [ ] Make sure you can also receive and process incoming e-invoices
FAQ
Is a PDF invoice still enough?
For B2B in more and more EU countries, no – or not for much longer. Structured e-invoices such as ZUGFeRD, Factur-X or XRechnung are becoming the standard.
Why was my Odoo e-invoice rejected?
Often because of the profile (for example extended instead of EN16931) or missing master data. A validator shows the exact error.
Can Odoo add legal notes automatically?
Yes. Notes can be tied to fiscal positions, so invoices for intra-community supplies or other special cases show the correct wording automatically.
What happens when an automation fails?
Without error handling, nothing – it fails silently. We add error workflows that notify someone and log the failed run, so it can be fixed and repeated.
What limits automations most in practice?
API limits and changes on the connected services. In our experience, rate limits, expiring tokens and changed fields are the usual cause of broken workflows, not the automation tool itself.
Planning a custom software project?
If you want a realistic plan for your own project, book a short call with our team and we will walk you through the phases, what we need from you and where projects like yours usually lose time. You can also browse finished work in our custom software portfolio.
Comments