Skip to main content

E-Commerce Sale Contract Spain (Contrato de Venta Online)

E-Commerce Sale Contract Spain (Contrato de Venta Online)

CONTRATO DE VENTA ONLINE (E-COMMERCE)

Contrato de Compraventa a Distancia — E-Commerce Sale Contract

Regulado por la Ley 34/2002 (LSSI-CE) y el Real Decreto Legislativo 1/2007 (LGDCU) | Governed by Ley 34/2002 (LSSI-CE) and RDL 1/2007 (LGDCU)

1. PARTES / PARTIES

VENDEDOR / MERCHANT:

Nombre / Legal Name: [Merchant Name]

NIF/CIF: [Merchant NIF]

Domicilio Social / Registered Address: [Merchant Address]

Sitio Web / Website: [Merchant Website]

Email Atención al Cliente / Customer Service Email: [Merchant Email]

Teléfono / Customer Service Telephone: [Merchant Phone]

COMPRADOR / BUYER:

Nombre / Name: [Buyer Name]

NIF / NIE: [Buyer NIF]

Email: [Buyer Email]

Dirección de Entrega / Shipping Address: [Buyer Shipping Address]

Tipo de Comprador / Buyer Type: [Buyer Type]

2. DATOS DEL PEDIDO / ORDER DETAILS

Número de Pedido / Order Number: [Order Number]

Fecha del Pedido / Order Date: [Order Date]

Tipo de Producto / Product Type: [Product Type]

Descripción del Objeto del Contrato / Description of Goods / Services:

[Product Description]

3. PRECIO Y PAGO / PRICE AND PAYMENT

Precio sin IVA / Price Excluding IVA: [Price Excluding VAT]

Tipo de IVA / IVA Rate: [VAT Rate] — conforme a la Ley 37/1992 del Impuesto sobre el Valor Añadido / pursuant to Ley 37/1992 del IVA.

Gastos de Envío / Delivery Cost: [Delivery Cost]

Precio Total con IVA / Total Price Including IVA: [Total Price]

Método de Pago / Payment Method: [Payment Method]

El procesamiento del pago cumple con el Real Decreto-Ley 19/2018 de servicios de pago (PSD2) y los requisitos de autenticación reforzada de cliente (SCA) del Reglamento Delegado (UE) 2018/389. / Payment processing complies with RDL 19/2018 (PSD2) and SCA requirements under EU Delegated Regulation 2018/389.

4. ENTREGA / DELIVERY

Modalidad de Entrega / Delivery Method: [Delivery Method]

Plazo de Entrega / Estimated Delivery Period: [Delivery Period]

Transportista / Carrier: [Carrier]

Si no se ha pactado plazo de entrega, la entrega se efectuará en el plazo máximo de 30 días naturales desde la fecha del pedido, conforme al artículo 109 del Real Decreto Legislativo 1/2007 (LGDCU). El riesgo se transmite al comprador con la entrega en la dirección o transportista acordados. / If no delivery period has been agreed, delivery shall be made within 30 calendar days from the order date pursuant to Article 109 LGDCU. Risk passes to the buyer on delivery.

5. DERECHO DE DESISTIMIENTO / RIGHT OF WITHDRAWAL

Derecho de Desistimiento / Right of Withdrawal: [Withdrawal Applies]

Cuando sea aplicable, el comprador tiene derecho a desistir del contrato en el plazo de 14 días naturales desde la recepción del bien, sin necesidad de justificación y sin penalización, conforme a los artículos 102 a 108 del LGDCU. / Where applicable, the buyer has the right to withdraw within 14 calendar days from receipt of goods, without giving any reason and without penalty, pursuant to Articles 102–108 LGDCU.

Para ejercer el derecho de desistimiento, el comprador debe notificarlo al vendedor en [Merchant Email] utilizando el formulario de desistimiento disponible en [Merchant Website] o mediante cualquier declaración inequívoca de voluntad de desistir. / To exercise the right of withdrawal, the buyer must notify the merchant at [Merchant Email] using the withdrawal form at [Merchant Website] or any unambiguous statement.

El vendedor reembolsará todos los pagos recibidos, incluidos los gastos de envío (salvo los costes adicionales por la elección de una modalidad de envío distinta a la menos costosa), en el plazo de 14 días naturales desde la recepción del desistimiento, utilizando el mismo medio de pago empleado en la transacción original. / The merchant shall reimburse all payments including delivery costs within 14 calendar days of receiving the withdrawal notice, using the same payment method.

Gastos de Devolución / Return Shipping Costs: [Return Shipping Cost]

