Validate Spanish NIF/NIE/CIF, EU VAT & IBAN
tax_id_validateDeterministically verify Spanish DNI/NIE/CIF check digits, EU-27 VAT regex/checksum formats, and ISO 13616 BigInt Modulo-97 IBAN checksums in one call. Stateless, offline-math, read-only with zero storage; supply one, two, or all three identifiers and receive normalized values plus valid/type/reason flags for each supplied field (never calls external government APIs or stores PII). Use at customer onboarding or before calling einvoice_generate / sepa_epc_qr; use sepa_epc_qr instead when you also need a scannable payment QR SVG.
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": "tax_id_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iban | No | Optional International Bank Account Number validated for exact country length and ISO 13616 Modulo-97 = 1 (e.g. "ES9121000418450200051332"). | |
| euVat | No | Optional EU-27 VAT identifier with 2-letter country prefix (e.g. "ESB85905495", "DE123456789", "BE0123456789"). | |
| spanishTaxId | No | Optional Spanish DNI, NIE (X/Y/Z), or company CIF to verify check letter/digit (e.g. "89890001K", "X1234567L", "B85905495"). |