Validates the format of an EU VAT number (VAT ID, USt-IdNr, reverse charge) against the Eu
Validates the format of an EU VAT number (VAT ID, USt-IdNr, reverse charge) against the European Commission's published format table: 27 member states plus GB and XI. Format only, never validity - no VIES call, and the response says so. Reports every published pattern with its match status, enforces note 4 for ES, honours case sensitivity, and names the source's own contradictions: BE prints two patterns while note 2 denies one, RO prints nine digits while its description allows two to ten.
20000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-16
updated
Provider
api.ozdreamtools.de · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x4Dd5E59475A55f1C2c0816469600663cb74cC1Dc",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "20000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"vat_number": "DE123456789"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"checked_at": "2026-07-26T09:00:00.000Z",
"checks": [
{
"findings": 0,
"key": "format",
"source": "European Commission, published format per member state",
"status": "ok"
}
],
"country": {
"code": "DE",
"description": "1 block of 9 digits",
"in_table": true,
"in_vies": true
},
"findings": [],
"input": {
"normalized": "DE123456789",
"raw": "DE123456789"
},
"interpretations": [
{
"key": "description_over_pattern",
"reading": "…"
}
],
"legend": {
"9": "A digit",
"X": "A letter or a digit"
},
"not_checked": [
"…"
],
"patterns": [
{
"footnotes": [],
"matched": true,
"origin": "pattern",
"pattern": "DE999999999"
}
],
"source": {
"countries": 29,
"digest": "…",
"name": "VAT identification number structure, European Commission (VIES FAQ data)",
"retrieved": "2026-07-26"
},
"summary": {
"errors": 0,
"infos": 0,
"warnings": 0
},
"unreferenced_notes": [
{
"note": 2,
"text": "…"
}
],
"valid_format": true
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"country": {
"description": "Two-letter member state prefix, e.g. 'DE' or 'EL'. Optional when the number carries it.",
"type": "string"
},
"vat_number": {
"description": "VAT identification number, with or without the country prefix",
"type": "string"
}
},
"required": [
"vat_number"
]
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.ozdreamtools.de/api/vat/format" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.ozdreamtools.de/api/vat/format");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.ozdreamtools.de/api/vat/format")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/3604.json, and this resource appears in /discovery/resources and /discovery/search.