Paste a NIF (the Portuguese tax number) and confirm in seconds whether the check digit is correct. Everything runs in your browser. Nothing is sent anywhere.
A Portuguese NIF has nine digits and ends in a check digit. That digit comes from the first eight: multiply each by a weight from 9 down to 2, add them up, take the remainder of dividing by 11, then compute 11 minus that remainder (if it gives 10 or 11, the digit is 0). If it does not match the last digit, the number is wrong.
For an individual there is no public lookup: the AT does not reveal who a NIF belongs to, because it is bound by tax secrecy (art. 64 of the Lei Geral Tributária). For a company or a sole trader with an open activity there are three official routes: the Portal das Finanças service “Identificação de Clientes/Fornecedores” (login required), the European Commission’s VIES and the publications search of the Portal da Justiça.
AT staff must keep taxpayer data confidential (LGT, art. 64, no. 1). The only “confirm a NIF” the law provides for is to the registries, for commercial, land and vehicle registration (no. 2, point e), not to the public. So there is no page on the Portal das Finanças, or on any other official site, where you type a NIF and see the holder’s name. The AT’s own “Identificação de Clientes/Fornecedores” service sits behind a Portal login and exists for business relations.
What this validator tells you: whether the number is well written (check digit) and which holder type the first digit points to. What it cannot tell you: who it belongs to, whether it exists or whether it is active. A NIF that passes the formula may never have been issued: 123 456 789 passes it, and in VIES it comes up as invalid; the test NIFs from our generator pass it too.
If someone asks you to “confirm” an individual’s NIF, ask that person for a document showing it, rather than guessing from the number. If the question is an invoice issued with your own NIF, check it in e-Fatura: once logged in you see the invoices and documents reported under your taxpayer number. If the invoice comes from a supplier, check the issuer’s NIF through the company routes below.
| Where | What it shows | Limit |
|---|---|---|
| Portal das Finanças Serviços → Identificação de Clientes/Fornecedores → Consultar | Confirmation of a client’s or supplier’s identification from the NIF. | Login with your own Portal das Finanças credentials; the AT publishes nothing without one. |
| VIES ec.europa.eu/taxation_customs/vies | Whether the VAT number is valid; for Portugal it returns the company’s name and address. Type PT followed by the 9 digits: PT503504564 returns EDP Comercial, Lisboa. | Covers VAT registrations only: “invalid” means invalid for intra-EU transactions, not that the company does not exist. No search by name. |
| Portal da Justiça publicacoes.mj.pt | Company acts published since July 2010 (incorporation, changes, accounts), searchable by NIF/NIPC or entity name. | Earlier acts are in the Diário da República; only entities with published acts appear. |
Company-information websites that show up in searches compile these same public records, partly for a fee; they are not an official source and do not replace the three routes above.