Model 030
Skip the table of contentsVerification of a third party’s tax identification number for census purposes
The ‘Verification of a third party’s tax identification number (NIF) for census purposes’ service facilitates the validation of the identifying details of taxpayers included in a tax return before it is submitted. It is part of the formalities for Form 030.
You can log in using Cl@ve Móvil, a certificate or your electronic DNI. If you have any queries about how to obtain an electronic certificate or how to register with the Cl@ve system, please consult the information available in the related content.

There are three ways to carry out this search in our database: consult a single tax identification number (NIF), consult a list of several NIFs, or consult using a CVC file (with a maximum of 20,000 records) containing a list of NIFs.
Multiple consultations
Select ‘Multiple enquiry’ and enter a tax identification number (NIF) on each line, following the format: NIF;Surname and first name in the case of a natural person, or NIF;Company name in the case of a legal person. You must separate the tax identification number (NIF) from your surname and first name/company name using a semicolon (";"), then click "Consult".

The answer to this consultation is the same list containing these different codes in the case of individuals:
- IDENTIFIED: If the taxpayer is identified by the details provided. The first name and surname associated with the tax identification number ( NIF) are returned.
- UNIDENTIFIED – SIMILAR: If the taxpayer cannot be identified using the details provided due to minor differences in their surname and first name. The first name and surname associated with the tax identification number ( NIF) are returned.
- UNIDENTIFIED: If the taxpayer cannot be identified from the details provided. The tax identification number ( NIF ) and the surname and first name provided are returned.

The answer to this enquiry in the case of legal persons is:
- IDENTIFIED: If the taxpayer is identified by the tax identification number ( NIF ) provided. The current tax identification number ( NIF ) and the company’s registered name are returned.
- UNIDENTIFIED: If the taxpayer cannot be identified using the tax identification number provided. The data provided is returned.
- IDENTIFIED – REMOVED. If the taxpayer is identified by the tax identification number (NIF ) provided and their status is ‘inactive’. The current tax identification number ( NIF ) and the company’s registered name are returned.
- IDENTIFIED–REVOCATED. If the taxpayer is identified by the tax identification number (NIF) provided and their status is ‘inactive’ due to the revocation of their NIF, the current NIF and their company name are returned.

Bulk enquiry by importing a CVC file
A file containing the tax identification numbers (NIFs) to be consulted must have been prepared in advance, following the NIF format: Surname and first name/Company name, with one NIF per line, in .txt format. If the file has been created using Excel, it must be saved in CVC format (comma-separated). The limit is 20,000 records.


Select ‘Multiple enquiries by importing a CVC file’ and click ‘Choose file’.

Locate the .csv or .txt file and click "Open".
Once the file has been read, the information contained in the system will appear in the window below; if there are any unreadable characters, click on ‘click here’ to correct them. Next, click "Continue".

The output is a file named "Result" with the .csv extension. By default, the file is saved in the ‘Downloads’ folder, although you can save it to a different location or open it straight away.

The answer to this consultation is the Excel file containing this information in the various columns of the file:
- IDENTIFIED: If the taxpayer is identified by the details provided. The first name and surname associated with the tax identification number ( NIF) are returned.
- UNIDENTIFIED – Tax IdentificationNumber (NIF): If the taxpayer cannot be identified using the details provided due to minor differences in their surname and first name. The first name and surname associated with the tax identification number ( NIF) are returned.
- NO tax identification number: If the taxpayer cannot be identified from the details provided. The tax identification number ( NIF ) and the surname and first name provided are returned.

The answer to this enquiry in the case of legal persons is:
- Tax identification number (NIF): Whether the taxpayer is identified by the NIF provided. The current tax identification number and company name are returned.
- NO tax identification number: If the taxpayer cannot be identified using the tax identification number provided. The data provided is returned.
- IDENTIFIED – Tax Identification Number (NIF ): If the taxpayer is identified by the NIF provided and their status is ‘inactive’. The current tax identification number and company name are returned.
- IDENTIFIED – Tax Identification Number (NIF): If the taxpayer is identified by the NIF provided and their status is ‘inactive’ due to revocation of the NIF, the current NIF and the company’s registered name are returned.
Single enquiry
Select ‘Individual enquiry’ and enter the tax identification number ( NIF) you wish to consult, followed by the surname and first name, in that order, if the person is an individual. In the case of legal persons, you do not need to enter the company name. Click on "Consult".

The tax identification number ( NIF ) and a message confirming the company’s registration with the AEAT (State Tax Administration Agency) will then be displayed.

If the details entered in the surname field are not entirely correct but exceed the minimum percentage of matches, the system will display the following message: “The person consulted has not been identified by the name provided, but there is a similarity with the name registered in the AEAT(State Tax Administration Agency) register” and the full details from the census.

Please note that in order to carry out formalities via the AEAT (State Tax Administration Agency ) website, you must be registered as a taxpayer and, when asked to identify yourself, you must provide the details exactly as they appear in the register. If you are not registered and your National Identity Card number does not appear in the databases, you must submit Form 030, ‘Census declaration of registration in the Taxpayers’ Register, change of address and/or change of personal details’, in the case of a natural person. Print out the form to submit it to your local tax office or regional office, using the ‘Form 030’ link. "Special submission procedure – remote" under the formalities for Form 030.
However, if you have an electronic certificate or an electronic DNI (DNIe), you can perform the registration online for taxable persons when you attempt to access a formality that requires an electronic certificate and the system detects that you are not registered.