{"uid":"cap_zl64Skb247pSjze8dZEjE","slug":"mearef-tax-id-vat-validation-for-middle-eastern-countries-18dcf38d","name":"Mearef Tax ID / VAT Validation for Middle Eastern Countries","description":"VAT number and tax ID validation for Middle Eastern countries: valid or invalid, normalised form, ID type and the reason a number failed. Checks the format plus the official check-digit algorithm where the tax authority publishes one; every rule cited to an official source with its date. Algorithmic, no registry lookup. Coverage list free at GET /v1/taxid/coverage. GET /v1/taxid/validate?country={cc}&id={number}.","url":"https://mearef.dev/v1/taxid/validate?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["country","id"],"properties":{"id":{"type":"string","description":"The tax ID / VAT number as written (spaces, dots, dashes and the VAT country prefix are accepted)"},"country":{"type":"string","description":"ISO 3166-1 alpha-2 country code on this brand (see GET /v1/taxid/coverage)"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_AFatAtUK03ReRh1rnHmcz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates and normalises tax IDs and VAT numbers for Middle Eastern countries, returning validity status, normalised form, ID type, and failure reason based on official check-digit algorithms","exampleAgentPrompt":"Can you check whether the UAE VAT number '100123456789003' is valid and give me its normalised form?","exampleUseCases":[{"title":"E-commerce VAT compliance check","prompt":"I need to verify if this Israeli tax ID '514907103' is valid before processing an invoice — can you validate it and tell me if it passes the official check-digit test?"},{"title":"KYB due diligence for a Saudi supplier","prompt":"We're onboarding a new Saudi supplier and they gave us TIN '700000000'. Can you validate it and let me know the ID type and whether it's correctly formatted according to Saudi tax authority rules?"},{"title":"Finance team VAT number audit","prompt":"I have a list of UAE VAT numbers from our Middle East customers and I need to start with AE123456789012345 — can you tell me if it's valid, what type of ID it is, and why it would fail if it doesn't pass?"}],"resultDescription":"Returns whether the tax ID is valid or invalid, the normalised (standardised) form of the ID, the specific ID type (e.g. TRN, TIN), and a human-readable reason explaining any validation failure. All rules are cited to official tax authority sources with effective dates. No live registry lookup is performed — validation is purely algorithmic.","failureModes":["Unsupported country code — the country is not in Mearef's coverage list","Malformed or missing 'id' parameter — returns validation error","Malformed or missing 'country' parameter — returns error","Tax ID that structurally cannot be parsed — returns invalid with reason","Network or payment failure (x402 protocol) — 402 or 5xx response"],"whenToPreferThis":"Choose this endpoint when you need algorithmic validation of tax IDs or VAT numbers for Middle Eastern countries (UAE, Israel, Saudi Arabia, etc.) with official rule citations and check-digit verification. Prefer it over generic international VAT validators when Middle East coverage and cited official sources are required, and when you do not need a live registry lookup — this is a fast, pure-computation check with no external registry dependency.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-30T18:34:24.891Z","isFirstParty":false,"canonicalSlug":"mearef-tax-id-vat-validation-for-middle-eastern-countries-18dcf38d"}