Two certificates, two liabilities
The certificado de estar al corriente (certificate of being up to date with tax or social security obligations) is really two documents. The law protects the public treasury and Social Security by making the principal company answer for the debts of its contractors. Each certificate neutralizes one of those liabilities, and only if it is the right certificate and is valid on the day that counts.
| Document | Issued by | Liability it avoids | Rule |
|---|---|---|---|
| Specific certificate of being up to date with tax obligations for contractors and subcontractors | Agencia Tributaria (AEAT, the Spanish tax agency) | Secondary liability for the VAT charged and the withholdings of the subcontractor | Art. 43.1.f Ley 58/2003 General Tributaria (General Tax Law) |
| Negative certification of arrears (being up to date with Social Security) | Tesorería General de la Seguridad Social (TGSS, the Social Security treasury) | Joint and several liability for the subcontractor's contributions during the contract | Art. 42 Estatuto de los Trabajadores (Workers' Statute) |
| None | — | Joint and several liability for the wages of the subcontractor's staff, for one year | Art. 42.2 Estatuto de los Trabajadores |
The tax agency's certificate for contractors and subcontractors
Article 43.1.f of the General Tax Law makes secondarily liable anyone who contracts or subcontracts works or services belonging to its main business activity, for the taxes the contractor had to pass on (VAT) and the amounts it had to withhold from workers, professionals or other businesses, in the part that corresponds to the work or service contracted.
That liability is not enforced if the contractor gave the payer a specific certificate of being up to date, issued by the Agencia Tributaria during the 12 months before the payment of each invoice. Not just any certificate of being up to date will do: it must be the one issued for the purposes of article 43.1.f, which the subcontractor requests on the electronic office of the Agencia Tributaria with its electronic certificate or Cl@ve. The Agency issues or denies it within three days.
| Payment date | Covered by the certificate? | What to do |
|---|---|---|
| 10 February 2026 | Yes | Pay and file the certificate with the proof of payment |
| 10 January 2027 | Yes, issued less than 12 months earlier | Request the next certificate now |
| 10 February 2027 | No, issued more than 12 months earlier | Do not pay without a new certificate |
The certificate can come out positive or be denied because of outstanding debts, unfiled returns or both. A denied certificate is an alert, not a formality: before paying, ask the subcontractor to regularize its situation.
The Social Security certification
Under article 42 of the Workers' Statute, companies that contract or subcontract works or services belonging to their own activity must check that the contractor is up to date with the payment of contributions. To do so, they request in writing, identifying the company, a negative certification of arrears from the Tesorería General de la Seguridad Social, which must issue it within a non-extendable period of 30 days. If that period passes without an answer, the company that requested it is released from liability.
Without that check, the principal company is jointly and severally liable, for the three years following the end of the assignment, for the Social Security contributions that the contractor and its subcontractors failed to pay during the contract. It is also jointly and severally liable for wages during the following year, and no certificate releases it from that wage liability.
The certification describes the situation on the day it is issued. Since the liability covers the whole duration of the contract, many companies request it at the start and then every month or with each invoice. Anyone who commissions the construction or repair of their own home falls outside this rule.
How to check the certificates
A PDF received by email may be expired, belong to another company of the group or, in the worst case, have been tampered with. The check takes a few minutes.
- Check that the NIF (tax identification number) and company name on the certificate are those of the company that signs the contract.
- Check the type: for the tax agency, the contractors and subcontractors certificate of article 43.1.f, not the generic one for grants or public procurement.
- Check the date: the tax certificate must have been issued in the 12 months before the payment you are about to make.
- Compare the document with its Código Seguro de Verificación (CSV, secure verification code) on the electronic office of the body that issued it: the text the office returns must match the PDF received.
- Read the result: a positive certificate, not one denied for debts or pending returns.
- File the certificate with the date of the check and the invoice it covers: it is your proof against a transfer of liability.
Construction, foreign companies and CAE
In the construction sector, Law 32/2006 regulating subcontracting adds its own rules: the companies working on the site must be registered in the Registro de Empresas Acreditadas (REA, register of accredited companies), the subcontracting chain has limits and each site keeps its Libro de Subcontratación (subcontracting book).
A company established in another country of the European Union that posts workers to Spain notifies the posting to the labor authority before starting (Law 45/1999), and each posted worker has an A1 form, which proves which Social Security system they contribute to. Request both documents in addition to its certificates.
The coordination of business activities (CAE, Royal Decree 171/2004) is a different matter: it concerns occupational risk prevention when several companies work at the same workplace and calls for its own documents, such as the risk assessment or the workers' training.
What Vigilo does for you
Vigilo requests the tax and Social Security certificates from your subcontractors, chases until they arrive and requests them again before they expire, so that no payment goes out without cover.
- The subcontractor sends its certificates from a phone, without creating an account.
- Every certificate has its expiry date; the new request goes out before it, not after.
- Each subcontractor's evidence file can be downloaded as a PDF, with all requests, reminders and checks.
- With the assisted plan, a Vigilo advisor calls the subcontractors who have not sent anything.
Frequently asked questions
How long is the tax certificate of being up to date valid?
For the liability of article 43.1.f, what counts is that it was issued in the 12 months before each payment. In general, tax certificates on periodic obligations are valid for 12 months from issue (Royal Decree 1065/2007, art. 75).
Is the generic certificate of being up to date enough?
Not to avoid the liability of article 43.1.f: the law requires the specific certificate for contractors and subcontractors, issued for this purpose by the Agencia Tributaria.
How often should I request the Social Security certificate?
The law sets no frequency. The certificate reflects the day it is issued and the liability covers the whole contract, which is why many companies request it at the start and then every month or with each invoice.
What happens if the Tesorería does not answer?
If the Tesorería General de la Seguridad Social does not issue the certification within 30 non-extendable days of the written request, the company that requested it is released from liability for contributions.
Do the certificates protect me from unpaid wages?
No. The joint and several liability for the wages of the contractor's staff, during the year following the end of the assignment, remains even if the contractor is up to date with the tax agency and Social Security.
Sources
- Ley 58/2003 General Tributaria, article 43.1.f
- Real Decreto 1065/2007, articles 74 and 75 (tax certificates)
- Estatuto de los Trabajadores, article 42 (subcontracting of works and services)
- Agencia Tributaria, contractors and subcontractors certificate: what it certifies
- Agencia Tributaria, frequently asked questions on the contractors certificate
Sources checked on .
This guide informs; it does not replace legal advice on your own situation.