Foreign clients: seven tax mistakes Spanish freelancers make
Seven tax errors Spanish freelancers make with foreign clients, from VAT and withholding to treaties, platform records and corrections.
An invoice for a client in Berlin, New York or Buenos Aires can look simpler than a Spanish invoice. No Spanish VAT appears, the customer pays by transfer, and the work is finished. The trouble often emerges months later: Model 349 does not match the books, the client withheld tax without warning, a platform statement shows a gross amount that never reached the bank, or the Spanish income-tax return has no support for a foreign tax credit.
The mistake is treating “foreign client” as one tax category. It is not one. For a Spanish freelancer, invoicing a foreign client correctly requires four separate answers: where the service is located for VAT, whether Spanish withholding applies, whether the other country may tax the income, and how the gross invoice reaches the Spanish accounts and returns. Each answer follows different rules. AEAT: cross-border supplies of services
This guide is for individual freelancers who are tax resident and established for their activity in the Spanish VAT territory. It is general information, not advice for a particular contract. The Canary Islands, Ceuta and Melilla have different indirect-tax systems. Fixed bases, permanent establishments, work physically performed abroad, employees, royalties, regulated activities and dual residence can also change the analysis.
Error 1: deciding VAT from the customer’s country alone
The VAT decision starts with the customer’s capacity and the service supplied, not the country printed in the billing address. Under the general rule published by the Spanish Tax Agency (AEAT), a service to a business is located where that customer is established or has the fixed establishment that receives it. A service to a private consumer is generally located where the supplier is established. AEAT: cross-border supplies of services
That distinction is why “EU client” is not enough. A French company buying consultancy for its French business and a French resident buying the same work privately may lead to different VAT results. The contract should identify the customer, but the file also needs evidence of the capacity in which the customer receives the service.
For an EU business customer, a valid VAT identification number checked through VIES is strong evidence. The EU VAT Implementing Regulation allows a supplier, unless there is contrary information, to treat an EU customer as a taxable person when the customer provides its individual VAT number and the supplier verifies the number and associated name and address. It also provides a route where the customer has applied for a number but not yet received it, subject to other proof and reasonable verification. EUR-Lex: Implementing Regulation 282/2011, Article 18
A VIES result is evidence, not a magic switch. Check that the name and number belong to the contracting party, save the dated result, and confirm that the customer receives the service as a business. For a business outside the EU, the same regulation refers to a tax-authority certificate or, where that is unavailable, a VAT-type or business identification number plus other proof and reasonable verification. EUR-Lex: Implementing Regulation 282/2011, Article 18
General rules still have exceptions
The words “under the general rule” matter. Article 70 of the Spanish VAT Act contains special place-of-supply rules. AEAT gives examples including services connected with immovable property, admission to cultural events and restaurant services. Digital services, passenger transport, short-term vehicle hire and other categories have their own tests. AEAT: cross-border supplies of services BOE: VAT Act, Article 70
There is also a specific B2C exception relevant to many independent professionals. AEAT explains that certain services supplied to a private customer established outside the EU, including advertising, consultancy, engineering, legal and translation services, may fall outside Spanish VAT. The exception has territorial limits, including a specific treatment for customers in the Canary Islands, Ceuta or Melilla. AEAT: cross-border supplies of services
So the useful order is: classify the service, identify whether the customer acts as a business, identify the establishment that receives it, then test the special rules. Starting with “the client is abroad, so no VAT” skips every fact that controls the result.
Error 2: removing Spanish VAT and forgetting the EU reporting trail
Where the general B2B rule places a service supplied by a freelancer in Spain at a business customer’s establishment abroad, AEAT describes the supply as outside Spanish VAT. If the customer is a business in another EU Member State, AEAT also says the intra-Community service is reported on Model 349. AEAT: cross-border supplies of services
That reporting trail usually needs preparation before the first invoice. AEAT states that inclusion in the Register of Intra-Community Operators (ROI) is requested through Model 036, using box 582 for the application and box 584 for the expected date of the first transaction. The same official page provides access to VIES checks and warns that the precise obligation should be tested through the VAT tools because exceptions exist. AEAT: ROI, VIES and NIF-VAT
Three records should agree: the issued invoice, the VAT books and the Model 349 data. A number verified after the quarter does not prove what the supplier checked when accepting the customer. Save the contemporaneous VIES evidence and the contract or order that shows who received the service.
Do not use the same reporting code for every no-VAT invoice. A B2B service to an EU business and a B2B service to a US business may both sit outside Spanish VAT under the general rule, but Model 349 concerns the qualifying intra-EU transaction. A B2C service outside the EU may reach the same visible invoice result through a different exception. The accounting code should preserve those differences.
Error 3: copying the Spanish professional withholding onto every invoice
Spanish freelancers are used to professional invoices with IRPF withholding. That habit can become an error when a customer sits outside Spain.
The 15% rate in Article 95 of the Personal Income Tax Regulation applies when professional income is subject to withholding; the reduced 7% rate is available in the stated conditions for a professional starting an activity. Those rates do not answer whether a particular payer based outside Spain is obliged to operate Spanish withholding. BOE: Personal Income Tax Regulation, Article 95
The payer test sits in Article 76. A client being based outside Spain does not by itself determine whether Spanish withholding applies. Check whether the payer is obliged to withhold under Article 76 and whether the income is subject to withholding. Article 76 includes non-residents operating through a Spanish permanent establishment and narrower cases for non-residents without one, so the payer’s status and the conditions of the specific payment must be reviewed. BOE: Personal Income Tax Regulation, Article 76
Ask two questions before issuing the invoice:
- Is this payer obliged to withhold under Spanish law for this payment?
- Could the customer’s country impose its own withholding under domestic law, and does a treaty restrict it?
Those are not interchangeable. A client may call a deduction “withholding tax” while its legal nature, rate and recoverability depend on the other country’s rules. Do not record the net receipt as the full amount of revenue. Keep the gross fee as income and identify the deduction separately, supported by a certificate or official payment record.
Error 4: assuming any foreign deduction can be recovered in Spain
A Spanish tax resident is subject to IRPF on worldwide income, subject to the allocation and relief rules in any applicable double taxation treaty. AEAT states this directly in its guidance for residents receiving foreign income. AEAT: foreign income, general rules
That means a client based outside Spain does not make the fee disappear from the Spanish return. Income normally needs to be considered gross, with the foreign tax analysed separately. The client payment, invoice and withholding proof should bridge from the contractual fee to the amount received.
Article 80 of the Personal Income Tax Act provides Spain’s domestic foreign-tax credit where the taxpayer has income or gains obtained and taxed abroad. The deduction is the lower of two amounts: the qualifying foreign tax actually paid, or the result of applying the Spanish effective average rate to the portion of the taxable base taxed abroad. BOE: Personal Income Tax Act, Article 80
Article 80 requires the foreign levy to be identical or analogous to Spanish IRPF or non-resident income tax for the relevant income. The applicable treaty and the source country’s procedure determine whether excessive withholding must be reclaimed there; it cannot simply be treated as a larger Spanish credit. BOE: Personal Income Tax Act, Article 80 AEAT: treaties signed by Spain
A treaty has to be read, not remembered
Spain publishes its double taxation treaties country by country. The list includes amended agreements, protocols and, for some countries, more than one historical text. AEAT: treaties signed by Spain
AEAT’s summary of common treaty provisions says independent professional income is generally taxable in the professional’s state of residence, but may also be taxed where the activity is exercised when there is a fixed base. It immediately notes that some treaties have special rules. AEAT: common treaty provisions for professional activities
The actual treaty text controls the income category and taxing rights. Do not infer them from a generic summary of professional services, particularly where the contract includes intellectual-property rights or the work is performed abroad. AEAT: treaties signed by Spain
When foreign tax has been deducted, identify the levy and income category, obtain proof of the gross payment and tax, read the applicable treaty, determine and claim any relief available in the source country, and only then calculate the credit available in Spain. The sequence prevents a bookkeeping label from deciding a treaty question. BOE: Personal Income Tax Act, Article 80
Error 5: requesting a residence certificate after the payment
Treaty relief often depends on evidence available to the payer. AEAT distinguishes residence certificates for treaty and non-treaty countries. For a treaty country, the Spanish authority certifies residence in the sense of the particular agreement; certificates are issued in Spanish and English. AEAT: what a Spanish tax residence certificate certifies
Ask the customer what documentation its tax authority or payment process requires before the first invoice. A generic census certificate, a screenshot of the Spanish tax portal and a treaty residence certificate are not necessarily substitutes. Nor does the certificate decide the income category or prove that no fixed base exists.
If a client has already withheld, obtain:
- the gross contractual amount and invoice;
- the legal name of the tax and the statutory or treaty rate used;
- the official withholding certificate or payment evidence;
- the income period and payment date;
- the customer’s legal identity and country; and
- any form submitted to claim relief at source.
Without those records, the Spanish return may show gross income and a claimed foreign tax credit that cannot be reconciled to the bank. Waiting until the annual return also makes a refund claim in the other country harder to prepare within its local procedure and deadline.
Error 6: treating a platform payout as the invoice amount
A EUR 900 payout does not by itself establish the freelancer’s revenue. First determine whether the platform acts as agent, principal or payment intermediary. Where the freelancer is the supplier and the platform deducts its fee, reconcile the gross fee, platform charge, adjustments and net payout separately. BOE: ICAC revenue recognition resolution
DAC7 adds a separate information layer for covered platforms and sellers. AEAT explains that platform operators report specified information about reportable sellers and relevant activities, including personal services. The reported information may include quarterly consideration, number of activities, fees or taxes withheld by the platform and financial-account identifiers. AEAT also says DAC7 creates an information obligation; it does not create a new tax for sellers or replace their existing tax obligations. AEAT: DAC7 information for sellers
Do not infer your final taxable income from a DAC7 threshold or platform summary. Some exclusions are narrowly defined, including a test for sellers of goods with fewer than 30 activities and no more than EUR 2,000 of consideration. That particular exclusion is not a blanket threshold for personal services. AEAT: DAC7 information for sellers
Reconcile the platform report to your books before filing, and ask for correction if the seller identity, residence, gross consideration or other reportable data is wrong. Your records should explain every difference without simply copying the platform’s tax position.
Error 7: correcting one return and leaving the rest inconsistent
A VAT classification error can reach more than one place: the invoice, VAT ledger, Model 303 and Model 349. A foreign withholding error can reach the accounts, annual IRPF return and the relief claim abroad. Correcting only the document that triggered the discovery may create a second mismatch.
For VAT periods from September 2024 or the third quarter of 2024 onwards, AEAT says the general correction route uses Model 303 itself as a rectifying self-assessment, with stated exceptions such as excessive VAT charged where the invoice must also be corrected. AEAT: correcting Model 303 errors
The filing route depends on the tax, period, direction of the correction and reason. Do not choose between a rectifying return, supplementary return, invoice correction or foreign refund request from an old online example. Start with an impact map:
| Evidence or filing | Question to resolve |
|---|---|
| Contract and customer file | Who bought the service, in what capacity, and at which establishment? |
| Invoice and correction | Was the place-of-supply and withholding treatment stated correctly? |
| VAT ledger and Model 303 | Is the transaction in the correct no-VAT or taxable category and period? |
| Model 349 | Was a qualifying intra-EU service included with the correct customer number and period? |
| Accounts and IRPF | Is gross income recorded, with foreign tax separated and supported? |
| Foreign filing | Was relief at source available, or is a refund claim required? |
| Platform statement | Do gross consideration, fees, taxes and payouts reconcile? |
Then correct the linked surfaces in a controlled order. Preserve the original filing receipts, the revised calculation, the reason for the change and the source used. A correction should make the whole transaction trail more coherent, not merely change the number that Hacienda has questioned.
A monthly file that prevents the annual scramble
Cross-border tax work becomes manageable when each customer has a short standing tax profile and each invoice carries the evidence for its treatment. Keep this data together:
- contracting entity, country and tax identifiers;
- B2B or B2C capacity and the establishment receiving the service;
- service category and any special VAT rule considered;
- dated VIES result or other business-status evidence;
- invoice, delivery evidence and payment terms;
- ROI status and Model 349 mapping for qualifying EU services;
- gross income, currency, conversion source and booking date;
- Spanish and foreign withholding analysis;
- residence certificate and treaty version where relevant;
- foreign tax certificate, refund application and outcome;
- platform gross amount, fees, adjustments and payout; and
- Spanish return and accounting references.
Review the profile when the work changes. A consultant who starts traveling to the customer’s premises, licenses software rather than providing development, or keeps a regular workspace abroad may no longer fit the original analysis. The same applies when a private customer becomes a business customer or the contract moves to a different group company.
No treaty, VAT number or platform setting can be applied as a universal shortcut: the relevant country, customer status, service, establishment, tax and reporting period must be checked. Good records will not make a complex treaty simple, but they let the adviser answer the right question before the filing date.
Decide when the file needs coordinated advice
Routine foreign B2B consultancy can be straightforward once the facts and reporting are stable. Advice becomes more urgent when a client proposes withholding, work is performed regularly outside Spain, the contract includes intellectual-property rights, several countries are involved, a platform controls the invoice, the customer cannot validate its business status, or past invoices and returns disagree.
A useful first review follows one real transaction instead of asking only, “Do I charge VAT abroad?” Bring a sample contract and invoice, customer evidence, payment trail, platform statements, filed Models 303 and 349, and any foreign tax certificate. Ask the adviser to map that transaction across VAT, Spanish withholding, foreign tax, treaty relief and the accounts.
TaxFactory’s tax and accounting advisory team can perform that joined review for freelancers operating from Spain, online or through the Terrassa and Valencia offices. For the broader filing rhythm behind the records, use the quarterly VAT and income-tax guide. If a past discrepancy has already led to an official communication, start with the guide to reading an AEAT requirement and obtain advice based on the complete notice.
Frequently asked questions
Do I add Spanish VAT when I invoice a foreign business client?
Under the general B2B place-of-supply rule, a service supplied by a Spanish freelancer to a business customer abroad is located where that customer is established or has the fixed establishment receiving the service, so it is generally outside Spanish VAT. Special rules can change the result, and you must support the customer’s business status and the place where the service is received.
Should a foreign client deduct Spanish IRPF from my invoice?
A client being based outside Spain does not by itself determine whether Spanish withholding applies. Check whether the payer is obliged to withhold under Article 76 and whether the income is subject to withholding. Article 76 includes non-residents operating through a Spanish permanent establishment and narrower cases for non-residents without one, so the payer’s status and the conditions of the specific payment must be reviewed.
Can I deduct all tax withheld abroad from my Spanish income tax?
Not automatically. For a Spanish IRPF taxpayer, Article 80 permits a foreign-tax credit when income was obtained and taxed abroad, but caps it at the lower of the qualifying foreign tax actually paid and the Spanish amount calculated under the statutory effective-rate rule. The treaty, nature of the levy and any refund available abroad must also be checked.
Does a tax treaty mean the foreign country cannot tax my freelance income?
No single answer applies to every country or service. The actual treaty text controls the income category and taxing rights. Do not infer them from a generic summary of professional services, particularly where the contract includes intellectual-property rights or the work is performed abroad.
What records should I keep for foreign clients and platform payments?
Keep the contract, customer identity and business-status evidence, VAT-number check where relevant, invoice, delivery evidence, gross fee, foreign withholding certificate, platform statement, fees, currency conversion record, payment and the mapping to each Spanish and foreign return. Reconcile gross income rather than recording only the net bank deposit.
Sources
- AEAT: cross-border supplies of services
- BOE: Spanish VAT Act
- AEAT: ROI, VIES and NIF-VAT
- EUR-Lex: VAT Implementing Regulation 282/2011
- AEAT: foreign income received by Spanish tax residents
- BOE: Spanish Personal Income Tax Act
- BOE: Spanish Personal Income Tax Regulation
- AEAT: double taxation treaties signed by Spain
- AEAT: common treaty provisions for professional activities
- AEAT: Spanish tax residence certificates
- AEAT: DAC7 information for platform sellers
- BOE: ICAC revenue recognition resolution
- AEAT: correcting VAT return errors