Skip to main content

Generate UBL XML file for customer invoices/refunds

Project description

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

This module adds support for UBL, the Universal Business Language (UBL) standard, on invoices. The UBL 2.1 standard became the ISO/IEC 19845 standard in December 2015 (cf the official announce).

With this module, you can generate customer invoices/refunds:

  • in PDF format with an embedded UBL XML file
  • as an XML file with an optional embedded PDF file

This module supports UBL version 2.1 (used by default) and 2.0.

Table of contents


In the menu Invoicing > Configuration > Settings > Invoicing, under Electronic Invoices, check the value of 2 options:

  • XML Format embedded in PDF invoice : if you want to have an UBL XML file
    embedded inside the PDF invoice, set it to Universal Business Language (UBL)
  • if you work directly with XML invoices and you want to have the PDF invoice in base64 inside the XML file, enable the Embed PDF in UBL XML Invoice.

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.

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page