This module contains methods to generate UBL files. This module doesn't do anything useful by itself, but it can be used by other modules to process UBL data. Examples:
- purchase_order_ubl that generate UBL purchase orders,
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Technical foundation module that builds UBL (Universal Business Language) XML files from Odoo data. It adds no screens or menus by itself; other modules use it to generate electronic documents such as purchase orders.
This is a hidden technical module. It does not add any menu, button, report or screen that a user can open directly. Instead, it extends the existing base.ubl abstract model with reusable building blocks that other modules call to produce UBL-compliant XML files.
The code assembles the standard UBL sections of a business document from Odoo records:
- Party blocks: names, addresses (street, additional street, city, postal code, state, country), language, website, VAT/tax scheme, legal entity and contact details (phone, email).
- Customer and supplier party blocks, including the reference number stored on the partner (
ref) mapped to the correct UBL identifier. - Delivery information: delivery address and delivery party, plus delivery terms from the Incoterm code.
- Payment terms taken from the payment term name.
- Line items: quantity with the UNECE unit-of-measure code, line amount, unit price, product name, seller code, customer code, barcode (GTIN), product attributes and tax categories.
- Tax subtotals and tax categories, using the UNECE tax category and tax type codes configured on taxes.
It also enforces data-quality rules: an error is raised if a unit of measure has no UNECE code, if a tax has no UNECE tax category, or if a tax has no UNECE tax type. A warning is logged when a partner has no country. The module touches partner, company, product, unit of measure, tax, Incoterm and payment term data, but only when another module asks it to generate a UBL file.
Depends on
Required by other modules
Text generated by AI (DeepSeek) from reading the Odoo 19.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: 2 confirmed, 7 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/edi.
terminal Installation and usage
No verified informationInstallation 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.