Withholding on Foreign Payments: When Clients Apply It and What You Can Do

Withholding on foreign payments happens when a client in another country keeps part of your fee and pays it to its own tax authority. It is not common for service freelancers in Spain. However, when it happens, you need to know why. You also need to know how to reduce it and how to recover it in your Spanish tax return.

The short answer: most foreign clients pay freelancers who work from Spain without withholding. When a client does withhold, there are usually two reasons. Either it treats the payment as income from its country, or it lacks documents proving your residence. Fortunately, tax treaties and forms such as the W-8BEN can reduce or remove it. In addition, you can generally claim any tax withheld abroad as a credit in Spain, within limits.

Withholding on foreign payments: percentage symbol over a payment

Withholding and treaty rules are technical. They vary by country, type of income and the facts of each case. This guide is general information for freelancers resident in mainland Spain, not tax advice. So ask a tax adviser before you rely on a treaty position.

Key takeaways: withholding on foreign payments

  • Withholding on foreign payments is the tax a foreign client keeps and pays to its own authority.
  • It is relatively rare for services performed from Spain. However, it is more likely for royalties, some digital services or income linked to the client’s country.
  • Give the client proof of your tax residence. Also, for US clients, provide a Form W-8BEN.
  • You can generally claim tax withheld abroad as a deduction for double taxation in your Spanish return, within limits.
  • Finally, keep the withholding certificate or proof of the tax paid.

In this guide

  1. Key takeaways: withholding on foreign payments
  2. What is withholding on foreign payments?
  3. When does withholding on foreign payments apply to freelancers?
  4. How treaties reduce withholding on foreign payments
  5. US clients and withholding on foreign payments
  6. How to recover tax withheld on foreign payments in Spain
  7. Example of withholding on foreign payments
  8. How to avoid unnecessary tax at source
  9. Common mistakes to avoid
  10. Frequently asked questions about withholding on foreign payments
  11. Final thoughts on withholding on foreign payments
  12. Sources and further reading
  13. Related guides

What is withholding on foreign payments?

Withholding is a tax that the payer collects at source. In other words, the payer deducts part of what it owes you and sends that amount to the tax authority. In Spain, for example, a client normally withholds IRPF when it pays a Spanish freelancer. When the payer is abroad, however, the foreign country may have its own rules for payments to non-residents.

That is why the first rule of foreign invoicing is simple: do not apply Spanish IRPF withholding to a foreign client. The second rule is to understand whether the foreign client might withhold on its side. For the Spanish side, read how to invoice a foreign company as a freelancer in Spain.

When does withholding on foreign payments apply to freelancers?

It depends on the type of income and where you perform the work. As a rough guide:

Type of incomeWithholding riskComment
Services performed from Spain for a foreign businessLowGenerally treated as income from where the work is done, not taxed at source by the client’s country
Work physically performed in the client’s countryHigherThe client’s country may tax the income
Royalties and licensingHigherMany countries withhold on royalties, often with a treaty reduction
Some digital or technical servicesVariesSome countries withhold on certain service payments to non-residents
Marketplace or platform payoutsVariesThe platform may collect tax information and apply its own rules

Because the rules vary, check the position before you sign a contract. This is especially important with clients in countries known for applying withholding.

How treaties reduce withholding on foreign payments

Spain has double-tax treaties with many countries. A treaty can reduce or eliminate withholding at source. It also decides which country may tax each type of income. To benefit, however, the payer usually needs evidence that you are a tax resident of Spain. These documents help:

  • Certificate of tax residence. You can request it from the Agencia Tributaria and give it to the client.
  • The client’s own form. Many companies have a form where you declare your country of residence and the treaty benefit you claim.
  • Correct identification. Provide your legal name, address and tax ID. That way, the client can apply the right rate.

US clients and withholding on foreign payments

US payers apply specific rules to payments to foreign persons. For this reason, they use Form W-8BEN. It tells the payer that you are a foreign individual and, where relevant, which treaty benefit you claim.

