EORI checks
Check that a customs EORI number is registered before you ship, invoice or file a declaration. UK numbers are checked with HMRC, on their own or as a field in the business check. EU and Northern Ireland (XI) numbers are not covered.
// The response appears here.Check an EORI number
UK numbers (GB followed by 12 or 15 digits) are checked with HMRC. Spaces and case are ignored. EU and Northern Ireland (XI) numbers are not covered: they return a 422 eori_not_available error that is not counted. One call counts as one business check.
curl https://api.vardic.dev/v1/eori/GB123456789000 \
-H "x-api-key: $VARDIC_API_KEY"const headers = { "x-api-key": process.env.VARDIC_API_KEY };
const uk = await (await fetch("https://api.vardic.dev/v1/eori/GB123456789000", { headers })).json();
console.log(uk.data.valid, uk.data.name); // true "EXAMPLE TRADING LIMITED" (name only where published)import os, requests
h = {"x-api-key": os.environ["VARDIC_API_KEY"]}
uk = requests.get("https://api.vardic.dev/v1/eori/GB123456789000", headers=h, timeout=15).json()
print(uk["data"]["valid"], uk["data"]["name"])| Field | Type | Description |
|---|---|---|
eori | string | Normalised EORI |
valid | boolean | Whether the number is registered |
name, address | string|null, object|null | Only when the trader agreed to publish them |
processingDate | string | When the source answered |
source | string | hmrc |
In the business check
Add ?eori=GB123456789000 to /v1/companies/{number} to include the EORI result, and an eori_invalid flag when it is not registered.
EU VAT numbers
We do not offer EU VAT checks. The European Commission's VIES service terms do not allow its results to be passed on, so EU VAT numbers are out of scope. UK VAT checks with HMRC are coming soon to the business check.
Example response (made-up sandbox data)
{
"data": {
"eori": "GB123456789000",
"valid": true,
"name": null,
"address": null,
"processingDate": "2026-11-24T09:00:00+00:00",
"source": "hmrc"
},
"meta": {
"sandbox": true,
"notice": "Sandbox: made-up test data. Not a real record or lookup, and never billed.",
"requestId": "req_7e1a9c3b5d2f4a80",
"sources": {
"hmrc": {
"status": "ok"
}
}
}
}