The Problem

The last paycheck is never simple. Termination pay isn't a single amount — it's a bundle of legally distinct components, each with its own tax treatment, social security implications, and statutory constraints. A single final payslip may contain six or more line items that must be calculated, taxed, and reported differently.

Consider what happens when an employee with 8 years of service is dismissed in Spain: the employer owes prorated salary for days worked, unused vacation pay, proportional extra payments (pagas extraordinarias), a statutory severance (indemnización) that is partially tax-exempt, and potentially a notice period payment. Each of these follows a different legal pathway through IRPF withholding and Seguridad Social contributions.

Now multiply that complexity across four countries. The UK has its own £30,000 tax-free exemption with a PENP formula that determines which portion of a termination payment is "relevant termination income." France distinguishes between rupture conventionnelle (tax-exempt up to a ceiling) and standard dismissal, with different exonération rules. The Netherlands applies the transitievergoeding with its own tax table (groene tabel) and vakantiegeld exit calculation.

Key insight: The core difficulty isn't calculating any single component — it's handling the interaction between components on the same payslip. Severance may be tax-free but still count toward social security bases. Holiday payout is fully taxable but may use a different withholding rate. Irregular income gets a reduced tax rate in Spain but only if the employment lasted more than 2 years. Every combination creates a distinct calculation path.

And then there's the timing problem. Termination triggers a final retroactive correction — any pending adjustments from prior periods must be settled on the same payslip. The last paycheck must be both a closing statement and a correction vehicle simultaneously.

Most payroll systems handle termination as a special "mode" — a flag that adjusts a few parameters. But the reality is that termination requires an entirely different calculation architecture: multiple wage type chains running in parallel, each with conditional tax treatment, statutory ceilings, and time-proportional allocation logic.

How It Works

Each country has developed its own legal framework for termination payments. The common thread is that termination creates multiple distinct income categories — and each category has specific rules about taxation, social security, and statutory limits.

Spain: The Finiquito

Spanish termination pay is structured as a finiquito — a comprehensive settlement document that itemizes every component the employer owes. The finiquito typically contains five distinct elements:

  1. Salario pendiente — prorated salary for days worked in the final month. Fully subject to IRPF and Seguridad Social.
  2. Vacaciones no disfrutadas — payment for accrued but untaken vacation days. Calculated as daily salary × unused days. Subject to IRPF and SS contributions as regular income.
  3. Pagas extraordinarias prorrateadas — proportional extra payments (typically two per year in Spain). If the employee worked 7 months since the last paga, they receive 7/12 of one paga. Subject to IRPF and SS.
  4. Indemnización por despido — statutory severance. This is where complexity peaks. Under Art. 56 del Estatuto de los Trabajadores, the statutory severance for unfair dismissal is 33 days per year of service (capped at 24 months' salary for contracts after Feb 2012). The portion up to the statutory limit is exenta — completely exempt from IRPF (Art. 7.e LIRPF). Any amount above the statutory limit is sujeta — subject to IRPF.
  5. Preaviso — notice period payment (indemnización sustitutoria del preaviso). If the employer opts to pay in lieu of notice, this amount is fully subject to IRPF and SS.

The IRPF calculation on the sujeta portion of severance gets an additional benefit: if the employment lasted more than 2 years, the taxable severance qualifies as renta irregular under Art. 18.2 LIRPF, receiving a 30% reduction on the taxable base (capped at EUR 300,000 of gross irregular income). This means an employee dismissed after 10 years with EUR 50,000 in taxable severance pays IRPF on only EUR 35,000 of that component.

Example (Spain): Employee dismissed after 8 years, annual salary EUR 36,000 (EUR 3,000/month), daily salary EUR 98.63. Statutory indemnización = 33 days × 8 years × EUR 98.63 = EUR 26,038.32 (exenta). Employer pays EUR 40,000 total severance. Taxable portion: EUR 40,000 − EUR 26,038.32 = EUR 13,961.68. After 30% irregular income reduction: EUR 13,961.68 × 0.70 = EUR 9,773.18 subject to IRPF.

United Kingdom: The £30k Exemption and PENP

UK termination payments operate under a two-tier system established by the Income Tax (Earnings and Pensions) Act 2003, §§ 401–416. The first £30,000 of a "relevant termination award" (RTA) is exempt from income tax. But determining what qualifies as an RTA requires the Post-Employment Notice Pay (PENP) calculation.

PENP represents the basic pay the employee would have received during their unworked notice period. It is always taxable as earnings — it never benefits from the £30,000 exemption. The formula (per § 402D ITEPA 2003) is:

PENP = ((BP × D) / P) − T

Where BP = basic pay in the last pay period, D = days in the unworked notice period, P = days in the last pay period, and T = any taxable termination payment already received (e.g., pay in lieu of notice contractually owed).

After PENP is separated, the remaining termination payment qualifies as an RTA. The first £30,000 is tax-free; any excess is taxed at the employee's marginal rate. Importantly, Class 1A National Insurance applies to the portion exceeding £30,000 (employer-only — no employee NI on termination payments above the threshold).

Redundancy payments follow a separate path. Statutory redundancy pay (calculated per § 162 Employment Rights Act 1996 at a capped weekly rate of £643 for 2025/26, with service years multiplied by age-based factors) is always exempt. Enhanced redundancy — anything above the statutory minimum — counts toward the £30,000 exemption.

PILON (Pay In Lieu Of Notice) splits into two categories: contractual PILON (explicitly in the employment contract) is always fully taxable as earnings. Non-contractual PILON is subject to the PENP calculation.

France: Rupture Conventionnelle and Exonération

French termination distinguishes sharply between the type of departure. The most favorable tax treatment applies to rupture conventionnelle (mutual termination agreement, Art. L1237-11 Code du travail), where the indemnité is exempt from income tax and social contributions up to the higher of:

  • The statutory minimum indemnité de licenciement (1/4 month per year for the first 10 years, 1/3 month per year thereafter, per Art. R1234-2 Code du travail)
  • Twice the gross annual compensation of the prior calendar year
  • 50% of the total indemnité received

The exemption is capped at 6 times the annual social security ceiling (6 × PASS = 6 × EUR 47,100 = EUR 282,600 for 2026). Any amount exceeding the applicable limit is subject to PAS (prélèvement à la source) and full cotisations sociales.

For fixed-term contracts (CDD), Art. L1243-8 Code du travail mandates an indemnité de fin de contrat of 10% of total gross remuneration earned during the contract. This is always subject to income tax and CSG/CRDS but exempt from other cotisations sociales.

Garden leave (dispense de préavis) is fully taxable and fully subject to social contributions — it's treated as regular salary for the notice period.

Netherlands: Transitievergoeding and Groene Tabel

Dutch termination pay centers on the transitievergoeding (Art. 7:673 Burgerlijk Wetboek). Since 2020, the calculation is straightforward: 1/3 month's salary per year of service, proportional for partial years. The maximum for 2026 is EUR 94,000 (or one year's salary if higher).

