,

ID – Verification of Spanish Passport Validity

 5.00 HT

Discover our online tool to verify the validity of a Spanish passport using the information and security keys contained in the MRZ band !

Categories: , Tag:

How to verify the authenticity of a Spanish passport online?

Many business or personal processes require the presentation of an identity document: recruitment, rentals, KYC processes, etc.

Nowadays, documents are usually scanned or photographed before being sent by email; therefore, it becomes complex to ensure these documents are authentic and have not been modified with image editing software such as Photoshop.

Our product addresses this issue and allows:

  • extracting information from the MRZ band of identity documents directly online, analyzing it, and verifying the security keys that ensure their authenticity
  • validating the format of the document number

All this in just a few seconds!

What elements are validated during the Spanish passport validity verification?

The document number of the Spanish passport

The document number corresponds to an official pattern from the ministry (3 letters followed by 6 digits): we verify that this is indeed the case in order to validate it.

Verification of Spanish passport validity, document number
Verification of Spanish passport validity, document number

The MRZ information

We check and validate all the MRZ information as well as the security keys.

Verification of Spanish passport validity, MRZ validation
Verification of Spanish passport validity, MRZ validation

How does the Spanish passport validity verification work?

After your purchase is validated, you will receive an email with credentials to log into our identity web application (please check your spam folder a few minutes after purchase if you do not receive the activation email).

Web application identity dashboard
Web application identity dashboard
  • Platform access
    • You log into the web application using the credentials received by email after your purchase or registration.
  • Verification mode selection
    • From your dashboard, you choose the option “Verify an identity document.”
  • Document upload
    • You upload the scan(s) (front/back) of the identity document, as image (.jpg, .png) or PDF files.
    • No additional manipulation (cropping, rotation, etc.) is required: the system automatically detects the orientation and the MRZ area.
  • Automatic analysis
    • The service reads the MRZ (Machine Readable Zone) and verifies the security keys.
    • It checks essential information (card number, date of birth, expiration date, etc.) as well as the integrity of the document via the check digits.
  • Instant result
    • The analysis results are displayed immediately in the interface as a status (pass/fail) and a detailed report (PDF, JSON or XML).
    • The report specifies the recognized fields and the validity of each element (check digits, date consistency, etc.).
  • Report download and archiving
    • You can download or view the PDF report directly.
    • The data remains available in the history for later consultation, but you have the option to delete it at any time (privacy guarantee).
  • Optional integration (API)
    • If you have a CRM or ERP, you can use the API to automate verification: the document is sent to the service and the report (or simply the status) is returned to your internal software.
    • You can find all the details at these links:
  • Account and credit management
    • Your analyses are charged only in case of successful MRZ detection (i.e., if the information has been correctly extracted).
    • You can check your credit balance at any time and, if necessary, subscribe to a plan adapted to your needs.
  • Support and assistance
    • In case of difficulty or questions, you can contact support by email or through the integrated help interface.
    • Additional resources (guides, FAQ, API documentation) are also available online.

You can find all details on the product page Identity Web Suite.

Professionals, do you need to integrate identity document validation into your business processes?

We offer subscriptions that may better suit your needs! You can find all details on the pricing page.

We also provide a service to verify all identity or resource documents via API AND through our web application.

You can find all details at these links:

Use Cases

  • Recruitment and Onboarding
    When you need to validate a candidate’s identity before signing an employment contract, online identity document verification ensures document compliance and limits fraud risks. You save time in administrative processes and offer a smoother experience to your future employees.
  • Real Estate Rental
    When signing a lease, you can require verification of identity proof to validate the tenant’s seriousness. This step ensures the submitted document is authentic and that information (name, birth date, etc.) has not been modified or forged.
  • KYC Process (Know Your Customer)
    In banking, finance, or for service providers subject to anti-money laundering and fraud prevention obligations, identity validation is essential. MRZ reading and security key verification help comply with regulations while simplifying checks.
  • Online Service Registration
    Whether for access to a gambling platform, online trading, or any other service requiring proof of majority or strong authentication, automatic identity document checking allows quick verification that the user meets legal conditions.
  • B2B Relationships or Partnerships
    In some partnerships or commercial contracts, identity proof may be required to confirm the identity of a partner or legal representative. Automated identity document verification helps secure transactions and builds trust between parties.

How are the results of the Spanish passport validity verification analysis presented?

Besides the web application, the analysis results are available for download in PDF / JSON / XML formats:

PDF report Spanish passport validity verification
PDF report Spanish passport validity verification

What document formats are accepted?

You can send your documents as jpg / jpeg / png images or as PDFs.

Scans/photos do not need to be cropped or edited: they are detected automatically during the Spanish passport validity verification.

It is possible to send the front and back of the document in the same scan and in any order (front first and back below, or vice versa): they will be sorted and recognition will be done without any problem.

Am I charged if the information is not correctly extracted during the Spanish passport validity verification?

The answer is no! Only a correctly recognized document is billable!

