0% found this document useful (0 votes)
402 views26 pages

AAAHCM Documentation For NI Format Rules Used For Validation Up To Release 13.18B

National Identifier Validation

Uploaded by

Dhinakaran
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
402 views26 pages

AAAHCM Documentation For NI Format Rules Used For Validation Up To Release 13.18B

National Identifier Validation

Uploaded by

Dhinakaran
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 26

National Identifiers and Their Validation

Oracle Fusion Human Capital Management


ORACLE WHITE PAPER | MAY 2018
DISCLAIMER

The following is intended to outline our general product direction. It is intended for information purposes only, and may not be
incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in
making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products
remains at the sole discretion of Oracle.

2 W HITE PAPER / NATIONAL IDENTIFIERS AND THEIR VALIDATION


INTRODUCTION

This document describes the format and validation of those national identifier numbers in Oracle
Fusion Human Capital Management, up to Release 13 (Update 18B), for which at least the format is
validated.

However, Oracle also delivers country-specific national identifiers, without validation, for the
following countries (the country code is in parentheses):

• Brazil (BR): RG general registry and Foreigner ID, National Registry of Foreigner, RIC Civil
Identification Registry and OC Class Organ Identification

• Cyprus (CY): Social Security Number

• Egypt (EG): Social Insurance Number

• Hungary (HU): Pensioner Registration Number

• Iraq (IQ): Civil Identity Number

• Jordan (JO): Civil Identity Number and Social Security Number

• Kuwait (KW): Social Insurance Number, MOSAL ID

• Lebanon (LB): Civil Identity Number and Social Security Number

• Luxembourg (LU): Personal Number

• Malaysia (MY): Old identification number

• Malta (MT): Social Security Number

• Morocco (MA): Civil Identity Number

• Oman (OM): Civil Identity Number

• Republic of the Congo (CG): Personal identification number

• Saudi Arabia (SA): GOSI Number, Civil Identity Number and Hafiza Number

3 W HITE PAPER / NATIONAL IDENTIFIERS AND THEIR VALIDATION


• South Africa (ZA): Trust Registration Number and Asylum Permit Number

• Sudan (SD): Social Security Number

• Syria (SY): Civil Identity Number and Social Security Number

• Turkey (TR): SGK number

• United Arab Emirates (AE): Social Insurance Number, Relation ID

For all other countries, Oracle does not deliver national identifiers. You can use the seeded value
“National Identifier,” which doesn’t require a specific format and is not validated. Alternatively,
create new values using this lookup type: PER_NATIONAL_IDENTIFIER_TYPE.

4 W HITE PAPER / NATIONAL IDENTIFIERS AND THEIR VALIDATION


LOCALIZATIONS, NATIONAL IDENTIFIERS, AND VALIDATION

LOCALIZATION
(COUNTRY CHECK
CODE) NATIONAL ID TYPE FORMAT DIGIT FORMAT LEGEND AND VALIDATIONNS

Albania National Identifier 10 alphanumeric digits in the format Yes XNNNNN – Term based on the date of
(AL) of: birth
XNNNNNNNNC X – Number or Letter
N – Number
C – Check-digit letter

Format validation
No check-digit validation
No date of birth validation

Algeria National Identifier 18 numeric digits in the format of: No N – Number


(DZ) NNNNNNNNNNNNNNNNNN
Format validation

Angola National Identifier 14 alphanumeric digits in the format No N – Number


(AO) of: L – Letter
NNNNNNNNNLLNNN
Format validation

NIF A maximum of 15 alphanumeric digits No X – Number or Letter


in the format of:
XXXXXXXXXXXXXXX Format validation

Argentina DNI National identity 8 numeric digits in the format of: No N – Number
(AR) document NN.NNN.NNN
Format validation

Identity document 8 numeric digits in the format of: No N – Number


NN.NNN.NNN
Format validation

CUIL Unique worker 11 numeric digits in the format of: Yes N – Number
identifier NN-NNNNNNNN-C C – Check-digit

The number must start with 20, 23, Format validation


24, or 27. Check digit validation

CUIT Unique tax 11 numeric digits in the format of: Yes N – Number
identifier NN-NNNNNNNN-C C – Check-digit

The number must start with 20, 23, Format validation


24, or 27. Check digit validation

Austria Social Insurance 10 numeric digits in the format of: Yes NNN –-Number between 100 and 999
(AT) Number NNNCDDMMYY C –Check-digit
DD –Day of birth, however a number
between 01 and 99
MM – Month of birth, however a number
between 01 and 99

5 W HITE PAPER / NATIONAL IDENTIFIERS AND THEIR VALIDATION


LOCALIZATION
(COUNTRY CHECK
CODE) NATIONAL ID TYPE FORMAT DIGIT FORMAT LEGEND AND VALIDATIONNS

YY –Year of birth, i.e. a number between


