Validar NIF
validate_nifValidate a Portuguese NIF by checking its structure and control digit, and identify the taxpayer type.
Instructions
Valida um NIF português (estrutura, dígito inicial e dígito de controlo) e devolve o tipo de contribuinte.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nif | Yes | NIF a validar, ex.: "123456789" ou "PT123456789" |