# EU VAT Number Format Validator

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

Validates the format and checksum of a European Union VAT number, returning validity status and normalized form.

## Facts

- Endpoint: POST https://validate.crewofthecaptain.com/api/validate/eu-vat?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/eu-vat-number-format-validator-eb9b50b1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jr8tAf4d49kjLql9gWW0x

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-eb9b50b1 -d '<json body>'
```

Example prompt: Can you check whether DE123456789 is a valid EU VAT number and give me the normalized form?

## When to prefer this

Choose this endpoint when you need lightweight, fast, pay-per-call EU VAT number format and checksum validation without committing to a subscription or heavy integration. It is ideal for agents that occasionally need to verify VAT numbers on invoices, during onboarding, or at checkout. It does not perform live VIES database lookups (active registration checks) — use it for structural/format validation only.

## Known failure modes

- Invalid or unsupported country prefix returns valid:false with a reason describing the issue
- Malformed checksum returns valid:false
- Empty or missing 'value' field may return an error response
- Non-EU VAT formats (e.g. US EIN, UK post-Brexit) may not be recognized
- Network or payment failure via x402 if USDC balance is insufficient

## How this service works

Format and checksum validation for IBAN, EU VAT, Polish NIP/REGON/PESEL and email, pay-per-call via x402. Only $0.001 (0.1 cent) per check, paid via x402 in USDC on Base.

## Output

A JSON object containing: 'type' (always 'eu-vat'), 'valid' (boolean indicating whether the VAT number passed format and checksum checks), 'reason' (string explaining the result, e.g. 'ok' or a failure reason), and 'normalized' (the canonically formatted version of the VAT number).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "value": {
   "type": "string",
   "maxLength": 512
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "type": "eu-vat",
  "valid": true,
  "reason": "ok",
  "normalized": "…"
 }
}
```

## More

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