Taxable Base (Base Imponible) in Spain: How to Calculate It on an Invoice, With Examples at 21%, 10% and 4%
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.

In short
- 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.
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.
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 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 says to take the value in money agreed between the parties.
The invoice must show it. Article 6 of the Invoicing Regulations 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). There are two reduced rates, 10% and 4%, for certain transactions (article 91). 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
- Start from the base. The price without IVA, with the discount already applied.
- Calculate the IVA amount. Base × rate as a decimal.
- 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
- Start from the total with IVA. For example, €1,210.
- Divide by 1 plus the rate. 1,210 ÷ 1.21 = €1,000. That is the base.
- 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.
Important
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.

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.
Tip
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.
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), 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 |

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. How much IRPF a self-employed person ends up paying is explained in how much an autónomo pays.
How Melso helps
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.
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 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). 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:
- Base imponible. The figure on which the tax is applied.
- Base liquidable. The base imponible after the reductions the law allows. It exists in IRPF.
- 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 IRPF
The IRPF Law 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.
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 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.
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.
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.
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.
This article is for information only and does not replace professional advice for your case. Last reviewed: 24 November 2026.
Sources
- Ley 37/1992, on IVA, article 78 (taxable base, general rule), BOE (accessed )
- Ley 37/1992, on IVA, article 79 (taxable base, special rules), BOE (accessed )
- Ley 37/1992, on IVA, article 90 (standard rate), BOE (accessed )
- Ley 37/1992, on IVA, article 91 (reduced rates), BOE (accessed )
- Invoicing Regulations, article 6 (invoice content), BOE (accessed )
- IRPF Regulations, article 95 (withholdings on income from economic activities), BOE (accessed )
- Ley 35/2006, on IRPF, articles 15 and 50 (taxable base and base liquidable), BOE (accessed )
- Ley 27/2014, on Corporate Income Tax, article 10 (taxable base), BOE (accessed )


