# Taxable Base (Base Imponible) in Spain: How to Calculate It on an Invoice, With Examples at 21%, 10% and 4%

URL: https://melso.ai/en/blog/taxable-base-spain-invoice
Published: 2026-11-24 · Updated: 2026-11-24

The taxable base is the amount on which IVA is calculated. How to work it out forwards and backwards from the total, with 15% or 7% IRPF withholding, and how it differs from the base liquidable and from the tax amount.

## Taxable base, in summary

The taxable base (base imponible) of an invoice is the amount of the transaction without IVA (Spanish VAT): the figure on which the tax is calculated. You get it by taking IVA off the total (total ÷ 1.21 at 21%), and IRPF withholding (personal income tax) is calculated on the same figure. In IRPF and Corporate Income Tax, the base imponible is something else: the income the tax is applied to.

> [!RESUMEN]
> - The IVA taxable base is the total amount of the consideration for the transaction, without the tax (article 78 of the IVA Law). The tax amount is calculated on it: tax amount = base × rate.
> - To get it from the total with IVA you divide by 1 plus the rate: ÷ 1.21 at 21%, ÷ 1.10 at 10% and ÷ 1.04 at 4%. Subtracting the percentage from the total does not work.
> - IRPF withholding is calculated on the taxable base, not on the total with IVA. With a base of €1,000, 15% is €150 and 7% is €70.
> - An invoice with a base of €1,000, 21% IVA and 15% withholding gives a total to collect of €1,060.
> - The IRPF and Corporate Income Tax base imponible is not the invoice one: it is the income of the period, and the base liquidable and the tax amount come from it.

## What the taxable base is

In a tax, the base imponible is the measure of what is taxed. It is the figure that is multiplied by the rate to get the tax amount. In each tax it is something different, and that is where the confusion comes from.

| Tax | What the base imponible is | Where it comes from |
| --- | --- | --- |
| IVA (on an invoice) | The price of the transaction without IVA | The consideration agreed with the client |
| IRPF | The taxpayer's income, general and savings | Earnings and gains, after integrating and offsetting |
| Corporate Income Tax (Impuesto sobre Sociedades) | The income of the period, minus negative taxable bases | Accounting result, adjusted |

This article focuses on the **taxable base of an invoice**, the IVA one, which is the one you look for when issuing or reviewing an invoice. At the end you have how it differs from the IRPF and Corporate Income Tax ones.

## Taxable base on an invoice (IVA)

