{"uid":"cap_wCuTrBXQdbN_jc5zxjJb7","slug":"agent402-uk-vat-number-format-validator-8fb36af8","name":"Agent402 UK 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/uk-vat","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"vat":{"type":"string","description":"VAT number"}}},"responseSchema":{"type":"json","example":{"prefix":"GB","electronic":"GB123456789","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":"down","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_8xB62T5go1JXxQqCfO4NT","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 UK VAT number format (GB/XI prefix + digits, or GD/HA) using pure logic — no live HMRC or VIES lookup required.","exampleAgentPrompt":"Before we proceed with this invoice, can you check whether 'GB123456789' is a correctly formatted UK VAT number?","exampleUseCases":[{"title":"Invoice processing pre-flight check","prompt":"We're about to process a UK supplier invoice — can you validate that 'GB987654321' is a properly formatted UK VAT number before we submit it to our accounting system?"},{"title":"Onboarding UK business verification","prompt":"A new vendor just signed up and gave us the VAT number 'XI123456789012' — can you check whether that's a valid UK VAT format before we approve their account?"},{"title":"E-commerce checkout VAT gate","prompt":"A customer entered 'GD498' as their VAT number at checkout — is that a valid UK VAT number format? I need to know before we apply VAT exemption."}],"resultDescription":"Returns a JSON object with the parsed VAT prefix (e.g. 'GB', 'XI', 'GD', 'HA'), the normalized electronic format string, and a boolean 'valid_format' field indicating whether the number conforms to UK VAT formatting rules. Does not confirm HMRC registration status.","failureModes":["Invalid or missing 'vat' field returns valid_format: false","Unrecognized prefix (not GB, XI, GD, HA) returns valid_format: false","Wrong digit count for GB/XI (must be 9 or 12 digits) returns valid_format: false","Empty string input may return an error or valid_format: false","Non-string input may cause a 400 or schema error"],"whenToPreferThis":"Use this endpoint when you need a fast, cheap, offline-style format check on a UK VAT number before invoking live HMRC or VIES verification. Ideal as a pre-action gate in tax workflows, invoice processing pipelines, or business onboarding flows where you want to catch obviously malformed VAT numbers without incurring network latency or rate limits from government APIs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:28:34.818Z","isFirstParty":false}