Problem
uc_mif_capped_earned_income builds a person's gross UC earnings as employment + self-employment + miscellaneous income. That breaks UC Regs 2013 regs 55 and 57 in four ways. All four predate #1949 (the #1942 fix) and were found in its review. #1949 makes the deductions per person but does not change the gross figure.
Runs on #1949's head b8555a2, 2026: a single person aged 40 earning £20,000, with council rent of £20,000. Base UC before the cap is £15,243.02.
| Case |
Gross UC earnings |
Tax deducted |
NI deducted |
UC before cap |
What the law gives |
| + self-employment loss of £5,000 (start-up period) |
£15,000 |
£1,486 |
£594.40 |
£17,993.02 |
£15,243.02: the loss is floored at nil and cannot reduce employed earnings |
| + employment expenses of £5,000 |
£20,000 |
£486 |
£594.40 |
£14,693.02 |
gross £15,000, so earned income £13,919.60 and £2,750 more UC |
| + statutory sick pay of £10,000 |
£20,000 |
£3,486 |
£1,394.40 |
£16,783.02 |
gross £30,000, so earned income £25,119.60 and UC £5,500 lower |
Law (legislation.gov.uk, read 2026-09-30)
UC Regs 2013 reg 55 (https://www.legislation.gov.uk/uksi/2013/376/regulation/55):
(3) In the calculation of employed earnings the following are to be disregarded— (a) expenses that are allowed to be deducted under Chapter 2 of Part 5 of ITEPA; ...
(4) The following benefits are to be treated as employed earnings— (a) statutory sick pay; (b) statutory maternity pay; (c) ... statutory paternity pay; ... (e) statutory adoption pay; ... (f) statutory shared parental pay; ... (g) statutory parental bereavement pay; and (h) statutory neonatal care pay.
(5) ... there are to be deducted ... (c) any sums withheld as donations to an approved scheme under Part 12 of ITEPA (payroll giving) ...
UC Regs 2013 reg 57(2), step 3 (https://www.legislation.gov.uk/uksi/2013/376/regulation/57):
If the amount resulting from steps 1 to 3 is nil or a negative amount, the amount of the person's self-employed earnings in respect of the assessment period is nil (and ignore the following steps).
A loss is carried forward only against the same person's later self-employed earnings (reg 57A).
The four defects
- Trade losses offset employment. Negative
self_employment_income is added to employment income before anything is floored. Self-employed earnings should be computed separately, floored at nil after the reg 57 steps, then added to employed earnings.
- Employment expenses are not disregarded.
employment_expenses (employment_deductions) reduce taxable employment income, so they reduce the tax deducted, but not gross UC earnings.
- Statutory pay is not in UC earnings. In the SSP case, gross UC earnings stay at £20,000 while the tax and NI deducted are on £30,000. So SSP lowers UC earnings instead of raising them. The same applies to the other reg 55(4) payments the model has.
- Payroll giving is not modelled. The repository has no payroll giving variable, so the reg 55(5)(c) deduction is missing.
Fix sketch
Problem
uc_mif_capped_earned_incomebuilds a person's gross UC earnings as employment + self-employment + miscellaneous income. That breaks UC Regs 2013 regs 55 and 57 in four ways. All four predate #1949 (the #1942 fix) and were found in its review. #1949 makes the deductions per person but does not change the gross figure.Runs on #1949's head b8555a2, 2026: a single person aged 40 earning £20,000, with council rent of £20,000. Base UC before the cap is £15,243.02.
Law (legislation.gov.uk, read 2026-09-30)
UC Regs 2013 reg 55 (https://www.legislation.gov.uk/uksi/2013/376/regulation/55):
UC Regs 2013 reg 57(2), step 3 (https://www.legislation.gov.uk/uksi/2013/376/regulation/57):
A loss is carried forward only against the same person's later self-employed earnings (reg 57A).
The four defects
self_employment_incomeis added to employment income before anything is floored. Self-employed earnings should be computed separately, floored at nil after the reg 57 steps, then added to employed earnings.employment_expenses(employment_deductions) reduce taxable employment income, so they reduce the tax deducted, but not gross UC earnings.Fix sketch
uc_mif_capped_earned_income.