# EU VAT Number Validation (VIES)

> EU VAT Number Validation (VIES) is a paid API for AI agents from api.aventtech.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-10).

Validates EU VAT numbers in real-time against the European Commission VIES registry, returning validity status and available trader name and address.

## Facts

- Endpoint: GET https://api.aventtech.com/validate/vat?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/eu-vat-number-validation-vies-17b1d0d9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wa4yp5v99NL32xtb3GJBr

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-validation-vies-17b1d0d9
```

Example prompt: Can you check whether VAT number DE811907980 is valid and get me the registered company name and address if available?

## When to prefer this

Use this endpoint when you need authoritative, real-time validation of EU VAT numbers directly from the European Commission VIES registry — not a cached or third-party database. Especially valuable for B2B invoicing compliance, tax exemption verification, and supplier onboarding workflows where official registry accuracy matters. Handles per-country outages honestly rather than masking them.

## Known failure modes

- Invalid VAT format — malformed country prefix or number structure returns an error
- Country registry outage — valid field returns null with a reason string explaining the outage
- Unsupported country code — returns error if prefix is not a recognized EU member state
- Network timeout — upstream VIES registry may be slow or temporarily unreachable
- Rate limiting or payment failure — x402 micropayment not completed

## How this service works

Validate an EU VAT number and check whether a VAT registration is valid, against the official European Commission VIES registry in real time. Returns validity and, when available, the registered company name and address. Authoritative VAT number validation, verification and company lookup for invoicing, tax compliance and B2B onboarding across all EU member states.

## Output

Returns a validity flag (true/false/null), and when available the registered trader name and address. If null, includes a reason explaining which country's registry was unavailable at query time.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "vat"
     ],
     "properties": {
      "vat": {
       "type": "string",
       "description": "Country code + VAT number, e.g. DE811907980, EL999999999"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "valid": true,
  "number": "811907980",
  "source": "European Commission VIES (authoritative)",
  "country": "DE"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/eu-vat-number-validation-vies-17b1d0d9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.aventtech.com](https://www.zero.xyz/host/api.aventtech.com/llms.txt)
