{"uid":"cap_IknADV9DiO0S0B3_4yV1I","slug":"agent402-vat-number-format-validator-7f7c8bbc","name":"Agent402 VAT Number Format Validator","description":"Don't burn tokens on deterministic work. Go/no-go jobs first: payout preflight, text firewall (PII/secrets), budget check — then rails, calendars, finmath. x402 USDC on Base. UK + global. agent402.co.uk — not agent402.tools. $0.001–$0.002 USDC on Base. No API keys.","url":"https://agent402.co.uk/v1/validate/vat-format","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"vat":{"type":"string","description":"VAT with country prefix"},"country":{"type":"string","description":"Optional ISO if body has no prefix"}}},"responseSchema":{"type":"json","example":{"country":"DE","known_rule":true,"valid_format":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3rYkp0_GeLp0Dj_Appney","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates VAT number format against official rules for EU27, GB, XI, and EL country codes without performing live VIES database checks","exampleAgentPrompt":"Before I issue this invoice, can you check whether DE123456789 is a validly formatted German VAT number — just the structure, not a live VIES lookup?","exampleUseCases":[{"title":"Pre-invoice VAT format gate","prompt":"I'm about to generate an invoice for a French customer with VAT number FR83404833048 — can you verify the format is correct before I proceed?"},{"title":"UK post-Brexit VAT validation","prompt":"Check if GB123456789 is a correctly formatted UK VAT number — I need to confirm the structure before processing this B2B order."},{"title":"Northern Ireland XI prefix check","prompt":"Is XI123456789 a valid VAT number format for Northern Ireland? I want to make sure it follows the right rules before I add it to our supplier records."}],"resultDescription":"Returns a JSON object containing the resolved country code (e.g. 'DE'), a boolean 'valid_format' indicating whether the VAT number matches the country's structural rules, and a boolean 'known_rule' indicating whether Agent402 has a format rule for that country. Does not perform live VIES registry lookups.","failureModes":["Unrecognized country prefix returns known_rule: false with valid_format: false","Malformed input with no prefix and no country parameter may return an error or ambiguous result","Country code mismatch between prefix and optional country parameter may produce inconsistent results","EL vs GR ambiguity for Greece may cause issues if not handled correctly by caller","No live registry check means a structurally valid number may still be unregistered"],"whenToPreferThis":"Use this endpoint as a lightweight pre-flight check before any tax, invoice, or B2B payment workflow where you need to confirm a VAT number is structurally plausible without triggering a live VIES call. Prefer it when you want fast, cheap, offline structural validation across EU27, GB, XI, and EL country codes. It is not a substitute for live VIES validation when legal compliance requires confirmed registration status.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:37:38.600Z","isFirstParty":false}