Account Fiscal Position Vies Warning
This module adds a verification on res.partner and account.move models ensuring that Fiscal positions with check Show Vies Warning can only be assigned to partners who have successfully passed VIES validation (vies_valid = True).
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Adds a 'Show Vies Warning' option on fiscal positions so that partners and invoices using them are blocked unless the partner's VAT number has passed VIES validation.
This module extends fiscal positions in Accounting with a new checkbox called 'Show Vies Warning'. The checkbox only appears when the fiscal position is set to apply automatically, requires a VAT number, and the company has the VIES VAT check enabled.
When that checkbox is ticked, Odoo enforces two rules:
- On a partner (res.partner), you cannot save the record with that fiscal position if the partner's VAT number has not passed VIES validation.
- On an invoice (account.move), you cannot confirm (post) the invoice if it uses that fiscal position and the customer's VAT number has not passed VIES validation.
In both cases Odoo shows a validation error explaining that the fiscal position cannot be used because the partner did not pass VIES VAT validation. The checks are skipped entirely when the company does not have the VIES VAT check option enabled.
The new checkbox is added to the standard fiscal position form, right after the 'VAT required' field, so accountants can configure it where they already manage fiscal positions.
Depends on
Models and fields (3)
- res.partner · extends an existing model
- account.move · extends an existing model
- account.fiscal.position · extends an existing modelis_show_vies_warning (Show Vies Warning), is_visible_show_vies_warning (Visible Show Vies Warning)
Text generated by AI (DeepSeek) from reading the Odoo 19.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: 2 confirmed, 7 with no information of 9 versions.
Sources · Odoo 18.0
Confirmed on 2026-11-03 in branch 18.0 of OCA/account-fiscal-rule.
terminal Installation and usage
OCA documentation · Odoo 19.0Configuration
Source · Odoo 19.0To use this module you need:
- Go to Invoicing > Configuration > Settings and check Verify VAT Numbers
- Go to Invoicing > Configuration > Fiscal Position and create or select one
- Set Detect Automatically and VAT required, then set Show Vies Warning
Usage
Source · Odoo 19.0Partner
- Create or edit a partner.
- Enter the VAT number.
- Set the Fiscal Position that have Show Vies Warning active.
- If the VAT is registered in VIES, the partner form can be saved.
- Otherwise, Odoo will display a warning message.
Invoicing
- Create a new invoice.
- Select a partner who is not registered in VIES.
- Set the Fiscal Position that have Show Vies Warning active and confirm the invoice.
- If the VAT is registered in VIES, the invoice can be confirmed.
- Otherwise, Odoo will display a warning message.
No verified information in OCA: Installation.
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.