OdooWiki OCA HUB

Account Fiscal Position Autodetect optional VIES

account_fiscal_position_autodetect_optional_vies folder_open OCA/account-fiscal-rule open_in_new
Accounting & Finance License: AGPL-3

This module adds vat VIES validation to fiscal positions auto detection system.

auto_awesome What this module does

AI-generated from the code · Odoo 17.0

Adds a VIES validation option to fiscal positions so they only apply when a customer's VAT number has passed VIES validation.

This module extends fiscal positions in Accounting with an extra condition based on VAT validation through VIES.

On the fiscal position form, a new checkbox "Vat was VIES validated" appears right after the existing "VAT required" option, and it is only visible when VAT is required. When enabled, the fiscal position is only considered for partners whose commercial entity has a VAT number that passed VIES validation.

When Odoo automatically looks for the right fiscal position for a customer or delivery address, it now takes the VIES validation status into account. Fiscal positions marked as requiring VIES validation are only selected for partners with a valid VIES status, while those not marked that way continue to work as before.

This affects the account.fiscal.position model and its automatic detection logic, so taxes and accounts applied on invoices and other accounting documents follow the correct fiscal position depending on the customer's VAT status. No new menus or reports are added; the change is visible in the fiscal position configuration screen and in the automatic fiscal position selection during document creation.

Depends on

accountbase_vat
Models and fields (1)
  • account.fiscal.position · extends an existing modelvat_vies_required (Vat was VIES validated)

Text generated by AI (DeepSeek) from reading the Odoo 17.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-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 5 confirmed, 4 with no information of 9 versions.

Sources · Odoo 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/account-fiscal-rule.

terminal Installation and usage

OCA documentation · Odoo 17.0
  • Create a new partner and define some country.
  • Create a new Fiscal Position, with the following configuration:
  • 'Detect Automatically' -\> checked.
  • 'Vat required' -\> checked.
  • 'Vat VIES required' -\> checked.

Create a new Sale/Invoice and select the partner. Remember that the system recalculates the fiscal position according to the shipping address.

No verified information in OCA: Installation.

info

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.