Cross-Border VAT in Spain: Digital Services, E-commerce, B2B, B2C, Imports and Exports (Complete Guide)
How cross-border VAT works in Spain, step by step: the place-of-supply rules, the B2B reverse charge, OSS and IOSS, the €10,000 distance-selling threshold, digital services, e-commerce, imports and exports, all explained with clear worked examples so you charge, declare and reclaim exactly the right VAT.
By Jacob Salama, international tax lawyer (Bar no. 11.294, Málaga)
5/21/202612 min read


In today's global economy, businesses are no longer confined by geographic boundaries. Companies sell products across continents, provide digital services remotely and operate through international platforms that connect suppliers and consumers in real time. While this creates enormous opportunities for growth, it also introduces a layer of tax complexity that many businesses underestimate.
One of the most critical elements in this landscape is Value Added Tax, commonly referred to as VAT (in Spain, IVA — Impuesto sobre el Valor Añadido). Within the European Union, VAT is partially harmonised, but when transactions cross borders the rules governing its application become significantly more technical. For businesses operating in or with Spain, understanding cross-border VAT is not optional. It directly affects pricing, cash flow, compliance obligations and overall profitability. Misinterpreting these rules can lead not only to financial inefficiencies but also to penalties, interest and regulatory exposure.
This guide walks through the concepts that decide where VAT is due and who must pay it, and then puts them to work with named, worked examples. If you want the step-by-step, form-by-form version, see our companion deep dive on cross-border VAT for e-commerce and services, inside and outside the EU.
What is cross-border VAT, and why is the "place of supply" everything?
Cross-border VAT refers to the application of VAT to transactions that involve more than one country. These transactions can include the sale of goods, the provision of services, digital content distribution, or platform-based business models. The central question in cross-border VAT is deceptively simple: where should VAT be paid?
Answering it requires analysing several factors: the type of transaction (goods or services), the status of the customer (a business or a final consumer), and the location of both parties. This concept is known as the place of supply, and it determines which country has the right to tax the transaction.
The place of supply is the foundation of VAT law. A mistake at this stage cascades into incorrect invoicing, improper VAT reporting and potential tax liabilities in more than one jurisdiction. Because Spanish VAT rules implement the EU VAT Directive (Directive 2006/112/EC) through the Spanish VAT Act (Ley 37/1992), the analysis you do for Spain mirrors the logic applied across the EU — but the rates, registration triggers and forms are Spanish.
Goods vs. services: two different sets of place-of-supply rules
The first fork in the road is whether you are supplying goods or services, because the rules differ.
Goods. The place of supply generally follows where the goods physically are and where they move to. A domestic Spanish sale is Spanish VAT. A sale of goods dispatched from Spain to a VAT-registered business in another EU country is an intra-Community supply (generally exempt in Spain, with the buyer accounting for acquisition VAT). A sale of goods to consumers in other EU countries is distance selling (see the €10,000 threshold below). A shipment out of the EU is an export (exempt, with proof).
Services. The place of supply is decided by general rules that turn on the customer's status, plus a set of special rules for specific services (services connected to immovable property are taxed where the property is; certain events, restaurant and passenger transport services have their own rules; and telecommunications, broadcasting and electronic — "TBE" — services to consumers are taxed at the customer's location).
How does VAT work on B2B transactions, and what is the reverse charge?
In business-to-business (B2B) supplies of services, the general rule is that VAT is due in the country where the customer is established. The Spanish supplier does not charge Spanish VAT; instead the customer self-assesses VAT in its own country under the reverse charge mechanism.
The reverse charge shifts the responsibility for declaring VAT from the supplier to the customer. The customer records both the output VAT and (where entitled) the corresponding input VAT on the same return, so the transaction is frequently cash-flow neutral. It simplifies cross-border trade, but it depends on both parties correctly identifying their VAT status.
Worked example — Carla, a freelance designer in Málaga, invoices a company in Germany. Carla is a self-employed graphic designer registered in Spain. She provides €4,000 of design services to Möbelwerk GmbH, a VAT-registered company in Munich. Because this is a B2B service and her customer is a business established in Germany, the place of supply is Germany. Carla issues an invoice with no Spanish VAT, states her client's German VAT number, and adds a note such as "reverse charge — VAT to be accounted for by the recipient". Möbelwerk self-assesses German VAT under the reverse charge. For this to work, Carla must be registered in the ROI (Registro de Operadores Intracomunitarios), which gives her a validated intra-Community VAT number visible in VIES, and she must report the operation on Form 349.
Two practical points. First, always verify the customer's VAT number in VIES before treating a sale as B2B reverse charge — an invalid number can turn the sale back into a taxable supply. Second, keep evidence that the customer is a business acting as such; without a valid VAT number, the default treatment may be B2C.
How does VAT work on B2C transactions?
When services or goods are supplied to final consumers (B2C), the rules change. The historical default for services was that VAT applied in the country where the supplier was established. That principle still governs many everyday services, but it has been overridden for important categories — above all digital services — where taxation moves to the consumer's country.
For businesses selling directly to consumers across borders, this means potentially charging VAT at different rates depending on where each customer lives, which in turn requires reliable systems for identifying customer residency and applying the right rate.
How are digital services taxed? The TBE rules and destination-based VAT
The rise of digital services fundamentally changed EU VAT. For telecommunications, broadcasting and electronically supplied services (TBE) sold to consumers — streaming platforms, online courses delivered automatically, software subscriptions, apps, e-books and digital downloads — VAT is due in the country where the consumer resides, not where the provider is located.
This "destination principle" was introduced to stop companies from establishing themselves in low-VAT jurisdictions while selling into high-VAT ones. As a result, a business supplying digital services to EU consumers must track customer location (collecting and retaining evidence such as billing address and IP-based location), apply the correct national VAT rate, and report it — in practice, through the OSS scheme described below.
Note the interaction with the €10,000 threshold: for a business established in a single EU member state, the same annual €10,000 ceiling that applies to intra-EU distance sales of goods also covers cross-border TBE services to consumers. Below it, you can charge your home-country VAT; above it, destination VAT applies.
What are OSS and IOSS, and what is the €10,000 threshold?
To tame the administrative burden of cross-border B2C VAT, the EU built the One Stop Shop (OSS) and, for low-value imports, the Import One Stop Shop (IOSS).
The One Stop Shop (OSS)
OSS lets a business declare and pay the VAT due to all EU countries through a single registration in one member state. A company operating in Spain can collect VAT from consumers across the EU and report it through the Spanish tax authority (AEAT) on a single quarterly return — Form 369 — instead of registering in every country where it has customers. OSS covers both intra-EU distance sales of goods and B2C services taxed in the customer's country.
The single €10,000 threshold for distance sales
There is now one EU-wide annual threshold of €10,000 (net) that applies to a business established in a single member state, covering the combined total of its intra-EU distance sales of goods to consumers and its cross-border TBE services to consumers. As of 2026:
Below €10,000 in total: the business can charge the VAT rate of its own country and report it domestically.
Above €10,000 (or by voluntary election): the business must charge the destination country's VAT rate and account for it — most conveniently via OSS.
The threshold is a single combined ceiling per business, not one per country. Once you cross it, destination VAT applies to sales into all other member states, not just the country that tipped you over.
The Import One Stop Shop (IOSS)
IOSS applies to distance sales of goods imported from outside the EU in consignments with an intrinsic value of €150 or less. Using IOSS, the seller charges the destination country's VAT at the point of sale and remits it through a single monthly IOSS return (Form 369 in Spain for businesses registered here), so the parcel clears customs without import VAT being charged again at the border. IOSS is optional but hugely simplifies the customer experience for low-value cross-border e-commerce.
How do distance-selling rules work for e-commerce? A worked example
When a business sells goods online to consumers in other EU countries, VAT is generally due in the destination country once the €10,000 combined threshold is exceeded. Below it, home-country VAT applies. This has a direct impact on pricing, margins and operational complexity, because your effective VAT cost varies with each customer's country.
Worked example — "Naranja Home", an online homeware store in Valencia, sells to consumers in France. Naranja Home is Spanish-established and sells decorative goods online. In the current year its total cross-border B2C sales to other EU countries reach €10,000 in July. Up to that point, it charged Spanish VAT (21%) on its French sales. From the sale that crosses €10,000 onward, it must charge French VAT (standard rate 20%) on goods shipped to consumers in France, and the relevant national rate for consumers in every other member state.
Rather than registering for VAT in France, Naranja Home registers for the Union OSS scheme in Spain and files one quarterly Form 369 reporting the VAT it owes to France (and any other EU country where it has consumer sales). It keeps charging and reporting destination VAT for the rest of the year and going forward. Practically, the business also needs its e-commerce platform configured to apply the correct national rate by delivery address, and to keep the two items of location evidence the rules expect.
How does VAT work on imports and exports outside the EU?
When transactions involve countries outside the European Union, the rules shift again.
Exports from Spain to non-EU countries
Exports are generally exempt from Spanish VAT, provided you keep proper documentation evidencing that the goods physically left the EU (customs export declaration and transport evidence). The exemption is a zero-rate in effect: no output VAT is charged, and input VAT on related costs remains recoverable. Weak documentation is the classic reason an "export" is reclassified as a taxable domestic sale on audit.
Imports into Spain and deferral of import VAT
Imports into Spain are subject to import VAT at the point of entry. This can create a cash-flow problem: the VAT may have to be paid at customs before the goods are sold. Spain offers a valuable relief — the deferral of import VAT (IVA de importación diferido). Businesses that file monthly VAT returns (typically those in the monthly refund register, REDEME, and those filing SII) can elect to account for import VAT on the periodic Form 303 return rather than paying it at the border, self-assessing and deducting it on the same return. For a fully taxable business this makes import VAT cash-flow neutral instead of a cash outlay tied up until the goods are sold.
Worked example — a Barcelona importer of electronics. Electrobalt SL imports €200,000 of components from South Korea. Without deferral, it would pay 21% import VAT (€42,000) at customs and only recover it later through its VAT return — money locked up for weeks. Having opted into the deferral regime and filing monthly, Electrobalt instead self-assesses the €42,000 on its Form 303 and deducts the same amount on that return: no cash leaves the business at the border. Managing customs procedures and this election carefully is central to keeping international trade efficient.
When must a foreign company register for VAT in Spain, and does it need a fiscal representative?
Foreign companies that sell goods or services in Spain may be required to register for Spanish VAT locally. This obligation typically arises when the business:
holds stock in Spain (for example, goods in a fulfilment warehouse) from which it makes sales;
makes domestic supplies of goods within Spanish territory that are not covered by the reverse charge;
carries out certain services located in Spain where it, rather than the customer, is liable; or
makes intra-Community acquisitions or supplies from Spain.
Not every sale into Spain forces a registration — where the reverse charge applies (a Spanish business customer self-assesses), or where OSS/IOSS covers the B2C flow, a separate Spanish registration may be unnecessary. The analysis is fact-specific.
A key distinction is EU vs. non-EU establishment:
EU-established businesses can generally register directly for Spanish VAT without a local representative.
Non-EU established businesses that must register in Spain are, as a rule, required to appoint a fiscal representative (representante fiscal) — a Spanish-resident person or entity that handles the VAT obligations and is jointly exposed on compliance. (Businesses established in countries with suitable mutual-assistance arrangements can be an exception, but the safe planning assumption for most non-EU sellers is that a representative will be needed.)
Failure to comply with registration obligations can lead to penalties, surcharges, audits and reputational risk. Where a foreign company's activity in Spain goes beyond VAT and creates a taxable presence for income-tax purposes, a different and more serious issue arises — see our guide on permanent establishment in Spain and when foreign companies become taxable.
Which VAT forms and registrations apply? A quick map
As of 2026, the main Spanish VAT filings you will encounter in cross-border work are:
Form 303 — the periodic (quarterly or monthly) VAT self-assessment. This is where domestic output/input VAT is settled and where deferred import VAT is accounted for.
Form 349 — the recapitulative statement of intra-Community supplies and acquisitions of goods and services (the return that "matches" your reverse-charge B2B flows across the EU).
Form 369 — the OSS/IOSS return, used to declare B2C VAT owed to other EU countries under the Union, non-Union and import schemes.
ROI registration (Form 036) and VIES — being in the Registro de Operadores Intracomunitarios gives you a valid intra-Community VAT number, visible in VIES, which is the gateway to reverse-charge and intra-Community treatment.
SII — the near-real-time electronic ledger system applicable to larger businesses and those in the monthly refund register.
If you are a non-resident wondering whether you owe Spanish VAT at all — or whether you can recover Spanish VAT you have been charged — start with our companion piece, the non-resident's guide to VAT in Spain: when to pay it and how to get it back.
Two more worked examples: services to the US and buying SaaS from abroad
Worked example — David, a consultant in Madrid, invoices a client in the United States. David provides €12,000 of advisory services to a company in California. For B2B services, the general place-of-supply rule looks to where the customer is established; the customer is outside the EU. The service is therefore outside the scope of Spanish VAT — David issues an invoice with no Spanish VAT. He should retain evidence of his client's business status and the nature of the service, and note that supplies to non-EU businesses are generally not reported on Form 349 (that return is for intra-EU operations). The US may have its own indirect-tax consequences, but Spanish VAT does not apply.
Worked example — a Spanish company buys SaaS from a supplier outside the EU (reverse charge on the buyer's side). Innovalia SL, a Spanish company, subscribes to project-management software from a US provider for €600/month. This is a B2B service received by a Spanish business, so the place of supply is Spain. Innovalia applies the reverse charge as the customer: it self-assesses Spanish VAT (21%, i.e. €126/month) as output VAT on its Form 303 and, being fully taxable, deducts the same amount as input VAT on the same return — cash-flow neutral, but it must still be declared. To do this correctly Innovalia should be registered in the ROI. Many businesses overlook this self-assessment on foreign digital subscriptions, which is a frequent source of assessments on audit.
What are the most common cross-border VAT mistakes?
Cross-border VAT is an area where errors are frequent — even experienced businesses make mistakes. The recurring ones include:
Misidentifying the place of supply, which produces incorrect invoicing and VAT treatment from the outset.
Treating a sale as B2B reverse charge without validating the customer's VAT number in VIES, so the sale should have carried VAT.
Missing the €10,000 threshold and continuing to charge home-country VAT after destination VAT became due — or, conversely, charging foreign VAT while still below the threshold.
Failing to register for OSS/IOSS, or misclassifying which transactions belong in the OSS return.
Forgetting the reverse charge on inbound foreign services (SaaS, ads, freelancers abroad), i.e. not self-assessing VAT on purchases.
Weak export documentation, leading to an exempt export being reassessed as a taxable domestic sale.
Not keeping the required two items of location evidence for B2C digital sales.
These mistakes compound over time and can result in significant tax exposure, interest and penalties before they are ever noticed.
How should international businesses plan their VAT?
VAT is often seen as pure compliance, but it can be approached strategically. Proper structuring of transactions can improve cash flow, reduce the administrative burden and enhance operational efficiency. Practical levers include:
Choosing the right logistics and warehousing structure, since where you hold stock can create — or avoid — foreign registrations.
Electing the deferral of import VAT and, where relevant, monthly filing, to keep import VAT off your cash flow.
Using OSS/IOSS deliberately instead of accumulating national registrations.
Aligning pricing with destination VAT rates, so margins hold as your customer mix shifts across the EU.
Registering in the ROI early so intra-EU and reverse-charge treatment is available when you need it.
For international businesses, VAT should be integrated into broader tax and operational planning rather than treated as an afterthought. Businesses that structure their VAT obligations properly are better positioned to scale internationally, avoid compliance risk and operate efficiently across jurisdictions — operating with confidence in international markets while aligning tax with commercial strategy.
Talk to a lawyer focused on international taxation
Cross-border VAT touches pricing, cash flow and compliance at the same time, and the right answer usually turns on the specific facts of each transaction. If you are structuring EU sales, launching an e-commerce line, importing into Spain, or unsure whether you need to register here, we can help you get it right from the start.
WhatsApp: https://wa.me/34644121802
Book a call: Schedule a consultation with Jacob Salama
Email: taxlegalspain@gmail.com
This article is general information as of 2026 and not legal or tax advice. VAT rules, rates, thresholds and forms change and their application depends on the specific facts of each case. For advice on your situation, please consult a qualified lawyer or tax adviser. Jacob Salama — Salama Legal SLP, Bar no. 11.294, Ilustre Colegio de Abogados de Málaga.
