Forms 038 to 180
Skip information indexForm 171
The presentation of form 171 requires identification with an electronic certificate issued in the name of the declarant or DNI electronic. If the declarant does not have an electronic certificate, it is necessary that the person making the presentation be authorized to present statements on behalf of third parties, either by being registered as a social collaborator or by being authorized to carry out this procedure.
The presentation is made through TGVI online, a system that validates whether the file contains correct and erroneous records, allowing the presentation of the correct records, downloading a file with the erroneous records and a file with the details of the errors to, once corrected, send them through complementary statements.
To avoid identification errors, we recommend that you previously purify the taxpayer census of each company using the Tax Identification service.
It will be necessary to have a file with the declaration that you are going to transmit, with the data adjusted to the published registration design.
After identification, complete the NIF of the declarant and verify that in the "Model" and "Year" fields, 171 and 2023 are selected, respectively.
To send a file press "Read File" and then "Select the file to validate" to select the file.
From the "Recover" option you can reload the last file validated by the application for that model, fiscal year and NIF . If you choose to validate a new file using the "Read file" option, any previous shipment for the selected combination of Model + Fiscal Year + Period + NIF declarant will be lost since only the last validation is recovered .
Verify that the data is correct and click "Validate" to transmit the file.
During the transmission, two progress bars will appear informing the validation percentage of both the file and the records.
At the end of the transmission, the summary of the validation result will be displayed.
Note: In this step of the process, only the file is validated. The presentation can be done in later steps.
If the validation is correct, you will be able to make the presentation and obtain the corresponding receipt. If errors are detected, a breakdown of correct and failed logs will be included and the options "Submit correct logs", "Download failed logs" and "Download error messages" will be available.
Submit correct records
Select this option to present only the correct records. In the next window, mark "Agree" and press "Sign and Send".
You will get the submission receipt only with the correct records submitted in an embedded PDF , which you can save and print. The document contains the presentation information: registration entry number, Secure Verification Code, receipt number, day and time of presentation and presenter information.
Erroneous records that have not been submitted must be corrected and subsequently submitted through a supplementary declaration.
Download erroneous logs
Using this option you can download a text file (adjusted to the published design) with all the erroneous records.
The downloaded file will be updated to be consistent with the number of records included. Furthermore, in the type 1 record (declarant and summary) a personal identification number, the complementary mark and proof of the previous presentation will already be included.
This file is for correction and presentation. It does not contain information about detected errors.
Download error messages
The downloaded text file contains the details of the errors detected for each type 2 error record (Declared). An erroneous detail record with its corresponding error message will be displayed on each line. It is necessary to move the scroll bar to the end of the lines to be able to view the error codes and descriptions.
This file is for informational purposes only. It will be useful to identify the errors detected and proceed to correct them and present them.