Tuesday, July 22, 2025
1 change · saas-18.1
Enhancements to existing features
Italian e-invoicing registrations now include a secondary identifier such as a VAT number, so incoming vendor bills can be matched to the right registered user even when only that VAT number is available. This reduces failed matches and helps businesses process supplier invoices more smoothly through Odoo’s e-invoicing service.
Original PR description
This improvement addresses an issue in the Italian e-invoicing (l10n_it_edi) and IAP registration logic where incoming vendor bills with only a VAT number failed to match the correct registered EDI user. Changes introduced: - Added `edi_identification_secondary` (e.g. VAT number) to support fallback user matching. - Updated the `/create_user` endpoint to accept and store the secondary identifier. - Modified `create_user` logic to send both primary and secondary IDs from Odoo. - Prepared the base for matching incoming invoices against both identifiers. See also: odoo/iap-apps#1056 Task [link](https://www.odoo.com/odoo/project/967/tasks/4619718) task-4619718 Forward-Port-Of: odoo/odoo#207753