Filing of Form 171 via file

  • Ayuda - Certificados electrónicos
  • The electronic filing of form 171 requires identification with a certificate (digital signature) issued in the name of the taxpayer or an electronic ID (DNI).If the taxpayer does not have an electronic certificate, the person filing must be authorised to file returns on behalf of third parties, either by being registered as a social partner or by being authorised to do so.

    The filing is made using TGVI online, a system that validates whether the file contains correct and incorrect records, allowing the filing of the correct records, downloading a file with the incorrect records and a file with a list of errors so that, once they have been corrected, they can be sent by means of supplementary returns.

    To avoid errors of identification, we recommend that you first purge each company's taxpayer census using the Tax Identification Service

    It will be necessary to have a file with the tax return to be sent, with the data adjusted to the published registry design.

    Once identified, fill in the NIF of the filing taxpayer and make sure that 171 and 2020 are selected in the "Form" and "Year" fields, respectively.

    Read file 171

    To send a file, click "Read File", then "Browse..."to select the file.

    Read file

    From the “Recover” option you can reload the last file validated by the application for that form, financial year and NIF.If you choose to validate a new file by means of the option “Read file”, any previous sending for the selected combination of Form + Financial Year + Period + NIF Tax ID will be lost, since only the last validation will be recovered.

    Make sure that the data is correct and click on "Validate" to send the file.

    Validate

    During the sending, two progress bars will appear informing the validation percentage of both the file and the records.

    Sending.Progress

    At the end of the sending, the summary of the validation result is displayed.

    N.B.:In this step of the process, only the file is validated.The submission can be formalised in subsequent steps.

    If the validation is correct, you will be able to process the submission and obtain the corresponding receipt.If errors are detected, the breakdown of correct and incorrect records will be included and the options "Submit correct records", "Download incorrect records" and "Download error messages" will be available.

    File validation

    Submitting correct records

    Select this option to display only the correct records.In the next window, check "OK" and click "Sign and Send".

    Confirmation of submitted records

    You will get the submission receipt with only the correct records presented in an embedded PDF, which you can save and print.The document contains the filing information:registration entry number, Secure Verification Code, receipt number, date and time of filing and presenter information.

    Incorrect records that have not been submitted must be subsequently corrected for submission by supplementary tax return.

    Download incorrect records

    With this option you can download a text file (adjusted to the published design) with all the incorrect records.

    The downloaded file will be updated to be consistent with the number of records included.In addition, the type 1 register (taxpayer and summary) will already include its own identification number, the supplementary mark and the receipt of the previous filing.

    Errors

    This file is to be corrected and filed.It does not contain information about the errors detected.

    Download error messages

    The downloaded text file contains the detail of the errors detected for each type 2 (Taxpayers) incorrect record.Each line will show an incorrect detail record with its corresponding error message.You need to move the scroll bar to the end of the lines in order to display the error codes and descriptions.

    This file is for information only.It will be useful to identify the errors detected and correct them before submitting them.

    Text file with errors

    Electronic filing of form 171 for 2019
  • RSS
  • Site map
  • Accessibility
  • Help