6. GARANTÍA LEGAL / WARRANTY

Para las ventas de bienes físicos a consumidores, se aplica la garantía legal de 3 años desde la entrega conforme al artículo 120 del LGDCU modificado por el Real Decreto-Ley 7/2021. Durante los primeros 12 meses, se presume que los bienes defectuosos ya lo eran en el momento de la entrega. Los remedios del consumidor son, por orden: reparación o sustitución gratuita; seguida de reducción del precio o resolución del contrato si la reparación o sustitución es imposible, desproporcionada o infructuosa. / For consumer sales of physical goods, a 3-year legal guarantee from delivery applies under Article 120 LGDCU as amended by RDL 7/2021.

7. PROTECCIÓN DE DATOS / DATA PROTECTION

El vendedor trata los datos personales del comprador para la ejecución del presente contrato de compraventa (artículo 6.1(b) del Reglamento (UE) 2016/679 — RGPD). Los datos se comparten con los proveedores logísticos y procesadores de pago como encargados del tratamiento conforme al artículo 28 RGPD. Las comunicaciones comerciales se envían únicamente con el consentimiento previo y expreso del comprador. El comprador puede ejercer sus derechos de acceso, rectificación, supresión, limitación y oposición a través del contacto de protección de datos del vendedor, y puede presentar reclamación ante la Agencia Española de Protección de Datos (AEPD) en aepd.es, conforme a la Ley Orgánica 3/2018 (LOPDGDD). / The merchant processes the buyer's personal data for contract performance (Article 6.1(b) RGPD). The buyer may exercise rights through the AEPD at aepd.es.

8. LEY APLICABLE Y RESOLUCIÓN DE CONFLICTOS / DISPUTE RESOLUTION AND GOVERNING LAW

El presente contrato se rige por el derecho español, principalmente la Ley 34/2002 (LSSI-CE), el Real Decreto Legislativo 1/2007 (LGDCU), la Ley 37/1992 del IVA y el Código Civil. Para los litigios de consumo, el comprador puede acceder a la plataforma europea de Resolución de Litigios en Línea (ODR) en ec.europa.eu/odr y a las Juntas Arbitrales de Consumo de la AECOSAN. Los litigios judiciales se someten a los tribunales del domicilio del comprador para contratos de consumo (artículo 52.3 LEC). / This contract is governed by Spanish law. Consumer disputes may be submitted to the EU ODR platform at ec.europa.eu/odr and the Juntas Arbitrales de Consumo.

FIRMAS / SIGNATURES

Suscrito en [Contract City], a fecha [Contract Date]. / Concluded in [Contract City], on [Contract Date].

VENDEDOR / MERCHANT:

[Merchant Name]

Firma / Signature: _________________________ Fecha / Date: _________________________

COMPRADOR / BUYER:

[Buyer Name]

Firma / Signature: _________________________ Fecha / Date: _________________________

Vendedor / Merchant

________________

Signature

Comprador / Buyer

________________

Signature

Maintained by Vladislav Sergienko, Founder·Template last modified: ·Report an error

What Is a E-Commerce Sale Contract Spain (Contrato de Venta Online)?

An E-Commerce Sale Contract Spain (Contrato de Venta Online) is a legally binding written agreement between an online merchant (vendedor) operating an electronic commerce platform and a buyer (comprador) in Spain, establishing the terms and conditions under which goods or digital services are sold and delivered through electronic means, governed principally by Ley 34/2002, de 11 de julio, de Servicios de la Sociedad de la Información y de Comercio Electrónico (LSSI-CE) Article 23, which provides that contracts concluded electronically have full legal validity and enforceability equivalent to contracts concluded in writing on paper.

The legal framework for e-commerce transactions in Spain is multi-layered. The LSSI-CE Article 23 establishes the principle of equivalence — electronic contracts concluded through the acceptance of general conditions displayed on a website or app produce the same legal effects as written contracts. Article 27 LSSI-CE imposes pre-contractual information obligations on the service provider, requiring the online merchant to display clear information about the contracting steps, technical means for identifying and correcting errors, languages in which the contract may be concluded, and the filing and accessibility of the concluded contract.

Consumer protection in e-commerce is governed by Real Decreto Legislativo 1/2007, de 16 de noviembre, por el que se aprueba el texto refundido de la Ley General para la Defensa de los Consumidores y Usuarios (LGDCU). When the buyer qualifies as a consumer (consumidor) — a natural person acting outside their trade, business, or profession — the contract is subject to mandatory protections under LGDCU Title III on distance contracts (contratos a distancia). Article 97 LGDCU requires the seller to provide 14 items of pre-contractual information before the consumer is bound, including total price with all taxes and fees, delivery costs, identity and address of the trader, and a description of the right of withdrawal (derecho de desistimiento).

