PT_NIF (PT - NIF number)

From CDQ Wiki
DataModel:CDQ/Business Partner/Identifier/PT NIF
Jump to navigation Jump to search
Property Value
A technical identifier, unique in a certain context. Technical key PT_NIF
The country a linked concept is active or generally relevant for. Country scope PT (Portugal)
Language-specific name. Monolingual name NIF number (pt), NIF number (en)
Language-specific short name. Monolingual short name PT - NIF number (en)
Informal and comprehensive human-readable definition of a concept. Description The Número de Identificação Fiscal (NIF) is the Portuguese tax identification number of a natural person, consisting of nine digits including a control digit. The leading digit shows the type of taxpayer, with numbers starting 1, 2 or 3 for residents and 45 for non-residents subject to withholding at source, and it must be quoted on invoices and in tax filings.
Category of business identifiers. Identifier category Tax Number
Legacy property. A technical SAP code. SAP mapping STCD1

Formal definition

Details Informal and comprehensive human-readable definition of a concept. Description The type in terms of a categorization of regular expressions. Regular expression type TThe formal expression of a regular expression. Regular expression
Regular expression/PT NIF/format Validates the format of the Portuguese NIF, the tax identification number of natural persons, whose leading digit shows the type of taxpayer. The pattern accepts nine digits beginning with 1, 2 or 3 for residents and with 45 for non-residents subject to withholding at source, with optional spaces, dots or hyphens. IDENTIFIER_FORMAT
^([\s\.-]*)[123]([\s\.-]*\d){8}([\s\.-]*)$|^([\s\.-]*)4[\s\.-]*5([\s\.-]*\d){7}([\s\.-]*)$
Regular expression/PT NIF/natural person Identifies a Portuguese tax identification number that belongs to a natural person rather than to a company. The leading digit gives the type of taxpayer, with 1 to 3 standing for individuals, 5 for companies and the leading pair 45 for non-resident individuals. NATURAL_PERSON_IDENTIFICATION
^([\s\.-]*)[12345]([\s\.-]*\d){8}([\s\.-]*)$

Data quality rules

Data quality rule The country a linked concept is active or generally relevant for. Country scope Informal and comprehensive human-readable definition of a concept. Description Criticality<br/>Specifies how critical of the violation of a data quality rule.<br/>ERROR: Indicates a critical data quality rule violation that requires correction.<br/>WARNING: Indicates a potential data quality issue that should be reviewed.<br/>INFO: Indicates an informational finding with no immediate impact on data quality. Criticality Rule release status<br/>The release status in terms of development progress or maturity of a data quality rule.<br/>IDEA: Initial rule definition that documents a business requirement but is not yet active in services.<br/>PLANNED: Rule is specified and scheduled for implementation, but not yet active in services.<br/>DRAFT: Rule concept is being prepared or refined but is not yet finalized for implementation or execution.<br/>HYPERCARE: Rule is newly released and under increased observation to ensure stable behaviour and correct results.<br/>RELEASED: Rule has passed verification and is actively executed in productive CDQ services.<br/>DEACTIVATED: Rule is temporarily removed from the active rule set because it needs correction or clarification before re release.<br/>BLOCKED: Rule cannot be released because something it depends on is missing, for example a data source or a clarification.<br/>ARCHIVED: Rule is permanently retired and no longer maintained or intended for future activation. Rule release status
Identifier checkdigit invalid (NIF number (Portugal))
ACCURACY
PT (Portugal) This rule verifies the check digit of the Portuguese NIF number and flags any value that does not satisfy the calculation. ERROR RELEASED(2021-09-10)
Identifier format invalid (NIF number (Portugal))
REPRESENTATIONAL_CONSISTENCY
PT (Portugal) The Portuguese NIF consists of exactly nine numerical digits. This rule checks that exactly nine digits are present, disregarding any whitespaces, hyphens or dots in the value, and that the number begins either with 1, 2 or 3 followed by eight digits, or with 45 followed by seven digits. A value with fewer or more digits, or with non-numeric characters, violates the rule. ERROR RELEASED