OdooWiki OCA HUB

Base UBL Parse

base_ubl_parse folder_open OCA/edi open_in_new
Hidden License: AGPL-3

This module contains methods to parse UBL files. This module doesn't do anything useful by itself, but it can be used by other modules to process UBL data. Examples:

  • sale_order_import_ubl that imports UBL sale orders.
  • account_invoice_import_ubl that imports UBL invoices,

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Technical helper module that reads UBL (Universal Business Language) XML files and turns their content into structured data. It does nothing on its own; other modules use it to import UBL documents such as invoices or sale orders.

This is a hidden, technical module. It does not add any menu, screen, button or report that a user can see. Its only purpose is to give other modules the ability to read UBL XML files and extract the information they contain.

The module extends the existing base.ubl model with parsing methods. These methods read a UBL file and return structured data for:

  • Parties: company name, VAT number, website, contact name, email, phone, and identification numbers.
  • Addresses: street, street number, additional street, city, postal code (spaces removed), state code and country code.
  • Customer and supplier parties, including the reference number assigned by the other party.
  • Delivery information: delivery party, delivery address, and the latest delivery date and time (used as a commitment date).
  • Incoterms: the delivery term code.
  • Products on document lines: barcode (GTIN) and seller's item code.

It also checks that the UBL file contains a version identifier; if not, it raises an error saying the file cannot be validated against the schema.

Because it is a base module, it only becomes useful when installed together with modules that import UBL documents, for example invoice or sale order import modules. No business rules, scheduled jobs or emails are added by this module itself.

Depends on

Models and fields (1)
  • base.ubl · extends an existing model

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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

terminal Installation and usage

No verified information

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.

info

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.