Skip to content

Compliance

Check an EU VAT number against VIES

Send a VAT number with its country prefix. The API checks the national format first, then asks VIES, the European Commission system that relays each member state's register, whether the number is active for intra-EU trade.

What one lookup returns

The fields this product reads from the response. The full schema is in the API reference.

FieldTypeMeaning
validboolean or nulltrue when VIES confirms the number, false when the format or VIES says no, null when VIES could not answer.
statusstringvalid, invalid or unavailable.
reasonstring or nullinvalid_format, not_registered, or why VIES could not answer, such as ms_unavailable.
country.codestringISO 3166-1 alpha-2 code of the member state.
prefixstringVAT prefix: the ISO code, except EL for Greece and XI for Northern Ireland.
vat_numberstringThe number without its prefix.
format_validbooleantrue when the number follows the national format of its member state.
namestring or nullRegistered name, when the member state shares it.
addressstring or nullRegistered address, when the member state shares it.
vies.checkedbooleantrue when VIES answered for this number.
vies.request_datestring or nullDate and time of the VIES check.
vies.consultation_numberstring or nullVIES consultation number, when requester was sent.

Live example

The response below was returned by the API for this request.

Request
curl https://api.qelka.com/v1/vat \
  -H "Authorization: Bearer sk_test_your_key" \
  -H "Content-Type: application/json" \
  -d '{"vat":"IE6388047V"}'
Request fields
vatstring · RequiredThe VAT number, with its country prefix (IE6388047V) or without it when country is sent.
countrystring · OptionalMember state of a number sent without prefix: ISO code, or EL for Greece and XI for Northern Ireland.
requesterstring · OptionalYour own EU VAT number, to receive a VIES consultation number.
freshboolean · Default falsetrue skips the result cache and runs the lookup again.

Response

{
  "id": "lkp_01M85R2A3R34P0X54YZRHHCNPV",
  "object": "vat",
  "input": "IE6388047V",
  "valid": true,
  "status": "valid",
  "reason": null,
  "country": {
    "code": "IE",
    "name": "Ireland"
  },
  "prefix": "IE",
  "vat_number": "6388047V",
  "formatted": "IE6388047V",
  "format_valid": true,
  "name": "GOOGLE IRELAND LIMITED",
  "address": "3RD FLOOR, GORDON HOUSE, BARROW STREET, DUBLIN 4",
  "vies": {
    "checked": true,
    "request_date": "2026-11-24T03:02:23.528Z",
    "consultation_number": null
  },
  "credits_used": 1,
  "cached": false
}

Use cases

Apply the reverse charge

Confirm a business customer's VAT number before invoicing a cross-border B2B sale without VAT.

Onboard business accounts

Check the number a customer types at signup and prefill the company name when VIES shares it.

Keep proof of the check

Send your own VAT number as requester and store the VIES consultation number with the invoice.

Screen suppliers

Check that a supplier is registered before you pay a VAT invoice.

Price

1 credit per lookup, from the same balance as every other product.

Starter
$2.90 per 1,000 lookups
Growth
$1.98 per 1,000 lookups
Scale
$1.50 per 1,000 lookups
Business
$1.07 per 1,000 lookups

The free plan includes 100 credits every month. Errors, upstream failures and test keys are never billed.

See pricing

Data source and freshness

Queried live from the source at request time. Results are cached for 1 days; send "fresh": true to query again.

Data sources

Frequently asked questions

What is VIES?
The VAT Information Exchange System of the European Commission. It does not hold a register of its own: each check is forwarded to the national database of the member state that issued the number, which answers in real time.
Why is the name or address empty?
Each member state decides what VIES returns. Germany, for example, confirms whether a number is valid but shares neither the name nor the address. The fields are null in that case.
What does status unavailable mean?
VIES or the national service could not answer, for example during maintenance or when too many checks run at once. The format check still runs, the call costs 0 credits and the result is not cached, so you can try again later.
How do I get a VIES consultation number?
Send your own EU VAT number in the requester field. VIES then returns a consultation number that identifies the check. The European Commission describes it as a way to show a tax administration that you checked a given number at a given time.
Can I check a UK VAT number?
Only Northern Ireland numbers, with the XI prefix, are in VIES. Numbers with the GB prefix are kept by HMRC, outside VIES, and the API answers 422 for them.
How long are results kept?
Answers from VIES are cached for 24 hours to spare the national services; send "fresh": true to ask again. Unavailable answers are never cached.

Put this check in your product

Get an API key in under a minute. 100 free credits every month, no card required.

  • 100 free credits a month
  • No card
  • Test keys spend nothing
  • Cancel any time