Validate tax ID (RFC, NIF, CUIT, RUT, NIT, CNPJ, UK VAT, EIN, P.IVA, SIREN, USt-IdNr, RUC, BN, ABN, GSTIN)
validate_tax_idUse this when you need to check that a company or taxpayer identifier is well-formed and its check digit is correct before invoicing, onboarding a supplier or storing it. Deterministic and offline: returns valid, normalized/formatted form, entity type (company/person) and the reason when invalid. Supported countries: MX, ES, AR, CL, CO, BR, GB, US, IT, FR, DE, PE, CA, AU, IN (MX RFC, ES NIF/CIF/NIE, AR CUIT/CUIL, CL RUT, CO NIT, BR CNPJ/CPF, GB VAT number, US EIN, IT Partita IVA / Codice Fiscale, FR SIREN/SIRET/TVA, DE USt-IdNr / Steuer-ID, PE RUC, CA Business Number, AU ABN/ACN, IN GSTIN). It does NOT query any registry; for EU VAT registration status call validate_vat_eu. Other countries return UNSUPPORTED_COUNTRY without charge.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "validate_tax_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | Batch mode: up to 500 items, each with the same fields as a single call. Omit when validating a single value through the top-level fields. | |
| taxId | No | The identifier as written on the invoice or form, e.g. "EKU9003173C9", "B-12345674", "20-12345678-6", "12.345.678-5", "800.197.268-4", "11.222.333/0001-81", "GB123456782", "12-3456789", "IT00743110157", "FR40303265045", "552 032 534", "DE136695976", "20131312955", "123456782RC0001", "51 824 753 556", "27AAPFU0939F1ZV". | |
| country | No | ISO 3166-1 alpha-2 country code of the tax ID, e.g. "MX", "ES", "BR", "GB", "IT", "FR", "DE", "PE", "CA", "AU", "IN". "UK" is accepted as an alias of "GB". |