Problem/Motivation

According to the documentation of the European Union, there are multiple possible reasons the VIES service can return an invalid status for a VAT number:

  • the VAT number does not exist
  • the VAT number has not been activated for intra-EU transactions
  • the registration is not yet finalised (some EU countries require a separate registration for intra-EU transactions).

This makes it so valid VAT numbers can fail validation. I feel like this is unexpected and should be better documented.

I would even go further and disable the validation by default. This module claims to validate VAT numbers, but the VIES number validates a specific aspect of VAT numbers that's probably not relevant for most users, so it shouldn't be enabled by default.

Also, VIES is not a database but a search engine. We should probably change the wording.

Proposed resolution

Improve documentation about the purpose of the VIES search engine and disable it by default.

Issue fork vat_number-3573091

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

dieterholvoet created an issue. See original summary.

dieterholvoet’s picture

Issue summary: View changes
dieterholvoet’s picture

Status: Active » Needs review

  • dieterholvoet committed afd2fd8f on 2.0.x
    Issue #3573091 by dieterholvoet, tim-diels: Document the purpose of VIES...
dieterholvoet’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.