00 and 99

Format validation
Check-digit validation
No date of birth validation

Bahrain Civil Identity Number A maximum of 10 numeric digits No N – Number


(BH) NNNNNNNNNN
Format validation

Social Insurance Only numbers allowed No Format validation


Number

Belarus National Identifier 14 alphanumeric digits in the format No N – Number


of: L – Letter
(BY)
NNNNNNNLNNNLLN

Format validation

Belgium RRN or BIS Number 11 numeric digits in the format of: Yes YYMMDD – Date of birth in number
(BE) YYMMDDNNNCC format
or NNN – a sequence number
YYMMDD-NNN-CC CC – Check-digits

Format validation
Check-digits validation
No date of birth validation

Belize Social Security 9 numeric digits in the format of: No N – Number


(BZ) Number NNN-NN-NNNN Format validation

Bermuda (BM) Social Security 7 numeric digits in the format of: No N – Number
Number NN-NNNNN
Format validation

Bosnia and National Identifier 13 numeric digits in the format of: Yes DDMMYYY – Date of birth in number
Herzegovina DDMMYYYRRNNNC format
(BA) RR – Region in number format
NNN – Sequential number where 000 -
499 is used for males and 500 - 999 for
females.
C – Check-digit

Format validation
No region validation
No date of birth validation
No gender validation
No check-digit validation

Brazil CPF person registry 11 numeric digits in the format of: Yes N – Number
(BR) NNNNNNNNN-CC C – Check-digit

6 W HITE PAPER / NATIONAL IDENTIFIERS AND THEIR VALIDATION


LOCALIZATION
(COUNTRY CHECK
CODE) NATIONAL ID TYPE FORMAT DIGIT FORMAT LEGEND AND VALIDATIONNS

Format validation
Check-digit validation

PIS/PASEP/NIT 11 numeric digits in the format of: Yes N – Number


NNNNNNNNNN-C C – Check-digit

Format validation
Check-digit validation

CNS National Health 15 numeric digits in the format of: No N – Number


Card NNNNNNNNNNNNNNN
Format Validation

DNV Declaration of 8 numeric digits in the format of: Yes N – Number


Live Birth NNNNNNNN < 43700000 or PP – Prefix
11 alphanumeric digits in the format Must be 30 (thirty) or
of: 00 (two zeroes)
PP-NNNNNNNN-C C – Check-digit

Format Validation
Check-digit validation

Bulgaria EGN 10 numeric digits in the format of: Yes YYMMDD – Number based on the date
(BG) YYMMDDNNNC of birth
NNN – Birth order number
The last N indicates the gender (even for
males and odd for females).
C – Check-digit

Format validation
Check-digit validation
No date of birth validation
No gender validation

Canada Social Insurance 9 numeric digits in the format of: No N – Number


(CA) Number NNN NNN NNC C – Check-digit

Format validation
Format auto correction, if the Social
Insurance Number is entered without
spaces.
Check-digit validation

Chile RUT 8 or 9 alphanumeric digits in the Yes N – Number


(CL) formats of: C – Check-digit, which is a value
NNNNNNNN-C, between zero and nine, “K” or “k”.
NNNNNNN-C,
NN.NNN.NNN-C or Format validation
N.NNN.NNN-C Check-digit validation

China Citizen Identification 15 numeric or 18 alphanumeric digits Yes N – Number


(CN) Number in the format of:

7 W HITE PAPER / NATIONAL IDENTIFIERS AND THEIR VALIDATION


LOCALIZATION
(COUNTRY CHECK
CODE) NATIONAL ID TYPE FORMAT DIGIT FORMAT LEGEND AND VALIDATIONNS

NNNNNNNNNNNNNNN C – Check-digit, which is a number or


or “X”.
NNNNNNNNNNNNNNNNNC
It is mandatory to enter the citizen
identification number if the Expatriate
field is set to 'No', which means the
person is a local

Validations for the 15 digits number

(A) Non-numeric characters are not


allowed in a 15 digits number.

(B) The15th digit must be an even


number for a person with female gender.
The 15th digit should be an odd number
for a male.

(C) The numbers from the 7th to the 12th


digit positions should be the date of birth
of a person in the format of YYMMDD.

Validations for the 18 digits number

(A) The last digit can be a character; the


rest of the digits should be numeric for an
18 digits number.

(B) The 17th digit must be an even


number for a person with female gender.
The 17th digit should be an odd number
for males.

(C) The numbers from the 7th to the 14th


digit positions should be the date of birth
of a person in the format of YYYYMMDD.

(D) Check-digit validation

Colombia National Identifier 6 or more alphanumeric digits in the No X – Number or Letter


(CO) format of:
XXXXXX… Format validation

Costa Rica National Identifier 9 numeric digits in the format of: No N – Number
(CR) NNNNNNNNN
Format validation

