Where it is and who sees it
Every contract of an employed person has a Sistema RED section with two filings: the Social Security registration (alta) and termination (baja). It does not appear on contracts of self-employed, external or volunteer staff. People who manage contracts at the contract's centre, with the Manage staff or Pay permission, can see and change it (Admins always can), if they can reach that person. It only exists in centres in Spain: centres in other countries (by the province of the centre's address) do not see it.
Each filing shows its status: not filed, pending to be sent by the app, filed by the app, filed outside the app or unconfirmed (sent, but the result could not be confirmed), with who marked it, the actual registration or termination date and its documents.
Data it needs
To file through the app you need:
- The person's affiliation number (12 digits) and a valid DNI or NIE, in their profile.
- The centre's contribution account code (CCC, 11 digits), in the centre details.
- For the registration: the Social Security contract type (100, 200, 401…), the contribution group (1 to 11) and, for part-time work, the coefficient in parts per thousand with three digits (500 is half time). The app suggests the coefficient from the weekly hours.
- For the termination: the reason (93 end of contract, 51 resignation…) and, when relevant, the end of untaken holidays, the planned end of a temporary contract and the days worked.
The section lists what is missing so you can complete it before filing.
Deadlines
- The registration can be filed from the contract start until 15 days later.
- The termination, from 7 days before the end until 15 days after.
Before the window opens you can leave it scheduled; once it has passed it can no longer be sent from the app, but you can still record that it was filed outside.
Filing outside the app
If the registration or termination was already done another way (the payroll agency, the Social Security website), mark it as filed outside the app with its actual date. You can attach the resolution or the IDC as a PDF or photo: uploading one of those documents marks the filing automatically. Each filing accepts one resolution and one IDC.
If you made a mistake you can undo it: it goes back to "not filed" and the data you entered is kept. Removing the last document of a filing marked outside the app also takes it back to "not filed".
The centre's digital certificate
Sending from the app needs the centre's digital certificate (the one it uses in Sistema RED, usually the FNMT representative certificate) as a .p12 or .pfx file with its password. Only the centre Admin can see, upload, replace or remove it: the Remuneration permission is enough for the rest of the section, but not for the certificate.
- On upload the app checks that the password opens it, that it includes the private key and that it has not expired.
- It is stored encrypted in private storage. The app only shows the holder, the tax ID, the issuer, the serial number and the validity dates: it never returns the file or the password.
- You can replace it with a renewed one or remove it. Every change is logged, without the password.
- The app notifies the centre's legal representative and administrators 30 days and 7 days before it expires, and on the day it expires.
Filing through the app
When you request it, the app checks the data and the deadline and leaves the filing pending to be sent. Sending happens on its own, several times a day, once the actual date of the registration or termination arrives:
- It works: it becomes filed by the app, the Social Security resolution is saved in the contract and the person who requested it and the centre's legal representative are notified.
- Something is missing (no certificate, it has expired, or a detail of the person or the centre is missing): it stays pending, the section shows the reason and a notification is sent once. As soon as it is fixed, it is sent.
- It cannot connect: it retries on its own after 15 minutes, 1 hour, 4 hours and 12 hours. After five attempts it is marked as failed and a notification is sent.
- The Social Security rejects it, or the certificate is not authorised for the contribution account: it leaves the queue, goes back to not filed with the rejection message and a notification is sent. Fix the data and request it again.
- The result cannot be confirmed (the sending went out but neither the resolution nor an error came back, or it was cut off halfway): Social Security may or may not have registered it, so the app never sends it again and takes it out of the queue. It stays unconfirmed, with an error in the section and a notification to whoever requested it and to the legal representative: check it in Sistema RED. It cannot be requested again from the app.
A failure in one contract does not stop the others from being sent. While a sending is in progress it cannot be undone or marked as filed outside the app. A filing made by the app cannot be undone and its data cannot be changed.
> [!NOTE] > Test environments never send anything to the Social Security: filings stay pending.
When a contract ends
When you end a contract you can also request the Sistema RED termination with the end date, through the app or as filed outside. If some data is missing, the contract is ended anyway and you are told what is missing so you can file the termination later from the contract itself. See Team contracts.
> [!TIP] > Every change in this section is recorded with who made it and the state before and after.