DPL.GROUP
+34 865 664 424 ES The Arsenal Free 15-min call
DPL Asesores › Businesses › Technology and startups › Software company (SaaS)
☁️ Businesses · Software (SaaS)

Taxes for a software company (SaaS)

Subscriptions sold to customers in several countries, development costs you can capitalise and an R&D tax credit you can cash in even without profits.

🧾 Freelancers and SMEs🇪🇸 Accounting and taxes in Spain🤝 Remotely, all over Spain⚖️ Lawyers and tax advisers

In short

A software-as-a-service (SaaS) company goes under IAE group 845 and charges 21% VAT in Spain, no Spanish VAT to businesses in other countries and each EU consumer's own VAT from €10,000 a year.

Its development can qualify for the R&D and innovation tax credit, which can be cashed in even without profits.

The IAE heading (epígrafe) of a software company: group 845

“Electronic data processing for third parties”, in section one, which includes “the sale of software”. The Directorate General for Taxes places there anyone who builds an app and sells it by subscription (ruling V2439-18). Even though you register with the Spanish Tax Agency under that heading, no IAE is paid for the first two years of activity or, after that, while turnover stays below €1 million; individuals never pay it.

VAT on SaaS depending on the customer

A cloud subscription is an electronically supplied service, and its VAT depends on the customer:

CustomerYour invoice
Business or private individual in Spain21% VAT
Business in another EU country with an EU VAT numberNo Spanish VAT, with the note “reverse charge”; registration in the ROI and modelo 349
Business outside the EUNo VAT: outside the scope of Spanish VAT
Private client in another EU country21% up to €10,000 a year of sales to EU consumers; after that, the VAT of each customer's country
Private client outside the EUNo Spanish VAT, except in specific cases where the service is used in Spain

VAT on EU consumers is declared from Spain through the One-Stop Shop (OSS, modelo 369), every quarter, in the following month. Two non-contradictory pieces of evidence are enough to locate the customer: billing address, IP address or bank. Outside the EU, see VAT on digital services worldwide.

Subscriptions and development in the accounts

  • Annual subscriptions. If you charge the year in advance, all the VAT becomes due when you are paid, but the revenue is recognised as you provide the service: the part for the following year stays in the balance sheet as deferred income (account 485).
  • Product development. It is capitalised if it is identified by project, with clearly established costs, and there are sound reasons to expect technical success and profitability. It is amortised over its useful life, presumed to be five years at most. Maintenance is never capitalised.

R&D tax credit for software and how to cash it in

  • Research and development. 25% of costs and 42% of the amount above the average of the previous two years. It covers advanced software using new theorems and algorithms, operating systems, languages, interfaces or applications for new or substantially improved products or services.
  • Technological innovation. 12% of costs; 15% in the first two years with costs, when they grow by at least 20%, or when they do not fall below the average of the previous two years.
  • Cashing it in. If you do not have enough tax payable, the Tax Agency pays out the credit with a 20% discount (conditions in the questions below). If you do not cash it in, you can use it over the next 18 years.

This is the wording given by Royal Decree-law 40/2026, in force since 21 November 2026 and, at the date of this page, awaiting ratification by Parliament. More in R&D and innovation tax credits for software.

Three mistakes we see

  • Still charging 21% to EU consumers after passing €10,000.
  • Not reporting VAT on cloud services and tools invoiced by businesses not established in Spain (reverse charge).
  • Claiming the R&D tax credit for routine maintenance, minor updates or adapting the product for a client.

Frequently asked questions

When do I charge the customer's country VAT, and what is the One-Stop Shop (OSS) for?

When your sales to consumers in other EU countries (digital services and distance sales of goods) exceeded €10,000 the previous year, or as soon as they do this year. The One-Stop Shop is optional, but it saves you registering in each country: you declare everything from Spain on modelo 369.

What does cashing in (monetising) the R&D tax credit mean?

Getting it paid even when you have no tax payable to set it against: you can ask the Tax Agency to pay it out, with a 20% discount and up to €3 million a year for R&D and innovation combined. Conditions: one year must pass from the end of the tax year in which it arose, the average workforce (or the R&D and innovation workforce) must not fall, you must reinvest at least 80% in R&D and innovation within the following 24 months, and you need a reasoned report (informe motivado) or an advance valuation agreement.

Is my software R&D or technological innovation?

It depends on each project. R&D requires a significant scientific or technological novelty; technological innovation, a technological advance in new or substantially improved products or processes. The ministry's reasoned report (informe motivado) binds the Tax Agency on that classification.

Shall we look at your case?

This page covers the essentials for your profession. At DPL Asesores we handle the accounts and taxes of businesses like yours across Spain, remotely. Book a 15-minute call or write to us through the form.