ID type: identification card 2002, 2004, 2010
Fields returned for the Romania identification card are displayed above the blank line in the following table. Fields that
will return no information are displayed below the blank line. An
F
denotes that the field will be returned if the front of the card is sent, a
B
denotes that the field will be returned if the back of the card is sent, and
F/B
denotes that the field will be returned if the front and back of the card are sent.
The
Returned as
column shows the normalized format the data will be returned as. A
DateOfBirth
that is formatted as dd.mm.yyyy on the card will return the data in the YYYY-MM-DD for the
DateOfBirth
field according to the rules in the following table, for example.
Some fields are validated against certain rules. Not
all fields have validation rules. For fields that have a validation rule, a
description of the rule will be included in the
Validation Rules
column. In the
Returned as
and
Validation Rules
columns, a capital
A
denotes any letter, a
1
denotes any number, a
?
can either be a letter or a number, and any other symbol, such
as a hyphen, used is literal.
Field | Side | Returned As | Validation Rule |
---|---|---|---|
Address | F | Parses the address into Address, City, State, and Zip, according to regional rules | |
Address2 | F | Parses the address into Address, City, State, and Zip, according to regional rules. Where applicable, each line of the Address field is also parsed into a separate field. This field will contain the first line from the Address field. | |
Address3 | N/A | Parses the address into Address, City, State, and Zip, according to regional rules. Where applicable, each line of the Address field is also parsed into a separate field. This field will contain the second line from the Address field. | |
Address4 | N/A | Parses the address into Address, City, State, and Zip, according to regional rules. Where applicable, each line of the Address field is also parsed into a separate field. This field will contain the third line from the Address field. | |
Address5 | N/A | Parses the address into Address, City, State, and Zip, according to regional rules. Where applicable, each line of the Address field is also parsed into a separate field. This field will contain the fourth line from the Address field. | |
Address6 | N/A | Parses the address into Address, City, State, and Zip, according to regional rules. Where applicable, each line of the Address field is also parsed into a separate field. This field will contain the fifth line from the Address field. | |
City | N/A | Parses the address into Address, City, State, and Zip, according to regional rules | |
CivilStatus | N/A | No validation rule | |
Class | N/A | No validation rule | |
Country | F | Validates the string against the constant value "Romania" | |
CountryShort | F | Validates the string against the constant value "ROU" | |
DateOfBirth | N/A | YYYY-MM-DD | No validation rule |
DocumentState | F | Validates the string against the constant value "Romania" | |
DocumentType | F | Validates the string against the constant value "DL" | |
ExpirationDate | F | YYYY-MM-DD | Validates the string against the format "dd.mm.yyyy" |
Eyes | N/A | No validation rule | |
FamilyName | N/A | No validation rule | |
FirstName | F | Parses the name into the fields: FirstName, MiddleName, and LastName | |
FullName | F | Parses the name into the fields: FullName | |
Gender | F | M, F | Validates the string against the values [M, F] against [M,F] |
Hair | N/A | No validation rule | |
HealthSystemNum | N/A | No validation rule | |
Height | N/A | No validation rule | |
IDNumber | F | Validates the string against the format [AA NR 111111, AA111111] | |
IssueDate | F | YYYY-MM-DD | Validates the string against the format "dd.mm.yyyy" |
IssuingAuthority | N/A | No validation rule | |
LastName | F | Parses the name into the fields: FirstName, MiddleName, and LastName | |
LastName1 | N/A | No validation rule | |
LastName2 | N/A | No validation rule | |
License | F | Copies the value of IDNumber | |
MiddleName | F | Parses the name into the fields: FirstName, MiddleName, and LastName | |
NameSuffix | N/A | No validation rule | |
Nationality | N/A | No validation rule | |
ParentsGivenNames | N/A | No validation rule | |
PersonalNumber | F | Validates the string against the format "1111111111111" | |
PlaceOfBirth | N/A | No validation rule | |
PlaceOfIssue | N/A | No validation rule | |
SocialSecurityNum | N/A | No validation rule | |
State | N/A | Parses the address into Address, City, State, and Zip, according to regional rules | |
TaxID | N/A | No validation rule | |
Weight | N/A | No validation rule | |
ZIP | N/A | Parses the address into Address, City, State, and Zip, according to regional rules |
*1995 version only