OdooWiki OCA HUB

Quotation Order UBL Import

purchase_order_import_ubl folder_open OCA/edi open_in_new
Purchase Management License: AGPL-3

This module adds support for the import of electronic quotations 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 _). The file can be in two formats:

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

You can use the OCA module sale_order_ubl to generate PDF quotations with an embedded UBL XML file.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Import supplier quotations and order responses that follow the UBL electronic document standard, either as XML files or as PDF files with embedded XML, directly into Odoo purchase documents.

This module extends the purchase order import wizard so it can read UBL-formatted supplier quotations and supplier order responses.

When you import a quotation, Odoo reads the supplier, the buyer company (matched by VAT number), the currency, the issue date, the delivery terms (Incoterm) and any note. Each quotation line brings the product, the quantity with its unit of measure, and the unit price. If the line gives a line subtotal, the unit price is calculated by dividing that subtotal by the quantity; otherwise the price stated in the file is used.

For order responses, Odoo reads the referenced order number, supplier, company, currency, date and time, an overall response status and a note. Each response line carries the line reference, quantity, unit of measure, note, a line status and an optional maximum backorder quantity. Response codes are translated into statuses such as acknowledgement, accepted, rejected or conditionally accepted; line codes become accepted, rejected or amend. If an unknown code is found, the import stops with an error message.

The module works on the purchase.order.import and purchase.order.response.import wizards and relies on the UBL parsing and PDF attachment modules.

Models and fields (2)
  • purchase.order.import · new model
  • purchase.order.response.import · new model

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: 1 confirmed, 8 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 18.0

Refer to the README.rst of the module purchase_order_import for a detailed usage description.

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.