Skip to content

Social Security up-to-date certificate in Spain: how to request it, validity and what to do if you owe

The Seguridad Social up-to-date certificate is requested in its electronic office or Import@ss, with a digital certificate, Cl@ve or SMS, and downloaded as a PDF. How to get it as an autónomo or company, its validity and what to do if it is negative.

By Albert SalguedaReviewed by Equipo Melso, Revisión editorialPublished 11 min read
An autónomo's desk with a PDF certificate on the laptop screen, a folder of documents and an approval stamp next to a cup of coffee.

In short

  • The certificate states whether you owe the Seguridad Social; if you do, the electronic office also issues a debt report with a reference, periods and amounts.
  • Individuals and legal entities can request it, in their own name or as a registered representative, and the office offers it immediately when it can generate it on the spot.
  • For grants it is valid for six months from the date of issue (Real Decreto 887/2006, article 23.3).
  • For those certificates, having your debt deferred counts as being up to date (article 19.2 of the same regulations).
  • Each certificate carries an Electronic Authenticity Code (Código Electrónico de Autenticidad, CEA) that can be verified in the electronic office.

Social Security up-to-date certificate in Spain, in summary

The certificate of being up to date with the Seguridad Social (the Spanish social security system) is a document from the Tesorería General (TGSS, the Social Security treasury) that states whether or not you owe the Seguridad Social anything. You request it in the electronic office or in Import@ss, with a digital certificate, Cl@ve or SMS, and download it as a PDF. It is used, for example, for grants and public sector contracts.

What the certificate of being up to date with Social Security is

It is the document with which the TGSS proves your payment position: whether you meet your contribution obligations or have debts outstanding. The official Import@ss page describes it like this: it lets you check whether you are up to date with your contributions and get an informational document.

The certificate says whether or not you have a debt. If you do, you can get a second document, the debt report, which lists a reference number, the periods and the amounts. Both can be saved as PDFs.

Positive and negative

  • Positive certificate: you are up to date. There is no debt outstanding.
  • Negative certificate: there is a debt. The document shows it, and the debt report tells you what to regularise.

The names "positive" and "negative" are the ones used in practice and in the grants regulations, which talk about certificates "with a positive or negative character" (article 23.2 of Real Decreto 887/2006).

Certificate, debt report and payment check: they are not the same

The certificate states whether or not you owe the Seguridad Social and is used for grants and contracts. The debt report only exists if there is a debt and lists the reference, periods and amounts.(opens the image in a new tab)
Up-to-date certificate and debt report

The certificate is what a procedure asks you for. The debt report is for you, to regularise. And the payments and debts check in Import@ss, which lets you see your debts and get the document to pay them, is a different service: we explain it in debts with the Social Security.

What it is for and when you are asked for it

The Seguridad Social says it is used to obtain grants, to take part in public sector contract awards and for certain subcontracting situations and auctions.

The most common cases are these:

  • Grants and public aid. It is a requirement for being a beneficiary: the General Grants Law regulations treat you as up to date when you have no debts for contributions or other public-law debts with the Seguridad Social (article 19.1 of Real Decreto 887/2006).
  • Public sector contracts. Calls and tender specifications usually ask for it. The validity period is set by each set of specifications.
  • Contribution benefits. Only those who are up to date on the date the benefit is granted can obtain reductions, rebates and other benefits (article 20.1 of the General Social Security Law). This is the case of the flat rate: we explain it in autónomo flat rate.

Important

The Seguridad Social certificate does not replace the Hacienda one. The AEAT proves tax obligations and the TGSS proves Seguridad Social ones. Many calls ask for both, so check which documents yours requires.

How to request the up-to-date certificate

You request it in the Seguridad Social electronic office or from Import@ss, in the service for up-to-date certificates and debt reports. It is the same procedure for autónomos and for companies; what changes is how you identify yourself.

Four steps to request the up-to-date certificate: log in to the electronic office or Import@ss, identify yourself with a certificate, Cl@ve or SMS, request the certificate or debt report, and download the PDF with its verification code.(opens the image in a new tab)
How to request the certificate, step by step
  1. Log in to the electronic office or to Import@ss and open the up-to-date certificates service.
  2. Choose how you log in: "in your own name" or as a "registered representative". If you are an entity, you identify yourself as an entity.
  3. Identify yourself with an electronic certificate, the electronic DNI, permanent Cl@ve, Cl@ve Móvil or SMS (Import@ss).
  4. Request the certificate. If there is a debt, you can also request the debt report.
  5. Download it as a PDF and keep the CEA (Electronic Authenticity Code).

If you have neither a digital certificate nor Cl@ve

