VAT is where foreign companies most often trip up when they start selling into or from Spain. The rules are logical, but they change depending on what you sell, to whom and from where, and a wrong assumption can be expensive to unwind. This guide explains when you need to register for VAT in Spain, how the rules work for cross-border and ecommerce sales, and where the costly mistakes usually happen.

When you must register for VAT in Spain

A company generally needs a Spanish VAT number when it carries out taxable operations in Spain: selling goods located here, providing certain services, or importing. Spain applies no registration threshold for non-resident businesses, so a single taxable operation can trigger the obligation, and non-EU companies must appoint a fiscal representative that is jointly liable for their VAT compliance. The safe approach is to check before the first transaction, not after.

Non-resident businesses and the reverse charge

For many business-to-business transactions, the reverse charge shifts the obligation to account for VAT to the customer, which can remove the need for the supplier to register. Whether it applies depends on the type of operation and the parties involved. Getting this right avoids both unnecessary registrations and, worse, failing to register when you should have.

Ecommerce, distance sales and OSS

For online sellers, the key rule is distance selling to consumers across the EU. Once cross-border sales to EU consumers pass a common annual threshold, you must charge the VAT of the customer's country. The One Stop Shop scheme lets you declare that VAT centrally instead of registering in each country. Imports and the related scheme add another layer. Applying these correctly protects your margin and keeps the tax authority satisfied.

Common and costly mistakes

The mistakes repeat: charging Spanish VAT when the reverse charge applied, ignoring the EU distance-selling threshold, misclassifying a service, or failing to register a non-resident operation that required it. Each one is straightforward to avoid with advice and painful to correct once returns have been filed on the wrong basis.

Getting VAT right from the start

VAT rewards planning and punishes improvisation. Deciding how you will handle it before you launch, with an advisor who knows both Spanish VAT and cross-border rules, is far cheaper than fixing it later. At Zinco we set up VAT correctly for foreign and ecommerce businesses operating in Spain, so it stops being a source of risk.

Download our guide to VAT in Spain for foreign and ecommerce businesses, or book a call and we will map your VAT position before you start selling.

Frequently asked questions

Does a foreign company need to register for VAT in Spain?

It depends on its operations. Selling goods located in Spain, providing certain services or importing usually requires a Spanish VAT number, though the reverse charge can remove the need in some business-to-business cases.

What is OSS and when does an ecommerce need it?

The One Stop Shop lets you declare the VAT of EU consumers' countries centrally. It becomes relevant once cross-border sales to EU consumers pass the common annual threshold and you must charge destination-country VAT.

What are the most common VAT mistakes for foreign businesses?

Charging Spanish VAT when the reverse charge applied, ignoring the EU distance-selling threshold, misclassifying a service, or not registering a non-resident operation that required it.