Croatia OIB 11 numeric digits in the format of: Yes N – Number


(HR) NNNNNNNNNNC C – Check-digit

Format validation
No check-digit validation

8 W HITE PAPER / NATIONAL IDENTIFIERS AND THEIR VALIDATION


LOCALIZATION
(COUNTRY CHECK
CODE) NATIONAL ID TYPE FORMAT DIGIT FORMAT LEGEND AND VALIDATIONNS

Cyprus Tax identification 9 alphanumeric digits in the format of: No 0 – Zero


(CY) number 0NNNNNNNL N – Number
L – Letter

Format Validation

Czech Republic Personal 9 or 10 numeric digits in the format Yes YYMMDD – Number based on the date
(CZ) identification number of: of birth
YYMMDDNNN MM – Month of birth for male (numbers
or 01-12) and month of birth plus 50 for
YYMMDDNNNC female (numbers 51-62)
NNN – Serial number separating persons
born on the same date
C – Check-digit

Format validation
Check-digit validation
No gender validation
No date of birth validation

Denmark CPR Number 10 numeric digits in the format of: Yes DDMMYY – Date of birth
(DK) DDMMYY-TNNC “-“ – Fix separator
T – Century of birth
NN – Serial number
C – Check-digit number
C is even for women and odd for men.

Format validation
Check-digit validation
No date of birth validation
No century of birth validation
No gender validation

Egypt Civil Identity Number A maximum of 14 numeric digits in No N – Number


(EG) the format of:
NNNNNNNNNNNNNN Format validation

Estonia Personal Code 11 numeric digits in the format of: Yes G – Gender and century of birth.
(EE) GYYMMDDSSSC Odd number – male
Even number – female
1, 2 – 19th century
3, 4 – 20th century
5,6 – 21st century
YYMMDD – Date of birth
SSS – Serial number separating persons
born on the same date
C – Check-digit

Format validation
Check-digit validation
No gender validation
No century of birth validation
No date of birth validation

9 W HITE PAPER / NATIONAL IDENTIFIERS AND THEIR VALIDATION


LOCALIZATION
(COUNTRY CHECK
CODE) NATIONAL ID TYPE FORMAT DIGIT FORMAT LEGEND AND VALIDATIONNS

Finland National Identifier 11 alphanumeric digits in the format Yes DDMMYY – Date of birth in number
(FI) of: format
DDMMYYTNNNC T – Century of birth
“+” – 19th century
“– “ –20th century (1900s)
“A” – 21st century (2000s)
NNN – Serial number
The third digit is even for females and
odd for males.
C – Check-digit, which can be a letter or
a number

Format validation
Check digit validation
No gender validation
No century validation
No date of birth validation

France National Identifier 15 numeric digits in the format of: Yes G – Gender
(FR) GYYMMRRXXXNNNCC 1 – male
2 – female
YY – Year of birth
MM – Month of birth
RR – Region of birth
XXX – Country- or municipality code
NNN – Sequential number
CC – Check-digits
Validation is run if the following fields are
filled in: Gender and Birth Date.
If either one of these fields is not
populated no validation check is
executed.
If “XX” is entered for the check-digits CC,
no validation is executed.
If position 1 is equal to 7 (Gender = Male)
or 8 (Gender = Female) the National
Identifier is identified to be a temporary
one and as such no validation is
triggered.

Format validation
Gender validation
Year- and month of birth validation
No region of birth validation
Country code validation
No municipality validation
Check-digits validation

Gibraltar (GI) Taxpayer reference 6 numeric digits in the format of: No N – Number
number NNNNNN
Format validation

10 W HITE PAPER / NATIONAL IDENTIFIERS AND THEIR VALIDATION


LOCALIZATION
(COUNTRY CHECK
CODE) NATIONAL ID TYPE FORMAT DIGIT FORMAT LEGEND AND VALIDATIONNS

Greece Tax identification 9 numeric digits in the format of: Yes N – Number
(GR) number NNNNNNNNC C – Check-digit

Format validation
No check-digit validation

Social Security 11 numeric digits in the format of: Yes YYMMDD – Date of birth
Number YYMMDDNNNGC NNN – Sequence number
G – Gender
0,2,4,6,8 – female
1,3,5,7,9 – male
C – Check-digit

Format validation
No check-digit validation
No date of birth validation
No gender validation

Guatemala National Identifier 13 numeric digits in the format of: No N – Number


(GT) NNNNNNNNNNNNN
Format validation

Guernsey (GG) Social Security 8 alphanumeric digits in the format of: No PP – Prefix provided by authorities
Number PPNNNNNN in UPPERCASE letters
N – Number

Format validation

Hong Kong Hong Kong ID 8 to 9 alphanumeric digits in the Yes L – Letter


(HK) format of: N – Number
LNNNNNN(C) C – Check-digit number or letter
or
LLNNNNNN(C) Format validation
Check-digit validation

