# EU VAT Number Check-Digit Validation

> EU VAT Number Check-Digit Validation is a paid API for AI agents from eu-agent-utils.frcompanycheck.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-12).

Validates the format and check digit of EU VAT numbers, returning parsed components like SIREN (for FR) and country code, paid per call via x402 USDC micropayment

## Facts

- Endpoint: GET https://eu-agent-utils.frcompanycheck.workers.dev/v1/vat/%7Bnumber%7D?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-check-digit-validation-3a90691f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XJkZyiU_0wYesAKqBk-sU

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-check-digit-validation-3a90691f
```

Example prompt: Can you validate this EU VAT number for me — FR40303265045 — and confirm whether the format and check digit are correct?

## When to prefer this

Choose this endpoint when you need a fast, offline (no external registry lookup), purely algorithmic check of an EU VAT number's structure and check digit — ideal for pre-validation before hitting a live VIES lookup, or when you only need format/checksum assurance without confirming the number is currently registered. No API key or account required; pay $0.001 USDC per call via x402.

## Known failure modes

- Invalid or malformed VAT number string returns format_valid: false and checksum: invalid
- Unsupported country prefix returns an error indicating the country is not handled
- Missing or empty number parameter returns a 400-level error
- Network or worker downtime returns a 5xx response (not charged)

## How this service works

Cheap, deterministic utilities for AI agents, paid per call in USDC with x402 (no account, no API key): ECB euro reference FX rates and conversion, IANA time-zone conversion with explicit DST handling, European public holidays and working-day calculator (FR incl. Alsace-Moselle, BE, LU, DE, AT, IT, ES, PT), offline IBAN validation, and SIREN/SIRET and EU VAT number check-digit validation. Errors are never charged.

## Output

A JSON object containing: whether the VAT number is format-valid (format_valid boolean), checksum validity status (checksum field), the parsed country code, the full VAT number as provided, and for French numbers the underlying SIREN identifier. Errors are not charged.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "siren": "303265045",
  "valid": true,
  "country": "FR",
  "checksum": "valid",
  "vat_number": "FR40303265045",
  "format_valid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/eu-vat-number-check-digit-validation-3a90691f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from eu-agent-utils.frcompanycheck.workers.dev](https://www.zero.xyz/host/eu-agent-utils.frcompanycheck.workers.dev/llms.txt)
