
- 12-minute read
Foreign freelancer: VAT, personal income tax (IRPF), and what you need to declare
- Published by Yaiza Rodríguez
- 7 July 2026
When you arrive in Spain, settle in, and decide to work as a freelancer, it does not matter whether you come from Germany, Colombia, or Morocco: as soon as you start invoicing from Spain, you are no longer just a resident—you are subject to the same tax obligations as any self-employed person in Spain. Your nationality is no longer the relevant factor; what matters is that you live and work in Spanish territory.
This is the first common misconception that should be cleared up: being a “foreign freelancer” does not place you under a special tax regime or exempt you from any obligations. It puts you on equal footing. From that point on, there is a fairly straightforward sequence of registrations, taxes, and tax returns that you should understand before issuing your first invoice.
01. Before You Start Invoicing: What You Need to Register
The first step is not tax-related but administrative: you need a NIE (Foreigner Identification Number). If you are a citizen of the European Union, the process is straightforward: the NIE is assigned when you apply for the EU citizen registration certificate, and with that, you can register as self-employed without any further authorisations.
If you are a non-EU citizen, the order is reversed: first, you need a residence permit that allows you to work as a self-employed individual (through an entrepreneur visa, a self-employment work permit, or other routes, depending on your circumstances), and only then can you register as self-employed. Caution is advised here before taking anything for granted: the scope of each authorisation varies depending on its type and specific conditions and, in some cases—such as certain digital nomad visas—there may be restrictions on which clients you are allowed to invoice. This is not a general rule that applies equally to all permits; for that reason, it is advisable to verify the exact conditions of your specific authorisation, ideally with professional advice, before assuming what you can or cannot invoice.
Once your NIE and the corresponding authorisation are in place, registering as self-employed follows the same process as for any other resident: registration with the Spanish Tax Agency (Form 036, the simplified version used in most cases) and registration with the Special Regime for Self-Employed Workers (RETA) under the Spanish Social Security system.
02. VAT: Why It Now Comes Into Play
This is the key difference compared to a freelancer who invoices clients in Spain while living abroad: once you are established in Spanish territory, you are generally considered a VAT taxpayer for your business activity. However, this requires some clarification, because there is no single or automatic rule that applies to every invoice: the applicable VAT treatment and whether the transaction is subject to VAT depend on the type of service and the place of supply rules, not simply on the fact that you reside in Spain. The standard VAT rate is 21%, and it is the most common rate for professional services, but there are reduced rates and cases of exemption or non-taxation depending on the specific activity; it is advisable to confirm which applies to your case rather than assuming a single treatment. Where VAT must be charged, it is paid quarterly using Form 303 and summarised annually in Form 390.
If you also invoice clients in other countries, the rules vary depending on the destination:
- Businesses in the European Union with an intra-Community VAT number: you will normally issue invoices without VAT under the reverse charge mechanism.
- Individuals or businesses outside the European Union: this depends on the type of service.
The underlying logic is the same as it would be for any self-employed person in Spain with international clients: your nationality does not affect this part of the equation.
03. Personal Income Tax (IRPF): Withholding Tax, Form 130, and the Annual Tax Return
As a general rule, when you invoice other Spanish businesses or professionals, your invoices include Personal Income Tax (IRPF) withholding tax at source: usually 15%, or 7% during your first three years of activity if you qualify as a newly self-employed individual. However, that is exactly what it is: a general guideline, not a fixed rule. The applicable percentage, and even whether withholding tax applies at all, depends on the specific circumstances of both the payer and the recipient.
In addition, if your relationship with a client shows characteristics of employment—fixed working hours, de facto exclusivity, or work equipment provided by the client—the Spanish Tax Agency or the Labour Inspectorate could reclassify it as a disguised employment relationship (the well-known risk of being a “false self-employed worker”), which would completely change the withholding tax framework and the obligations of both parties. It is therefore advisable to treat these figures as guidance and confirm the correct tax treatment on a case-by-case basis.
When no withholding tax applies—for example, if you invoice mainly private individuals or clients abroad—Form 130 usually comes into play, a quarterly advance payment of 20% on your cumulative net income, payable if less than 70% of your income from the previous year was subject to withholding tax.
04. What Most People Don’t Understand
The most common misconception is confusing two situations that seem similar but are actually the opposite:
- A freelancer who lives outside Spain and invoices Spanish clients (who is generally not taxed in Spain because they neither reside nor work in Spanish territory).
- A foreign freelancer who lives and works in Spain (who is taxed in Spain in exactly the same way as any self-employed person in Spain, regardless of where their clients are located).
The deciding factor is your residence and place of work, never your nationality.
The second point that surprises many people is that the flat-rate Social Security contribution—those €80 per month during the first year, extendable if your income remains low—reduces your self-employed Social Security contributions but does not affect either VAT or Personal Income Tax (IRPF). These are two independent systems: one relates to Social Security contributions, while the other relates to taxes paid to the Spanish Tax Agency. Starting with a reduced contribution does not mean starting with fewer tax obligations.
05. Limitations and Criticisms
Although the system is reasonably well structured on paper, it presents real challenges for people arriving from abroad.
- Bureaucracy: for non-EU citizens, obtaining a residence and self-employment work permit can take several months, during which time it is not legally possible to issue invoices, even if the business is ready to start operating.
- Risk of double taxation: if you continue to receive income or maintain economic ties with your home country, applying the benefits of a double taxation treaty—such as reduced withholding tax rates or exemptions for non-residents—is not automatic. The payer must have a tax residency certificate for the recipient, sometimes with an explicit reference to the relevant tax treaty, in order to apply the more favourable treatment. Without this certificate, the general withholding tax rate will usually be applied until the situation is regularised.
- Differences between types of residence permits: depending on the permit under which you arrive in Spain, the conditions governing which activities you may carry out and which clients you may work with are not always the same. It is advisable to confirm the specific conditions in each individual case rather than assuming that someone else’s situation applies equally to your own.
06. What Can We Expect in the Coming Years
The number of foreign nationals registering as self-employed in Spain continues to grow, driven by the rise of remote work and by visas specifically designed to attract international talent. It is reasonable to expect that the conditions governing these visas will continue to be refined in order to clarify, in greater detail, when it is possible to invoice Spanish clients and when it is not.
It is also reasonable to anticipate (although this is not a confirmed fact) that the ongoing digitalisation of the tax system, with systems such as Verifactu already being implemented, will make it easier for the Spanish Tax Agency to cross-check information across different administrative records. In theory, this could make any discrepancy between the type of residence permit held and the actual economic activity more visible. This is a projection of the direction in which the system appears to be heading, not a certainty at present. In any case, the sooner you put your own administrative and tax affairs in order, the less likely you are to face unexpected issues later on.
07. Conclusion
If you are a foreign national working as a freelancer while residing in Spain, your obligations are, as a general rule, the same as those of any self-employed person in Spain: charge VAT where applicable, pay or prepay Personal Income Tax (IRPF) depending on your clients, and submit your quarterly and annual tax returns on time. What does vary depending on your nationality is the preliminary administrative process—obtaining a NIE and, where applicable, a residence and work permit—and this is where it is most worthwhile to confirm your specific situation before making general assumptions.
If you are considering registering as self-employed in Spain as a foreign national, or if you are already self-employed and are unsure whether your situation has been set up correctly, at MES Tax Legal we can review it with you carefully. Do you already know which permit you need and what you are allowed to invoice under it?



