VAT VIES Validation
l10n_eu_account_vies · odoo/odoo
Health
57/100
fair
-
Security22/251 minor finding
-
Activity25/25Last human commit 2 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 20.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.13 MB
Module directory on disk
Code analysis
0 migration notes
2 models
1 view
1 HTTP endpoint
Description
VAT validation for Partner's VAT numbers.
After installing this module, values entered in the VAT field of Partners will
be validated using VIES for all supported countries. The country is inferred from the
2-letter country code that prefixes the VAT number, e.g. BE0477472701
will be validated using the Belgian rules.
* When the "VAT VIES Check" option is enabled (in the configuration of the user's
Company), VAT numbers will be submitted to the online EU VIES database,
which will truly verify that the number is valid and currently
allocated to a EU company. This is a little bit slower than the simple
off-line check, requires an Internet connection, and may not be available
all the time. If the service is not available or does not support the
requested country (e.g. for non-EU countries), a simple check will be performed
instead.
Supported countries currently include EU countries, and a few non-EU countries such as Chile, Colombia, Mexico, Norway or Russia. For unsupported countries, only the country code will be validated.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_partner_l10n_eu_account_vies_form |
view.partner.l10n_eu.account.vies.form | res.partner | form | Inherits base.view_partner_form |
HTTP endpoints 1
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/l10n_eu_account_vies/1/webhook_update_vies |
L10nEUAccountViesWebhookController.webhook_update_vies |
public | http | ALL | csrf off |
Models touched 2
New fields (1)
-
has_foreign_fiscal_positionBooleancompute='_compute_has_foreign_fiscal_position'
No public methods.
New fields (2)
-
perform_vies_validationBooleancompute='_compute_perform_vies_validation' -
vies_validBooleancompute='_compute_vies_valid'help='European VAT numbers are automatically checked on the VIES database.'readonly=Falsestore=Truestring='Intra-Community Valid'tracking=True
-
create(self, vals_list)@api.model_create_multi -
write(self, vals)