{
  "x402Version": 2,
  "id": 3604,
  "slug": "3604",
  "resource": "https://api.ozdreamtools.de/api/vat/format",
  "description": "Validates the format of an EU VAT number (VAT ID, USt-IdNr, reverse charge) against the European Commission's published format table: 27 member states plus GB and XI. Format only, never validity - no VIES call, and the response says so. Reports every published pattern with its match status, enforces note 4 for ES, honours case sensitivity, and names the source's own contradictions: BE prints two patterns while note 2 denies one, RO prints nine digits while its description allows two to ten.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x4Dd5E59475A55f1C2c0816469600663cb74cC1Dc",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "vat_number": "DE123456789"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "checked_at": "2026-07-26T09:00:00.000Z",
            "checks": [
              {
                "findings": 0,
                "key": "format",
                "source": "European Commission, published format per member state",
                "status": "ok"
              }
            ],
            "country": {
              "code": "DE",
              "description": "1 block of 9 digits",
              "in_table": true,
              "in_vies": true
            },
            "findings": [],
            "input": {
              "normalized": "DE123456789",
              "raw": "DE123456789"
            },
            "interpretations": [
              {
                "key": "description_over_pattern",
                "reading": "…"
              }
            ],
            "legend": {
              "9": "A digit",
              "X": "A letter or a digit"
            },
            "not_checked": [
              "…"
            ],
            "patterns": [
              {
                "footnotes": [],
                "matched": true,
                "origin": "pattern",
                "pattern": "DE999999999"
              }
            ],
            "source": {
              "countries": 29,
              "digest": "…",
              "name": "VAT identification number structure, European Commission (VIES FAQ data)",
              "retrieved": "2026-07-26"
            },
            "summary": {
              "errors": 0,
              "infos": 0,
              "warnings": 0
            },
            "unreferenced_notes": [
              {
                "note": 2,
                "text": "…"
              }
            ],
            "valid_format": true
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "country": {
                    "description": "Two-letter member state prefix, e.g. 'DE' or 'EL'. Optional when the number carries it.",
                    "type": "string"
                  },
                  "vat_number": {
                    "description": "VAT identification number, with or without the country prefix",
                    "type": "string"
                  }
                },
                "required": [
                  "vat_number"
                ]
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.ozdreamtools.de",
  "lastUpdated": "2026-09-16T15:38:47.908Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-16T15:38:47.22Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.ozdreamtools.de",
    "manifest_name": "api.ozdreamtools.de",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}