Hungary Tax identification 10 numeric digits in the format of: Yes 8 – Constant
(HU) number 8BBBBBNNNC BBBBB – Difference in days between the
person`s birth date and 1st January 1867
NNN – Sequence number
C – Check-digit

Format validation
Check-digit validation

TAJ 9 numeric digits in the format of: Yes N – Number


NNNNNNNNC C – Check-digit

Format validation
Check-digit validation

Iceland National Identifier 11 numeric digits in the format of: Yes DDMMYY – Date of birth
(IS) DDMMYY-NNCT “-“ – Fixed separator
NN – Sequence number

11 W HITE PAPER / NATIONAL IDENTIFIERS AND THEIR VALIDATION


LOCALIZATION
(COUNTRY CHECK
CODE) NATIONAL ID TYPE FORMAT DIGIT FORMAT LEGEND AND VALIDATIONNS

C – Check-digit
T – Century of birth

Format validation
No date of birth validation
No check-digit validation
No century validation

India Permanent Account 10 alphanumeric digits in the format No L – Letter


(IN) Number of: N – Number
LLLLLNNNNL
Format validation

Aadhaar Number 12 numeric digits in the format of: No N – Number


NNNNNNNNNNNN
Format validation
First digit must not be zero or 1.

Indonesia KTP number 16 numeric digits in the format of: No PP – Province Code
(ID) PPRRSSDDMMYYNNNN RR – City or Regency Code
SS – Sub District Code
DD – Day of birth for males
– Day of birth +40 for females
MM – Month of birth
YY – Year of birth
NNNN – Sequence number

Format validation
No province validation
No City or Regency Code validation
No Sub District Code Validation
No date of birth validation
No gender validation

Iran National Identifier 10 numeric digits in the format of: No N – Number


(IR) NNN-NNNNNN-N
Format validation

Ireland PPS Number 9 alphanumeric digits in the format of: Yes N – Number
(IE) NNNNNNNCW C – Check-digit in letter format
W – “W”, “A”, “X”, “T”, “Z” or <space>

Format validation
Check-digit validation

Isle of Man (IM) National Insurance 9 alphanumeric digits in the format of: No PP – Prefix provided by authorities
Number PPNNNNNNL Must be “MA”
N – Number
L – UPPERCASE letter
Must be A, B, C, D or <space>

Format validation
Validation of PP and L

12 W HITE PAPER / NATIONAL IDENTIFIERS AND THEIR VALIDATION


LOCALIZATION
(COUNTRY CHECK
CODE) NATIONAL ID TYPE FORMAT DIGIT FORMAT LEGEND AND VALIDATIONNS

Tax identification 9 alphanumeric digits in the format of: No L – UPPERCASE letter “H”
number LNNNNNN-NN N – Number

Format validation

Israel National Identifier 9 numeric digits in the format of: Yes N – Number
(IL) NNNNNNNNC C – Check-digit

Format validation
Check-digit validation

Italy Fiscal code 16 alphanumeric digits in the format No L – Letter


(IT) of: X – Letter or Number
LLLLLLXXXXXXXXXC C – Check-digit (Letter or Number)

Format validation
No check-digit validation

Japan Personal number 12 numeric digits in the format of: Yes N – Number
(JP) NNNNNNNNNNNC C – Check-digit

Format validation
No check-digit validation

Jersey (JE) Social Security 9 alphanumeric digits in the format of: No PP – Prefix provided by authorities
Number PPNNNNNNL in UPPERCASE letters
Should be “JY”
N – Number
L – UPPERCASE letter
Must be A, B, C, D or <space>

Format validation
Validation of PP and L

Kazakhstan IIN 12 numeric digits in the format of: No N – Number


(KZ) NNNNNNNNNNNN
Format validation

Kosovo (XK) Personal number 10 numeric digits in the format of: No N – Number
NNNNNNNNNN
Format validation

JMBG 13 numeric digits in the format of: Yes DDMMYYY – Date of birth
DDMMYYYRRNNNC YYY – Last three digits of the year of
birth
RR – Region of birth
NNN – Sequence number with
000-499 – Males
500-999 – Females
C – Check-digit

Format validation
No check-digit validation

13 W HITE PAPER / NATIONAL IDENTIFIERS AND THEIR VALIDATION


LOCALIZATION
(COUNTRY CHECK
CODE) NATIONAL ID TYPE FORMAT DIGIT FORMAT LEGEND AND VALIDATIONNS

No gender validation
No date of birth validation
No region of birth validation

Kuwait Civil Identifier 12 numeric digits in the format of: Yes N – Number assigned by authority
(KW) NYYMMDDNNNNC YYMMDD – Date of birth
NNNN – Sequence number
C – Check-digit

Format validation
Check-digit validation

Kyrgyzstan (KG) Personal 14 numeric digits in the format of: No N – Number


identification number NDDMMYYYYNNNNN DDMMYYYY – Date of birth

Format validation
No date of birth validation

Latvia Personal Code 11 numeric digits in the format of: Yes DDMMYY – Date of birth
(LV) DDMMYY-TNNNC T – Century of birth
0 – 19th century
1 – 20th century
2 – 21st century
NNN – Birth serial number
C – Check-digit

Format validation
Check-digit validation
No date of birth validation
No century of birth validation

Libya (LY) National Identifier 12 numeric digits in the format of: No N – Number
NNNNNNNNNNNN
Format validation

Liechtenstein Personal 12 numeric digits in the format of: No N – Number


(LI) identification number NNNNNNNNNNNN
(AHV/PEID Number Format validation

Lithuania Personal Code 11 numeric digits in the format of: Yes G – Gender and century
(LT) GYYMMDDNNNC YYMMDD – Date of birth
NNN –Birth serial number
C – Check-digit

Format validation
Check-digit validation
No gender validation
No century validation

Macau National Identifier 8 numeric digits in the format of. No N – Number


(MO) NNNNNNN(N)
Format validation

14 W HITE PAPER / NATIONAL IDENTIFIERS AND THEIR VALIDATION


LOCALIZATION
(COUNTRY CHECK
CODE) NATIONAL ID TYPE FORMAT DIGIT FORMAT LEGEND AND VALIDATIONNS

Macedonia (MK) JMBG 13 numeric digits in the format of: Yes DDMMYYY – Date of birth
DDMMYYYRRNNNC YYY – Last three digits of the year of
birth
RR – Region of birth
NNN – Sequence number with
000-499 – Males
500-999 – Females
C – Check-digit

Format validation
No check-digit validation
No gender validation
No date of birth validation
No region of birth validation

Malaysia New identification 12 numeric digits in the format of: No YYMMDD – Date of birth
(MY) number YYMMDD-SS-NNNG SS – Place of birth
01-13 – States
14-16 – Federal territories
60-85 – Country of origin
NNN – number assigned by authorities
G – Gender
Odd – Male
Even – Female

Format validation
No date of birth validation
No place of birth validation
No gender validation

Mauritius (MU) National Identifier 14 alphanumeric digits in the format No X – Letter or Number
of:
XXXXXXXXXXXXXX Format validation

Mexico CURP Population 18 alphanumeric digits in the format Yes L – Letter


(MX) Registry Unique Key of: N – Number
LLLLNNNNNNLLLLLLXN X – Letter or Number

RFC Federal 13 alphanumeric digits in the format Yes Validation according to Mexican laws -
Contributor Identifier of: for details please refer to:
LLLLNNNNNNXXX
Oracle Support Note 2116899.1: Oracle
IMSS Social 11 numeric digits in the format of: Yes Fusion HRMS (Mexico): National
Insurance Number NNNNNNNNNNN Identifier Validation.

ISSSTE Social 11 numeric digits in the format of: No


Insurance Number NNNNNNNNNNN

Federal Government 13 alphanumeric digits in the format No


Affiliation Identifier of:
XXXXXXXXXXXXX

15 W HITE PAPER / NATIONAL IDENTIFIERS AND THEIR VALIDATION


LOCALIZATION
(COUNTRY CHECK
CODE) NATIONAL ID TYPE FORMAT DIGIT FORMAT LEGEND AND VALIDATIONNS

Military Service A maximum of 13 alphanumeric digits No


Identifier in the format of:
XXXXXXXXXXXXX

Moldova (MD) Personal Code 13 numeric digits in the format of: No N – Number
NNNNNNNNNNNNN
Format Validation

Montenegro JMBG 13 numeric digits in the format of: Yes DDMMYYY – Date of birth
(ME) DDMMYYYRRNNNC YYY – Last three digits of the year of
birth
RR – Region of birth
NNN – Sequence number with
000-499 – Males
500-999 – Females
C – Check-digit

Format validation
No check-digit validation
No gender validation
No date of birth validation
No region of birth validation

Netherlands BSN 9 numeric digits in the format of: Yes 0 – Zero


(NL) NNNNNNNNC or N – Number
0NNNNNNNC C – Check-digit

Format Validation
If the user enters an 8 digits number, a
zero will be added at the front.
Check-digit validation

New Zealand IRD number 8 or 9 numeric digits in the format of: Yes N – Base number
(NZ) NN-NNN-NNC C – Check-digit
or
NNN-NNN-NNC Format validation
Check-digit validation
Range validation –
IRD number must be between 10-000-
000 and 150-000-000

Norway National Identifier 11 numeric digits in the format of: Yes DDMMYY – Date of birth
(NO) DDMMYYNNGCC NN – Sequence number
G – Gender
CC – Check-digits

Format validation
Check-digits validation
No date of birth validation
No gender validation

D Number 11 numeric digits in the format of: Yes DDMMYY – Date of Birth with:
DDMMYYNNGCC

16 W HITE PAPER / NATIONAL IDENTIFIERS AND THEIR VALIDATION


LOCALIZATION
(COUNTRY CHECK
CODE) NATIONAL ID TYPE FORMAT DIGIT FORMAT LEGEND AND VALIDATIONNS

DD – Day of birth +40, i.e. a number


between 41 and 71.
NN – Sequence number
G – Gender
CC – Check-digits

Format validation
Check-digits validation
No date of birth validation
No gender validation

Oman Social Insurance Only numbers allowed No Format Validation


(OM) Number

Pakistan CNIC Computerized 13 numeric digits in the format of: No N – Number


(PK) national identity card NNNNN-NNNNNNN-N
Format validation

Philippines SSS number 10 numeric digits in the format of: No N – Number


(PH) NNNNNNNNNN
There is no
Format validation
single National
Identifier in the Business partner 10 numeric digits in the format of: No N – Number
Philippines. The number NNNNNNNNNN
Unified Multi-
Purpose ID Format validation
(UMID),
Common reference 12 numeric digits in the format of: No N – Number
although not
number NNNNNNNNNNNN
mandatory, is
the single ID Format validation
card of all SSS,
GSIS, Tax identification 9 numeric digits in the format of. No N – Number
PhilHealth and number NNNNNNNNN
HDMF Format Validation
members.
GSIS number 11 alphanumeric digits in the format No X – Letter or Number
of:
XXXXXXXXXXXX Format validation

PhilHealth number 12 numeric digits in the format of: No N – Number


NNNNNNNNNNNN
Format validation

PAG-IBIG number 12 numeric digits in the format of: No N – Number


NNNNNNNNNNNN
Format validation

Poland PESEL number 11 numeric digits in the format of: Yes YYMMDD – Number based on the date
(PL) of birth
YYMMDDNNNGC
YY – Year of birth

17 W HITE PAPER / NATIONAL IDENTIFIERS AND THEIR VALIDATION


LOCALIZATION
(COUNTRY CHECK
CODE) NATIONAL ID TYPE FORMAT DIGIT FORMAT LEGEND AND VALIDATIONNS

MM – Value between 01 and 92,


depending on YY
DD – Day of birth
NNN – Numbers assigned by authority
G – Gender
0, 2, 4, 6, 8 – Female
1, 3, 5, 7, 9 – Male
C – Check-digit

Format validation
Check-digit validation
No date of birth validation
No gender validation

Portugal Tax identification 9 numeric digits in the format of: Yes N – Number
(PT) number (NIF) NNNNNNNNC C – Check-digit

Format validation
Check-digit validation

Social Security 11 numeric digits in the format of: Yes N – Number


Number C – Check-digit
NNNNNNNNNNC
(NISS)
Format validation
Check-digit validation

Qatar Civil Identity Number A maximum of 11 numeric digits in No N – Number


(QA) the format of:
NNNNNNNNNNN Format validation

Social Insurance Only numbers allowed No Format validation


Number

Romania CNP 13 numeric digits in the format of: Yes G – Gender and century of birth
(RO) GYYMMDDRRNNNC 1 – Male born in the 20th century
2 – Female born in the 20th century
3 – Male born in the 19th century
4 – Female born in the 19th century
5 – Male born in the 21st century
6 – Female born in the 21st century
7,8 – Foreign citizen resident in
Romania
9 – Foreign citizen
YYMMDD – Date of birth
RR – County/district of birth

18 W HITE PAPER / NATIONAL IDENTIFIERS AND THEIR VALIDATION


LOCALIZATION
(COUNTRY CHECK
CODE) NATIONAL ID TYPE FORMAT DIGIT FORMAT LEGEND AND VALIDATIONNS

NNN – Sequence number


C – Check-digit

Format validation
Check-digit validation
No gender validation
No date of birth validation
No century of birth validation
No county/district of birth validation

Russia INN 12 numeric digits in the format of: Yes TTTT – Tax authority code
(RU) TTTTNNNNNNCC NNNNNN – Person number
CC – Check-digits

Format validation
Check-digits validation

SNILS 11 numeric digits in the format of: Yes NNNNNNNNN – Person number
NNNNNNNNNCC CC – Check-digits

Format validation
Check-digits validation

Rwanda (RW) National Identifier 16 numeric digits in the format of: No N – Number
NNNNNNNNNNNNNNNN
Format validation

Saint Kitts and National Identifier 10 numeric digits in the format of: No N – Number
Nevis NNNNNNNNNN
(KN)
Format validation

Saint Lucia Social Security 6 numeric digits in the format of: No N – Number
(LC) Number NNNNNN
Format validation

Saint Vincent National Identifier 9 alphanumeric digits in the format of: No L – Letter
and the LLLNNNNNN N – Number
Grenadines
(VC)
Format validation

Serbia JMBG 13 numeric digits in the format of: Yes DDMMYYY – Date of birth
(RS) DDMMYYYRRNNNC YYY – Last three digits of the year
of birth
RR – Region of birth
NNN – Sequence number with
000-499 – Males

19 W HITE PAPER / NATIONAL IDENTIFIERS AND THEIR VALIDATION


LOCALIZATION
(COUNTRY CHECK
CODE) NATIONAL ID TYPE FORMAT DIGIT FORMAT LEGEND AND VALIDATIONNS

500-999 – Females
C – Check-digit

Format validation
Check-digit validation
No gender validation
No date of birth validation
No region of birth validation

Singapore NRIC or FIN 9 alphanumeric digits in the format of: Yes L – Letter
(SG) LNNNNNNNC N – Number
C – Check-digit

Format validation
Check-digit validation

Slovakia Personal 9 or 10 numeric digits in the format No YYMMDD – Number based on the date
(SK) identification number of: of birth
YYMMDDNNN MM – Month of birth for male
or (numbers 01-12) and month of birth
plus 50 for female (numbers 51-62)
YYMMDDNNNC
NNN – Serial number separating persons
born on the same date
C – Check-digit

Format validation
Check-digit validation
No gender validation

Slovenia EMSO 13 numeric digits in the format of: Yes DDMMYYY – Date of birth
(SI) DDMMYYYRRNNNC YYY – Last three digits of the year of
birth
RR – Constant value
50 – Nationals
05 – Foreigners
NNN – Sequential number with
000-499 – Males
500-999 – Females
C – Check-digit

Format validation
Check-digit validation
No date of birth validation
No gender validation

20 W HITE PAPER / NATIONAL IDENTIFIERS AND THEIR VALIDATION


LOCALIZATION
(COUNTRY CHECK
CODE) NATIONAL ID TYPE FORMAT DIGIT FORMAT LEGEND AND VALIDATIONNS

No foreigner/national validation

South Africa Identity number 13 numeric digits in the format of: No N – Number
(ZA) NNNNNNNNNNNNC C – Check-digit

Format validation
Check-digit validation

Company or Close 12 alphanumeric digits in the format No CCYY – a value between 1800 and the
Corporation of: current year
Registration Number CCYY/NNNNNN/NN NNNNNN – Numbers
NN – a number, which is 06, 07, 08, 09,
10, 11, 20, 21, 22, 23, 24, 25, 26,
30 or 31

Format validation

South Korea Resident registration 13 numeric digits in the format of: Yes YYMMDD – Date of birth
(KR) number YYMMDD-GNNNNNC G – Gender, century of birth and
distinguishes nationals from foreigners.
N – Number
C – Check-digit

Format Validation
Check-digit validation
YYMMDD date validation
No date of birth validation
No gender validation
No national vs. foreigner validation
No century of birth validation

Spain NIF 9 alphanumeric digits in the format of: Yes N – Number


(ES) NNNNNNNNC C – Check-digit letter

Format validation
Check-digit validation

Foreigner's 9 alphanumeric digits in the format of: Yes L – UPPERCASE letter


identification number LNNNNNNNC which must be X, Y, or Z
N – Number
C – Check-digit letter

Format validation
Check-digit validation

21 W HITE PAPER / NATIONAL IDENTIFIERS AND THEIR VALIDATION


LOCALIZATION
(COUNTRY CHECK
CODE) NATIONAL ID TYPE FORMAT DIGIT FORMAT LEGEND AND VALIDATIONNS

Social Security 12 numeric digits in the format of: Yes PP – Province Code
Number PPNNNNNNNNCC N – Number
CC – Check-digits

Format validation
No check-digits validation

Sri Lanka (LK) National Identifier 10 alphanumeric digits in the format No N – Number
of: L – Letter
NNNNNNNNNL

Format validation

Sudan (SD) Civil Identity Number 12 alphanumeric digits in the format No X – Letter or Number
of:
XXXXXXXXXXXX Format validation

Sweden Personal 10 numeric digits in the format of: Yes YYMMDD – Date of birth
(SE) identification number YYMMDD−NNGC “—“ Fixed separator
NN – Number assigned by authorities
G – Gender
Odd – Male
Even – Female
C – Check-digit

Format validation
Check-digit validation
No date of birth validation
No gender validation

Coordination number 10 numeric digits in the format of: Yes The same as for the Swedish Personal
YYMMDD−NNGC identification number except:

DD – Day of birth +60, i.e. a number


between 61 and 91.

Switzerland Social Insurance 16 numeric digits in the format of: Yes N – Number
(CH) Number 756.NNNN.NNNN.NC C – Check-digit
From Release 8 PB9
onwards
Format validation
Check-digit validation

Social Insurance 13 numeric digits in the format of: Yes N – Number


Number 756NNNNNNNNNC C – Check-digit
Prior to Rel8 PB9

22 W HITE PAPER / NATIONAL IDENTIFIERS AND THEIR VALIDATION


LOCALIZATION
(COUNTRY CHECK
CODE) NATIONAL ID TYPE FORMAT DIGIT FORMAT LEGEND AND VALIDATIONNS

Format validation
Check-digit validation

Taiwan National Identifier 10 alphanumeric digits in the format Yes L – UPERCASE letter
(TW) of: G – Gender
LGNNNNNNNC 1 – Male
2 – Female
NNNNNN – Sequential number
C – Check-digit

Format validation
Check-digit validation
No gender validation

Thailand National Identifier 13 numeric digits in the format of: Yes T – Type of citizenship
(TH) TOOOONNNNNNNC O – Issuing office
NNNNNNN – Sequential number
C – Check-digit

Format validation
No check-digit validation

Tunisia (TN) National Identifier 8 numeric digits in the format of: No N – Number
NNNNNNNN
Format validation

Turkey TC Kimlik number 11 numeric digits in the format of: Yes N – Number
(TR) NNNNNNNNNCC CC – Check-digits

Format validation
No check-digits validation

Uganda (UG) National Identifier 14 alphanumeric digits in the format No N – Number


of:
XXXXXXXXXXXXXX Format validation

Ukraine IIN 10 numeric digits in the format of: No N – Number


(UA) NNNNNNNNNN
Format validation

United Arab Civil Registration A maximum of 15 numeric digits in No N – Number assigned by authority
Emirates Number the format of: YYYY – Year of birth
(AE) NNNYYYYNNNNNNNN

Format validation

23 W HITE PAPER / NATIONAL IDENTIFIERS AND THEIR VALIDATION


LOCALIZATION
(COUNTRY CHECK
CODE) NATIONAL ID TYPE FORMAT DIGIT FORMAT LEGEND AND VALIDATIONNS

Year of birth validation

A Social Insurance Number is required, if


a Civil Registration Number exists for the
person.

Emirates ID A maximum of 15 digits in the format No N – Number assigned by authority


of: YYYY – Year of birth
NNNYYYYNNNNNNNN

Format validation
Year of birth validation

Family Book 14 numeric digits in the format of: No N – Number


NNNNNNNNN/NNNNN
Format validation

United Kingdom National Insurance 9 alphanumeric digits in the format of: No PP –Prefix provided by authorities
(GB) Number PPNNNNNNL N – Number
or L – UPPERCASE letter
PPNNNNNN Must be A, B, C, D or <space>
– if suffix is an implied space Note, that users cannot enter
<space>. Instead Fusion HCM is
adding <space> for further
processing.

Format validation
Validation of PP and L

United States Social Security 9 numeric digits in the format of: No N – Number
(US) Number NNN-NN-NNNN
Format validation
Format auto correction – the Social
Security Number can be entered as NNN
NN NNNN or NNNNNNNNN
NNN must not be 000, 666 or in the
range between 900 and 999.
NN must not be 00
NNNN must not be 0000
The Social Security Number must not be:
123-45-6789 or
111-11-1111 or
333-33-3333

Venezuela RIF 10 alphanumeric digits in the format Yes L – Letter


(VE) of: V – Venezuelan
LNNNNNNNNC

24 W HITE PAPER / NATIONAL IDENTIFIERS AND THEIR VALIDATION


LOCALIZATION
(COUNTRY CHECK
CODE) NATIONAL ID TYPE FORMAT DIGIT FORMAT LEGEND AND VALIDATIONNS

E – Foreigner
N – Number
C – Check-digit

Format validation
Validation of L
No check-digit validation

Vietnam Identity card number 9 or 12 numeric digits in the format No N - Number


(VN) of:
NNNNNNNNN Format validation
NNNNNNNNNNNN

25 W HITE PAPER / NATIONAL IDENTIFIERS AND THEIR VALIDATION


ORACLE CORPORATION

Worldwide Headquarters
500 Oracle Parkway, Redwood Shores, CA 94065 USA

Worldwide Inquiries
TELE + 1.650.506.7000 + 1.800.ORACLE1
FAX + 1.650.506.7200
oracle.com

CONNECT W ITH US
Call +1.800.ORACLE1 or visit oracle.com. Outside North America, find your local office at oracle.com/contact.

blogs.oracle.com/oracle facebook.com/oracle twitter.com/oracle

Copyright © 2018, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only, and the contents hereof are
subject to change without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether expressed
orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any
liability with respect to this document, and no contractual obligations are formed either directly or indirectly by this document. This document may not be
reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or
registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks
of Advanced Micro Devices. UNIX is a registered trademark of The Open Group. 0518
National Identifiers and Their Validation
May 2018
Author: Jens Gollnick

You might also like