How to verify your identity using your DNI or NIE number, with supporting details
There are formalities on the Tax Agency’s electronic headquarters that allow you to identify yourself using your DNI or NIE number, together with an additional piece of verification information.
When you access the formality, the available options will be displayed; click on ‘DNI/NIE number with supporting details’

In the next window, enter your DNI or NIE
- National Identity Number: 8 digits and a letter (no spaces or hyphens)
- NIE: 7 letters and a number (no spaces or hyphens)

Depending on the type of document specified, there will then be a requirement to provide the verification details.
If it is a national identity card: state the expiry date. In the case of a permanent national identity card (with a validity period of 01/01/9999), the information required is the date of issue. At the bottom of the page, you’ll find a help link explaining how to find the expiry date or issue date on the different types of national identity cards.

If it is an NIE: you will be asked for the reference number shown on the document. You can access the help link ‘How do I find my document’s support number?’, which explains how to find this information on your foreign national card, residence permit or EU citizen certificate, and how to enter it correctly on the form. For further information about the support number, you can also consult the help section ‘Enter a valid support number’ (How to enter the support number).

Clicking "Continue" will validate the details you have entered.