L10n FR Business Document Import
This small module adds support for partner matching based on SIRET or SIREN when importing a business document (invoice, customer order, etc), in Odoo. It depends on the module base_business_document_import from the edi OCA project. This module is the base module for:
- account_invoice_import which imports supplier invoices as PDF or XML files (this module also requires some additionnal modules such as account_invoice_import_invoice2data, account_invoice_import_ubl, account_invoice_import_facturx, etc... to support specific invoice formats),
- sale_invoice_import which imports sale orders as CSV, XML or PDF files (this module also requires some additionnal modules such as sale_invoice_import_csv or sale_invoice_import_ubl to support specific order formats).
auto_awesome What this module does
AI-generated from the code · Odoo 18.0When importing a business document (supplier invoice, customer order, etc.) into Odoo, this module helps Odoo find the right partner by matching the French SIRET or SIREN number written on the document, and it checks that the document really belongs to the company you are importing it into.
This module adapts the generic business document import feature for France. It does not add any new screen or menu; it changes how Odoo behaves while importing a document.
- Partner matching: when a document contains a SIRET number, Odoo looks for a partner with that exact SIRET. If none is found, it uses the first nine digits as the SIREN and searches for a partner with that SIREN (only main partners, not contacts). If still nothing, it searches for a partner whose VAT number corresponds to that SIREN.
- Company check: when the document shows a SIREN, Odoo compares it with the SIREN of the company you are importing into. If they differ, an error message is raised and the import is blocked. If the company has no SIREN but is located in France, a warning is added to the import messages.
- Error messages: when partner matching fails, the SIREN and SIRET found on the document are added to the error message so the user can see what was read.
It relies on the French SIRET/SIREN fields provided by the French localization and on the generic import framework. It is installed automatically when both are present.
Required by other modules
Models and fields (1)
- business.document.import · extends an existing 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-03Confirmation status: 4 confirmed, 5 with no information of 9 versions.
Sources · Odoo 14.0
Confirmed on 2026-11-03 in branch 14.0 of OCA/l10n-france.
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.