UBL Invoice Import Base
by Terrabit https://www.terrabit.ro , Dorin Hongu https://www.terrabit.roUBL Invoice Import Base
Shared UBL parser and product matcher for vendor bill imports
Technical base module, shared by the tools that import vendor invoices in UBL XML format. It has no menu, view or setting of its own and changes nothing in the standard flows.
It provides an abstract model with:
- UBL readingdocument header (number, dates, currency, order reference, totals, supplier VAT and name; a credit note is recognized by its document type or type code 381) and invoice lines (
InvoiceLine: supplier code, barcode, name, quantity, unit, price, discount fromAllowanceCharge, VAT rate and category). - Vendor lookupby VAT number (a Romanian CUI with or without the
ROprefix) or by name. - Product matchingby barcode, supplier code, internal reference, supplier product name or product name, reporting how each product was found.
- Unit conversionfrom UBL unit codes (C62, KGM, LTR, ...) to Odoo units.
- Vendor price updatein the vendor pricelist and product creation from an invoice line.
- Duplicate bill lookupand the reading of the VAT rate declared on each line.
Used by Purchase UBL Import (deltatech_purchase_ubl) and Vendor Bill UBL Review
(deltatech_vendor_bill_ubl_review).
19.0.1.0.1 (2026-11-20)
- The line price now takes the
BaseQuantityof the UBL price into account (cac:Price): a price of 50 declared for 100 units is read as 0.50 per unit, also when the base unit differs from the unit of the invoiced quantity. A missing, zero, negative or unreadable base is taken as 1, as before. The line discount is computed on the normalised price. When the base is clearly misfilled (typically with the line quantity, while the price is already per unit) the line total shows it and the base is ignored, with a warning on the import log. Fixes #3590.
19.0.1.0.0 (2026-11-19)
- Initial release: the UBL parser, vendor lookup, product matcher, unit conversion, vendor
price update and duplicate bill lookup moved out of
deltatech_purchase_ubl, so that they can be used without the purchase and stock apps.
Need help getting started?
Our 800+ apps on the Odoo Apps Store are used in Odoo implementations across Europe, the Americas, Asia and Africa — by companies we have never even met. That is the advantage of building modules that simply work.
Questions about this module? Write to us — the developers who build it will answer.
More apps by Terrabit
Other modules from the same publisher, built to work together. All apps →
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Lines of code | 473 |
| Technical Name |
deltatech_account_ubl_import |
| License | OPL-1 |
| Website | https://www.terrabit.ro |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module