ID type: resident card
Fields returned for the El Salvador resident card are displayed above the blank row in the following table. Fields that will return no information are displayed below the blank row. 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 format 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 | N/A | No validation rule. | |
| Address2 | N/A | No validation rule. | |
| Address3 | N/A | No validation rule. | |
| Address4 | N/A | No validation rule. | |
| Address5 | N/A | No validation rule. | |
| Address6 | N/A | No validation rule. | |
| Age | N/A | No validation rule. | |
| Allergies | N/A | No validation rule | |
| Antiguedad | N/A | No validation rule | |
| BloodType | N/A | No validation rule. | |
| CPF | N/A | No validation rule | |
| CTL | N/A | No validation rule | |
| Category | N/A | No validation rule | |
| City | N/A | No validation rule. | |
| CivilStatus | N/A | No validation rule. | |
| Class | N/A | No validation rule. | |
| Copy | N/A | No validation rule | |
| Country | F | Validates the string against the constant value El Salvador. | |
| CountryShort | F | Validates the string against the constant value SLV. | |
| DDRef | N/A | No validation rule | |
| DateOfBirth | F | YYYY-MM-DD | Validates the string against the format dd mm yyyy. |
| DateOfEntrance | N/A | No validation rule | |
| DocumentIdentity | N/A | No validation rule | |
| DocumentSource | N/A | No validation rule | |
| DocumentState | F | Validates the string against the constant value El Salvador. | |
| DocumentType | F | Validates the string against the constant value Residence Permit. | |
| EmergencyContact | N/A | No validation rule. | |
| ExpirationDate | F | YYYY-MM-DD | Validates the string against the format dd mm yyyy. |
| Eyes | N/A | No validation rule. | |
| FatherName | N/A | No validation rule. | |
| FileNumber | N/A | No validation rule | |
| FirstLicense | N/A | No validation rule | |
| FirstName | F | Parses the name into the fields: FirstName, MiddleName, and LastName. | |
| FullName | F | Parses the name into the field: FullName. | |
| Gender | F | M, F | Validates the string against the values [M, F] |
| Hair | N/A | No validation rule. | |
| Height | N/A | No validation rule. | |
| IDNumber | F | Delimiters removed | Validates the string against the format "AAA 11111" |
| IDNumber2 | N/A | No validation rule | |
| 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 | Copy value of the field IDNumber | |
| Location | N/A | No validation rule | |
| MiddleName | F | Parses the name into the fields: FirstName, MiddleName, and LastName. | |
| MotherName | N/A | No validation rule. | |
| MRZ1 | N/A | No validation rule. | |
| MRZ2 | N/A | No validation rule. | |
| MRZ3 | N/A | No validation rule. | |
| Municipality | N/A | No validation rule. | |
| NameSuffix | N/A | No validation rule. | |
| Nationality | F | Use as extracted | |
| NumberRegistered | N/A | No validation rule. | |
| Observations | N/A | No validation rule. | |
| OrganDonor | N/A | No validation rule. | |
| Period | N/A | No validation rule. | |
| Photo | F | Use as extracted | |
| PlaceOfBirth | F | Use as extracted | |
| PlaceOfIssue | N/A | No validation rule. | |
| RFC | N/A | No validation rule. | |
| Restrictions | N/A | No validation rule. | |
| Section | N/A | No validation rule. | |
| Signature | F | Use as extracted | |
| State | N/A | No validation rule. | |
| TransactionNumber | N/A | No validation rule. | |
| VIA | N/A | No validation rule. | |
| VoterIDNumber | N/A | No validation rule. | |
| Weight | N/A | No validation rule. | |
| YearRegistered | N/A | No validation rule. | |
| ZIP | N/A | No validation rule. |