Passport MRZ-Visual Consistency Check and MRZ Validity
This page shows the MRZ-Visual and MRZ Validity of the Matrix from the output of the OkayID API.
Field Verification Result enum
0
RCF_DISABLED
comparison wasn't done, result undefined
1
RCF_VERIFIED
verification passed
2
RCF_NOT_VERIFIED
verification failed
3
RCF_Compare_True
positive comparison result
4
RCF_Compare_False
negative comparison result
Matrix In JSON Result

Interpretation of Matrix
For MRZ data validity, look at index 0; for MRZ-VISUAL consistency check, look at index 5.
0
MRZ data verification result
1
RFID-chip data verification result
2
document filling text fields data verification result
3
bar-codes data verification result
4
MRZ and RFID-chip data comparing result
5
MRZ and document filling text fields data comparing result
6
MRZ and bar-codes data comparing result
7
document filling text fields and RFID-chip data comparing result
8
document filling text fields and bar-codes data comparing result
9
RFID-chip and bar-codes data comparing result
Fields To Be Checked for Data Consistency
0
Document class code
1
Issuing state code
2
Document #
3
Date of expiry
5
Date of birth
12
Sex
Fields to be Checked for Data Validity
80
Check digit for document number
81
Check digit for date of birth
82
Check digit for date of expiry
84
Final check digit
Passport MRZ Interpretation

1β9
9
Passport number
10
1
Check digit over digits 1β9
11β13
3
Nationality (ISO 3166-1 alpha-3 code with modifications)
14β19
6
Date of birth (YYMMDD)
20
1
Check digit over digits 14β19
21
1
Sex (M, F or < for male, female or unspecified)
22β27
6
Expiration date of passport (YYMMDD)
28
1
Check digit over digits 22β27
29β42
14
Personal number (may be used by the issuing country as it desires)
43
1
Check digit over digits 29β42 (may be < if all characters are <)
44
1
Check digit over digits 1β10, 14β20, and 22β43
Last updated