[Article 78 of the IVA Law](https://www.boe.es/buscar/act.php?id=BOE-A-1992-28740#a78) says the taxable base is made up of the total amount of the consideration for the taxable transactions, coming from the recipient or from third parties. Put practically: what you charge for the transaction, before adding IVA.

The same article includes in the consideration, among other items, commission, freight and transport costs, insurance and premiums for advance services, and subsidies directly linked to the price. If you charge the client for transport, it is part of the base. When the consideration is not money, [article 79](https://www.boe.es/buscar/act.php?id=BOE-A-1992-28740#a79) says to take the value in money agreed between the parties.

The invoice must show it. [Article 6 of the Invoicing Regulations](https://www.boe.es/buscar/act.php?id=BOE-A-2012-14696#a6) requires, among other details, the description of the transactions with the unit price before tax, any discount not included in that price, the IVA rate or rates applied and the IVA amount shown separately.

### The three IVA rates for calculating it

The general rate is 21% ([article 90](https://www.boe.es/buscar/act.php?id=BOE-A-1992-28740#a90)). There are two reduced rates, 10% and 4%, for certain transactions ([article 91](https://www.boe.es/buscar/act.php?id=BOE-A-1992-28740#a91)). The 4% applies, for example, to common bread, milk, eggs, fresh fruit and vegetables, books, newspapers and magazines. The 10% applies, among other transactions, to most foods that are not at 4% and to certain services; check article 91 for your case.

| Rate | IVA amount | Total with IVA | To get the base from the total |
| --- | --- | --- | --- |
| 21% | Base × 0.21 | Base × 1.21 | Total ÷ 1.21 |
| 10% | Base × 0.10 | Base × 1.10 | Total ÷ 1.10 |
| 4% | Base × 0.04 | Base × 1.04 | Total ÷ 1.04 |

## How to calculate the taxable base

There are two directions. If you set the price without IVA, you go forwards. If you are given a total with IVA, you go backwards.

### Forwards: from the base to the total

1. **Start from the base.** The price without IVA, with the discount already applied.
2. **Calculate the IVA amount.** Base × rate as a decimal.
3. **Add.** Total with IVA = base + IVA amount.

With a base of €1,000 at 21%: IVA = 1,000 × 0.21 = €210, and the total is €1,210. At 10%, the IVA is €100 and the total €1,100. At 4%, the IVA is €40 and the total €1,040.

### Backwards: from the total with IVA to the base

1. **Start from the total with IVA.** For example, €1,210.
2. **Divide by 1 plus the rate.** 1,210 ÷ 1.21 = €1,000. That is the base.
3. **Get the IVA amount.** Total minus base: 1,210 − 1,000 = €210.

The three cases of the example:

- **21%:** total €1,210 ÷ 1.21 = €1,000; IVA €210.
- **10%:** total €550 ÷ 1.10 = €500; IVA €50.
- **4%:** total €104 ÷ 1.04 = €100; IVA €4.

> [!IMPORTANTE]
> Do not get the base by subtracting 21% from the total. 21% of €1,210 is €254.10, and 1,210 − 254.10 = €955.90, which is not the base. IVA is 21% of the base, not of the total: that is why you divide by 1.21.

![Three steps to calculate the taxable base from the total with IVA: start from the total, divide it by 1 plus the rate (1.21 at 21%) and subtract the base from the total to get the IVA amount. With €1,210 at 21%, the base is 1,000 and the IVA 210.](https://storage.googleapis.com/albert-489117-melso-blog-media/diagrams/en/base-imponible/1-steps-6c82af803d.png?w=1600&h=630&m=1&mw=1080&mh=1092 "How to get the base from the total with IVA")

### With decimals: rounding

With amounts that are not round, calculate the base to two decimals and the IVA amount on that base. If the total is €1,234.56 at 21%, the base is 1,234.56 ÷ 1.21 = €1,020.30 (rounded). The IVA is 1,020.30 × 0.21 = €214.26. Check: 1,020.30 + 214.26 = €1,234.56.

> [!CONSEJO]
> Always check the sum at the end: base + IVA must give the starting total. If it is off by one cent, adjust the rounding of the IVA, not the total. To do it without a calculator, use the [IVA calculator](/en/herramientas/calculadora-iva).

## Taxable base with IRPF withholding

When you invoice as a professional to a company or another professional, you normally have to subtract an IRPF withholding. The withholding is calculated on the taxable base, not on the total with IVA: the IRPF Regulations set 15% on the **gross income paid** ([article 95](https://www.boe.es/buscar/act.php?id=BOE-A-2007-6820#a95)), and IVA is not income of yours.

The rate is 15%. It drops to 7% for those starting professional activities, in the year of start and the following two, provided they had not carried out any professional activity in the year before the start. To apply 7%, you have to tell the payer, who must keep the signed notice.

What the client pays is:

**Total to collect = base + IVA − withholding = base × (1 + IVA rate − withholding rate)**

| IVA | Withholding | Factor | Base of €1,000 | Total to collect |
| --- | --- | --- | --- | --- |
| 21% | 15% | 1.06 | €1,000 | €1,060 |
| 21% | 7% | 1.14 | €1,000 | €1,140 |
| 10% | 15% | 0.95 | €1,000 | €950 |
| 4% | 7% | 0.97 | €1,000 | €970 |

![Taxable base of €1,000, plus €210 of IVA at 21%, minus €150 of IRPF withholding at 15%: the client pays €1,060.](https://storage.googleapis.com/albert-489117-melso-blog-media/diagrams/en/base-imponible/2-breakdown-043744f3d8.png?w=1600&h=730&m=1&mw=1080&mh=1257 "Illustrative example")

### Calculating the base from what you are paid

If what you know is the amount that was deposited, divide by the factor in the table. The two most common cases:

- **IVA 21% and withholding 15%:** you are paid €1,060. Base = 1,060 ÷ 1.06 = €1,000. IVA: 1,000 × 21% = €210. Withholding: 1,000 × 15% = €150. Check: 1,000 + 210 − 150 = €1,060.
- **IVA 21% and withholding 7%:** you are paid €1,140. Base = 1,140 ÷ 1.14 = €1,000. IVA: €210. Withholding: €70. Check: 1,000 + 210 − 70 = €1,140.

With 10% IVA and 15% withholding: you are paid €1,900. Base = 1,900 ÷ 0.95 = €2,000. IVA: 2,000 × 10% = €200. Withholding: 2,000 × 15% = €300. Check: 2,000 + 200 − 300 = €1,900.

And with 4% IVA and 7% withholding: you are paid €970. Base = 970 ÷ 0.97 = €1,000. IVA: €40. Withholding: €70. Check: 1,000 + 40 − 70 = €970.

To calculate the withholding on any invoice you have the [IRPF withholding calculator](/en/herramientas/retencion-irpf-factura). How much IRPF a self-employed person ends up paying is explained in [how much an autónomo pays](/en/blog/how-much-autonomo-pays-spain).

> [!MELSO]
> If you want your invoices to go out with the base, IVA and withholding correctly calculated, with Melso you create your invoices with VERI*FACTU, and you have the plan and price at [Melso for autónomos](/en/precios/autonomos).

## What is and is not in the taxable base

Not everything that appears on an invoice is part of the base. [Article 78 of the IVA Law](https://www.boe.es/buscar/act.php?id=BOE-A-1992-28740#a78) distinguishes what is included from what is not.

| Item | In the base? | Why |
| --- | --- | --- |
| Price of the delivery or service | Yes | It is the consideration |
| Freight, transport, commissions and insurance that you charge the client | Yes | They are expressly included in the consideration |
| Subsidies directly linked to the price | Yes | They are included in the consideration |
| Discounts and rebates granted before or when the transaction is carried out, which you can justify | No | Article 78.Tres.2.º excludes them |
| Sums paid in the client's name and on their behalf by express mandate (suplidos, out-of-pocket expenses) | No | Article 78.Tres.3.º excludes them, and you must justify the amount |

### Example with a discount

A client orders a job with a list price of €1,200 and you apply a 10% discount that is stated on the invoice. The discount is €1,200 × 10% = €120. The base is 1,200 − 120 = €1,080. IVA at 21% is €1,080 × 21% = €226.80, and the total is 1,080 + 226.80 = €1,306.80. IVA is not calculated on the €1,200.

### Example with an out-of-pocket expense

An agent charges €400 in fees and pays a €60 fee on the client's behalf by express mandate. The base is €400: the €60 is not included. IVA at 21% is €400 × 21% = €84. The client pays 400 + 84 + 60 = €544. The fee appears separately, with its receipt.

### If you did not put IVA on the invoice

The same article 78, in its paragraph Cuatro, says that when IVA amounts were not expressly charged on the invoice, the consideration is understood not to have included them, with exceptions. In other words: a price agreed without mentioning IVA is read as the base, and IVA is added on top. That is why it is wise to state in writing, in the quote and on the invoice, whether the price is with or without IVA.

## Invoice with several IVA rates

If an invoice mixes transactions at different rates, each is calculated at its own. The invoice must show the rates applied and the IVA amount separately ([article 6 of the Invoicing Regulations](https://www.boe.es/buscar/act.php?id=BOE-A-2012-14696#a6)). The base is grouped by rate.

Example, an invoice with three rates:

| Item | Base | Rate | IVA amount |
| --- | --- | --- | --- |
| Service | €500 | 21% | €105 |
| Product at reduced IVA | €300 | 10% | €30 |
| Book | €100 | 4% | €4 |
| **Total** | **€900** | | **€139** |

The invoice total is 900 + 139 = €1,039. To recalculate backwards an invoice like this you need the breakdown by rate: with only the total of €1,039 you cannot know which part carries each rate.

## Base imponible, base liquidable and cuota

The three terms get mixed up, but they are different steps. From least to most work:

1. **Base imponible.** The figure on which the tax is applied.
2. **Base liquidable.** The base imponible after the reductions the law allows. It exists in IRPF.
3. **Cuota (tax amount).** The tax resulting from applying the rate or scale to the base. In IRPF, it is first called the cuota íntegra.

![In IVA the taxable base is the price without IVA and the tax amount is the base times the rate. In IRPF the base imponible is income, the base liquidable results from applying reductions and the tax amount comes from the scale. In Corporate Income Tax the base imponible is the income of the period.](https://storage.googleapis.com/albert-489117-melso-blog-media/diagrams/en/base-imponible/3-compare-6fe09e5ba5.png?w=1600&h=1010&m=1&mw=1080&mh=1659 "Taxable base in IVA, IRPF and Corporate Income Tax")

### In IRPF

The [IRPF Law](https://www.boe.es/buscar/act.php?id=BOE-A-2006-20764) defines the base imponible as the amount of the taxpayer's income (article 15). Net earnings are obtained as the difference between taxable income and deductible expenses, and the types of income are integrated and offset: that gives the general base imponible and the savings one. The base liquidable is the result of applying to it the reductions provided by law (article 50). The cuota íntegra is calculated on it. You have the scale brackets in [IRPF brackets](/en/blog/irpf-tax-brackets-2026-spain).

For a self-employed person under direct estimation, net earnings are the difference between income and deductible expenses. That is not the same as the base of each invoice: that is only part of the income.

### In Corporate Income Tax

The [Corporate Income Tax Law](https://www.boe.es/buscar/act.php?id=BOE-A-2014-12328#a10) says the base imponible is the amount of income obtained in the period, minus the offsetting of negative taxable bases from prior periods. Under direct estimation it is calculated by adjusting the accounting result according to the rules of the law. If you have or will have a company, it is another world: here we only want you not to confuse that base with the one on your invoice.

### In the IVA you file

The sum of the bases of the invoices you issue is part of what you report each quarter. The IVA you charge minus the IVA on your purchases is what you pay. How it is put together is explained in [output and input IVA](/en/blog/output-and-input-vat-spain).

## Common mistakes

### Subtracting the percentage from the total

With a total of €1,210 and 21% IVA, subtracting 21% gives €955.90, not €1,000. Divide by 1.21.

### Calculating withholding on the total with IVA

Withholding is applied to the taxable base, not to the total. With a base of €1,000, the 15% withholding is €150, not €181.50.

### Applying an IVA rate that does not apply

Each transaction has its own rate. If you apply 21% to something that carries 10% or 4%, your client overpays and the invoice is wrong. If the invoice has already gone out with an error, correct it with a [corrective invoice](/en/blog/corrective-invoice-spain).

### Forgetting to include transport or re-charged costs

Freight, transport and commission costs that you charge the client are part of the taxable base. If you put them separately without IVA, the base is wrong.

### Confusing the invoice base with the IRPF base

An invoice is not your IRPF base imponible. The IRPF base is the income of the year, after subtracting expenses. To know which expenses you can subtract, see [deductible expenses for autónomos](/en/blog/deductible-expenses-self-employed-spain).

### Not checking the result

Always add base plus IVA and, if there is withholding, subtract it: it has to match the invoice total. If it does not add up, check the rounding before issuing.

## How Melso helps

Melso is your online gestoría (a firm that handles tax and administrative paperwork), with an AI agent and human professionals behind it, and day-to-day communication is via WhatsApp, Telegram, email and web. For your invoicing, with Melso you create your invoices with VERI*FACTU, with unlimited invoices, and Melso professionals prepare, review and file the returns for your profile with your approval of the exact draft. The Melso Pro plan costs €49 a month or €490 a year, with no lock-in, and covers up to €30,000 a year of surcharges, penalties and late-payment interest resulting from an error or delay by Melso in an included return filed by Melso. Check the plan at [pricing for autónomos](/en/precios/autonomos).

> This article is for information only and does not replace professional advice for your case. Last reviewed: 24 November 2026.

## Frequently asked questions

### What is the taxable base of an invoice?

It is the amount on which IVA (Spanish VAT) is calculated: the price of the transaction without the tax. Under article 78 of the IVA Law, it is made up of the total amount of the consideration for the taxable transactions, coming from the recipient or from third parties. On the invoice it appears as the base, and IVA is obtained by multiplying it by the applicable rate.

### How do you calculate the taxable base from the total with IVA?

You divide the total by 1 plus the IVA rate expressed as a decimal. At 21%, base = total ÷ 1.21; at 10%, total ÷ 1.10; at 4%, total ÷ 1.04. For example, a total of €1,210 at 21% gives a base of €1,000 and an IVA amount of €210. Subtracting 21% from the total does not give the right result.

### Is IRPF withholding calculated on the taxable base?

Yes. The IRPF Regulations set the withholding on the gross income paid, which on an invoice is the taxable base, without IVA. With a base of €1,000 and a 15% withholding, €150 is withheld. IVA does not enter the calculation, and the client pays the base plus IVA minus the withholding.

### Which IRPF withholding applies on a self-employed person's invoice?

For professional activities, the general withholding rate is 15% of gross income. It is 7% in the year the activity starts and the following two, provided no professional activity was carried out in the year before the start and the payer is informed. Not every invoice carries withholding: it depends on the activity and on the client.

### What is the difference between base imponible and base liquidable?

In IRPF, the base imponible is the taxpayer's income after integrating and offsetting the different types of income, and it is split into general and savings. The base liquidable is the result of applying the reductions provided by law to it. The cuota íntegra comes from applying the scale to the base liquidable. They are not the same as the taxable base of an invoice.

### Which IVA rates are there for calculating the taxable base?

The general rate is 21%, and there are 10% and 4% as reduced rates for certain transactions, under articles 90 and 91 of the IVA Law. The 4% applies, for example, to common bread, milk, eggs or books. Each rate is applied to the base of the transactions it corresponds to.

### What if an invoice has transactions at different IVA rates?

Each transaction is calculated at its own rate, and the invoice must show the rates applied and the IVA charged separately. In practice, you add up the base for each rate, calculate its IVA amount and add them all. For example, bases of €500 at 21%, €300 at 10% and €100 at 4% give €105, €30 and €4 of IVA.

### Does the taxable base include transport costs or discounts?

Commission, freight and transport costs, insurance and other actual credits in favour of the person delivering that derive from the supply are included in the consideration, and therefore in the base. Discounts or rebates stated on the invoice are deducted from the price: the base is the price after the discount. If you are not sure how to treat an item, check with a professional.

## Sources

- [Ley 37/1992, on IVA, article 78 (taxable base, general rule)](https://www.boe.es/buscar/act.php?id=BOE-A-1992-28740#a78), BOE, accessed 2026-11-24
- [Ley 37/1992, on IVA, article 79 (taxable base, special rules)](https://www.boe.es/buscar/act.php?id=BOE-A-1992-28740#a79), BOE, accessed 2026-11-24
- [Ley 37/1992, on IVA, article 90 (standard rate)](https://www.boe.es/buscar/act.php?id=BOE-A-1992-28740#a90), BOE, accessed 2026-11-24
- [Ley 37/1992, on IVA, article 91 (reduced rates)](https://www.boe.es/buscar/act.php?id=BOE-A-1992-28740#a91), BOE, accessed 2026-11-24
- [Invoicing Regulations, article 6 (invoice content)](https://www.boe.es/buscar/act.php?id=BOE-A-2012-14696#a6), BOE, accessed 2026-11-24
- [IRPF Regulations, article 95 (withholdings on income from economic activities)](https://www.boe.es/buscar/act.php?id=BOE-A-2007-6820#a95), BOE, accessed 2026-11-24
- [Ley 35/2006, on IRPF, articles 15 and 50 (taxable base and base liquidable)](https://www.boe.es/buscar/act.php?id=BOE-A-2006-20764), BOE, accessed 2026-11-24
- [Ley 27/2014, on Corporate Income Tax, article 10 (taxable base)](https://www.boe.es/buscar/act.php?id=BOE-A-2014-12328#a10), BOE, accessed 2026-11-24
