{"uid":"cap_Xa5T_5SfDwLci9we9dmIa","slug":"eu-vat-number-format-validator-f08a9dc0","name":"EU VAT Number Format Validator","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.","url":"https://api.ozdreamtools.de/api/vat/format","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"country":{"type":"string","description":"Two-letter member state prefix, e.g. 'DE' or 'EL'. Optional when the number carries it."},"vat_number":{"type":"string","description":"VAT identification number, with or without the country prefix"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VhbW5QdcfDsKCwYtJ0O2M","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates the format of an EU VAT number against the European Commission's published format table for 27 EU member states plus GB and XI, reporting pattern match status without making a live VIES validity check.","exampleAgentPrompt":"Can you check whether the VAT number 'DE123456789' is correctly formatted according to the European Commission's official format rules — just format, no live VIES check needed?","exampleUseCases":[{"title":"Invoice VAT ID pre-validation","prompt":"Before we send this invoice, can you check if the customer's VAT number 'FR12345678901' has the right format for France according to the EU's official pattern table?"},{"title":"E-commerce checkout VAT verification","prompt":"A customer entered 'GB999999973' as their VAT number at checkout — does it match the official GB or XI format pattern? Just format, no live registry lookup."},{"title":"Accounts payable supplier onboarding","prompt":"We're onboarding a new Spanish supplier who gave us 'ESX1234567X' as their VAT ID — can you validate whether that matches the official EU format for Spain, including the note 4 rules?"}],"resultDescription":"A structured response listing every published format pattern for the given country with its match status (matched/not matched), whether the VAT number passed overall format validation, case sensitivity details, and explicit notes on known contradictions in the European Commission's source material (e.g. BE's two patterns vs note 2, RO's nine-digit pattern vs its two-to-ten digit description). The response explicitly states that no VIES live validity check was performed.","failureModes":["Unsupported country code — country not in the 27 EU member states, GB, or XI list","Malformed request body — missing VAT number or country code field","VAT number is empty or null","Unexpected character encoding causing pattern mismatch","Network timeout or server error (5xx)"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic, offline format check of an EU VAT number against the European Commission's official published patterns — without incurring the latency, rate limits, or downtime risk of a live VIES query. It is ideal for pre-validating user input before sending to VIES, for batch invoice processing, or when VIES is unavailable. Prefer it over generic regex libraries because it covers all 27 EU member states plus GB and XI, enforces country-specific rules like ES note 4, respects case sensitivity, and transparently surfaces known contradictions in the EC's own documentation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:44:38.722Z","isFirstParty":false}