contracts
Master Services Agreement in Spain: Template, Key Clauses and Local Law (2026)
A master services agreement (MSA) in Spain is an umbrella contract between a supplier and a customer that sets the common terms once, so that each later piece of work can be ordered through a short statement of work (SOW) instead of a new full contract. It is the standard way Spanish companies buy and sell ongoing professional, technology and outsourcing services. This guide explains what a Spanish MSA should contain, which laws apply, and the local points that trip up foreign and domestic parties. It is general information, not legal advice. For a specific deal, confirm the position with a Spanish-qualified lawyer. ## What is a master services agreement and when do you need one in Spain? An MSA separates the terms that rarely change (liability, confidentiality, payment, intellectual property, data protection) from the terms that change with each project (scope, price, timeline). You sign the MSA once. After that, each new project is captured in a SOW or order form that refers back to the MSA. You need one in Spain when: - You expect more than one project or a continuing relationship with the same counterparty.
- You want consistent risk allocation across many small orders.
- You sell or buy services such as IT, consulting, marketing, logistics, facilities or professional work. For a single one-off job, a simple service contract is usually enough. The MSA earns its place when there will be repeat work. ## Which laws govern a master services agreement in Spain? There is no single statute called the "MSA law" in Spain. A Spanish MSA is built on general contract and commercial law: - Freedom of contract. Article 1255 of the Civil Code (Código Civil) lets the parties agree whatever terms they wish, as long as they do not break the law, public order or good morals. A contract is valid when there is consent, a defined object and a lawful cause (Article 1261).
- Civil Code service rules. Services sit between two classic categories: the "arrendamiento de servicios" (an obligation to use best efforts) and the "contrato de obra" (an obligation to deliver a defined result). Which one a project resembles affects how strictly performance is judged.
- Commercial Code (Código de Comercio) for dealings between businesses.
- Standard terms. If one side imposes its own non-negotiated terms, Law 7/1998 on general contracting conditions (Ley 7/1998 sobre Condiciones Generales de la Contratación) applies.
- Late payment. Law 3/2004 (Ley 3/2004) on combating late payment in commercial transactions sets default payment periods and statutory interest for business-to-business deals.
- Data protection. If the services involve personal data, the EU General Data Protection Regulation (GDPR) and Spain's Organic Law 3/2018 (LOPDGDD) require a separate data processing agreement. ## Key clauses in a Spanish MSA | Clause | Why it matters in Spain | | --- | --- | | Structure and order of precedence | State that each SOW incorporates the MSA, and say which document wins if they conflict. | | Scope of services | Keep the MSA general; put specifics in the SOW. | | Fees, invoicing and taxes | Set currency, VAT (IVA at 21% standard), and invoice timing. | | Payment terms and late payment | Align with Law 3/2004: the default ceiling for B2B payment is 60 calendar days, with statutory interest for delay. | | Intellectual property | Say clearly who owns deliverables and who keeps background IP and tools. | | Confidentiality | Protect commercial and technical information both ways. | | Data protection | Require a GDPR and LOPDGDD compliant DPA where personal data is processed. | | Liability and caps | Caps are common, but note the limits below. | | Term and termination | Include notice periods, termination for breach and for convenience. | | Indemnities | Allocate third-party claims, especially IP and data claims. | | Force majeure | Article 1105 of the Civil Code already excuses the unforeseeable and unavoidable; a clause makes the trigger and process clear. | | Governing law and forum | Choose Spanish law and either the Spanish courts or arbitration under Law 60/2003. | ### Liability caps have limits under Spanish law Spanish courts generally uphold reasonable liability caps between businesses. But you cannot exclude liability for fraud or wilful misconduct (dolo): Article 1102 of the Civil Code makes any waiver of liability for fraud void. Total exclusions of all liability are also viewed with suspicion. Keep caps proportionate and carve out the items that should never be capped, such as confidentiality breaches, IP infringement and data protection fines. ## Spain-specific points to get right - Worker misclassification (falso autónomo). If a services contract in practice looks like employment, with fixed hours, exclusivity and the customer directing the work, Spanish labour and social security authorities can reclassify it as an employment relationship. Keep the supplier genuinely independent and able to use its own staff and methods.
- Late payment discipline. Law 3/2004 limits how long B2B payment terms can be and gives the creditor an automatic right to interest and a fixed recovery amount for collection costs. Do not write 90-day or 120-day terms without understanding the limits.
- Language. A contract is valid in any language, but if a dispute reaches a Spanish court, documents may need a sworn translation (traducción jurada) into Spanish. Many parties sign a bilingual Spanish and English version and state which prevails.
- VAT. Spanish IVA usually applies to services supplied in Spain. Say whether prices are inclusive or exclusive of VAT. ## A simple MSA template outline for Spain 1. Parties and definitions
- Structure: MSA, SOWs and order of precedence
- Services and performance standards
- Fees, invoicing, VAT and late payment (Law 3/2004)
- Term, renewal and termination
- Intellectual property and licences
- Confidentiality
- Data protection (GDPR and LOPDGDD, with a DPA annex)
- Warranties
- Liability and caps (carve-outs for fraud, IP, data, confidentiality)
- Indemnities
- Force majeure
- Subcontracting and assignment
- Governing law (Spain) and dispute resolution (courts or arbitration)
- Annexes: SOW template, DPA, service levels ## Common mistakes to avoid - Burying project scope in the MSA instead of the SOW, so every change needs a contract amendment.
- Copying a US or UK MSA without adjusting liability, late payment and data clauses for Spanish law.
- Forgetting the DPA when the supplier will touch personal data.
- Writing a blanket exclusion of liability that a Spanish court may refuse to enforce.
- Ignoring the misclassification risk when the services look like a disguised job. ## Draft, review and track your Spanish MSAs in one place Once the MSA is signed, the real work is keeping every SOW, renewal date and obligation straight, and making sure each new order matches the master terms. That work usually lives across email, shared drives and spreadsheets. An AI contract workspace brings it into one place: you draft from your own approved MSA and SOW templates, see per-clause risk flagged against how your company likes to contract, edit clauses in plain language, and track renewals and obligations on a live timeline. Adira is built for this, India-first today with other jurisdictions including Spain on the roadmap, so treat Spanish-law specifics as something to confirm with local counsel rather than assume. The point is simple: the drafting, review and tracking you would otherwise juggle by hand can sit in one workspace tuned to your business. This article is general information and not legal advice.
Frequently asked questions
- Is a master services agreement legally binding in Spain?
- Yes. Under Article 1255 of the Civil Code, parties are free to agree their own terms, and a contract is binding once there is consent, a defined object and a lawful cause. No notarisation is needed for an ordinary business MSA, though a written, signed agreement is strongly advised.
- Does a Spanish MSA need to be in Spanish?
- No. A contract is valid in any language. But if a dispute reaches a Spanish court, documents may need a sworn translation into Spanish. Many parties sign a bilingual version and state which language prevails.
- What payment terms are allowed in a Spanish MSA?
- Law 3/2004 on late payment in commercial transactions sets a default ceiling, generally 60 calendar days for business-to-business deals, and gives the creditor automatic interest and a fixed sum for recovery costs if payment is late.
- Can we exclude all liability in a Spanish MSA?
- No. Article 1102 of the Civil Code makes any waiver of liability for fraud or wilful misconduct void, and Spanish courts look critically at total exclusions. Use proportionate caps and carve out items like IP infringement, confidentiality breaches and data protection fines.
Sources
See how Adira drafts in your voice and reads contracts from your side.
Explore the showroomWorking through a contract like this? Weave is Adira’s free tool to read, mark up, and connect any contract in your browser — no account needed.
Try Weave — free