The derecho de desistimiento under Articles 102 through 108 LGDCU entitles the consumer to withdraw from any distance contract within 14 calendar days from receipt of goods, without stating any reason and without penalty. The withdrawal period extends to 12 months if the seller fails to provide the mandatory withdrawal information at the time of contracting. The seller must refund all payments, including delivery costs, within 14 calendar days of receiving the withdrawal notice, using the same payment method unless the consumer expressly agrees otherwise.

Payment processing in e-commerce is regulated by Real Decreto-Ley 19/2018 de servicios de pago, which transposed EU Payment Services Directive 2 (PSD2) into Spanish law. The directive requires strong customer authentication (autenticación reforzada de cliente — ARC) for electronic payments under Reglamento Delegado (UE) 2018/389. The online merchant's payment gateway must comply with PCI DSS (Payment Card Industry Data Security Standard) requirements if card payment data is processed.

Data protection obligations for e-commerce operators in Spain are governed by Reglamento (UE) 2016/679 (RGPD) and Ley Orgánica 3/2018 de Protección de Datos Personales y garantía de los derechos digitales (LOPDGDD). The collection of customer data during the purchase process — name, address, email, payment data — constitutes personal data processing and requires a lawful basis under Article 6 RGPD. Processing for contract performance (Article 6.1(b) RGPD) covers data necessary to fulfil the purchase. Marketing communications require separate explicit consent under Article 7 RGPD and Article 21 of the LSSI-CE, which prohibits unsolicited commercial communications sent by electronic means (spam) without prior consent.

VAT (IVA — Impuesto sobre el Valor Añadido) obligations for e-commerce sellers in Spain are governed by Ley 37/1992 del IVA. For sales to consumers in other EU member states, the OSS (One Stop Shop) system introduced by Royal Decree 424/2021 applies when annual cross-border B2C sales exceed €10,000. Spanish e-commerce operators selling within Spain apply the standard IVA rate of 21%, reduced rates of 10% or 4% for eligible product categories, and report through quarterly Modelo 303 declarations to the Agencia Estatal de Administración Tributaria (AEAT).

Dispute resolution for e-commerce consumer disputes in Spain is available through the ODR (Online Dispute Resolution) platform established under Reglamento (UE) 524/2013, accessible at ec.europa.eu/odr, which the LSSI-CE requires e-commerce websites to link to in their terms and conditions. The Juntas Arbitrales de Consumo administered by the Agencia Española de Consumo, Seguridad Alimentaria y Nutrición (AECOSAN) provide free alternative dispute resolution for consumer e-commerce disputes.

When Do You Need a E-Commerce Sale Contract Spain (Contrato de Venta Online)?

An E-Commerce Sale Contract Spain is required whenever a Spanish online merchant sells goods, services, or digital content to buyers through a website, mobile application, or other electronic platform, and wishes to establish clear contractual terms that comply with the LSSI-CE Ley 34/2002 and the LGDCU consumer protection framework.

A Contrato de Venta Online is needed when a Spanish business (sociedad limitada, autónomo, or other entity) launches or operates an online shop (tienda online) selling physical goods — clothing, electronics, food, cosmetics — to consumers in Spain or other EU member states, as the LGDCU Articles 92 through 112 impose mandatory information and withdrawal rights that must be reflected in the contract terms displayed on the website.

An E-Commerce Sale Contract is required when an online merchant sells digital content — software downloads, e-books, music files, streaming subscriptions — or digital services to consumers in Spain, since digital content contracts under Article 103(m) LGDCU exclude the right of withdrawal once the digital content has been downloaded or the digital service commenced with the consumer's prior express consent and acknowledgment that the withdrawal right is lost.

A Contrato de Venta Online is needed for B2B (business-to-business) e-commerce transactions where neither party is a consumer under LGDCU, and the parties wish to establish payment terms, delivery terms, title transfer, and liability provisions under the general contract law principles of the Código Civil Español (Articles 1445 through 1537 on the contract of sale — compraventa) and the Código de Comercio Articles 325 through 345 on commercial sale.

An E-Commerce Sale Contract is required when a marketplace operator or dropshipping business in Spain sells goods that are shipped directly by third-party suppliers — the contract must clarify which entity is the seller of record and responsible for consumer protection compliance, particularly regarding the derecho de desistimiento and product warranties under Article 115 LGDCU.

