Form 030
Skip information indexVerification of a third party Tax Identity number (NIF) for census purposes
The service Verification of a NIF of third parties for census purposes facilitates the filtering of the identification data of taxpayers included in a tax return before filing it.It is included in the formalities of form 030.
The procedure requires identification by electronic certificate, DNIe or Cl@ve PIN.
It is possible to make this query in our database in three ways:consult a single NIF, consult a list of several NIFs or consult using a CSV file (with a maximum of 10,000 records) with a list of NIFs.
Multiple consultation
Selecting "Multiple query" and entering a NIF per line following the scheme NIF;Surname and first name in the case of a natural person or NIF;Company name in the case of a legal person.The NIF must be separated from the Surname and first name/Company name by the sign ";" semicolon, then click on "Consult".
The reply to this consultation is the same list with these different notes in the case of private individuals:
- IDENTIFIED:If the taxpayer cannot be identified using the identification data provided.Surnames and first name associated with the tax code are returned.
- NOT IDENTIFIED-SIMILAR:If the taxpayer cannot be identified with the identification data provided due to minor differences in name and surname.Surnames and first name associated with the tax code are returned.
- NOT IDENTIFIED:If the taxpayer cannot be identified with the identification details provided.The tax code and name and surname data are sent back.
The reply in this consultation in the case of legal entities is:
- IDENTIFIED:If the taxpayer can be identified with the tax code provided.Enter the current tax code and the registered activity.
- NOT IDENTIFIED:If the taxpayer cannot be identified with the tax code provided.The data provided are sent back.
- IDENTIFIED-CANCELLATION.If the taxpayer cannot be identified with the tax code provided, and is in cancelled status.Enter the current tax code and the registered activity.
- IDENTIFIED-CANCELLED.If the taxpayer is identified with the tax code provided and is in cancelled status due to tax code cancellation.Enter the current tax code and the registered activity.
Multiple consultation importing a CSV file
A file with the NIF to be consulted will have been previously prepared following the scheme NIF;Surnames and name/Business Name, with tax code per line, in .txt format.If the file is prepared in Excel, it should be saved in the format CSV (comma delimited).The limit is 10,000 registrations.
Select "Multiple query by importing a file CSV" and click "Browse".
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 lower window. If you find any unreadable characters, click on "click here" to correct them.Then click on "Continue".
The reply is a file with the name "Result" and the .csv extension.If you click "Save", the file is saved by default on the local disk in the folder called "AEAT", although you can save it in another path or open it directly.
The reply to this consultation is the Excel file with this information in the different file columns:
- IDENTIFIED:If the taxpayer cannot be identified using the identification data provided.Surnames and first name associated with the tax code are returned.
- NOT IDENTIFIED-NIF:If the taxpayer cannot be identified with the identification data provided due to minor differences in name and surname.Surnames and first name associated with the tax code are returned.
- NO NIF:If the taxpayer cannot be identified with the identification details provided.The tax code and name and surname data are sent back.
The reply in this consultation in the case of legal entities is:
- NIF:If the taxpayer can be identified with the tax code provided.Enter the current tax code and the registered activity.
- NO NIF:If the taxpayer cannot be identified with the tax code provided.The data provided are sent back.
- IDENTIFIED -NIF If the taxpayer cannot be identified with the tax code provided, and is in cancelled status.Enter the current tax code and the registered activity.
- IDENTIFICADO-NIF Si el contribuyente se identifica con el NIF aportado y está en estado baja por revocación del NIF Se devuelve el NIF actual y su razón social.
Single consultation
Select "Consulta unitaria" and enter the NIF that you want to check, the surname and first name, in that order, if it is a natural person.In the case of legal entities, it is not necessary to enter the company name.Click on "Consult".
The NIF and the message confirming the existence of the AEAT in the census will be shown.
In case the data entered in the surname field is not completely correct but the minimum percentage of matches is exceeded, the system will return the message:"The person queried has not been identified with the name provided, but there is a near match with the name registered in the Tax Agency census" and the full census details.
Please note that in order to carry out procedures through the website AEAT you must be registered as a taxpayer and, when it is necessary to identify yourself, enter your details as they appear on the census.If you are not registered and there is no record in the databases of DNI, you must present form 030, "Census declaration of registration in the Census of taxpayers, change of address and/or change of personal details", in the case of an individual.Print out the form to submit it to your Administration or Delegation, also using the link "Form 030.Extraordinary filing procedure - non-face-to-face" located in the procedures of form 030.
However, if you have an electronic certificate or DNIe, it is possible to register online in the Census of Taxpayers when accessing a procedure that requires an electronic certificate and it is detected that you are not registered.