Import@ss lets you request it without electronic identification: you have to enter your personal details, upload a selfie and attach a photo of your ID document. The page itself reminds you that the process is faster with electronic identification. If you want to avoid this step in the future, here is how to get a digital certificate.

How long it takes

The electronic office says you can get the certificate or the report immediately. If it cannot be generated at that moment, it is issued later, after a preset waiting period that the office does not specify. If you need it for an application with a closing date, request it a few days ahead.

What happens if you request it as a company

The service allows requesting it for individuals and legal entities. A company logs in as an entity, or with a registered representative or a legal representative. The consultation of issued certificates also shows the business owner their own requests and those made by their representative or under a RED authorisation. A representative sees only the certificates they requested themselves.

How Melso helps

Many calls ask for this certificate together with the Hacienda one, and for the Hacienda one to come out positive your returns have to be up to date. Melso prepares and files your Hacienda returns for your profile; you can see it in Melso for autónomos.

Certificate and grants: what the law says

The General Grants Law lists, among the requirements for being a beneficiary, being up to date with tax obligations and with the Seguridad Social, in the way set by the regulations. The regulations add three useful rules for anyone applying for aid:

  • The certificate is positive or negative. It is positive when all the requirements are met and negative otherwise, in which case it states which obligations are unmet (article 22.2).
  • The issue period cannot exceed 20 days. If the certificate is not issued within that period, or the period runs past the closing date of the call, you attach to the application proof that you requested it and provide it afterwards (article 22.2).
  • Sometimes you do not have to provide it. If the terms of the call provide for it, submitting the application authorises the granting body to obtain the certificate electronically; you can expressly refuse consent and then you provide it yourself (article 22.4).

And a fourth: if you are not obliged to file the returns or documents for those obligations, compliance is shown by a statutory declaration (article 22.1). Always read the terms of your call: they override these general rules.

What counts as "being up to date"

For the grants regulations, you are up to date when you have no debts for contributions or for jointly collected items, none arising from failing those obligations, and no other public-law debts with the Seguridad Social (article 19.1). That is why an unpaid autónomo contribution, however small, can produce a negative certificate.

Before you request it: check where you stand

If you suspect there may be a debt, look at your position first. In Import@ss, the payments and debts check lets you review your debts and get the payment document to settle them, and also consult the history of self-employment receipts issued by the Seguridad Social.

A five-minute review avoids surprises:

  1. Check that your contributions for recent months show as paid, especially if you changed bank or account.
  2. If you paid a contribution recently, wait for it to show as received before requesting the certificate.
  3. See whether there is a debt claim or an enforcement order in your electronic office. There is more detail in Social Security notifications.
  4. If you registered recently, check that your base and your contribution are what you expected. To work out what you owe, use the autónomo contribution calculator and the guide to autónomo contributions in 2026.

How long it is valid

Validity depends on what you request it for. For grants, certificates under the General Grants Law regulations are valid for six months counted from the date of issue (article 23.3 of Real Decreto 887/2006). The same article clarifies that the certificate is issued for the purposes stated in it and does not affect what may result from later checks.

For a public contract or another procedure, the validity is set by the specifications or the call. The official page of the service does not set a general validity period, so read the requirement of each procedure.

Checking that a certificate is genuine

Each certificate shows an Electronic Authenticity Code (CEA). With it, anyone can check the document in the document integrity verification service of the electronic office. Pass on the PDF as it is, with the code visible.

Example with numbers: a certificate's deadline

Lucía is an autónoma and wants to apply for aid with an application deadline of 15 May 2027. The call requires the up-to-date certificate with the Seguridad Social, valid for six months.

  • She requests the certificate on 10 November 2026. It comes out positive.
  • Validity: six months from 10 November 2026, that is, until 10 May 2027.
  • The aid deadline ends on 15 May 2027: the certificate would have expired five days earlier (from 10 to 15 May).

Lucía should request another certificate close to the application date. Since certificates are issued immediately when they can be generated, it would be enough to request it a few days earlier, for example on 5 May 2027. That certificate would be valid until 5 November 2027.

Lucía requests the certificate on 10 November 2026, valid until 10 May 2027. As the aid closes on 15 May 2027, she requests a new one on 5 May 2027.(opens the image in a new tab)
Illustrative example

What to do if the certificate is negative

A negative certificate means there is a debt. You do not have to pay it all to recover your position in every case: it depends on the procedure and the solution you choose. Follow this order:

  1. Request the debt report. It gives you the reference, the periods and the amounts.
  2. Check that the debt is yours. Look at your receipts and payments in Import@ss, and whether there is a debt claim in the electronic office.
  3. Choose between paying and deferring. Payment is made with the payment document or by card, and the deferral is requested from the TGSS. The steps, the surcharges and the consequences are in debts with the Social Security.
  4. Request the certificate again when the situation changes.

