Rate this page
Rate this content

Contenido principal

Sending Files < Go back

This service allows other Public Administrations and Bodies to request information from the TGSS or the INSS, by the aforementioned Public Administrations and Bodies sending files to the central services of the Social Security.

About this procedure

Who it is for

  • Entities and Bodies with legal status, with the exception of the Central Administration of the Autonomous Regions, which can grant said powers to the regional Ministries or Bodies of a similar rank, and the General State Administration, which can grant said powers to bodies of ranks no lower than General Management.
  • In the case of the INSS, registration licences are awarded by the General State Administration, Regional Ministries of the Autonomous Regions and Local Councils. Regional public organisations attached to said bodies may not request registration.
    However, proposed users may belong to a regional body below the applicant body, provided they are civil servants.

What you can do

Depending on the type of information you wish to obtain, it needs to be requested from one or a number of the following data transfer services.

  • Social Security General Treasury:
    • R001 - Report of Having Paid Social Security Contributions. Information service where organisations can enquire whether third parties are in arrears with their Social Security payments.
    • A002 - Company employment data report.  This services provides information on the list of workers registered to a Contribution Account Code (CCC) during a specific period. IFI software is required.
    • A003 - Accreditation of self-employed agricultural activity.  This service enables a report to be generated accrediting the agricultural activity of a self-employed worker on a specific date or during a specific period.
    • A004 - Current worker situation Report. This service enables a report to be generated on the status of the application in the General Affiliation File on the date of the request.
    • A006 - Working Life Report of up to 12 months in the last seven years. Allows you to obtain information about the working life of a citizen registered with the Social Security during a period of up to 12 months from the date requested by the user provided the user is within the last seven  years.
    • A007 - Affiliation Report for a specific date. This service enables you to view or obtain a report that indicates only YES or NO regarding whether the person with the identifier was registered as working on a specific date.
    • A008 - Report on the annual average number of workers registered. This service enables you to consult or obtain a report on the average number of workers registered as working in a company at any point in a company during the period defined by the body requesting information in their request.
    • A009 - Tax debtor Report. This service enables you to obtain a report, for the purpose of the collection of tax arrears only, of worker information for workers registered as working in companies or self-employed
    • A010 - Report on working day reduction due to Covid19 at the request of the worker. This service provides a report on whether workers on whom information is requested have reduced working hours and by what percentage, at the request of the worker, due to the Covid19 epidemic.
    • C001 - Contribution bases for work-related injuries and Occupational Diseases  in a period of 12 months. It allows information to be obtained on the contribution bases for Work-related Injuries and Occupational Diseases  of employees during a period of up to 12 months specified by the user in their request for information within the last five  years (the month from the period cannot be more than five years before the date of processing the file).
  • INSS:
    • P001 - Pensioner Report for tax purposes. Service informing the requesting body whether third parties are pensioners with the Social Security system for the purposes of fulfilling tax obligations under its jurisdiction.
    • P002- Report on pensioners with current amounts and consent of the interested party. Service that provides information to the requesting party, so they can manage their responsibilities, about the rate and current amount and amount in previous years of the Social Security system's pensions, as well as the rate and current amount of the benefits managed by outside bodies that appear in the Register of Public Social Services.
    • P003 - Pensioner Report with current and previous amounts and individual's consent. Service that provides information to the requesting party, so that it can manage its responsibilities, about the rate and current amount and amount in previous years of the Social Security system's pensions, as well as the rate and current amount of the benefits managed by outside bodies that appear in the Register of Public Social Services.

What you need to do it

Public Administration Departments and Bodies must get approval to access the data transfer services, and their civil servants or employees must have the respective permits to access each service.

Please note

  • To request one of the data transfer services, you need to indicate the object and purpose of the information you wish to obtain if it is not something that is common to all of them (awarding of grants and subsidies, tender procedures or administrative contracts, tax collection, etc.), regardless of what else is required in each of the information request files.
  • If the object and purpose subsequently change, this must be reported to the Entity (TGSS/ INSS) responsible for the service provided.
  • Files signed with certificates generated by Social Security (PDF, XAdES, CAdES and PKCS#7 formats) may be validated by the Signature and certificate verification service.
  • If you are logging in with a Username + Password (permanent Cl@ve), in order to guarantee a higher level of security, you will be sent a code via SMS to the mobile number that you provided at the time of registration. You must enter this code in order to sign the communication.

To access this service check you have the necessary technical requirements.

El acceso a este servicio estará habilitado únicamente cuando se identifique como persona física

Attached documentation
Attached documentation
document name Publication date
Instructions for obtaining authorisation, access permits and completion of the respective forms (PDF, 838 Kb) 27/04/2021
Application for Organisation authorisation, affiliation/deregistration of users and change in data. TGSS (PDF, 352 Kb) 06/11/2018
Application for Organisation authorisation, affiliation/deregistration of users and change in data. INSS (PDF, 924 Kb) 10/03/2021
Compulsory undertaking (PDF, 148 Kb) 08/06/2021
IFI Website user manual. Send/receive files. (PDF, 6676 Kb) 15/03/2022
Manual de configuración IFIWeb (PDF, 1956 Kb) 23/10/2020
Format of the request / response files. R001 (PDF, 705 Kb) 29/11/2018
Format of the request / response files. A002 (PDF, 151 Kb) 29/12/2015
Format of the request / response files. A003 (PDF, 150 Kb) 29/12/2015
Format of the request / response files. A004 (PDF, 847 Kb) 11/06/2021
Format of the request / response files. A006 (PDF, 813 Kb) 20/04/2021
Format of the request / response files. A007 (PDF, 149 Kb) 29/12/2015
Format of the request / response files. A008 (PDF, 690 Kb) 07/06/2021
Format of the request / response files. A009 (PDF, 409 Kb) 19/12/2017
Formato de los ficheros de petición / respuesta. A010 (PDF, 780 Kb) 25/09/2020
Formato de los ficheros de petición / respuesta. C001 (PDF, 785 Kb) 23/09/2021
Format of the request / response files. P001 (PDF, 1147 Kb) 23/07/2019
Format of the request / response files. P002 (PDF, 1205 Kb) 23/07/2019
Format of the request / response files. P003 (PDF, 1217 Kb) 23/07/2019
Institutional file exchange service. ClienteIFI4_10 Java7. A002 (exe) (EXE, 8776 Kb) 26/09/2017
A002. Installation Manual IFI (PDF, 1160 Kb) 24/01/2020
IFI Client update manual (PDF, 2609 Kb) 24/01/2020
User manual IFI A002 (PDF, 840 Kb) 14/09/2016
Complementary Content
${loading}