# WritersLogic EU VAT Number Format Validator

> WritersLogic EU VAT Number Format Validator is a paid API for AI agents from agents.writerslogic.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-20).

Validates the structure and check digit of EU VAT numbers (Austria, Belgium, Germany, Denmark, Finland) for up to 100 numbers per call

## Facts

- Endpoint: POST https://agents.writerslogic.com/api/v1/tax-id-format?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/writerslogic-eu-vat-number-format-validator-050f297f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_urUPuM84fUax8xPN7uMpl

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 writerslogic-eu-vat-number-format-validator-050f297f -d '<json body>'
```

Example prompt: Before I add this new German supplier to our system, can you check whether their VAT number DE123456789 is structurally valid — correct format and check digit for Germany?

## When to prefer this

Use this endpoint when you need fast, offline structural validation of EU VAT numbers for the five supported countries (AT, BE, DE, DK, FI) before writing them to records or invoices — particularly in batch scenarios up to 100 numbers. Prefer this over VIES or national register lookups when you only need format correctness, not registration status, and want a deterministic, low-cost check.

## Known failure modes

- Country not in supported set (AT, BE, DE, DK, FI) returns 'unsupported' rather than a format result
- Malformed input (too long, empty string) rejected per schema constraints
- Ambiguous country when no prefix embedded and no country field supplied may cause incorrect validation
- Batch exceeding 100 items rejected
- A passing result does not confirm the business exists or the VAT is registered

## How this service works

Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.

## Output

For each submitted VAT number, the endpoint returns whether the format and check digit are valid, or whether the country is unsupported (any country outside Austria, Belgium, Germany, Denmark, Finland). It explicitly does not confirm registration or active status — only structural correctness.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "value"
    ],
    "properties": {
     "value": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1,
      "description": "With or without the country prefix; spaces, dots and hyphens are ignored."
     },
     "country": {
      "type": "string",
      "pattern": "^[A-Za-z]{2}$",
      "description": "ISO 3166 alpha-2 (EU VAT prefix). Optional when the value carries its prefix."
     }
    }
   },
   "maxItems": 100,
   "minItems": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

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