This is a technical module that ensure compatibility between the e-invoice generation modules of the OCA/edi project. It doesn't bring any feature by itself. You must also install one of the 2 OCA modules that generate electronic invoices:
- account_invoice_ubl: add support for the UBL format (Universal Business Language),
- account_invoice_facturx: add support for the Factur-X format.
See the README of each module for more information.
These 2 modules are able to embed an XML file in the PDF invoice and this module ensure that these 2 modules are compatible.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Technical module that lets Odoo attach an XML e-invoice file to customer invoice PDFs. It adds a setting to choose the XML format and marks the standard invoice report as an invoice report.
This module does not generate electronic invoices by itself; it prepares Odoo so that e-invoice generation modules (UBL or Factur-X) can work together and embed an XML file inside the PDF of customer invoices.
Where it appears: - In Accounting settings, under the Invoicing section, a new "Electronic Invoices" setting lets you choose the "XML Format embedded in PDF invoice". The only choice shipped by this module is "None"; the actual formats are added by the UBL or Factur-X modules.
What it changes:
- The setting is stored on the company (res.company) and is also available in the settings screen (res.config.settings).
- On customer invoices and customer credit notes (account.move), the module decides whether an XML file can be generated: the format must be set (not "None"), the document must be a customer invoice or refund, it must have a customer, it must not be cancelled, and it must contain at least one product line.
- It provides hooks used by localization modules: a payment identifier method and a due date type code method, both returning nothing by default so Odoo falls back to its normal behaviour.
- On installation, it marks the standard "Invoices without Payment" report as an invoice report, so the XML embedding can be applied to it.
It touches the accounting models account.move, res.company and res.config.settings.
Depends on
Required by other modules
Models and fields (3)
- res.company · extends an existing modelxml_format_in_pdf_invoice (XML Format embedded in PDF invoice)
- account.move · extends an existing model
- res.config.settings · extends an existing modelxml_format_in_pdf_invoice
Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 5 confirmed, 4 with no information of 9 versions.
Sources · Odoo 17.0
Confirmed on 2026-11-03 in branch 17.0 of OCA/edi.
terminal Installation and usage
OCA documentation · Odoo 18.0Installation
Source · Odoo 18.0Before installing the module, you must uninstall the module account_edi from the official addons. As the account_edi module is auto-installable, it is certainly already installed on your Odoo database.
For that, go to the Apps menu, remove the Apps filter, search for the module account_edi (the title of the module is Import/Export Invoices From XML/PDF). Then click on the button Module info and then on the button Uninstall.
Configuration
Source · Odoo 18.0The new configuration parameter XML Format embedded in PDF invoice is available in the menu Invoicing \> Configuration \> Settings.
No verified information in OCA: Usage.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.