Income for services you perform outside the United States generally counts as foreign-source. Therefore, it is not subject to US withholding. Even so, the client usually wants the form on file. Without it, the client may withhold at a high default rate or delay payment. For more detail, see our guide to the W-8BEN form for freelancers and how to invoice a US client from Spain.

How to recover tax withheld on foreign payments in Spain

Suppose a foreign client withholds tax and you are a Spanish tax resident. In that case, you generally declare the full income in Spain. Then you claim a deduction for the tax paid abroad, so you do not pay tax twice on the same income. However, the deduction has a limit: it cannot exceed the Spanish tax that corresponds to that income. The steps are:

  1. First, ask the client for a certificate or statement of the tax withheld.
  2. Declare the gross income in your Spanish returns, converted to euros.
  3. Claim the deduction for international double taxation in the annual return, with the evidence.
  4. Finally, keep the certificate, invoice and payment record.

Example of withholding on foreign payments

Imagine a freelancer invoices a foreign client EUR 5,000. The client withholds 15% and pays the rest. These figures are illustrative only.

ItemAmount
Invoice€5,000
Tax withheld by the client (15%)€750
Cash received€4,250
Income declared in Spain€5,000
Possible deduction for tax paid abroadUp to €750, limited by the Spanish tax on that income

As a result, the cash you receive is lower than the invoice. Nevertheless, you can generally recover the withheld amount through the deduction. Ask your gestor to calculate the limit.

How to avoid unnecessary tax at source

A little preparation prevents most problems. For example:

  • Ask the client at the start of the project whether it applies withholding to foreign freelancers.
  • Provide the residence certificate and the right form before the first invoice.
  • State in the contract that the client pays gross, or that it will gross up any tax withheld.
  • Invoice from the correct tax identity: personal or company, as agreed.
  • Do not agree to work in the client’s country without checking the tax impact.

If a client delays payment because of tax paperwork, see what to do about an unpaid invoice from a foreign client.

Common mistakes to avoid

  1. Applying Spanish IRPF withholding to a foreign client.
  2. Not asking whether the client withholds before signing.
  3. Not providing a residence certificate or tax form.
  4. Failing to keep the withholding certificate.
  5. Forgetting to claim the deduction for double taxation.
  6. Declaring only the net amount received instead of the gross income.

Frequently asked questions about withholding on foreign payments

Do foreign clients withhold tax on freelancers in Spain?

Usually not for services performed from Spain. However, it can happen for royalties, some digital services or work done in the client’s country. So check each case.

Do I apply IRPF withholding to a foreign client?

No. The IRPF withholding applies to invoices to Spanish clients. Still, you declare the income.

How do I get a certificate of tax residence?

You can request it from the Agencia Tributaria. Then, many foreign clients accept it as proof that you are a tax resident of Spain.

Can I recover tax withheld abroad?

Generally yes. First, you declare the gross income in Spain. Then you claim a deduction for double taxation, limited to the Spanish tax on that income.

What is a W-8BEN?

It is a US form in which a foreign individual certifies their status. In addition, where relevant, it claims treaty benefits. Many US clients ask for it before paying.

What should I keep as proof?

Keep the invoice and the payment record. Also keep the certificate of the tax withheld that the client issues.

Final thoughts on withholding on foreign payments

Withholding on foreign payments is rare for freelancers who work from Spain. Even so, it is worth checking before you sign. First, provide proof of residence and use the right tax form. Then agree gross payment in the contract. Finally, claim any tax withheld abroad in your Spanish return. With these steps, withholding on foreign payments becomes a manageable detail instead of a surprise.

Sources and further reading

Related guides

Disclaimer: This article is for general information only. It is not tax, legal or financial advice. Rules, fees and thresholds change often and differ by country. Always confirm current details with the tax authority and a qualified adviser. Some links may be affiliate links. This means we may earn a commission at no extra cost to you.

Deja un comentario