A Contrato de Venta Online is needed when implementing a subscription e-commerce model (suscripción) in Spain — whether for product boxes, digital services, or content platforms — as Article 98.5 LGDCU requires that consumers be informed of the minimum subscription duration, automatic renewal conditions, and termination procedure before being bound by the subscription agreement.

The contract is also required when a Spanish e-commerce operator selling cross-border within the EU wishes to confirm compliance with the Digital Services Act (Reglamento (UE) 2022/2065 — DSA) applicable since February 2024, which imposes transparency and notice-and-action obligations on online platforms, and the Digital Markets Act (Reglamento (UE) 2022/1925 — DMA) applicable to designated gatekeepers.

What to Include in Your E-Commerce Sale Contract Spain (Contrato de Venta Online)

A valid E-Commerce Sale Contract Spain under the LSSI-CE Ley 34/2002 and LGDCU must contain the following essential elements to be enforceable and compliant with Spanish and EU consumer protection law.

Identification of Parties: Full legal name, NIF/CIF (Número de Identificación Fiscal), registered address, and contact details of the merchant (vendedor). For consumer transactions, the merchant must also display a customer service telephone number or email address, as required by Article 97.1(b) LGDCU. The buyer's name, email address, shipping address, and tax identification number (NIF/NIE) for invoicing purposes must be captured at checkout.

Description of Goods or Services: A precise description (descripción del objeto del contrato) of the goods, digital content, or services sold — including product specifications, model, version, quantity, and any applicable standards (normas técnicas) or certifications under Ley 21/1992 de Industria or sector-specific regulations. For digital content, the functional characteristics, technical protection measures, and interoperability with hardware and software must be disclosed under Article 97.1(q) LGDCU.

Price and Taxes: The total price (precio total) including IVA at the applicable rate under Ley 37/1992 del IVA — 21% standard, 10% reduced, 4% super-reduced — and all delivery costs, administrative fees, and any other charges. Article 97.1(e) LGDCU requires that the total cost be stated clearly before the consumer confirms the order. Where the price cannot be calculated in advance (custom orders), the calculation method must be explained.

Payment Terms and Methods: The accepted payment methods (métodos de pago) — credit/debit card, PayPal, Bizum, bank transfer (transferencia bancaria), or deferred payment — and payment processing security measures compliant with PCI DSS and PSD2 strong authentication requirements under Real Decreto-Ley 19/2018. B2B contracts must specify credit terms, invoice due dates (typically 30 days from invoice under Ley 3/2004 de medidas de lucha contra la morosidad), and default interest (interés de demora) at the ECB reference rate plus 8 percentage points.

Delivery Terms: The delivery period (plazo de entrega) — Article 109 LGDCU provides that if no period is agreed, delivery must be made within 30 calendar days of the order — the carrier (transportista), delivery method (entrega domiciliaria, punto de recogida), transfer of risk upon delivery in accordance with Article 66bis LGDCU, and procedures for reporting damaged or missing goods upon receipt.

Right of Withdrawal: A clear statement of the consumer's derecho de desistimiento under Articles 102 through 108 LGDCU — 14 calendar days from receipt of goods, extended to 12 months where the seller fails to provide mandatory withdrawal information. The withdrawal form (formulario de desistimiento) as per Annex B of the LGDCU must be accessible on the website. The conditions for return shipping cost allocation — the seller bears return costs unless the consumer was informed otherwise before contracting under Article 107.3 LGDCU — must be stated.

Exclusions from Withdrawal: Clear identification of goods and services excluded from the withdrawal right under Article 103 LGDCU — custom-made or personalised goods (productos personalizados), perishable goods (bienes perecederos), sealed goods that cannot be returned for hygiene reasons once unsealed (bienes sellados de higiene), newspapers, periodicals, and digital content commenced with consumer consent.

Product Warranties: Consumer goods warranty (garantía legal) of 3 years from delivery under Article 120 LGDCU as amended by Real Decreto-Ley 7/2021 implementing EU Directive 2019/771, entitling the buyer to repair, replacement, price reduction, or contract rescission for goods not conforming to the contract. Commercial warranty (garantía comercial) terms — if offered — must not reduce the legal warranty rights under Article 126 LGDCU.

Data Protection and GDPR: A GDPR-compliant privacy clause under Reglamento (UE) 2016/679 and LOPDGDD Ley Orgánica 3/2018 — stating the legal basis for processing (Article 6.1(b) for contract performance; Article 6.1(a) for marketing with consent), categories of data collected, data retention periods, transfers to third-party processors (logistics, payment providers) under Article 28 RGPD data processing agreements, and the customer's rights to access, rectification, erasure, portability, and objection through the Agencia Española de Protección de Datos (AEPD).

