Skip to main content

Technical module to generate PDF invoices with embedded XML file

Project description

Beta License: AGPL-3 OCA/edi Translate me on Weblate Try me on Runbot

This is a technical module needed to ensure compatibility between the two electronic invoice generation modules: account_invoice_ubl and account_invoice_factur-x. These 2 modules are able to embed an XML file in the PDF invoice, but for the moment only one XML file can be embedded in the PDF. And it can be useful to have both modules installed, because, for example, you may need to generate Factur-X PDF invoices for some customers and UBL XML files for other customers. So it adds a configuration parameter to decide which XML format is embedded in the PDF.

Table of contents


The project OCA/edi provides modules to generate UBL and Factur-X invoices. This solution designed by OCA is an alternative to the solution provided by Odoo S.A. in the official addons (Community version), it is not a solution built above it.

As a consequence, before installing this module, you should uninstall the module account_facturx of Odoo S.A. The module account_facturx is an auto-install module, so it is probably installed by default on your Odoo.

If you want to generate Factur-X invoices, you should install the OCA module account_invoice_factur-x available on OCA/edi.


The new configuration parameter XML Format embedded in PDF invoice is available in the menu Invoicing > Configuration > Settings.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.



  • Akretion



This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/edi project on GitHub.

You are welcome to contribute. To learn how please visit

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page