The key tax distinction: the transitievergoeding is a one-time payment taxed under the groene tabel (bijzondere beloningen table) rather than the regular witte tabel. The groene tabel applies a flat percentage based on estimated annual income rather than the progressive monthly withholding rate. This often results in a different (sometimes lower) effective tax rate because it avoids the peak of the progressive bracket that regular monthly income hits.

Vakantiegeld (holiday allowance) at exit requires special handling. Dutch employees accrue 8% vakantiegeld monthly, typically paid in May. At termination, the accrued-but-unpaid vakantiegeld must be settled. This amount is subject to loonbelasting (payroll tax) and premies volksverzekeringen, but uses the bijzondere beloningen table for withholding.

Social security (WW/WIA/ZVW premiums) applies fully to the transitievergoeding — there is no SV exemption equivalent to the tax-free severance portions in other countries.

Country Tax-free severance limit SV on severance Key complexity
ES Statutory indemnización (33d/yr, cap 24 months) Exempt (exenta portion only) 30% irregular income reduction Art. 18.2 LIRPF
UK £30,000 RTA exemption No employee NI; Class 1A employer NI above £30k PENP formula separates taxable notice pay
FR Higher of statutory min / 2× annual / 50% (cap 6× PASS) Exempt up to 2× PASS; CSG/CRDS on portion above statutory min Different rules for rupture conv. vs licenciement
NL None (fully taxable) Full premies on transitievergoeding Groene tabel withholding vs. regular witte tabel

Where It Gets Tricky

Tax-free limit calculations are country-specific and dynamic

The tax-free portion of severance isn't a fixed number — it's calculated based on service years, salary, and statutory formulas that change with legislation. In Spain, the indemnización exenta depends on the type of contract (pre- or post-Feb 2012), the reason for dismissal (procedente vs. improcedente), and whether the 33-day or 45-day formula applies for service years before the 2012 reform.