If you think the negative certificate is a mistake

It can happen: a payment not yet applied, a contribution collected late by the bank or a registration detail wrongly recorded. Keep the proof of payment and check the debt report to see the specific period. The law provides that, when a late payment is attributable to an error by the authorities, no surcharge applies and no interest accrues (article 28 of the General Social Security Law). If the error is the Seguridad Social's, claim it with your proof.

Deferring the debt and the certificate

For grant certificates, article 19.2 of the regulations treats you as up to date when the debts are deferred, regularised under an insolvency agreement or a single agreement, under a moratorium or suspended because they are being challenged (Real Decreto 887/2006). The deferral is granted by the TGSS at the debtor's request and suspends the collection procedure (article 23 of the General Social Security Law).

The request is made through the electronic office's electronic register, and the TGSS has three months to decide (electronic office). From 1 August 2026, Real Decreto 643/2026 allows the Dirección General of the TGSS to provide for automated granting of deferrals that do not require security. While it decides, the certificate may keep coming out negative for other procedures: allow for that margin. If your debt is with Hacienda and not with the Seguridad Social, the procedure is different and is in deferring a debt with Hacienda.

Differences for autónomos and for companies

AutónomoCompany or limited company
Who requests itThe person themselves, or their registered representativeThe entity, a registered representative or its legal representative
What it is forGrants, contracts, contribution benefitsGrants, contracts, contribution benefits
If there is a debtDebt report and deferralDebt report and deferral

Common mistakes

Confusing it with the Hacienda certificate

They are two documents from two bodies. The Seguridad Social one does not prove that you are up to date with the AEAT.

Leaving it to the last day

The certificate usually comes out on the spot, but if it cannot be generated, the electronic office issues it later. Request it with some margin, and remember it expires after six months in the case of grants.

Submitting an expired certificate

A certificate more than six months old is not valid for a grant. Check the issue date on the PDF before attaching it.

Assuming that having a debt always stops you requesting it

Having a debt does not stop you requesting the certificate: it comes out negative and you can get the debt report. For grants, a deferred debt counts as being up to date.

Ignoring the debt until you are asked for it

A debt accumulates surcharges over time. Review it before a procedure forces you to: in debts with the Social Security you have the percentages and the options.

How Melso helps

Melso is your online gestoría, with an AI agent and human professionals behind it, and day-to-day communication is through WhatsApp, Telegram, email and web. You request the certificate of being up to date with the Seguridad Social in a few minutes with your certificate, Cl@ve or SMS, as we explain above. Melso prepares your quarterly Hacienda returns for your profile for you to approve, and a professional files them; the plan costs €49 a month or €490 a year, with no lock-in. The next step is to look at the plan in pricing for autónomos.

This article is for information only and does not replace professional advice for your case. Last reviewed: 24 November 2026.

Sources

  1. Certificates of being up to date with the Seguridad Social and debt reports (Import@ss), Seguridad Social (accessed )
  2. Certificate of being up to date and debt report (electronic office), Seguridad Social (accessed )
  3. Consulting up-to-date certificates and debt reports (electronic office), Seguridad Social (accessed )
  4. Checking payments and debts (Import@ss), Seguridad Social (accessed )
  5. Real Decreto 887/2006, General Grants Law Regulations, articles 19, 22 and 23, BOE (accessed )
  6. General Social Security Law (consolidated text), articles 20 and 23, BOE (accessed )
  7. Ley 38/2003, General Grants Law, article 13 (requirements for beneficiaries), BOE (accessed )
  8. Real Decreto 643/2026, of 29 July, amending the General Social Security Collection Regulations, BOE (accessed )
  9. Deferral of payment of Seguridad Social debts (electronic office), Seguridad Social (accessed )
Back to top

Frequently asked questions. What people ask us most.

You request it in the Seguridad Social electronic office or in Import@ss, in the service for up-to-date certificates and debt reports. You identify yourself with an electronic certificate, the electronic DNI, permanent Cl@ve, Cl@ve Móvil or SMS. Without electronic identification, the Seguridad Social lets you request it with your details, a selfie and a photo of your ID document. The document is downloaded as a PDF.

Wordless illustration: a blank invoice and a stethoscope on a cream background.

Getting started

Tax for self-employed clinicians in Spain

VAT, withholding and form 130 for a self-employed psychologist or clinician in Spain: when care is exempt, what a clinic invoice and a patient invoice look like, and what changes if you add another activity.

16 min read

Less paperwork.
More time for you.

Start with Melso or tell us about your case on WhatsApp.

Chat on WhatsApp (opens in a new tab)
  • No lock-in
  • Real professionals
  • Mistakes covered