Working in Spain For Members

How to set up an online shop in Spain

The Local Spain
The Local Spain - [email protected]
How to set up an online shop in Spain
Many online shoppers in Spain continue to buy products from abroad even though they would prefer to purchase them from Spanish online businesses. (Photo by JOSEP LAGO / AFP)

E-commerce in Spain is growing with more online shoppers than ever. If you want to get in on the action, here's everything you need to know, from how to set one up, to the online rules you need to follow and your tax implications.


If you know of a product that’s in high demand in Spain but in short supply, you have some capital available, plenty of business savviness, and experience dealing with Spanish customs, selling goods online can be a good way to make money.

Many people in Spain still purchase goods from foreign websites and sometimes have to pay extra shipping or customs costs as a result, even though recent studies have shown that Spain-based online shoppers would rather buy products from Spanish websites.

So there could be a gap in the market that you can fill. 

In a survey by Spanish logistics company Packlink in November 2021, eight out of 10 Spaniards said that they bought something online in the past month.

Spain is an attractive e-commerce destination because of this, and the fact that the market is still developing. According to Packlink, Spaniards spend the least on e-commerce out of countries in the EU - only 20 percent spend more than €100 per month online. In Fance it's 27 percent, in Germany it's 26 and in Italy it’s 25 percent.

Online fashion shops are the biggest e-commerce sector in Spain, but toys, hobby products and accessories are also popular. 

According to the Packlink study, the typical buyer is a man between 40 and 50 years old, who spends more than €50 a month on his online purchases and usually uses them to buy gifts, clothing or tech products.


How do you set up an e-commerce business in Spain?

There are various ways that you can get create your online shop in Spain. These include registering as self-employed or autónomo, as a limited company or by joining a cooperative. This will more than likely depend on what you intend to sell and how big your online shop will be. 

READ ALSO - Self-employed in Spain: What you should know about being ‘autónomo’

Inform the Agencia Tributaria 

Let the Tax Agency know that you setting yourself up as autónomo or creating a limited company by filling out forms 036 or 037 online. This will get you a número de identificación fiscal (NIF) or a provisional NIF (if creating a company). If setting up a limited company, you will need to do this at least 30 days before you incorporate your company.

If you plan to sell abroad and not just in Spain, you must also register with the Agencia Tributaria in order to be able to carry out intra-community operations and so that your VAT number will be recognised in other EU countries.

Sign the deed of incorporation
If you are setting up a limited company, you must sign the deed of incorporation in front of a notary. After this, you can apply for a definitive NIF (NIF definitivo) from the Treasury (Hacienda) within six months. 


Registration in the Mercantile Registry
If you have set up a limited company or have joined a cooperative, you will have to register your business in the Mercantile Registry or Provincial Commercial Registry in your local area. You will have 30 days to do this from the date you incorporated your company.

If you have logos or trademarks, you will also need to register these at the OEPM (Spanish Patent and Trademark Office) to protect your intellectual property rights. 

Register for social security 
Whether you are a sole trader or a limited company, you must make sure to register for social security and for Tax on Economic Activities. To register for social security number, you will need to fill out the TA1 online and submit your identification and NIE numbers, using a digital certificate. You can also apply in person at your local Tesoreria General de la Seguridad Social.

Remember that these processes can be quite complicated, particularly if you don't speak Spanish well. Even if you do, it's advisable to hire a gestor to help with these processes and ensure that they go smoothly and you have registered everything correctly.  

READ ALSO - Access all areas: how to get a digital certificate in Spain to aid online processes

Comply with regulations

Because your store is online, you will not have procedures related to opening licenses, instead you will have to make sure that you comply with specific regulations regarding the processing of personal data of potential customers, your cookie policy and consumer protection.


Comply with the LSSI

The LSSI is the name given to the law in Spain associated with electronic commerce and regulating it. This law sets out obligations that companies must respect based on the service or product they sell, and a series of rights for consumers. This includes things such as online advertising. The LSSI establishes the obligation for service providers to be able to clearly provide information about themselves and their company, should consumers wish to find out.

Things that you must provide in order to comply with this law are: 

  • Your name or company name
  • Your address or email address, so that customers are able to communicate with you.
  • Certificate of registration in the Mercantile Registry. 
  • In the event that your activity is subject to administration from a particular authority, you must provide information on your professional association and academic title.
  • Your tax identification number
  • Prices must be clear, indicating whether or not they include applicable taxes and, where appropriate, shipping costs too.

General Data Protection Regulation

You must also make sure that your website complies with the latest data protection regulations. 

Tax requirements

Companies that sell goods in Spain via an e-Commerce website are liable to pay VAT and income tax on their profits.

Autónomos are required to present their accounts quarterly, as well as the yearly Declaración de Renta or annual tax return. 

Remember that if you set up a company, rather than being autónomo, you will also have to present an annual Spanish corporation tax return and statutory accounts as well.

The tax rates in Spain are charged according to the income earned, varying between 19 and 47 percent. The general corporate tax rate is 25 percent. In certain cases, lower tax rates are applied for newly established companies. 



Join the conversation in our comments section below. Share your own views and experience and if you have a question or suggestion for our journalists then email us at [email protected].
Please keep comments civil, constructive and on topic – and make sure to read our terms of use before getting involved.

Please log in to leave a comment.

See Also