# EU VAT Number Format Validator

> EU VAT Number Format Validator is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-15).

Validates the format of EU VAT numbers for all member states, with Spanish check digit verification, without querying VIES.

## Facts

- Endpoint: POST https://api.vextorium.com/v1/eu-vat-validate?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/eu-vat-number-format-validator-ee5ef8a6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0qs42L-kv-F6FoHkQMI7q

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability eu-vat-number-format-validator-ee5ef8a6 -d '<json body>'
```

Example prompt: Check if the VAT number ESB12345674 is correctly formatted — I need to know whether it passes the EU format rules and whether the Spanish check digit is valid.

## When to prefer this

Use this endpoint when you need fast, offline-style EU VAT format validation without triggering a VIES database lookup — ideal for real-time checkout flows, form validation, or pre-screening supplier VAT numbers before a full VIES query. It is especially valuable when you need Spanish check digit verification. Choose VIES-querying services instead when you need to confirm that the number is actually registered and active.

## Known failure modes

- Invalid or missing country prefix returns invalid format result
- Malformed JSON body or missing 'number' field causes request error
- Unsupported or non-EU VAT prefix may return null or invalid
- Number with correct format but wrong check digit returns valid_format=true, valid_control_digit=false
- Network timeout or service unavailability returns HTTP error

## How this service works

EU VAT number format validation for all member states (plus Spanish check digit). Does not query VIES.

## Output

Returns a JSON object with: a boolean 'valid' (overall result), 'valid_format' (format check result), 'valid_control_digit' (check digit result, especially relevant for Spanish VAT), the normalized 'number', the detected 'country' code (ISO 2-letter), and a 'note' clarifying that this is a format-only check and does not confirm VIES registration.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "number": {
   "type": "string",
   "description": "VAT number with country prefix, e.g. ESB12345674"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "note": "Format validation (and check digit for ES). It does not confirm the number is registered in VIES.",
  "valid": true,
  "number": "ESB12345674",
  "country": "ES",
  "valid_format": true,
  "valid_control_digit": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/eu-vat-number-format-validator-ee5ef8a6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
