The new docs.trellix.com features a modernized UI and AI-powered conversational search. Content is currently available in English, with additional languages launching in early November 2026. We hope you enjoy the updated experience.

Portuguese Tax Identifier or Code

Prev Next

NIF (Número de Identificação Fiscal), which is also referred to as the contribution number (“Número de contribuinte”) is a unique 9-digit Individual Tax Identification Number issued by the tax authorities of Portugal.

Validator

Portugal Tax Identification Number — Validates the position weighted Mod 11 checksum.

Matched expressions

Regex expressions

Description

Score

(?:\b[0-9]{9}\b)

Matches a 9-digit number of the format NNNNNNNNN.

1



Ignored expressions

None