Mobbeel for developers

Mobbeel for developers

  • MobbScan
  • MobbID
  • MobbSign
  • Clients
  • FAQ

›Documents and validations

Frequently Asked Questions

  • FAQ Overview

Integrating MobbScan

  • SDK FAQs
  • Licenses

Documents and validations

  • Standard Document Types
  • Supported Document Types
  • ESPIDCard Fields and Validations
  • EUR Driving License Fields and Validations

Biometrics in MobbScan

  • Identity verification

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, the start operation must be changed from SCAN_BOTH_SIDES to SCAN_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 TypeBrief DescriptionBack of Document
SLVPassportEl 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
MEXPassportMexican passport from which MobbScan can extract some specific fields like CURP and RFC
NLDPassportDutch 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 TypeBrief DescriptionFront of DocumentBack of Document
ESPIDCardV1Spanish national identity card, version ESP-BO-02002 (Date Issued: 03.12.2001)
ESPIDCardV2Spanish national identity card, version ESP-BO-03001 (Date Issued: 16.03.2006)
ESPIDCardV3Spanish national identity card, version ESP-BO-05001 (Date Issued: 02.01.2015)
ESPIDCardV4Spanish national identity card, the latest version (Date Issued: 02.06.2021)
NIENIE (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)
ESPIDCardRPSpanish residence permit
ESPIDCardTIEIt 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 TypeBrief DescriptionFront of DocumentBack of Document
MEXIDCardCMexican national identity card, version C (Date Issued: 09.2008)
MEXIDCardDMexican national identity card, version D (Date Issued: 25.11.2013)
MEXIDCardEMexican national identity card, version E (Date Issued: 06.2014)
MEXIDCardFMexican national identity card, version F (Date Issued: 06.2015)
MEXIDCardGHMexican 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 TypeBrief DescriptionFront of DocumentBack of Document
SLVIDCardV1El Salvador national identity card, version 1 (Date Issued: 01.11.2001)
SLVIDCardV2El Salvador national identity card, version 2 (Date Issued: 11.04.2022)
SLVIDCardCA4El Salvador residence permit
SLVIDCardNITEl Salvador tax identification card
SLVDrivingLicenseV1Driving License card from El Salvador. That is the version released before January 2021It does not exist
SLVDrivingLicenseV2Driving 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 TypeBrief DescriptionFront of DocumentBack of Document
AUTIDCardAustrian national identity card (Date Issued:05.2010)
BGRIDCardBulgarian national identity card (Date Issued:03.2010)
CHEIDCardSwiss national identity card (Date Issued: 11.2005)
DEUIDCardV1German national identity card, version 2 (Date Issued: 11.2001)
DEUIDCardV2German national identity card, last version released (Date Issued: 01.11.2010)
DEUIDCardAFGerman foreign identity card, (Date Issued: 09.2011)
HRVIDCardCroatian national identity card (Date Issued:06.2015)
HUNIDCardHungarian national identity card (Date Issued:01.2016)
ITAIDCardItalian national identity card (Date Issued:01.2004)
POLIDCardPolish national identity card (Date Issued:03.2015)
PRTIDCardPortuguese national identity card
ROUIDCardRomanian national identity card (Date Issued: 01.2017)

America

Document TypeBrief DescriptionFront of DocumentBack of Document
CHLIDCardEChilean national identity card, electronic version (Date Issued: 02.09.2013)
COLIDCardExtColombian foreign idcard
COLIDCardV3Colombian national identity card, version 3 (Date Issued: 01.05.2000)
COLIDCardV4Colombian national identity card, version 4 (Date Issued: 12.2020)
CRIIDCardV1The former Costa Rican identity document
CRIIDCardV2The current Costa Rican identity document
CUBIDCardCuban ID Card (Date Issued: 10.2014)
GTMIDCardGuatemalan national identity card (Date Issued: 08.2002)
PANIDCardV1The former Panamanian identity document
PANIDCardV2The current Panamanian identity document
PERIDCardEPeruvian national identity card, electronic version (Date Issued: July 2013)
PERIDCardEV2Peruvian national identity card, electronic version 2 (Date Issued: 2020)
PERIDCardV1Peruvian national identity card, version 1 (Date Issued: 1997)

Asia

Document TypeBrief DescriptionFront of DocumentBack of Document
IDNIDCardThe current Indonesian identity documentIt does not exist
MYSIDCardThe 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 TypeBrief DescriptionFront of DocumentBack of Document
EURDrivingLicenseEuropean Driving License card
ISRDrivingLicenseIsraeli 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
← Standard Document TypesESPIDCard Fields and Validations →
  • Passports specific types
  • Spain
  • Mexico
  • El Salvador
  • Rest of countries
    • Europe
    • America
    • Asia
Mobbeel for developers
Product Documentation
MobbIDMobbScanMobbSign
Connect
LinkedInFacebookX
More
FAQContact Us
Mobbeel Solutions SL
Copyright © 2025 Mobbeel Solutions SL