A single employee dismissed in 2026 who started in 2008 faces a blended calculation: 45 days/year for service from 2008–2012 (under the old regime, capped at 42 months), then 33 days/year for service from 2012–2026 (capped at 24 months). The exempt limit is the sum of both portions — but the cap is applied to the total, not each tranche independently.

In the UK, the £30,000 exemption seems simple until you realize it's shared across all termination payments from the same employment. An employee who receives a £20,000 settlement in June and a further £15,000 in September has only £10,000 exempt on the second payment. If multiple payments span tax years, the exemption is still shared — not reset.

The PENP formula: deceptively complex

The UK's PENP calculation requires precise knowledge of the employee's basic pay, their contractual notice period, how many days of notice were actually worked, and what other termination payments they received. Getting any input wrong can flip thousands of pounds from tax-free to taxable.

Consider: an employee on £60,000/year with a 3-month notice period is dismissed immediately (zero worked notice). Monthly basic pay = £5,000. PENP = (£5,000 × 92 days) / 31 days = £14,838.71. This amount is always taxable. If the employer pays a £50,000 termination sum, the RTA is £50,000 − £14,838.71 = £35,161.29. First £30,000 is exempt; the remaining £5,161.29 is taxed.

But what if the employee worked 2 weeks of their notice period? D changes from 92 to 78 days. PENP = (£5,000 × 78) / 31 = £12,580.65. RTA = £50,000 − £12,580.65 = £37,419.35. Tax-free: £30,000. Taxable: £7,419.35. The 14 worked days shifted over £2,000 between the tax-free and taxable buckets.

Multiple components with different treatment on the same payslip

The final payslip isn't one calculation — it's several parallel calculations that share the same output document. Each component may have:

  • Different income tax treatment (exempt, reduced rate, full rate)
  • Different social security treatment (exempt, standard contribution, employer-only)
  • Different reporting obligations (separate codes on tax filings)
  • Different accrual periods (current month vs. full employment history)

In Spain, a single finiquito payslip may contain five different IRPF treatments: regular rate on salary and vacation pay, zero on the exenta portion of severance, reduced rate (30% reduction) on the sujeta portion of irregular severance, and regular rate on preaviso. The payroll system must track each stream independently while presenting a single net payment.

Termination triggers the final retro correction

The last paycheck must settle everything. If there were pending corrections from prior months — a salary adjustment that hadn't been applied, a bonus that was approved retroactively, a tax code change from HMRC — all of it must flow into the final payslip. This means the termination calculation runs after the retro engine completes, incorporating any delta amounts into the gross-to-net path.

This interaction creates ordering dependencies: retro deltas may change the annual income estimate, which changes the IRPF regularization percentage (Spain) or the cumulative tax position (UK), which changes the tax on the termination components themselves. The calculations are interdependent.

Garden leave vs. PILON vs. contractual notice

The notice period alone creates three distinct legal paths with different payroll consequences:

  • Garden leave: Employee remains employed but doesn't work. They continue to receive salary, accrue vacation and pension. Payroll runs normally for the notice period.
  • PILON (contractual): The contract allows immediate termination with payment in lieu. The PILON amount is taxable earnings, subject to full NI, pensionable, and reported as regular pay.
  • PILON (non-contractual): No contractual right to PILON exists, so the payment is treated as damages. Subject to PENP calculation — partially taxable, partially falling within the £30,000 exemption.

The distinction between contractual and non-contractual PILON determines whether the employee pays National Insurance on the notice payment. Getting the classification wrong can cost the employee several thousand pounds.

How PE Solves It

Payroll Engine's termination architecture uses multi-component wage type chains that process each termination element through its own calculation path while sharing a common gross-to-net framework.

1. Multi-component wage type chains (WT 1600–1650 range)

Each termination component has its own wage type with explicit tax and SV classification. Rather than treating termination as a "mode" that modifies existing wage types, PE creates parallel wage types that only activate when termination conditions are met.

For the Spanish finiquito, the chain looks like:

  • WT 1610: Salario pendiente (prorated salary) — routes to standard IRPF and SS
  • WT 1615: Vacaciones no disfrutadas — routes to standard IRPF and SS
  • WT 1620: Pagas extraordinarias prorrateadas — routes to standard IRPF and SS
  • WT 1630: Indemnización exenta — routes to zero IRPF, zero SS
  • WT 1635: Indemnización sujeta — routes to reduced IRPF (30% reduction for irregular income), zero SS
  • WT 1640: Preaviso — routes to standard IRPF and SS

Each wage type carries metadata that determines its tax and SV routing. The IRPF engine reads the routing flags and applies the correct treatment without conditional logic in the main calculation flow.

