# VAT Check (EU VIES + UK HMRC)

> VAT Check (EU VIES + UK HMRC) is a paid API for AI agents from vat-check-production.up.railway.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-12-01).

Validates EU and UK VAT numbers via VIES and HMRC, returning the registered business name, address, and optional VIES consultation number for audit proof.

## Facts

- Endpoint: GET https://vat-check-production.up.railway.app/v1/vat/check?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vat-check-eu-vies-uk-hmrc-719c0ab0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GUHMPR3RH3uj6bZK5-dKr

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 vat-check-eu-vies-uk-hmrc-719c0ab0
```

Example prompt: Can you validate the VAT number DE129273398 against the EU VIES system and include the official consultation number as audit proof?

## When to prefer this

Use this endpoint when you need official, real-time VAT number validation from authoritative government sources (EU VIES for all 27 EU member states plus XI prefix, and UK HMRC) with registered business name and address lookup. Particularly valuable when audit-proof documentation is required via the VIES consultation number (proof=true). Prefer this over generic business lookup APIs when the specific requirement is tax compliance, reverse-charge invoicing eligibility, or B2B onboarding VAT verification across EU and UK jurisdictions.

## Known failure modes

- Invalid or malformed VAT number format returns valid: false
- VAT number not found in VIES or HMRC returns valid: false with appropriate status
- VIES service temporarily unavailable may return an error status
- Country prefix mismatch or unsupported country code returns an error
- proof=true requested but VIES consultation unavailable may return partial result

## How this service works

Verify an EU supplier's or customer's VAT number before invoicing or paying. Checks it live against the European Commission's VIES service (EU-27 and XI Northern Ireland): valid or invalid, plus the registered name and address where the member state publishes them. UK (GB) numbers are not checked on this deployment. Malformed numbers are rejected free, before payment. Use when applying the reverse charge or onboarding a B2B counterparty in the EU. $0.02 per call, USDC on Base (x402).

## Output

A JSON object containing the VAT number, validity boolean, registered business name, registered address, country code, data source (EU VIES or UK HMRC), check timestamp, and optionally a VIES consultation number for audit purposes.

## 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": "EU VAT number with country prefix, e.g. DK34223858, DE129273398"
      },
      "proof": {
       "enum": [
        "true",
        "false"
       ],
       "type": "string",
       "description": "Consultation numbers are not enabled on this deployment; ignored"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "vat": "DK34223858",
  "name": "PRICE MØBELSNEDKERI ApS",
  "valid": true,
  "source": "EU VIES",
  "status": "ok",
  "address": "Spangkærvej 1, 4671 Strøby",
  "country": "DK",
  "checked_at": "2026-10-16T06:46:55.631Z",
  "consultation_number": "WAPIAAAAZ..."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vat-check-eu-vies-uk-hmrc-719c0ab0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from vat-check-production.up.railway.app](https://www.zero.xyz/host/vat-check-production.up.railway.app/llms.txt)
