# Contractor and subcontractor certificate guide \| Mela

Source: https://www.mela.work/en/blog/contractor-subcontractor-tax-certificate-spain

Language: en

Learn how Spain’s contractor and subcontractor certificate works, why it matters, how to obtain it and how it can help manage tax risks.

## Everything you need to know about the Spanish Tax Agency’s Contractor and Subcontractor Certificate

The Contractor and Subcontractor Certificate is a key document in the construction and services sector, essential for ensuring tax compliance and avoiding legal liabilities. Issued by the Spanish Tax Agency, it acts as a safeguard that protects both contractors and contracting companies. Below, we explain its importance, how to obtain it and its impact on professional projects.

Everything you need to know about the Spanish Tax Agency’s Contractor and Subcontractor Certificate

To enter into a contract, the company must require the Contractor and Subcontractor Certificate



### What is the Contractor and Subcontractor Certificate?



This certificate is an official document confirming that a contractor or subcontractor is up to date with their tax obligations. Under Ley General Tributaria (the General Taxation Law) (Article 42), the company or professional engaging services may be subsidiarily liable for the contractor’s tax debts if they fail to make their payments.



In practical terms, the certificate acts as a financial guarantee: it shows that the professional has no outstanding debts with the Spanish Tax Agency relating to personal income tax withholdings, VAT or other taxes arising from their main activity.



### Importance in the construction sector



In the construction industry, where subcontracting is common practice, this certificate is particularly important. It helps to:



1. **Prevent tax fraud**: It stops companies with tax debts from operating in the market.
2. **Curb unfair competition**: It ensures that all companies compete on equal tax terms.
3. **Protect workers**: Indirectly, it confirms that companies are meeting their obligations, which may have a positive impact on working conditions.



### Why is it compulsory to request it?



The requirement for this certificate exists in order to:



- **Avoid subsidiary liability**: If the contractor fails to pay their taxes, the contracting company may be required to assume those debts.


- **Ensure transparency**: It is a common requirement in public tenders and private contracts, particularly in construction.


- **Comply with regulations**: Ley 58/2003 (the applicable Spanish law) establishes that engaging services linked to the main activity requires this certificate.



### Who must request it and how?



- **Contractors and subcontractors**: They are the only parties authorised to apply for it through the Spanish Tax Agency, as the certificate contains confidential information about their tax position.


- **Contracting companies**: They cannot request it directly, but they can require it as part of the contractual documentation.



### Detailed steps for obtaining the certificate:



### 1. Preparation:



- Make sure you have a valid digital certificate or Cl@ve PIN.


- Check that you have no outstanding debts with the Spanish Tax Agency.



### 2. Accessing the online office:



- Visit the official Spanish Tax Agency website ([www.agenciatributaria.es](http://www.agenciatributaria.es/)).


- Go to the “Online Office” section.



### 3. Finding the procedure:



- Look in the “Certificates” section.


- Select “Contractor and Subcontractor Certificate”.



### 4. Applying for the certificate:



- Identify yourself using your digital certificate or Cl@ve PIN.


- Complete the form with your tax details.


- Enter the contracting company’s tax identification number (if you know it).



### 5. Processing and downloading:



- The Spanish Tax Agency will process your application in real time.


- If everything is correct, you will be able to download the certificate immediately.


- A secure verification code will be generated to confirm its authenticity.



### 6. Final verification:



- Check the certificate to make sure that all the details are correct.


- Save a digital copy and, if necessary, print the document.



### Validity and types of certificate



- **Validity**: 12 months from the date of issue.


- **Positive certificate**: Indicates that there have been no tax debts in the last 12 months.


- **Negative certificate**: Issued if there are debts, overdue returns or tax penalties.



1. **Details of the positive certificate:**



A positive certificate confirms that the contractor:



- Has submitted all their tax returns.


- Has no outstanding debts with the Spanish Tax Agency.


- Has no open penalty proceedings.



1. **Implications of a negative certificate:**



If a negative certificate is issued:



- The contractor must urgently regularise their tax position.


- They may lose business opportunities or be excluded from tenders.


- The contracting company must carefully assess whether to proceed with the engagement.



### Consequences of not presenting the certificate



### 1. For contractors:



- Loss of work opportunities and exclusion from tenders.


- Possible damage to their professional reputation.


- Difficulties accessing finance or grants.



### 2. For contracting companies:



- Risk of assuming the contractor’s tax debts.


- Possible fines for non-compliance with regulations.


- Reputational damage and loss of trust among investors or customers.

A construction helmet rests on building plans

### 5 tips for managing the certificate effectively



### 1. Renewing in advance:



- Schedule reminders 1-2 months before expiry.


- Consider automating the application process if you manage multiple certificates.



### 2. Real-time verification:



- Use the Spanish Tax Agency’s secure code to confirm authenticity.


- Implement a dual-verification system in your company.



### 3. Digital storage:



- Store copies in the cloud with restricted access.


- Establish a clear naming system to make them easier to find.



### 4. Internal training:



- Organise training sessions on legal requirements.


- Create an internal procedures manual for managing certificates.



### 5. Professional advice:



- Maintain an ongoing relationship with tax experts.


- Consider engaging tax-monitoring services for large projects.



### Practical cases in the construction sector



In construction projects, it is common for a main company to engage multiple subcontractors, such as plumbers and electricians. If one of them has debts with the Spanish Tax Agency, the main company could be liable for up to **100% of the unpaid taxes**.



### Example 1: Construction of an office building



#### **Scenario without a certificate**:



A construction company engages an electrical installation company for a project worth 500.000€. The subcontractor has not paid 50.000€ in VAT. The Spanish Tax Agency could claim those 50.000€ from the main construction company.



#### **Scenario with a certificate**:



The construction company requires and checks the subcontractor’s certificate before signing the contract. As it is positive, the company is exempt from liability if the subcontractor’s tax debts are subsequently discovered.



### Example 2: Refurbishment of a shopping centre



#### **Complex situation**:



A shopping centre engages a company for its refurbishment. That company subcontracts painting, joinery and climate-control services.



#### **Correct management**:



The shopping centre requires the certificate from the main contractor, which in turn requests it from all its subcontractors. A digital record of all certificates is created and updated quarterly throughout the project (18 months).



#### ****Result**:**



Although one of the subcontractors enters insolvency proceedings during the project, neither the shopping centre nor the main contractor is liable for its tax debts, thanks to the diligent management of the certificates.



### Conclusion



The Contractor and Subcontractor Certificate is not merely a bureaucratic formality, but an essential tool for operating with legal certainty in the construction sector. Proper management protects both parties from tax risks and facilitates access to competitive projects.



In an increasingly regulated business environment, this certificate becomes a differentiating factor that demonstrates professionalism and regulatory compliance. Companies that integrate it effectively into their processes will not only avoid legal problems, but also improve their reputation and business opportunities.



Prioritise timely renewal, always verify its authenticity and consider implementing digital systems for managing it. In the dynamic world of construction, keeping up to date with tax obligations is not only a legal requirement, but also a competitive advantage.



To keep your Contractor and Subcontractor Certificate in order at all times, [Mela](/en) offers a tool that is both comprehensive and easy to use for this and many other tasks relating to construction management.