If characters are not correctly detected (which may happen with a poor quality photo, for example), you have the option to correct them to ensure reliable analysis no matter what.

You can see details in this video :

How does Spanish passport validity verification work?

A machine-readable zone (MRZ) is an area on an official document reserved for reading, identification, and validation of that document.

Thus, documents such as passports, national identity cards, residence permits, and driver’s licenses may or must contain, depending on the country and document version, a machine-readable zone.

It is located at the bottom part of identity documents: it contains all the information present on the document with security keys that allow verifying their authenticity and that they have not been altered.

The information found varies depending on the type of document.

How is the Spanish passport MRZ line constituted?

Passports have two lines of text, each containing alphanumeric characters that allow verifying the Spanish passport validity directly online.

Why use this method to detect fraud?

The data found there are passport data protected by multiple validation keys, making their modification difficult. It is therefore one of the verification tools used by airport security to ensure that identity documents have not been forged.

What data is extracted from a Spanish passport MRZ band?

The data extracted from the MRZ band are as follows:

  • First line:
Verification of Spanish passport validity, MRZ line 1
Verification of Spanish passport validity, MRZ line 1
  1. Document Type: A code indicating the document type, represented by the letter “P.”
  2. Type: one character for countries that distinguish between passport types.
  3. Country Code: 3 characters of the issuing country.
  4. Name and Given Names: Name and first names of the person separated by two “<“, then completed by “<“.
  • Second line:
Verification of Spanish passport validity, MRZ line 2
Verification of Spanish passport validity, MRZ line 2
  1. Document Number: 9 alphanumeric characters.
  2. Check Digit: 1 numeric character, check digit of the document number.
  3. Nationality: 3 characters indicating nationality according to the ISO 3166-1 alpha-3 standard.
  4. Date of Birth: 6 numeric characters (year in two digits, month and day in YYMMDD format).
  5. Check Digit: 1 numeric character, check digit of the date of birth.
  6. Sex: 1 character, “M” for male, “F” for female.
  7. Expiration Date: 6 numeric characters (year in two digits, month and day in YYMMDD format).
  8. Check Digit: 1 numeric character, check digit of the expiration date.
  9. Personal Number: 11 alphanumeric characters, used by some countries.
  10. Check Digit: 1 numeric character, check digit of the personal number (or “<” if only chevrons).
  11. Check Digit: 1 numeric character, overall check digit.

Personal Data

You can delete all data once the report has been downloaded: simply delete the analysis from the web interface history !

Data is also automatically deleted after 3 months.

You can find detailed information about personal data on our dedicated page : Privacy Policy.

Terms and Conditions

You can find the details of our terms and conditions at the following address : TrustDocHub T&C.

Reviews

  1. Rated 4 out of 5

    Laura V. (verified owner)

    Very efficient tool for verifying the MRZ of Spanish passports.

  2. Rated 4 out of 5

    Miguel Y. (verified owner)

    Accurate results, but the website design could be improved.

  3. Rated 4 out of 5

    Isabel B. (verified owner)

    Fast results, but the instructions could be more detailed.

  4. Rated 4 out of 5

    Santiago J. (verified owner)

    Affordable and met all my expectations.

  5. Rated 5 out of 5

    Elena S. (verified owner)

    Fast and precise results. Excellent tool!

  6. Rated 5 out of 5

    Alicia H. (verified owner)

    The service was accurate and reliable, no issues at all.

  7. Rated 5 out of 5

    Diego Z. (verified owner)

    Straightforward and easy-to-use service! Highly recommended.

  8. Rated 5 out of 5

    Carlos R. (verified owner)

    The MRZ verification service for Spanish passports was fast and reliable.

  9. Rated 3 out of 5

    Sara G. (verified owner)

    The service was good, but it took slightly longer than I anticipated.

  10. Rated 4 out of 5

    José C. (verified owner)

    Accurate results, but the website design could be improved.

  11. Rated 5 out of 5

    Manuel L. (verified owner)

    Affordable and met all my expectations.

  12. Rated 4 out of 5

    Lucía M. (verified owner)

    Very efficient tool for verifying the MRZ of Spanish passports.

  13. Rated 5 out of 5

    Antonio K. (verified owner)

    The MRZ verification service for Spanish passports was fast and reliable.

  14. Rated 5 out of 5

    María T. (verified owner)

    The service was accurate and reliable, no issues at all.

  15. Rated 4 out of 5

    Adriana W. (verified owner)

    Fast results, but the instructions could be more detailed.

  16. Rated 5 out of 5

    David N. (verified owner)

    Ideal for professionals needing quick MRZ verifications.

  17. Rated 4 out of 5

    Alejandro P. (verified owner)

    Straightforward and easy-to-use service! Highly recommended.

  18. Rated 3 out of 5

    Javier F. (verified owner)

    Good service, but the payment process was slightly confusing.

  19. Rated 4 out of 5

    Carmen D. (verified owner)

    A useful tool, but it could support additional languages.

Add a review

Your email address will not be published. Required fields are marked *

Shopping Cart
Scroll to Top