Spain Freelancer (Autónomo) Invoice Calculator: IVA and IRPF

Work out the total of an invoice with IVA (Spanish VAT) and IRPF withholding from the taxable base, or the other way round: the base you need to invoice to receive a specific amount.

Only applies when you invoice a company or another self-employed professional; private individuals do not withhold.

When should you use this calculator?

Use it whenever you issue an invoice as a self-employed worker (autónomo) or professional in Spain: it gives you the base, the IVA, the IRPF withholding and the total your client has to pay. It also works the other way round, when you agree a final amount with the client and need to know which base to put on the invoice so that, after IVA and withholding, you receive exactly that figure.

How it is calculated

IVA, normally 21%, is added to the taxable base (the price of your work before tax), and IRPF withholding is subtracted, also calculated on the base and never on the total including IVA. The standard withholding rate for professional activities is 15%; in the year you register and the two following years you can apply 7%. There is only withholding when the client is a company or a professional: a private individual is invoiced base plus IVA. When renting business premises to a company, the withholding is 19%.

Practical example

An invoice with a €1,000 base, 21% IVA and 15% withholding carries €210 of IVA and €150 of withholding: the total to receive is €1,060. With the 7% rate of the first years the total rises to €1,140, and if the client is a private individual, to €1,210. If you want the client to pay you exactly €1,000 with 21% IVA and 15% withholding, the base has to be €943.40: €198.11 of IVA, €141.51 of withholding and exactly €1,000 in total.

Legal and tax context

IVA rates are set in the Spanish VAT Act (Ley 37/1992): 21% standard, 10% reduced (hospitality, passenger transport, home renovation works…) and 4% super-reduced (basic food, books…); some activities, such as healthcare or regulated education, are exempt. The 15% withholding and the 7% for new professionals are in article 95 of the IRPF Regulation, and the 19% for rents in article 100. The Invoicing Regulation (RD 1619/2012) requires, among other details, the number and date, both parties' tax ID and address, a description of the service, the base, the IVA rate and amount and, if any, the withholding.

Common mistakes

The most common mistake is calculating the withholding on the total including IVA instead of on the base. Another is applying withholding to a private client, who has no obligation to withhold, or not applying it to a company, which does. IVA is also often mistaken for income: you pay it to the tax office every quarter in form 303, so it is worth setting it aside as soon as you are paid. And the 7% rate is not automatic: you have to tell your client you are in your first year of activity or one of the two following years.

Other calculators you may find useful

If you found this calculator useful, you might also want to check out:

Frequently asked questions

What withholding should I put on my invoice?

If your activity is professional and you invoice a company or another self-employed person, 15%, or 7% in the year you register and the two following years. For renting business premises, 19%. Private individuals do not withhold, and most business activities (retail, hospitality…) under direct assessment have no withholding either.

Is the withholding calculated on the base or on the total with IVA?

Always on the taxable base, without IVA. On a €1,000-base invoice, 15% withholding is €150, not 15% of €1,210.

Do I apply withholding when invoicing a private individual?

No. Only companies and professionals paying you as part of their business have to withhold. A private individual is invoiced the base plus IVA.

How do I work out the base to receive an exact amount?

Divide the amount you want to receive by 1 + IVA − withholding. To receive €1,000 with 21% IVA and 15% withholding: 1,000 ÷ 1.06 = €943.40 base, with €198.11 of IVA and €141.51 of withholding.

What do I do with the IVA I charge?

You pay it to the tax office every quarter in form 303, minus the IVA on your business expenses. It is not your income, so it is worth setting it aside as soon as you are paid.

Is the withholding money I lose?

No. It is an advance on your income tax that your client pays to the tax office on your behalf. You deduct it in each quarter's form 130 and in your annual tax return, where it is compared with the tax you actually owe.

When can I apply the 7% withholding?

In the year you start a professional activity and the two following years, as long as you did not carry out any activity in the year before registering. You have to tell your client in writing so they apply it.

What IVA do I charge a client in another country?

In general, services to businesses in another EU country with a valid VAT number (listed in VIES) are invoiced without Spanish IVA under the reverse-charge rule, and you must be registered in the intra-EU operators register. For clients outside the EU, many services do not carry Spanish IVA either. There are exceptions depending on the service, so check your case.