,

ID – Spanish Residence Permit Validity Check

 5.00 HT

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

Categories: , Tag:

How to verify the authenticity of a Spanish residence permit online?

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

Nowadays, documents are generally scanned or photographed before being sent by email; it becomes difficult to ensure these documents are authentic and have not been altered using image editing software like Photoshop. Our product addresses this issue by allowing you to:

  • extract information from the MRZ band of identity documents directly online, analyze it, and verify security keys to ensure authenticity
  • validate the format of the document number

And all this in just a few seconds!

What elements are validated during the Spanish residence permit validity check?

The Spanish residence permit document number

The document number corresponds to an official pattern from the ministry: we verify it matches this pattern to validate it.

Spanish residence permit validity check, document number front
Spanish residence permit validity check, document number front
Spanish residence permit validity check, document number back
Spanish residence permit validity check, document number back

 

The personal number of the ID card holder (NIE)

The personal number (NIE) consists of 8 characters followed by a security key and corresponds to an official pattern from the ministry: we verify that the whole is valid.

Spanish residence permit validity check, personal number NIE front
Spanish residence permit validity check, personal number NIE front
Spanish residence permit validity check, personal number NIE back
Spanish residence permit validity check, personal number NIE back

MRZ information

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

Spanish residence permit validity check, MRZ validation
Spanish residence permit validity check, MRZ validation

How does the Spanish residence permit validity check 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 residence permit validity analysis presented?

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

PDF report Spanish residence permit validity verification
PDF report Spanish residence permit validity verification

Which document formats are accepted?

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

Scans/photos do not need to be cropped or retouched: they are automatically detected during the Spanish residence permit validity check.

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 recognized without problem.

Am I charged if information is not correctly extracted during the Spanish residence permit validity check?

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 :

What is the Spanish residence permit MRZ band?

An automatic reading zone, or optical reading zone, is an area on an official document reserved for reading, identification, and validation of the document.

Documents such as passports, national identity cards, residence permits, and driving licenses may or must include, depending on the country and document versions, an optical reading zone.

It is located in the lower part of identity documents: it contains all the information present on the document with security keys allowing verification of their authenticity and that they have not been altered.

The information found varies depending on the type of document.

How is it structured?

Cards issued from 2021 have three lines of text, each containing alphanumeric characters.

What data is extracted during the Spanish residence permit validity check?

The data extracted from the Spanish residence permit MRZ band are as follows:

  • First line:
Spanish residence permit validity check, MRZ line 1
Spanish residence permit validity check, MRZ line 1
  1. Document Type: 2 characters, code indicating the document type, represented by the letters “ID”.
  2. Issuing Country: 3 characters, the ISO 3166-1 alpha-3 code of the issuing country.
  3. Card Number: 9 characters, unique card number.
  4. Check Digit: 1 character, check digit of the unique card number.
  5. End of Line: 15 characters, “<” to fill the line.
  • Second line:
Spanish residence permit validity check, MRZ line 2
Spanish residence permit validity check, MRZ line 2
  1. Date of Birth: 6 characters, year, month, and day of birth in YYMMDD format.
  2. Check Digit: 1 character, check digit of the date of birth.
  3. Gender: 1 character, “M” for male, “F” for female.
  4. Expiration Date: 6 digits, card expiration date in YYMMDD format.
  5. Check Digit: 1 character, check digit of the expiration date.
  6. Country Code: 3 characters, ISO 3166-1 alpha-3 code of the holder’s nationality.
  7. Date of Issue: 4 characters in YYMM format
  8. End of Line: 11 characters, chevrons to fill the line.
  9. Check Digit: 1 character, check digit of the concatenation of characters line 1 positions 6-15, line 2 positions 1-7, and line 2 positions 9-15.
  • Third line:
Spanish residence permit validity check, MRZ line 3
Spanish residence permit validity check, MRZ line 3
  1. Name and First Names of the Holder: the holder’s last and first names, starting with the last name followed by the first name. The last and first names are separated by two “<” characters. In case of a compound last name, compound first name, or multiple first names, they are separated by the “<” character. Spaces and apostrophes are replaced by the “<” character and the name is truncated to 30 characters if necessary; any accents present on letters are removed. The line is then completed by the “<” character.

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

There are no reviews yet.

Be the first to review “ID – Spanish Residence Permit Validity Check”

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

Shopping Cart
Scroll to Top