Check tax ID format (about 50 countries)
validate_tax_id_formatCheck the format of a business tax or registry ID offline: structure and, where the issuing authority publishes one, the check digit. Covers EU VAT numbers for all 27 member states (plus Spain NIF, France SIREN/SIRET, Finland Y-tunnus, Sweden organisationsnummer), United Kingdom VAT and company number, Switzerland UID, Norway, Iceland, Türkiye, United States EIN (structure only), Canada BN, Brazil CNPJ (including the alphanumeric format), Argentina, Chile RUT, Ecuador, Uruguay, Paraguay, Bolivia, Guatemala, Panama, Dominican Republic (RNC and cédula), Venezuela, Australia ABN/ACN, New Zealand NZBN/IRD, India GSTIN/PAN, Japan, South Korea, Taiwan, Singapore, Israel and South Africa. Returns the normalized ID, format and check-digit validity, verification_level "format", a review/fail assessment with reasons and, when one exists, the URL of the free official lookup. No registry is queried, so the result never confirms that the business exists or is active and never returns pass.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"country": "<country>",
"id": "<id>"
},
"name": "validate_tax_id_format"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID as written, with or without the country prefix, spaces, dots or dashes, e.g. "DE 123 456 807" or "12.345.678/9013-11". | |
| country | Yes | ISO 3166-1 alpha-2 country code, e.g. "DE", "FR", "BR", "GB". "EL" is accepted for Greece and "UK" for the United Kingdom. | |
| id_type | No | Optional ID type when the country has several, e.g. "vat", "siren", "siret", "nif", "crn", "abn", "acn", "gstin", "pan", "nzbn", "ird". Detected from the input when omitted. |