Skip to main content

VAT ID Validation (VIES)

VAT ID validation is essential for B2B compliance, reverse charge eligibility, and EU cross-border trade. docs101 integrates with VIES (VAT Information Exchange System) to validate European VAT identification numbers in real time.

What is VIES?

VIES (VAT Information Exchange System) is the official EU system for validating European VAT identification numbers. It is operated by the European Commission and allows businesses to:

  • Verify that a VAT ID is valid and active.
  • Retrieve company information from the VAT registry (name, address).
  • Determine reverse charge eligibility for cross-border B2B transactions.
  • Maintain audit trails for compliance purposes.

Why VAT Validation Matters

  • Compliance: Ensure customers have legitimate VAT registrations before applying reverse charge.
  • Risk Reduction: Avoid invoicing with invalid or fraudulent VAT IDs.
  • Reverse Charge: Reverse charge applies when a B2B customer has a valid VAT ID from a different EU country than the seller.
  • Audit Trail: Keep timestamped validation records for tax authorities.

How to Validate a Customer's VAT ID

Step 1: Create or Edit a B2B Customer

  1. Go to Customers and create a new customer or open an existing one.
  2. Ensure Customer Type is set to B2B.
  3. Enter the VAT ID (e.g., DE123456789, FR12345678901).

Step 2: Run the Validation

  1. Click the Validate button next to the VAT ID field.
  2. docs101 connects to VIES and checks the ID in real time.
  3. The validation takes a few seconds to complete.

Step 3: Review Validation Results

After validation completes, you will see:

For Valid VAT IDs:

  • Green checkmark indicating the VAT ID is valid and active.
  • Registered Company Name: The official name from the registry.
  • Registered Address: Street, postal code, city from the registry.
  • Last Checked: Timestamp of when the validation was performed.
  • Reverse Charge Eligibility: Set to eligible if the customer is in a different EU country.

For Invalid VAT IDs:

  • Red indicator showing the VAT ID is not valid or not found.
  • Error message with the reason for invalidity.
  • Reverse charge eligibility remains unchanged or not applicable.
tip

Always validate a VAT ID during customer creation rather than after invoicing. This ensures compliance from the start.

Understanding Validation Results

Valid Status

A valid VAT ID means:

  • The VAT ID exists in the EU VAT registry.
  • The business is currently registered and active.
  • The company information is accurate as of the last check.
  • Reverse charge may apply if the customer is in a different EU country than the seller.

Invalid Status

An invalid VAT ID may indicate:

  • A typo in the VAT ID format.
  • The business is not registered for VAT.
  • The business has been deregistered.
  • The VAT ID belongs to a different country than expected.
  • The business has temporarily suspended VAT registration.
info

If a VAT ID is invalid, ask the customer to confirm their VAT ID and resubmit. If the customer cannot provide a valid ID, consider changing the customer type to B2C.

Cached Results vs. Live Queries

docs101 balances validation accuracy with performance:

Live Validation

  • Performed immediately when you click Validate.
  • Always retrieves current data from VIES.
  • Takes a few seconds depending on VIES response time.
  • Recommended for initial customer setup.

Cached Results

  • Stored automatically after a successful validation.
  • Show the cached company name and address.
  • Reduce repeated queries to VIES.

Re-validation

  • Click Validate again to force a fresh VIES query at any time.
  • Useful if you suspect the customer's VAT status has changed.
  • Overwrites previously cached data.
  • Recommended periodically or when customer details change.

Last Checked Timestamp

Each validation result includes a Last Checked timestamp showing when VIES was last queried. This helps with:

  • Audit Compliance: Prove due diligence in customer validation.
  • Temporal Context: Understand when the data was current.
  • Re-validation Planning: Know when to refresh outdated validations.

Reverse Charge Eligibility

Reverse charge eligibility is determined based on the validation results:

Eligible for Reverse Charge

This applies when:

  • The VAT ID is valid.
  • The customer is a B2B customer.
  • The customer is in a different EU country than the seller.
  • Invoices show 0% VAT with a reverse charge statement.

Not Eligible

This applies when:

  • The customer is B2C (no VAT ID).
  • The VAT ID is invalid or not yet validated.
  • The customer is in the same country as the seller.
  • Standard VAT applies on invoices.

What to Do If Validation Fails

If VAT ID is Invalid

  1. Verify with Customer: Ask the customer to confirm their VAT ID.
  2. Check Format: Ensure the correct country code prefix (DE, FR, IT, etc.).
  3. Confirm Status: Verify the business is active and registered for VAT.
  4. Retry: Have the customer resubmit the correct VAT ID.
  5. Alternative: If the customer has no valid VAT ID, change to B2C type.

If VIES is Unavailable

Occasionally, VIES may be unavailable due to maintenance or network issues:

  1. Retry: Wait a few moments and try again.
  2. Proceed Cautiously: You may proceed with an unvalidated VAT ID, but note the risk.
  3. Document: Note the failed validation attempt for audit purposes.
  4. Re-validate Later: Try validation again when VIES is available.

If Company Information Does Not Match

If VIES returns a different company name or address than what is in the customer record:

  1. Review Customer Data: Check what you entered matches what the customer provided.
  2. Compare Results: Look at the differences between your records and the VIES registry.
  3. Update Customer: Correct the customer record to match VIES data if appropriate.
  4. Document Changes: Note any corrections for the compliance audit trail.

Best Practices

  • Validate Early: Check the VAT ID during customer creation, not after invoicing.
  • Periodic Review: Re-validate established customers periodically to catch status changes.
  • Document Process: Keep records of validation dates and results.
  • Trust VIES: Rely on official VIES data over customer-provided information.
  • Compliance First: Do not override reverse charge eligibility without clear business justification.