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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nif | Yes | The 9-digit Portuguese NIF (spaces ignored). |