OdooWiki OCA HUB

Sale Order UBL Import

sale_order_import_ubl folder_open OCA/edi open_in_new
Sales Management License: AGPL-3

This module adds support for the import of electronic RFQ and orders that comply with the Universal Business Language (UBL) standard. The UBL standard became the ISO/IEC 19845 standard in December 2015 (cf the official announce http://www.prweb.com/releases/2016/01/prweb13186919.htm). Two file formats are supported by this module:

  • UBL XML file,
  • PDF file with an embedded UBL XML file.

You can use the OCA module purchase_order_ubl to generate RFQs or purchase orders in PDF format with an embedded UBL XML file.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Lets you import customer orders and requests for quotation received as UBL XML files (or PDFs containing UBL XML) directly into Odoo, creating draft sale orders or quotations with customer, lines, prices and delivery details filled in.

This module extends the sale order import wizard so it can read electronic documents that follow the UBL standard, the international format used for exchanging orders between companies.

When you upload such a file, Odoo recognises whether it is an Order or a RequestForQuotation and builds the corresponding draft sale order or quotation. It fills in the customer (buyer), the invoicing party, the delivery address, the currency, the order date, the customer's order reference, the incoterm, the delivery details and any general note.

Each order line is created with the product, quantity, unit of measure, unit price and the line reference from the file. If the file gives a line subtotal, the unit price is calculated from it; otherwise the price stated in the file is used. Notes attached to a line are collected and kept on that line.

The module also checks the file against the official UBL schema before importing, so malformed files are rejected with an error message instead of creating wrong data. It relies on the generic sale order import wizard and the shared UBL parsing tools, and it touches the sale.order.import wizard. Demo data provides example customers, products and currencies used to test the import.

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

Confirmation status: 3 confirmed, 6 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 18.0

Read the description of the sale_order_import module for a detailed usage description. If you want to test the import of an UBL order and your Odoo database is loaded with the demo data, you can import one of the sample files located in the directory sale_order_import_ubl/tests/files/.

No verified information in OCA: Installation, Configuration.

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.