Skip to content

Use new REST API for VIES validation #496

@Hugo-Trentesaux

Description

@Hugo-Trentesaux

TL;DR example GET https://ec.europa.eu/taxation_customs/vies/rest-api/ms/FR/vat/60815004395

Or POST:

$ curl -X POST https://ec.europa.eu/taxation_customs/vies/rest-api/check-vat-number -H "Content-Type: application/json" -d '{
  "countryCode": "FR",
  "vatNumber": "60815004395"
}'
{
  "countryCode" : "FR",
  "vatNumber" : "60815004395",
  "requestDate" : "2026-05-19T12:25:12.544Z",
  "valid" : true,
  [...]
}

In 2022 a REST API was introduced (mentioned here https://ec.europa.eu/taxation_customs/vies/#/technical-information). In can be used in place of the SOAP API.

The API is described here in swagger format: https://ec.europa.eu/assets/taxud/vow-information/swagger_publicVAT.yaml.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions