Supported Document Types
In this document we present the different types of documents that MobbScan currently supports, as well as a visual example of the front and the back of the document.
TD1, TD2 and TD3 document types
Most travel documents nowadays are machine readable, which means that the most relevant data is encoded in optical character recognition (OCR) format. The part of the document where this information in embedded is called the machine-readable zone, or MRZ for short.
According to the ICAO Document 9303, there are three standarized document types depending on the position of the MRZ within the document.
These three documents are the TD1, TD2 and TD3, where TD stands for Travel Document. For more information on this document types, read our ICAO standarized document types document.
In MobbScan, the TD1 and TD2 document types are represented by the TD1IDCard
and TD2IDCard
parameters respectively
in the documentType
field.
Passports
Since most travel passports are issued following the TD3 standard, MobbScan can extract the data from the MRZ.
In MobbScan, passports are represented by the TD3Passport
parameter in the documentType
field.
Important: when using the
TD3Passport
document type, thestart
operation must be changed fromSCAN_BOTH_SIDES
toSCAN_ONLY_BACK
, since passports only have one side. Furthermore, there should only be one screen in the UI of the detection of the document in order to have a good UX.
It is important to mentionate that the previously used value for passports (Passport_TD3
) is going to be deprecated in
future versions, so we recommend to change it to the TD3Passport
value.
Passports specific types
Besides this generic document type, MobbScan can support some passports specific type. This specific types let extract some passport specific fields that can not extract from the MRZ. Those specific types that MobbScan can support are the next:
Document Type | Brief Description | Back of Document |
---|---|---|
SLVPassport | El Salvador passport from which MobbScan can extract some specific fields like the issuing authority, the date of issuing and the user's place of birth | |
MEXPassport | Mexican passport from which MobbScan can extract some specific fields like CURP and RFC | |
NLDPassport | Dutch passport card |
Localized Identity Cards
Most identity cards follow the TD1 standard, although there are still some countries that use the TD2 standard, such as Romania. MobbScan is able to capture the information from the MRZ from any TD1 or TD2 card.
But, even though the TD1 is standardized, the country of issue can modify the information that is displayed outside of the MRZ. This results in different types of ID cards with different fields, such as the address.
MobbScan is able to capture this extra information from the ID cards of different countries, which are listed below.
Spain
There are four different types of Spanish ID cards, also known as DNIs. There is a value that can be used by the
documentType
parameter, that can let automatically detect what type of Spanish ID card one document is and to extract
the information from it. This value is the ESPIDCard
. We advise the usage of the ESPIDCard
value with the
documentType
parameter when you are working with Spanish ID cards.
Furthermore, other types of ID cards in Spain exist: the Spanish residence permit and the NIE (Número de Identificación de Extranjero), identification number assigned by the Spanish authorities to foreigners.
When you are working with these types of documents too, in addition to the Spanish ID cards, and you can not distinguish
between them, we advise the usage of the ESP
value with the documentType
parameter, because this value will let
automatically detect what type of Spanish document is.
In the following table we present examples of the different types of Spanish documents.
Document Type | Brief Description | Front of Document | Back of Document |
---|---|---|---|
ESPIDCardV1 | Spanish national identity card, version ESP-BO-02002 (Date Issued: 03.12.2001) | ||
ESPIDCardV2 | Spanish national identity card, version ESP-BO-03001 (Date Issued: 16.03.2006) | ||
ESPIDCardV3 | Spanish national identity card, version ESP-BO-05001 (Date Issued: 02.01.2015) | ||
ESPIDCardV4 | Spanish national identity card, the latest version (Date Issued: 02.06.2021) | ||
NIE | NIE (Número de Identificación de Extranjero), identification number assigned by the Spanish authorities to foreigners, version ESP-HO-02002 (Date Issued: 10.05.2010) | ||
ESPIDCardRP | Spanish residence permit | ||
ESPIDCardTIE | It is the new format for NIE (Date Issued: 02.07.2020) |
For more information on which fields we extract and the validations applied to these documents, please check the ESPIDCard Fields and Validations doc.
Mexico
In Mexico there are several types of documents depending of their date of issue. MobbScan is able to extract the information from the C, D, E, F, G and H types.
In MobbScan, there is a parameter in the documentType
field that is able to automatically detect which type of Mexican
ID card it is and to extract most of the information from it. This is the MEXIDCard
parameter.
Furthermore, there is another parameter in the documentType
which extracts less information than the MEXIDCard
parameter. This is the MEXIDCardLite
parameter. Following this logic, there are also the MEXIDCardCLite
and MEXIDCardDEFLite
parameters.
Finally, we recommed the usage of the MEXIDCard
parameter if the information to be extracted and the MEXIDCardLite
when the information from the MRZ is enough.
In the following table we present examples of the different types of Mexican ID cards.
Document Type | Brief Description | Front of Document | Back of Document |
---|---|---|---|
MEXIDCardC | Mexican national identity card, version C (Date Issued: 09.2008) | ||
MEXIDCardD | Mexican national identity card, version D (Date Issued: 25.11.2013) | ||
MEXIDCardE | Mexican national identity card, version E (Date Issued: 06.2014) | ||
MEXIDCardF | Mexican national identity card, version F (Date Issued: 06.2015) | ||
MEXIDCardGH | Mexican national identity card, version G and H (Date Issued: 12.2019) |
El Salvador
There are several types of identification cards in El Salvador. Despite the fact that some of them does not
have the MRZ field (SLVIDCardNIT
and the driving licenses), we can extract the most important information from each
one.
When you are working only with El Salvador identification cards, without the driving licenses, you can use
the SLVIDCard
value with the documentType
parameter so that the system automatically detect what type of identification card from
El Salvador is (SLVIDCardV1
, SLVIDCardV2
, SLVIDCardCA4
or SLVIDCardNIT
). We advise the usage of the SLVIDCard
value with the documentType
parameter if that is your situation.
When you are working only with El Salvador driving licenses, without the identification cards, you can use
the SLVDrivingLicense
value with the documentType
parameter so that the system automatically detect what type of driving license from
El Salvador is (SLVDrivingLicenseV1
or SLVDrivingLicenseV2
). We advise the usage of the SLVDrivingLicense
value with the documentType
parameter if that is your situation.
When you are working with the driving licenses too, in addition to the identification cards, and you can not distinguish
between them, we advise the usage of the SLV
value with the documentType
parameter, because this value will let
automatically detect what type of El Salvador document is.
In the following table we present examples of the different types of El Salvador documents.
Document Type | Brief Description | Front of Document | Back of Document |
---|---|---|---|
SLVIDCardV1 | El Salvador national identity card, version 1 (Date Issued: 01.11.2001) | ||
SLVIDCardV2 | El Salvador national identity card, version 2 (Date Issued: 11.04.2022) | ||
SLVIDCardCA4 | El Salvador residence permit | ||
SLVIDCardNIT | El Salvador tax identification card | ||
SLVDrivingLicenseV1 | Driving License card from El Salvador. That is the version released before January 2021 | It does not exist | |
SLVDrivingLicenseV2 | Driving License card from El Salvador. That is the latest version, released since January 2021 |
Rest of countries
Here you can find examples of the other countries whose ID card MobbScan extracts specific information from ordered by continent.
Europe
Document Type | Brief Description | Front of Document | Back of Document |
---|---|---|---|
AUTIDCard | Austrian national identity card (Date Issued:05.2010) | ||
BGRIDCard | Bulgarian national identity card (Date Issued:03.2010) | ||
CHEIDCard | Swiss national identity card (Date Issued: 11.2005) | ||
DEUIDCardV1 | German national identity card, version 2 (Date Issued: 11.2001) | ||
DEUIDCardV2 | German national identity card, last version released (Date Issued: 01.11.2010) | ||
DEUIDCardAF | German foreign identity card, (Date Issued: 09.2011) | ||
HRVIDCard | Croatian national identity card (Date Issued:06.2015) | ||
HUNIDCard | Hungarian national identity card (Date Issued:01.2016) | ||
ITAIDCard | Italian national identity card (Date Issued:01.2004) | ||
POLIDCard | Polish national identity card (Date Issued:03.2015) | ||
PRTIDCard | Portuguese national identity card | ||
ROUIDCard | Romanian national identity card (Date Issued: 01.2017) |
America
Document Type | Brief Description | Front of Document | Back of Document |
---|---|---|---|
CHLIDCardE | Chilean national identity card, electronic version (Date Issued: 02.09.2013) | ||
COLIDCardExt | Colombian foreign idcard | ||
COLIDCardV3 | Colombian national identity card, version 3 (Date Issued: 01.05.2000) | ||
COLIDCardV4 | Colombian national identity card, version 4 (Date Issued: 12.2020) | ||
CRIIDCardV1 | The former Costa Rican identity document | ||
CRIIDCardV2 | The current Costa Rican identity document | ||
CUBIDCard | Cuban ID Card (Date Issued: 10.2014) | ||
GTMIDCard | Guatemalan national identity card (Date Issued: 08.2002) | ||
PANIDCardV1 | The former Panamanian identity document | ||
PANIDCardV2 | The current Panamanian identity document | ||
PERIDCardE | Peruvian national identity card, electronic version (Date Issued: July 2013) | ||
PERIDCardEV2 | Peruvian national identity card, electronic version 2 (Date Issued: 2020) | ||
PERIDCardV1 | Peruvian national identity card, version 1 (Date Issued: 1997) |
Asia
Document Type | Brief Description | Front of Document | Back of Document |
---|---|---|---|
IDNIDCard | The current Indonesian identity document | It does not exist | |
MYSIDCard | The current Malaysian identity document |
Driving Licenses
MobbScan is also able to detect and extract the information from certain driving licenses.
Examples can be found in the following table.
Document Type | Brief Description | Front of Document | Back of Document |
---|---|---|---|
EURDrivingLicense | European Driving License card | ||
ISRDrivingLicense | Israeli Driving License card |
For more information on which fields we extract and the validations applied to the EU driving licenses, please check the EUR Driving License Fields and Validations doc.
Generic document types
As you will have seen before, some different versions of the same identification card exist on the system. This situation is caused because the new released versions, in some cases, change the document structure and change the placement of the fields (name, surname, dates, etc.). This situation requires that the system can support the previous versions and the new ones, which causes that has to name the different versions with different names.
To avoid that the specific names of each version have to be known by the user, we have some generic types that the
documentType
parameter can take. When the documentType
parameter value is one generic type, the system automatically
will detect what specific document it is.
The generic types of document that the system supports currently are:
- ESPIDCard: to detect what Spanish identification card (DNI) the document is.
- MEXIDCard: to detect what Mexican identification card the document is.
- SLVDrivingLicense: to detect what driving license version the document is.
- PERIDCard: to detect what Peruvian identification card the document is.
- CHLIDCard: to detect what Chilean identification card the document is.
- COLIDCard: to detect what Colombian identification card the document is.
- SLVIDCard: to detect what identification card from El Salvador the document is.
- CRIIDCard: to detect what Costa Rican identification card the document is.
- DEUIDCard: to detect what German identification card the document is.
- PANIDCard: to detect what Panamanian identification card the document is.
ISO 3166-1 document codes
The ISO 3166-1 codes are three letters codes to represent each country. We use that codes to enable the classification process between all supported documents (identification cards, driving licenses, identification cards for foreigners...) by the application.
You can use these codes as the documentType
parameter value if you can not distinguish if the document that you are
going to use, is one identification card (XXXIDCard), one driving license (EURDrivingLicense), one identification card
for foreigners (NIE in Spain case, for example) or any other identification card type. With the ISO 3166-1 code, the
application will classify your document between all supported documents types for the country that you indicated.
Currently, the next ISO 3166-1 codes are supported by the application:
- ESP: ISO 3166-1 code for Spain. This code will let to classify between the following types:
- ESPIDCardV1
- ESPIDCardV2
- ESPIDCardV3
- ESPIDCardV4
- NIE
- ESPIDCardRP
- ESPIDCardTIE
- PRT: ISO 3166-1 code for Portugal. This code will let to classify between the following types:
- PRTIDCard
- PRTIDCardRT
- SLV: ISO 3166-1 code for El Salvador. This code will let to classify between the following types:
- SLVIDCardV1
- SLVIDCardV2
- SLVIDCardCA4
- SLVIDCardNIT
- GTM: ISO 3166-1 code for Guatemala. This code will let to classify between the following types:
- GTMIDCard
- PAN: ISO 3166-1 code for Panama. This code will let to classify between the following types:
- PANIDCardV1
- PANIDCardV2
- DEU: ISO 3166-1 code for Germany. This code will let to classify between the following types:
- DEUIDCardV1
- DEUIDCardV2
- DEUIDCardAF
- PER: ISO 3166-1 code for Peru. This code will let to classify between the following types:
- PERIDCardV1
- PERIDCardE
- PERIDCardEV2