Add Legal Number for North American Banking & Financials
Add Legal Number for North American Banking & Financials
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Adds a 'Legal ID' field on partner forms to store US EIN, SSN or Canadian Business Number, with automatic validation of the entered value.
This module adds a new field called Legal ID on the partner (customer, vendor or company) form. It is placed on the Accounting tab, right after the fiscal position field, and shows the placeholder "EIN / SSN / BN" so users know what to enter.
When a user types a value in this field, Odoo automatically checks it against three North American formats: - US Employer Identification Number (EIN) - US Social Security Number (SSN) - Canadian Business Number (BN)
If the value matches at least one of these formats, it is accepted. If it does not match any of them, Odoo blocks the save and shows an error message saying the value is not a valid EIN, SSN or Canadian Business Number. Leaving the field empty is allowed.
The module works by extending the partner model (res.partner) with a reusable mixin model (countinghouse.legal_id_number) that holds the field and the validation rule. It depends on the Accounting app (account) because the field is added to the accounting-related partner form view. No new menus, reports or scheduled actions are created; the change is limited to the partner form and its validation behaviour.
Depends on
Required by other modules
Models and fields (2)
- res.partner · new model
- countinghouse.legal_id_number · new modellegal_id_number (Legal ID)
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: 5 confirmed, 4 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/l10n-usa.
terminal Installation and usage
OCA documentation · Odoo 18.0Usage
Source · Odoo 18.0Add Legal Number Field
No verified information in OCA: Installation, Configuration.
Installation 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.