Skip to content

Commit 0dd45b7

Browse files
authored
Round tapered personal allowance up
1 parent 4b5a47f commit 0dd45b7

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

policyengine_uk/tests/policy/baseline/gov/hmrc/income_tax/allowances/personal_allowance.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@
3434
# PA = £12,570 - £2,500 = £10,070
3535
personal_allowance: 10070
3636

37+
- name: PA taper rounds remaining allowance up
38+
period: 2026
39+
input:
40+
employment_income: 100003
41+
output:
42+
# £3 over threshold, lose £1.50 PA, rounded up from £12,568.50.
43+
personal_allowance: 12569
44+
3745
- name: PA fully tapered at £125,140
3846
period: 2025
3947
absolute_error_margin: 1

policyengine_uk/variables/gov/hmrc/income_tax/allowances/personal_allowance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ def formula(person, period, parameters):
2323
ANI_for_taper = ANI - gift_aid_grossed_up
2424
excess = max_(0, ANI_for_taper - PA.maximum_ANI)
2525
reduction = excess * PA.reduction_rate
26-
return max_(0, personal_allowance - reduction)
26+
return max_(0, np.ceil(personal_allowance - reduction))

0 commit comments

Comments
 (0)