2. Tax-free split via conditional wage types

The split between exempt and taxable severance is calculated by a conditional wage type that evaluates the statutory limit. In Spain, WT 1630 (exenta) uses a lookup against the Data Regulation containing the statutory formula parameters (33 days/year, 24-month cap, daily salary basis). The calculation returns the lesser of the actual severance paid and the statutory limit. WT 1635 (sujeta) then takes the remainder.

For the UK, the conditional logic evaluates the PENP formula first (using contractual notice period, basic pay, and days worked from case fields), subtracts PENP from the total termination payment, then applies the £30,000 exemption to the remainder. The result is three distinct amounts: PENP (fully taxable), exempt RTA (up to £30,000), and taxable RTA (balance above £30,000).

3. Data regulation for statutory exemption limits

Statutory limits change with legislation. Spain's daily salary cap for indemnización, the UK's £30,000 threshold, France's PASS multiple, and the Netherlands' transitievergoeding maximum are all stored in versioned data regulations. When France increases the PASS from EUR 46,368 to EUR 47,100, only the data regulation entry changes — no calculation logic is modified.

This versioning also handles historical calculations correctly. An employee dismissed in January 2026 whose case is settled in March still uses January 2026 parameters for the severance calculation, because the data regulation's validFrom date ensures period-correct parameter resolution.

4. Final-payslip mode and retro integration

PE's termination processing runs in a specific sequence:

  1. Execute any pending retro corrections (delta from prior periods)
  2. Calculate regular income for the final partial month
  3. Activate the termination wage type chain (WT 1600–1650)
  4. Run the gross-to-net calculation with all components (regular + retro delta + termination)
  5. Apply tax and SV routing per component classification
  6. Generate the final net amount

The integration with the retro engine means that if a salary correction from two months ago is still pending at termination, the delta flows into the final payslip's regular income stream — not into the termination components. Each stream maintains its identity through the entire calculation.

5. Country-specific irregular income handling

Spain's Art. 18.2 LIRPF 30% reduction for irregular income is implemented as a tax-base modifier on WT 1635. The wage type's value (taxable severance after the exenta split) passes through an irregular income reducer before entering the IRPF withholding calculation. The reducer checks two conditions: employment duration > 2 years, and gross irregular income ≤ EUR 300,000. If both are met, only 70% of the value reaches the IRPF engine.

This modular approach means the irregular income logic is reusable — it applies equally to severance (Art. 18.2) and to any other qualifying irregular payment (e.g., long-service bonuses, compensation for non-compete clauses). The reducer is a shared component, not termination-specific code.

Test Case References

The following integration tests validate the termination scenarios described in this article:

Test Country Scenario
WT-TC1610-ES-Finiquito-SalarioPendiente ES Prorated final salary with standard IRPF and SS treatment
WT-TC1620-ES-Finiquito-PagasProrrateadas ES Proportional extra payments calculation (7/12 scenario)
WT-TC1630-ES-Finiquito-IndemnizacionExenta ES Tax-exempt severance up to 33d/yr statutory limit
WT-TC1640-ES-Finiquito-IndemnizacionSujeta ES Taxable severance with exenta/sujeta split calculation
WT-TC1650-ES-Irregular-Reduccion30 ES Art. 18.2 LIRPF: 30% reduction on irregular income (>2 yr service)
WT-TC1600-UK-Termination-PENP UK PENP formula: basic pay × unworked notice days / pay period days
WT-TC1620-UK-Termination-RTA30k UK £30,000 exemption applied to relevant termination award
WT-TC1630-UK-Termination-Redundancy UK Statutory redundancy (age-weighted, capped weekly rate) exempt from tax
WT-TC1640-UK-Termination-PILON UK Contractual vs non-contractual PILON classification and NI impact
WT-TC1400-FR-Rupture-Exoneree FR Rupture conventionnelle with exonération up to 6× PASS ceiling
WT-TC1400-NL-Transitievergoeding NL Transitievergoeding with groene tabel withholding + vakantiegeld exit

All test cases listed above are integration tests that run against a live Payroll Engine backend. They verify both the component-level calculation (severance splits, exemption limits, irregular income reductions) and the multi-component interaction on a single payslip — ensuring that tax and SV routing remains correct when all termination wage types activate simultaneously.

See how PE handles this

Explore the full technical implementation — multi-component termination chains, tax-free splits, and country-specific severance calculations across all 11 countries.

Request a Demo →
← Back
All Articles