HALPII Tax ID in Odoo
Last reviewed 2026-11-21 · HALPII S.A.C.
The module Tax ID Validation (120+ countries) – HALPII is on the Odoo Apps Store for Odoo 17 and 18. It validates the tax ID of a customer or supplier from the contact form and keeps the answer on the contact: the verdict, the reasons, how deep the check went and the date of the registry data.
| Setting | Value |
|---|---|
| Odoo 18.0 | apps.odoo.com/apps/modules/18.0/halpii_taxid, version 18.0.1.1.0 |
| Odoo 17.0 | apps.odoo.com/apps/modules/17.0/halpii_taxid, version 17.0.1.1.0 |
| Technical name | halpii_taxid |
| Licence | LGPL-3. The module itself has no price; lookups use your HALPII Tax ID key |
| Source code | github.com/halpii-sac/odoo-halpii-taxid, one branch per Odoo version (17.0, 18.0) |
| Requires | Odoo Community 17 or 18, and the Python package requests, which Odoo already uses |
Install it
- Open the listing for your Odoo version (Odoo 18 or Odoo 17) and download the module, or clone the matching branch of the repository:
git clone -b 18.0 https://github.com/halpii-sac/odoo-halpii-taxid.git - Copy the folder
halpii_taxidinto a directory of your server’s addons path and restart Odoo. - In Odoo, open Apps, select Update Apps List (developer mode), search for HALPII and select Install.
Configure it
Everything is under Settings → Tax ID Validation.
- API key. Get a no-cost API key (100 lookups a month) and paste it. Without a key the API allows only a few lookups a day per network. For higher volumes there is the Monthly plan: US$39 a month with 1,000 lookups included, then US$0.03 per extra lookup; see pricing. The plan is billed by the API, not by the module.
- Validate on save (off by default). Validates on its own when a company or individual is created, or when its tax ID or country changes.
- Block when the verdict is fail (off by default). Refuses to save a contact whose tax ID gets fail. When off, the contact is saved and flagged in red. If the service cannot be reached, the contact is always saved.
Use it
- Contact form. Select Validate tax ID next to the Tax ID field. The result is in the Tax ID check tab.
- Official name. The contact’s name is never changed on its own. When the registry name differs, Use official name replaces it after you confirm.
- Contacts list. A Tax ID verdict column, filters for pass, review, fail and not checked, and grouping by verdict.
- In bulk. Select contacts in the list, then Actions → Validate selected tax IDs (at most 200 per run). The run stops when the key is rejected or the daily limit is reached; a source that is down only skips that contact, which keeps its previous result.
- Country. Taken from the contact’s country, or from a country prefix in the tax ID. Child contacts of a company are not validated separately: the company carries the tax ID.
Labels, buttons and messages are in English and Spanish. The reasons and the registry status are written by the API and arrive in English.
Odoo partners with Mexican clients: 69-B alerts by webhook tell you when a supplier's RFC enters or leaves SAT's lists, without running the check by hand.
What is stored on the contact
| Field | What it holds |
|---|---|
| Verdict | pass, review or fail, with the reasons in plain words |
| Verification level | official_registry, format_and_lists or format: how deep the check went. It depends on the country and on the ID type; only official_registry can return pass |
| Data as of | The date of the registry data the verdict is based on |
| Official name and registry status | When the source publishes them |
The module reads the list of countries from the API once a day, so a country added to the coverage works in Odoo without a module update.
What leaves Odoo
Only the country code and the tax ID are sent to this service, with your API key. No names, addresses or other contact data leave Odoo. See privacy.
What it does not do
- It is not sanctions screening, and it does not verify bank accounts.
- Results come from public sources and can lag behind the registry; the Data as of field says by how much.
- In the format-only countries it checks the structure and check digit; it cannot show that a business exists.
Odoo is a trademark of Odoo S.A. HALPII Tax ID is an independent service run by HALPII S.A.C. and is not affiliated with or endorsed by Odoo S.A. or by any tax authority.