# Macaroon Network VAT Validate

> Macaroon Network VAT Validate is a paid API for AI agents from api.macaroonnetwork.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Real-time pass-through validation of EU VAT registration numbers against the VIES system, returning current validity status plus registered business name and address when available.

## Facts

- Endpoint: POST https://api.macaroonnetwork.com/execute/vat-validate-v1
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/macaroon-network-vat-validate-6f8097fb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zOluIe3MxvCGs2igadGFh

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 macaroon-network-vat-validate-6f8097fb -d '<json body>'
```

Example prompt: Can you check right now whether the EU VAT number DE123456789 is currently valid and active in VIES, and tell me the registered business name and address if available?

## When to prefer this

Use this endpoint when you need a real-time, authoritative confirmation of an EU VAT number's validity directly from the VIES system — not a cached or third-party-stored result. Ideal for B2B invoicing workflows, supplier onboarding, e-commerce tax exemption checks, and any compliance scenario where you need a live VIES confirmation at the moment of the transaction. Prefer this over cached VAT databases when regulatory or audit requirements demand current-state verification.

## Known failure modes

- VIES system temporarily unavailable or returning service errors (EU member state systems go offline periodically)
- VAT number format invalid for the specified country (malformed input)
- Member state does not expose name/address data — valid result returned but name/address fields are blank
- Rate limiting or timeout from the upstream VIES API
- Invalid or unrecognised country code prefix in the VAT number

## How this service works

Single live pass-through call to the EU Commission's VIES (VAT Information Exchange System) confirming whether an EU VAT registration number is currently valid, with registered name/address when available. Every call is a real-time confirmation only -- never a cached, stored, or aggregated result -- matching VIES's own stated purpose (real-time confirmation of VAT number validity per Council Regulation (EC) No. 904/2010) and how existing commercial VIES-based products already operate.

## Output

Returns the real-time VIES validation result for the submitted EU VAT number, including a boolean validity flag and, where the member state exposes it, the registered legal name and address of the VAT-registered entity. Results are live confirmations from VIES at the moment of the call — never cached or stored.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/macaroon-network-vat-validate-6f8097fb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.macaroonnetwork.com](https://www.zero.xyz/host/api.macaroonnetwork.com/llms.txt)
