{"uid":"cap_RCqiqy0auInkDUqxYw2qV","slug":"latamref-tax-id-validator-bbc127a9","name":"Latamref Tax ID Validator","description":"Tax-ID / VAT-number validation for Latin American countries: valid/invalid, normalised form, id type and the reason it failed. Format plus the official check-digit algorithm where the tax authority publishes one; every rule cited to an official source with its date. Pure algorithmic, no registry lookup","url":"https://latamref.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_g0l7DTupRntGr20Op8gsj","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 Latin American tax IDs and VAT numbers using official format rules and check-digit algorithms, returning validity, normalised form, ID type, and failure reason","exampleAgentPrompt":"Can you check if the Brazilian CNPJ 11.222.333/0001-81 is valid and give me its normalised form?","exampleUseCases":[{"title":"Onboarding KYC tax ID check","prompt":"We're onboarding a new Chilean supplier and they gave us RUT 76.354.771-K — can you verify that's a valid Chilean tax ID before we set them up in our system?"},{"title":"Invoice VAT number validation","prompt":"Before we issue this invoice, check whether the Colombian NIT 900185264-1 is correctly formatted and passes the official check-digit algorithm."},{"title":"Bulk data cleansing pipeline","prompt":"I have a Mexican RFC 'GODE561231GR8' from our customer database — validate it and tell me its normalised form and ID type so I can clean up our records."}],"resultDescription":"Returns a JSON object indicating whether the tax ID is valid or invalid, the normalised (canonical) form of the ID, the ID type (e.g. CPF, CNPJ, RUT, NIT, RFC), and if invalid, the specific reason for failure (e.g. check-digit mismatch, wrong length, invalid characters). All rules are algorithmically applied per official tax authority specifications with cited sources — no live registry lookup is performed.","failureModes":["Unsupported country code returns an error indicating the country is not in coverage","Malformed or empty id parameter returns a 400-level error","Country code not matching a supported LatAm jurisdiction returns an unsupported country error","Non-tax-ID strings (random text) return invalid with a format-mismatch failure reason","Network or server errors return 5xx responses"],"whenToPreferThis":"Choose this endpoint when you need fast, offline algorithmic validation of Latin American tax IDs (CPF, CNPJ, RUT, NIT, RFC, RUC, CUIT, etc.) with check-digit verification cited to official sources. Prefer it over generic VAT validators that lack LatAm-specific rules, and over registry-lookup services when you only need format/algorithm correctness rather than live registration status. Ideal for KYC pipelines, invoice validation, and data cleansing where sub-second latency and no PII transmission to a registry is important.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:33:09.603Z","isFirstParty":false,"canonicalSlug":"latamref-tax-id-validator-bbc127a9"}