DNI Expedition Number: Complete Guide and Its Importance
Discover what the DNI expedition number is, where to find it on your document, and why it is key for your online procedures and digital security. Learn how to use it correctly!
The National Identity Document (DNI) is much more than a simple identification card; it is the gateway to a multitude of procedures and services in the digital and daily life of any citizen. Among its various fields, the DNI expedition number is a crucial piece of information, often required in processes ranging from opening a bank account to digitally signing documents, or managing access in controlled environments. Understanding its function and how to locate it is essential to streamline procedures and ensure security in authentication.
The Essentials
- The DNI expedition number is an alphanumeric code that identifies each physical issuance of the document.
- Its location varies slightly between DNI 3.0, 4.0, and previous versions, but it is always accessible.
- It is key for online procedures, electronic signatures, and identity verification in processes requiring high security.
What is the DNI expedition number and why is it so important?
The DNI expedition number is a unique alphanumeric code assigned to each issuance of your National Identity Document. Unlike your DNI number, which remains constant throughout your life (except in very exceptional circumstances), the expedition number changes every time you renew your document. This distinctive code is crucial for several reasons:
Take a moment to examine your document on both the front and back. Labels near the field, such as "Nº Expedición" (Expedition No.) or "Fecha Expedición" (Expedition Date) near the relevant data, usually help you identify it.
DNI expedition number and digital security
The DNI expedition number is an essential component in Spain's digital security infrastructure. Its main function is to strengthen authentication and data integrity in online transactions and interactions with the Public Administration.

Authentication in the Public Administration
When performing online procedures with Social Security, the Tax Agency, or any other public body, it is common to be asked for the expedition number in addition to the DNI number and validity date. This "double verification" ensures that the person operating has physical access to the most recent document. This is especially relevant in:
- Submitting tax returns.
- Applying for aid or benefits.
- Consulting protected personal data.
Activation and use of the Electronic DNI (DNIe)
The electronic DNI incorporates a chip with digital certificates that allow for strong authentication and electronic signatures. To activate these certificates and, for example, change the associated PIN, the expedition number is obligatorily required. Without it, the advanced functionalities of the DNIe cannot be used. This is vital for:
- Digitally signing documents with legal validity.
- Accessing online services that require a high level of security.
- Performing electronic voting, when available.
Differences with other DNI numbers and codes
It is crucial to distinguish the expedition number from other codes present on the DNI:
Although it is public DNI data, the expedition number must be handled with care. Its combination with other sensitive data can be exploited for identity impersonation in certain contexts. Only provide it to trusted entities that legitimately require it.
Retrieval and common issues with the DNI expedition number
Losing or damaging your DNI can create uncertainty about how to retrieve the expedition number. Fortunately, there are established procedures for this.
What to do if you lose or your DNI is stolen?
If your DNI is lost, stolen, or damaged in such a way that the expedition number is illegible, the only way to obtain a new expedition number is to apply for a new DNI. The process is as follows:
It is important to remember that the previous expedition number will be automatically invalidated at the time the new document is issued.
Common problems and solutions
The DNI expedition number is key to the validity of online procedures and electronic signatures, ensuring that the document used is the most current and legitimate.
The DNI expedition number and smart access management
Although the DNI expedition number is a high-security piece of data, its direct use in physical access control systems like those offered by Raixer is not common. Smart locks focus on digital credentials (PIN codes, Bluetooth, NFC, biometric credentials) for physical opening, decoupling from the complexity of identity document management.
However, the importance of the expedition number lies in its indirect role, as part of the chain of trust in identity verification that may precede the issuance of an access credential. This is especially relevant in sectors such as:
- Tourist rentals and holiday homes. For owners of tourist accommodations, regulations require traveler registration. Third-party online check-in platforms, which integrate with solutions like Raixer, may require the DNI expedition number to verify the guest's identity before issuing an access code to the lock. Raixer, through its API for developers, facilitates integration with these external systems.
- Coworking spaces and offices. In offices and coworking spaces, before granting permanent or temporary access to a member, an onboarding process may be carried out that includes identity verification with the DNI. Although the Raixer lock does not process this number, the robustness of prior identification is fundamental for the general security of the space.
- Neighbor communities. In the management of neighbor communities, especially for managing access to restricted common areas or the entry of service personnel, identity verification using the DNI could be part of a broader security protocol, where the expedition number reinforces authentication.
In this scenario, the identity verification and access flow is as follows:
- Identity verification. A user needs access to a service or property. An external platform requests and verifies their DNI, including the expedition number, to confirm their identity.
- Secure communication. Once identity is verified, the external platform sends a secure instruction to Raixer's systems (via API).
- Credential generation. Raixer generates an access credential (PIN code, Bluetooth access, etc.) for the corresponding smart lock (Raixer Mini, Raixer Pro, etc.).
- Physical access. The user uses the credential generated by Raixer to open the door, without the lock having directly manipulated the DNI expedition number.
This approach allows access control solutions like Raixer to focus on their main task (secure and efficient opening management), while benefiting from the security and reliability provided by the DNI expedition number in the prior identity verification stages.
A security ecosystem
The DNI expedition number is one piece in a larger security puzzle. At Raixer, we value integration with systems that guarantee identity, to offer a complete and robust solution in smart access management.
Frequently Asked Questions
Is the DNI expedition number the same as the support number or IDESP?
No, they are different data and serve different functions. The expedition number identifies each physical DNI card issued to you and is essential for activating the electronic DNI certificates. The support number (also called IDESP in more modern DNIs) is a code used for online verification in certain procedures and may be necessary for using the DNIe chip with readers, acting as an additional access key to the document's electronic functions. Both are important, but they are not interchangeable.
Do I need the expedition number to use a Raixer smart lock?
Directly, no. Raixer smart locks operate with digital credentials (codes, BLE access, etc.) that are generated and managed through our platform or through integrations with external systems. However, if you use a third-party check-in or guest management platform (for example, for tourist rentals) which, due to legal or security requirements, requests identity verification with the DNI, that platform might require the expedition number. In that case, Raixer would integrate with said platform but would not directly process the DNI data.
What do I do if I can't find the expedition number on my DNI?
Carefully check the front and back of your DNI. In the most recent versions (DNI 3.0 and 4.0), it is on the front, below the date of birth. In previous versions, it might be on the back, usually in the upper right part. If you still cannot find it, or if your DNI is very deteriorated, you will need to request an appointment to renew your DNI, as this number is not provided through other means due to its sensitivity and security function.