VE_RIF (VE - RIF number)

From CDQ Wiki
DataModel:CDQ/Business Partner/Identifier/VE RIF
Jump to navigation Jump to search
Property Value
A technical identifier, unique in a certain context. Technical key VE_RIF
The country a linked concept is active or generally relevant for. Country scope VE (Venezuela)
Language-specific name. Monolingual name Registro de Identificación Fiscal (es), RIF number (en)
Language-specific short name. Monolingual short name VE - RIF number (en)
Informal and comprehensive human-readable definition of a concept. Description The Registro de Identificación Fiscal (RIF) is the Venezuelan fiscal registry number that identifies taxpayers of every kind. Its leading letter states the type of holder, for example J for a legal entity, V for a Venezuelan national, E for a foreigner and G for a government body, and the number 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/VE RIF/format Validates the format of the Venezuelan RIF number, the fiscal information registry number used to identify taxpayers of every kind. The pattern accepts a leading letter for the type of taxpayer, namely C, E, G, I, J, P or V, followed by nine digits with optional spaces, dots or hyphens. IDENTIFIER_FORMAT
^(\s*?\.*?-*?)(C|E|G|I|J|P|V)(-*?\s*?\.*?)(\d-*?\s*\.*-*){9}\s*?$
Regular expression/VE RIF/reference schema Defines the reference format in which the Venezuelan RIF number is stored, namely the type letter, a hyphen, the eight-digit identification number, a hyphen and the check digit. Used to bring values into a single canonical notation. IDENTIFIER_SCHEMA
^\w{1}\-\d{8}\-\d{1}$

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 (RIF number (Venezuela))
ACCURACY
VE (Venezuela) This rule verifies the check digit of the Venezuelan RIF number. The identifier is ten characters long and consists of one leading letter, eight digits and a final check digit. The leading letter states the kind of entity the RIF belongs to: V for a Venezuelan, E for a foreigner, J for a legal entity, C for a township or communal council, P for a passport and G for a government entity. The remaining characters C2 to C9 are digits and C10 is the check digit.

The calculation uses a weight M1 derived from the leading letter, namely 1 for V, 2 for E, 3 for J, 3 for C, 4 for P and 5 for G, and the weights 3, 2, 7, 6, 5, 4, 3 and 2 for the positions M2 to M9. A1 is then the sum of M1 multiplied by 4 and each of the weights M2 to M9 multiplied by the corresponding digit C2 to C9. A2 is A1 modulo 11, and A3 is 11 minus A2. If A3 is 9 or less the check digit C10 equals A3, if A3 is greater than 9 the check digit is 0.

ERROR IDEA
Identifier format inaccurate (RIF number (Venezuela))
REPRESENTATIONAL_CONSISTENCY
VE (Venezuela) This rule checks that the Venezuelan RIF number is written in its reference schema of a letter, a hyphen, eight digits, a hyphen and a final digit, including that all applicable hyphens, dots and spaces are in place. A value formatted differently is flagged. INFO RELEASED(2024-04-16)
Identifier format invalid (RIF number (Venezuela))
REPRESENTATIONAL_CONSISTENCY
VE (Venezuela) This rule checks the format of the Venezuelan RIF number, disregarding any whitespaces, hyphens or dots in the value. A value with fewer or more digits, with unexpected non-digit characters or with leading zeros violates the rule.

The number consists of a letter, an eight-digit number and a check digit, normally separated by hyphens, for example V-05892464-0, J-07013380-5 or G-20000041-4. The leading letter gives the kind of holder: C for a township or communal council, E for a foreign natural person, standing for Extranjera or Extranjero, G for a government entity, standing for Gubernamental, J for a legal entity, which may be a natural person or a corporate entity and stands for Jurídico, P for RIF numbers belonging to passports, and V for a person with Venezuelan citizenship, standing for Venezolana or Venezolano.

ERROR RELEASED
Identifier missing (RIF number (Venezuela))
COMPLETENESS
VE (Venezuela) Every legal entity in Venezuela is expected to hold a RIF number, and this rule reports records in which it is missing. ERROR RELEASED(2024-04-16)
Identifier unknown (RIF number (Venezuela))
ACCURACY
VE (Venezuela) This rule checks whether the RIF number is known, meaning that it is assigned to a business partner listed in the official registry of Venezuela. A value that cannot be found there is flagged. ERROR IDEA