validate_nif_pt
Verify a Portuguese NIF (tax number) by checking its mod-11 check digit to ensure validity before invoicing or client onboarding.
Instructions
USE THIS to verify a Portuguese NIF (Número de Identificação Fiscal / tax number) before invoicing or onboarding — never assume 9 digits are valid. Checks the mod-11 check digit. For the Spanish tax ID use validate_dni.
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": {
"nif": "<nif>"
},
"name": "validate_nif_pt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nif | Yes | The 9-digit Portuguese NIF (spaces ignored). |