ES_NIE (ES - Tax Identification Number)

From CDQ Wiki
DataModel:CDQ/Business Partner/Identifier/ES NIE
Jump to navigation Jump to search
Property Value
A technical identifier, unique in a certain context. Technical key ES_NIE
The country a linked concept is active or generally relevant for. Country scope ES (Spain)
Language-specific name. Monolingual name Numero de Identificacion de Extranjero (es), Tax Identification Number (en)
Language-specific short name. Monolingual short name ES - Tax Identification Number (en)
Informal and comprehensive human-readable definition of a concept. Description NIE identifier is assigned to natural persons without Spanish nationality, who don't possess the NIE but need the TIN because they are going to engage in transactions involving Spanish taxation can obtain a TIN starting from M, that will have transitory nature until they obtain NIE, where appropriate, also issued by the Tax Administration. The number itself is made up of an initial letter followed by seven digits followed by a verification letter. The initial letter is an X before July 2008 and a Y afterward. It is issued by the National Police of Spain.

The NIE is required for the purchase or sale of real estate, vehicle, and boats, or in order to work or study.

Category of business identifiers. Identifier category Personal Identification Number

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
0000000000GB00JV21015318AW Specifies the allowed formats for the Numero de Identificacion de Extranjero (Spain) IDENTIFIER_FORMAT
^(X|Y|X)\d{7}\w{1}$

Data quality rules

Rule Informal and comprehensive human-readable definition of a concept. Description nonetheless, we continue to offer the most recent available data., The release status in terms of development progress or maturity.<br/><code>EMPTY</code> (0): No feature considered yet, just a rough idea.<br/><code>IDEA</code> (1): Just an idea, not yet designed in detail.<br/><code>DESIGN</code> (2): Software design ready, development not yet started.<br/><code>DEVELOPMENT</code> (3): Software development in progress.<br/><code>ALPHA</code> (4): First functional release, in terms of a Minimal Viable Product (MVP).<br/><code>BETA</code> (5): Tested by selected users.<br/><code>RC</code> (6): Release candidate, fully tested, not yet used in production by many customers.<br/><code>LIVE</code> (7): Used in production by customers, fully monitored and supported.<br/><code>DEPRECATED</code> (-1): End of life planned, but still available.<br/><code>EOL</code> (-2): End of life, historic service, no longer available.<br/><code>BROKEN</code> (-3): Service was used in production but is currently not available. However, CDQ tries to repair or reactivate it.<br/><code>DISCONTINUED</code> (-4): The data source has ceased providing updates Release status 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
Identifier format inaccurate (Numero de Identificacion de Extranjero (Spain)) Numero de Identificacion de Extranjero (Spain) consists of a letter followed by 7 digits and one checksum letter. This rule checks possible whitespaces, hyphens where they are not specified in a reference Numero de Identificacion de Extranjero (Spain) IDEA INFO
Identifier format invalid (Numero de Identificacion de Extranjero (Spain)) NIE identifier in Spain is a sort of NIF for foreigners. NIE has the following format: A-NNNNNNN-A. This rules checks presence of exactly 9 characters with respect to the Numero de Identificacion de Extranjero (Spain). RELEASED ERROR
Invalid checksum of Numero de Identificacion de Extranjero (Spain) This rule describes the algorithm for checksum digits for Numero de Identificacion de Extranjero (Spain) using the following logic:

To calculate the check digit, each letter is replaced by a number: - replace the first letter accordingly:

   X → 0
   Y → 1
   Z → 2
- the number (8 digits) is divided by 23, - the remainder is replaced by a letter determined by the following table:
RELEASED ERROR