Dispute Resolution: Reference to the ODR platform at ec.europa.eu/odr as required by LSSI-CE Article 32bis; availability of the Juntas Arbitrales de Consumo for free ADR; and governing law — Spanish law including the LSSI-CE, LGDCU, and Código Civil — with jurisdiction of the courts of the buyer's domicile for consumer disputes under Article 52.3 of the Ley de Enjuiciamiento Civil.

Forms-legal.com provides this E-Commerce Sale Contract Spain template as a starting framework for online merchants. Every e-commerce business should have its terms and conditions reviewed by a qualified abogado specialising in derecho mercantil or derecho digital to confirm full compliance with the LSSI-CE, LGDCU, RGPD, and applicable sector regulations before going live.

Under the Ley de Sociedades de Capital (LSC) RDL 1/2010, the Registro Mercantil maintains the register of Spanish companies. The Código de Comercio 1885 governs commercial obligations. The Agencia Estatal de Administración Tributaria (AEAT) administers Impuesto sobre Sociedades (IS) under Ley 27/2014. The Comisión Nacional de los Mercados y la Competencia (CNMC) enforces competition law. The Código Civil governs general contractual obligations under Article 1255.

Sources & Citations

Statutory citations link to official government sources.

  1. Digital Services ActEU official
  2. DSAEU official
  3. Digital Markets ActEU official
  4. DMAEU official

Cite this page

Reference this free template in an article, syllabus, or research note:

APA

Forms Legal. (2026). E-Commerce Sale Contract Spain (Contrato de Venta Online) (Spain) [Legal document template]. Forms Legal. https://forms-legal.com/espana/business/policies/ecommerce-sale-contract-spain

MLA

"E-Commerce Sale Contract Spain (Contrato de Venta Online) (Spain)." Forms Legal, 2026, https://forms-legal.com/espana/business/policies/ecommerce-sale-contract-spain.

BibTeX
@misc{formslegal-ecommerce-sale-contract-spain,
  author       = {{Forms Legal}},
  title        = {E-Commerce Sale Contract Spain (Contrato de Venta Online) (Spain)},
  year         = {2026},
  howpublished = {\url{https://forms-legal.com/espana/business/policies/ecommerce-sale-contract-spain}},
  note         = {Free legal document template}
}

Frequently Asked Questions

Statute-referenced template — Template last modified June 2026

This template is provided for informational purposes only and does not constitute legal advice. Laws vary by jurisdiction and change over time. Consult a qualified attorney for advice specific to your situation.Full disclaimer

Found an error? Let us know

Related Documents

You may also find these documents useful:

Contrato SaaS España (Contrato de Software como Servicio)

Contrato de Software como Servicio para España regulado por la Ley 34/2002 LSSI-CE artículo 23, el Real Decreto Legislativo 1/1996 LPI y el Reglamento (UE) 2016/679 RGPD, que establece los términos de acceso a software en la nube, cuotas de suscripción, tratamiento de datos y titularidad de la propiedad intelectual.

Política de Privacidad España (LOPDGDD)

Política de Privacidad para España — regulada por la LOPDGDD artículo 13 y el RGPD (UE) 2016/679, que cubre las obligaciones del responsable del tratamiento, los derechos de los interesados y el cumplimiento de la AEPD para sitios web y empresas españolas.

Condiciones Generales de Contratación España

Condiciones Generales de Contratación para España — reguladas por el artículo 1 de la Ley 7/1998, de 13 de abril, sobre Condiciones Generales de la Contratación, junto con el Real Decreto Legislativo 1/2007 (LGDCU) para contratos con consumidores y el Registro de Condiciones Generales de la Contratación.

Contrato de Logística España (Contrato de Servicios Logísticos)

Un Contrato de Logística para España — regulado por la Ley de Ordenación del Transporte Terrestre (LOTT, Ley 16/1987) y la Ley 15/2009 del Contrato de Transporte Terrestre de Mercancías artículo 1, que regula los servicios de almacenamiento, coordinación de transporte, distribución y gestión de la cadena de suministro prestados por operadores logísticos.

Contrato de Marketing Digital España — CC art. 1544 y LSSI

Contrato de Marketing Digital para España conforme al artículo 1544 del Código Civil, la Ley 34/2002 LSSI-CE y el Reglamento (UE) 2016/679 (RGPD), que regula los servicios de SEO, SEM, gestión de redes sociales, marketing de contenidos y campañas de publicidad digital para empresas españolas.