Skip to navigation

Check a VAT ID in EU VIES

Beta
View as Markdown

Asks the EU VAT register (VIES) whether a VAT ID (IČ DPH) is registered — the web’s VAT check next to a customer’s IČ DPH. Three answers:

  • valid: true — VIES confirmed it; name and address as the member state publishes them (null where it publishes none, e.g. DE and ES).
  • valid: false — VIES says it is not registered, or the number is malformed for its country.
  • valid: null, unverified: true — VIES did not answer (throttled, a member state offline, a timeout). Not a verdict: try again later.

Verified answers are cached (valid for hours, invalid for an hour). Auth-scoped; not workspace-scoped. Rate-limited per IP.

Authentication

AuthorizationBearer

JWT issued via POST /api/v1/auth/sign_in. Used by mobile and SPA clients. Revoked tokens are rejected.

OR
AuthorizationBearer

Lucanto API key. Two prefixes:

  • lct_pat_<random><checksum> — personal access token (owner: User)
  • lct_live_<random><checksum> — workspace token, live data

Issue keys at /settings/api_keys (personal) or /:workspace_id/settings/api_keys (workspace). Plaintext token is shown once and never again.

Query parameters

vat_idstringRequired

The VAT ID with its country prefix; spaces and case are ignored.

Response

OK
vat_idstring

The VAT ID as checked (spaces removed

validboolean or null

null when VIES could not answer.

namestring or null
The trader's name as VIES publishes it.
addressstring or null

The trader’s address, VIES’s one free-text string.

unverifiedboolean

True when VIES did not answer; valid is then null.

Errors

400
Bad Request Error
401
Unauthorized Error
429
Too Many Requests Error