RU_INN (RU - INN)

From CDQ Wiki
DataModel:CDQ/Business Partner/Identifier/RU INN
Jump to navigation Jump to search
Property Value
A technical identifier, unique in a certain context. Technical key RU_INN
The country a linked concept is active or generally relevant for. Country scope RU (Russian Federation)
Language-specific name. Monolingual name Indentifikatzionny nomer nalogoplatel'shchika (ru), INN (en)
Language-specific short name. Monolingual short name RU - INN (en)
Informal and comprehensive human-readable definition of a concept. Description The идентификационный номер налогоплательщика (ИНН) is the Russian taxpayer identification number, with twelve digits for a natural person and ten for a company. It is quoted on invoices, in tax returns and in customs declarations and is the primary key for identifying a Russian business partner.
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/RU INN/format Validates the format of the Russian taxpayer identification number (INN), assigned by the tax authorities to companies and natural persons alike. The pattern accepts the ten-digit number of a company and the twelve-digit number of a natural person, with optional spaces, dots or hyphens. IDENTIFIER_FORMAT
^\s*?\.*?-*?(((\d\s*\.*-*){10})|((\d\s*\.*-*){12}))$
Regular expression/RU INN/natural person Identifies a Russian taxpayer identification number that belongs to a company rather than to a natural person, since a company carries ten digits whereas a natural person carries twelve. NATURAL_PERSON_IDENTIFICATION
^\s*?\.*?-*?((\d\s*\.*-*){10})$

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 format inaccurate (INN (Russia))
REPRESENTATIONAL_CONSISTENCY
RU (Russian Federation) The Russian INN consists of ten digits for legal entities or twelve digits for individuals. This rule checks whether the value is written exactly in its reference format, and any deviation such as a whitespace where none is specified results in a violation. INFO IDEA(2020-01-01)
Identifier format invalid (INN (Russia))
REPRESENTATIONAL_CONSISTENCY
RU (Russian Federation) The INN is the tax identifier of the Russian Federation and consists of ten digits for legal entities or twelve digits for individuals.

This rule checks that exactly ten or exactly twelve digits are present, disregarding any whitespaces, hyphens or dots in the value. A value with fewer or more digits, or with unexpected non-digit characters, violates the rule.

ERROR RELEASED(2020-01-01)
Identifier missing (INN (Russia))
COMPLETENESS
RU (Russian Federation) A business partner in Russia requires an INN, and this rule reports records in which it is missing. ERROR RELEASED(2024-04-16)
Invalid checksum of INN (Russia)
ACCURACY
RU (Russian Federation) This rule verifies the check digits of the Russian INN, which exists in a ten-digit and a twelve-digit form.

For the ten-digit INN a check sum is calculated with the weighting coefficients 2, 4, 10, 3, 5, 9, 4, 6, 8 and 0. The check number is the remainder of that check sum divided by 11, and if the check number is greater than 9 it is recalculated as the remainder of the check number divided by 10. The result is compared with the tenth digit of the INN, if they are equal the INN is considered correct.

For the twelve-digit INN two check numbers are calculated. The first uses the weighting coefficients 7, 2, 4, 10, 3, 5, 9, 4, 6, 8 and 0 over eleven digits, taking the remainder of the check sum divided by 11 and, if that is greater than 9, the remainder of the check number divided by 10. The second uses the weighting coefficients 3, 7, 2, 4, 10, 3, 5, 9, 4, 6, 8 and 0 over twelve digits, again taking the remainder of the check sum divided by 11 and, if greater than 9, the remainder of the check number divided by 10. The first check number is compared with the eleventh digit and the second with the twelfth digit, the INN is correct only when both match.

ERROR RELEASED(2020-10-12)