Friday, April 17, 2026
1 change · saas-18.2
Enhancements to existing features
EU VAT number checks now use Odoo's IAP service instead of relying directly on VIES, reducing failures caused by VIES outages or delays. When results are not immediately available, the system can receive them later through a secured update or poll for them on on-premise setups.
Original PR description
Currently, when changing the Tax ID of a partner that is another EU country, we perform a VIES check to know whether it is valid (i.e. can do intra-com). However, it is often the case that the VIES check fails because of an internal error on their side (timeout, max concurrent update, ...), especially for France. Instead, we will now use the IAP server which stores the validity of a Tax ID for some time. If the IAP server does not have the info (because VIES is down), we will not actively wait. Instead, IAP will perform a push to a webhook on the client database once it has the information. For security purposes, an HMAC is generated and sent to IAP so that only IAP can contact the db with the up-to-date info, and not anyone on the internet that calls this new webhook. There is also a cron for polling for OnPrem instances that cannot be contacted via the webhook. task-5977584 Forward-Port-Of: odoo/odoo#259354 Forward-Port-Of: odoo/odoo#258155