Scottish working-age Council Tax Reduction before April 2022 counts unearned income before tax, deducts childcare charges from all income and runs Universal Credit claims on the 2021 scheme's rules

Đang mở
#2,937 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 3 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
12/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
data

Hướng nghiên cứu

Start in council_tax_reduction_working_age_applicable_income.py, where unearned tax is netted only for Wales, and in council_tax_reduction_working_age_applicable_amount.py, which uses uc_maximum_amount only for Wales. The childcare deduction and the Universal Credit income rules are also in the applicable-income variable. Run the Scotland 2021 reproducer in the issue: the expected Council Tax Reduction is £709.89 against the model's £576.88. Several rules need year-dependent switches, so coordinate with the unmerged #2931 fix first.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Until 31 March 2022, Scotland's working-age Council Tax Reduction scheme was
the Council Tax Reduction (Scotland) Regulations 2012
(SSI 2012/303).
SSI 2021/249 replaced it from 1 April 2022
(its reg 1;
its Sch 6
revokes SSI 2012/303 except regs 37 and 38, Sch 4 paras 37 and 38 and four
definitions).
The model's working-age route applies the 2021 scheme's structure
to every year, with switches for some SSI 2012/303 rules, such as these three,
each true from 2013-04-01 and false from 2022-04-01
(disregards_passported_applicants_capital,
uses_universal_credit_capital_assessment
and
working_age_counts_home_letting_income).
The fix for #2931 (#2934, not yet merged) adds one that changes on the same
date the other way:
working_age_widowed_parents_allowance_disregard_from_unearned_income, false
from 2013-04-01 and true from 2022-04-01. With it, the model counts Widowed
Parent's Allowance in full from April 2022 and takes the £15 weekly
disregard from total unearned income, including tariff income and the
relevant Universal Credit payments
(SSI 2021/249 reg 57(4)).
Before then it takes £15 off the allowance
(SSI 2012/303 Sch 4 para 20).
This issue covers
three other SSI 2012/303 rules that have no switch:

  1. Tax on unearned income. SSI 2012/303 disregards the tax on the
    unearned income it counts. The model takes it off only in Wales.
  2. Universal Credit claims. With an award of Universal Credit, SSI
    2012/303 takes the applicable amount from the Universal Credit maximum
    amount and the income from the Secretary of State's assessment plus the
    award and, from 25 November 2013, deducts no childcare charges. The model
    does this only in Wales. For Scotland it uses, in every year, that year's
    personal allowances, child amounts and premiums, and the 2021 scheme's
    income rules and childcare deduction.
  3. Childcare charges. Without Universal Credit, SSI 2012/303 deducts
    relevant childcare charges from earnings. Only where earnings fall short
    of the capped charges and the applicant or partner receives working tax
    credit or child tax credit does it take the rest from that credit. The
    model takes the charges off all income, the SSI 2021/249 rule, in every
    year.

#1966, which added the route, lists the second and third under "Scotland
before April 2022" among its limitations: "The route approximates
Scotland's UC rules under SSI 2012/303 with the 2021 scheme's structure",
and "Without UC, the route also deducts childcare charges from earnings plus
unearned income in those years, where SSI 2012/303 reg 27(1)(c) deducted
them from earnings alone". Reg 27(1)(c) also reaches tax credits (section
3). The #2931 fix closes none of the three gaps. Its documentation of
council_tax_reduction_working_age_unearned_income notes the tax gap and,
for Universal Credit, the reg 26 income rule, not the reg 23 applicable
amount; a comment in its YAML tests notes the tax gap again. Its childcare
comment and documentation in
council_tax_reduction_working_age_applicable_income note the childcare
gap, including reg 28(1A), and point here.

Related: #2090, on the national route's
council_tax_reduction_applicable_income, says Scotland's working-age scheme
takes no tax off unearned income, and suggests a test for "a working-age
Scottish carer with taxable State Pension or private pension". That holds for
SSI 2021/249 from April 2022, not for SSI 2012/303, so such a test needs a
year from 2022. #2834, merged on 13 November 2026, applies that rule in
every year to council_tax_reduction_tax_deduction, which feeds
council_tax_reduction_applicable_income. That measure does not set the
awards of the devolved route, and #2834's Scottish working-age tests use
2023 and 2026.
TheAxiomFoundation/rulespec-uk#483 step 10 queues SSI 2012/303 Sch 4 para 3.

The model reads each year's ordinary parameters at 30 April from 2015
(convert_to_fiscal_year_parameters).
So model year 2021 is 2021-22, the last year under SSI 2012/303, and model
year 2022 already follows SSI 2021/249.

Law texts below are the point-in-time versions on legislation.gov.uk as at
31 March 2022, read on 21 November 2026, unless stated. legislation.gov.uk
shows each SSI 2012/303 provision quoted in force until 1 April 2022. The
reproducers in sections 1 and 2 give the same figures on 70014b3c1 and with
the #2931 fix, since no household in them has maintenance or Widowed
Parent's Allowance. Section 3's reproducer has maintenance, so it needs the
#2931 fix; section 3 says what main gives. Code links are to 70014b3c1. The
fix moves some of the linked lines in
council_tax_reduction_working_age_applicable_income down and rewrites the
comment at L64-L68, but leaves the statements they show unchanged.

1. Tax on unearned income

What the model does

council_tax_reduction_working_age_applicable_income
nets the tax on counted unearned income for Wales without Universal Credit
only:

        # Wales disregards tax on unearned income (Sch 9 para 4); Scotland
        # counts unearned income gross (reg 57).
        unearned_tax = where(
            wales & ~has_universal_credit,
            min_(
                benunit(
                    "council_tax_reduction_working_age_unearned_income_tax", period
                ),
                unearned,
            ),
            0,
        )

"Scotland counts unearned income gross (reg 57)" is right for SSI 2021/249,
which has no tax disregard. It is wrong for Scottish claims without
Universal Credit in every year before 2022-23.

What the law says

SSI 2012/303 reg 39:

(1) For the purposes of regulation 31 (average weekly income other than earnings), the income of an applicant which does not consist of earnings to be taken into account is, subject to paragraphs (2) to (6), the applicant's gross income and any capital treated as income under regulation 40 (capital treated as income).

(1A) This regulation does not apply where an applicant or an applicant’s partner has, or the partners jointly have, an award of universal credit (see regulation 26).

(2) Any sum, where applicable, specified in Schedule 4 is to be disregarded when calculating an applicant's gross income under paragraph (1).

SSI 2012/303 Sch 4 para 3:

Any amount paid by way of tax on income which is to be taken into account under regulation 39 (calculation of income other than earnings).

Para 3 has the same words in the
text as made,
and legislation.gov.uk lists no amendment to it. Reg 39(1A) came in on
1 April 2016
(SSI 2016/81 reg 12).
The Welsh rule the model already applies reads
the same
(WSI 2013/3029 Sch 9 para 4;
the current text is unchanged):

Any amount paid by way of tax on income which is to be taken into account under paragraph 17 of Schedule 6 (calculation of income other than earnings).

SSI 2021/249 as in force on 1 April 2022 has no such disregard: the phrase
"by way of tax" does not appear in it, and its Schedule 4 lists capital
disregards only.

Reproducer

A single adult aged 45 with a private pension of £16,000, no other income, no
Universal Credit and council tax of £3,000, in 2021 (2021-22). A Welsh copy
shows the rule the model applies there.

from policyengine_uk import Simulation

YEAR = 2021


def run(country):
    y = str(YEAR)
    sim = Simulation(
        situation={
            "people": {
                "claimant": {
                    "age": {y: 45},
                    "private_pension_income": {y: 16_000},
                    "council_tax_benefit_reported": {y: 100},
                }
            },
            "benunits": {
                "benunit": {"members": ["claimant"], "would_claim_uc": {y: False}}
            },
            "households": {
                "household": {
                    "members": ["claimant"],
                    "region": {y: country},
                    "country": {y: country},
                    "council_tax": {y: 3_000},
                    "savings": {y: 0},
                }
            },
        }
    )
    return {
        v: round(float(sim.calculate(v, YEAR).sum()), 2)
        for v in [
            "income_tax",
            "council_tax_reduction_working_age_unearned_income_tax",
            "council_tax_reduction_working_age_applicable_amount",
            "council_tax_reduction_working_age_applicable_income",
            "council_tax_reduction",
        ]
    }


for country in ["SCOTLAND", "WALES"]:
    print(country, run(country))
Country Income tax Tax on counted unearned income Applicable amount Applicable income Council Tax Reduction
Scotland £665.03 £665.03 £3,884.40 £16,000.00 £576.88
Wales £686.00 £686.00 £4,139.20 £15,314.00 £765.04
Expected

All of the tax is on the pension. In Scotland the scheme counts £16,000 less
£665.03, or £15,334.97. The applicable amount is £74.70 × 52 = £3,884.40, so
the excess is £11,450.57. The taper is 2 6/7% a day of the weekly excess
(reg 14(5)(b) and (8)(b)).
Over a year of 52 weeks, which is how the model counts a year, that is 20%:
£2,290.11. The reduction should be £3,000 − £2,290.11 = £709.89, against
the model's £576.88. The model gives £133.01 too little, which is 20% of the
tax. (Summed day by day over 365 days, the taper would be £2,296.41 and the
reduction £703.59. The test value follows the model's 52-week year.)

2. Universal Credit claims

What the model does
  • Applicable amount:
    council_tax_reduction_working_age_applicable_amount
    uses uc_maximum_amount for wales & has_universal_credit only. Every
    Scottish applicant gets the scheme's own personal allowance, child amounts
    and premiums.
  • Income:
    council_tax_reduction_working_age_applicable_income
    takes the Secretary of State's income figure plus the award for
    wales & has_universal_credit only. A Scottish Universal Credit claim
    counts earnings on the SSI 2021/249 basis
    (_earnings.py:
    uc_individual_earned_income_before_mif, less miscellaneous income), less
    the earnings disregards, plus the scheme's own unearned income, tariff
    income and, of the award, only the child and childcare elements
    (council_tax_reduction_relevant_universal_credit_payments, after SSI
    2021/249 reg 57). It does this in every year.
  • Childcare:
    council_tax_reduction_working_age_childcare_deduction
    gives a Scottish Universal Credit claim the childcare costs element grossed
    up to the full charge, capped at SSI 2021/249's Universal Credit caps
    (after its reg 42(2)(c)), and the applicable income deducts it. It does
    this in every year. A Scottish lone parent aged 30 with a child aged 5,
    earnings of £10,000 at 20 hours a week, £3,000 of childcare charges and
    Universal Credit has the whole £3,000 deducted in 2019 and in 2021, on
    70014b3c1 and with the #2931 fix. A Welsh copy has none deducted.
  • With the #2931 fix, before April 2022 that unearned income also takes in
    spousal maintenance and Widowed Parent's Allowance, less SSI 2012/303's £15
    disregards
    (Sch 4 paras 48 and 20).
    Those disregards apply through reg 39,
    and reg 39(1A), quoted above, disapplies reg 39 for these claims. The
    Secretary of State's figure (uc_unearned_income) counts both in full.
    For a lone parent with one child, £5,200 of the allowance and Universal
    Credit in 2021, the Scottish route counts £4,420 of it and
    uc_unearned_income is £5,200.
What the law says

SSI 2012/303 reg 23:

(1) Where an applicant or an applicant's partner has, or the partners jointly have, an award of universal credit, in determining the weekly applicable amount for the applicant the relevant authority must use the calculation or estimate of the maximum amount of the applicant, or the applicant's partner, or partners jointly (as the case may be), subject to the adjustments described in paragraph (2A).

(2A) The adjustments referred to in paragraph (1) are—
(a) to multiply the maximum amount by 12 and divide the product by 52; ...
(b) to add to the weekly applicable amount the sum of £17.15 in respect of each child or young person who is a member of the applicant’s family, and
(c) to add to the weekly applicable amount the sum of £54.60 in respect of each child or young person for whom no amount has been included in the calculation or estimate of the maximum amount as a result of the operation of section 10(1A) of the Welfare Reform Act 2012 (amounts usually to be available in respect of a maximum of two children or qualifying young persons).

(3) In paragraph (1) “maximum amount” means the maximum amount calculated by the Secretary of State in accordance with section 8(2) of the Welfare Reform Act 2012.

In (2A)(a), "..." is legislation.gov.uk's mark for a word SSI 2019/325
omitted.

SSI 2012/303 reg 26:

(1) Where an applicant or an applicant’s partner has, or the partners jointly have, an award of universal credit, in determining the income of the applicant, the relevant authority must use either—
(a) the calculation or estimate of the income of the applicant, the applicant’s partner or the partners jointly (as the case may be), made by the Secretary of State for the purpose of determining that award; or
(b) where the income of the applicant, the applicant’s partner or the partners jointly (as the case may be) is subject to frequent change during a period of entitlement to council tax reduction, an estimate of the income of that person or persons over a period that is appropriate to allow the average weekly income to be estimated accurately but the length of the period is not in any case to exceed 52 weeks.

...

(3) If the local authority uses the figure for income provided by the Secretary of State under paragraph (1)(a) it must convert that figure into a weekly amount using the adjustment set out in regulation 23(2A)(a) and must then modify the weekly amount to take into account—
(a) as income, the amount of any universal credit payable converted into a weekly amount using the adjustment set out in regulation 23(2A)(a); and
(b) regulation 25 (circumstances in which capital and income of non-dependant is to be treated as applicant’s) if the relevant authority determines that the provision applies in the applicant’s case.

Reg 39(1A), quoted above, takes these claims out of the scheme's own
unearned income rules. This is the structure the model already applies in
Wales (WSI 2013/3029 Sch 6
paras 3
and 9).

Reg 27(1)(c)
(section 3) deducts only "relevant child care charges to which regulation 28
(treatment of child care charges) applies", and
reg 28(1A)
takes these claims out of reg 28:

(1A) This regulation does not apply where an applicant or an applicant’s partner has, or the partners jointly have, an award of universal credit.

SSI 2013/287 reg 8
inserted reg 28(1A) from 25 November 2013. So from then no
childcare charges come off a Universal Credit claim's income.

The texts changed over the years. From legislation.gov.uk's amendment notes
and the point-in-time versions:

  • Reg 26(1) and (3) took the form above on 1 April 2018, when
    SSI 2018/69 reg 3
    substituted reg 26. Later amendments changed only reg 26(2), (5A) and (6).
    The version in force on
    31 March 2018
    already used the Secretary of State's figure plus "the amount of any
    universal credit payable". The text
    as made
    counted "the amount of any universal credit payable less any child care
    costs element and housing costs element" and applied the Schedule 3 and 4
    disregards, until
    SSI 2013/287 reg 7
    changed it on 25 November 2013.
  • Reg 23(2), which took the housing costs element off the maximum amount,
    went on 25 November 2013
    (SSI 2013/287 reg 6).
    From 18 March 2013
    (SSI 2013/48 reg 6)
    to 31 March 2017, reg 23(2A) read only: "The adjustment referred to in
    paragraph (1) is to multiply the maximum amount by 12 and divide the
    product by 52."
    SSI 2017/41 reg 4
    substituted reg 23(2A) from 1 April 2017, with head (b) at £16.73.
    SSI 2019/325 reg 2
    added head (c) at £53.47 from 26 November 2019.
    SSI 2020/25 reg 6
    raised the sums to £17.07 and £54.32 from 1 April 2020, and
    SSI 2021/51 reg 5
    to £17.15 and £54.60 from 1 April 2021.
Reproducer

Single adults aged 40 on Universal Credit, no capital, council tax £1,800, in
2021 (2021-22): (A) a private pension of £4,000 and no rent; (B) earnings of
£5,000 at 16 hours a week and no rent; (C) a private pension of £9,000 and
rent of £6,000 a year. Welsh copies show the rule the model applies there.

from policyengine_uk import Simulation

YEAR = 2021
CASES = {
    "A": ({"private_pension_income": 4_000}, 0),
    "B": ({"employment_income": 5_000, "weekly_hours": 16}, 0),
    "C": ({"private_pension_income": 9_000}, 6_000),
}


def run(country, inputs, rent):
    y = str(YEAR)
    claimant = {"age": {y: 40}, "council_tax_benefit_reported": {y: 100}}
    claimant.update({k: {y: v} for k, v in inputs.items()})
    sim = Simulation(
        situation={
            "people": {"claimant": claimant},
            "benunits": {
                "benunit": {"members": ["claimant"], "would_claim_uc": {y: True}}
            },
            "households": {
                "household": {
                    "members": ["claimant"],
                    "region": {y: country},
                    "country": {y: country},
                    "council_tax": {y: 1_800},
                    "rent": {y: rent},
                    "savings": {y: 0},
                }
            },
        }
    )
    return {
        v: round(float(sim.calculate(v, YEAR).sum()), 2)
        for v in [
            "universal_credit",
            "uc_maximum_amount",
            "council_tax_reduction_working_age_applicable_amount",
            "council_tax_reduction_working_age_applicable_income",
            "council_tax_reduction",
        ]
    }


for label, (inputs, rent) in CASES.items():
    for country in ["SCOTLAND", "WALES"]:
        print(label, country, run(country, inputs, rent))
Case Country Universal Credit UC maximum amount Applicable amount Applicable income Council Tax Reduction
A: pension £4,000 Scotland £938.12 £4,938.12 £3,884.40 £4,000.00 £1,776.88
A Wales £938.12 £4,938.12 £4,938.12 £4,938.12 £1,800.00
B: earnings £5,000 Scotland £1,788.12 £4,938.12 £3,884.40 £4,740.00 £1,628.88
B Wales £1,788.12 £4,938.12 £4,938.12 £6,788.12 £1,430.00
C: pension £9,000, rent £6,000 Scotland £1,938.12 £10,938.12 £3,884.40 £9,000.00 £776.88
C Wales £1,938.12 £10,938.12 £10,938.12 £10,938.12 £1,800.00
Expected

None of the three has a child, so reg 23(2A)(b) and (c) add nothing. The
applicable amount is the maximum amount × 12 / 52 a week, which over 52 weeks
is the model's uc_maximum_amount. Income is the Secretary of State's income
figure plus the award. Both take the model's annual Universal Credit as the
Secretary of State's figures. The model reads the rates in force on 30 April
2021 for the whole year, although its own parameters lower the standard
allowance from 6 October 2021 and the taper from 63% to 55% from
24 November 2021. The test values follow the model's year.

Case Applicable amount (reg 23) Income (reg 26) Excess Reduction Model
A £4,938.12 £4,000 + £938.12 = £4,938.12 nil £1,800.00 £1,776.88 (£23.12 too little)
B £4,938.12 £5,000 + £1,788.12 = £6,788.12 £1,850.00 £1,800 − £370.00 = £1,430.00 £1,628.88 (£198.88 too much)
C £10,938.12 £9,000 + £1,938.12 = £10,938.12 nil £1,800.00 £776.88 (£1,023.12 too little)

Universal Credit falls by a pound for each pound of unearned income. So
while any Universal Credit is payable, the reg 26 income stays at the maximum
amount and there is no excess (A, C). The model instead tests the pension
against the scheme's own £74.70 a week. With earnings (B), the reg 26 income
exceeds the maximum amount by what the model's 63% Universal Credit taper for
2021-22 leaves: 37% of £5,000, or £1,850. The model counts the earnings less
£5 a week against the lower applicable amount and leaves out the award.

3. Childcare charges

What the model does

council_tax_reduction_working_age_applicable_income
deducts relevant childcare charges from earnings only for Wales without
Universal Credit. For every Scottish claim, in every year, it takes them off
the total of earned and unearned income
(L114):

        from_earnings = wales & ~has_universal_credit
        earnings_after_deductions = max_(
            0, earnings - disregard - where(from_earnings, childcare, 0)
        )
            - where(from_earnings, 0, childcare)

The comment above it cites SSI 2021/249 regs 38(2) and 42(2). Section 2
covers claims with Universal Credit.

What the law says

SSI 2012/303 reg 27:

(1) For the purposes of regulation 14(5) or 14A(5) (conditions of entitlement to council tax reduction) the income of an applicant is to be calculated on a weekly basis—

...

(c) by then deducting any relevant child care charges to which regulation 28 (treatment of child care charges) applies from any earnings which form part of the average weekly income or, in a case where the conditions in paragraph (2) are met, from those earnings plus whichever credit specified in paragraph (2)(b) is appropriate, up to a maximum deduction in respect of the applicant's family of whichever of the sums specified in paragraph (3) applies in the applicant's case.

(2) The conditions referred in paragraph (1)(c) are that—
(a) the applicant's earnings which form part of the applicant's average weekly income are less than the lower of the relevant child care charges or whichever of the deductions specified in paragraph (3) otherwise applies; and
(b) the applicant or, if the applicant is a member of a couple, either the applicant or the other member of the couple, is in receipt of working tax credit or child tax credit.

(3) The maximum deduction to which paragraph (1)(c) refers is—
(a) where the applicant's family includes only one child in respect of whom relevant child care charges are paid, £175.00 per week; and
(b) where the applicant's family includes more than one child in respect of whom relevant child care charges are paid, £300 per week.

The text as made
has the same words, except "or 14A(5)", which
SSI 2016/253 reg 5
inserted from 1 April 2017. The earnings in head (c) are net of the Schedule 3 disregards
(reg 35(2)):

(2) Any sum, where applicable, specified in Schedule 3 is to be disregarded when calculating an applicant's net earnings.

So the charges come off earnings. Only where earnings are below the lower of
the charges and the cap, and the applicant or partner receives working tax
credit or child tax credit, do they also come off that credit. They never
come off maintenance, pensions or other unearned income.

SSI 2021/249 changed the order from 1 April 2022.
Reg 38(2),
for claims without Universal Credit:

(a) by estimating the amount which is likely to be the applicant’s average weekly earned income in accordance with this Chapter ...,
(b) by adding to that amount the average weekly unearned income calculated in accordance with this Chapter and Chapter 4 of this Part,
(c) by deducting any relevant childcare charges calculated in accordance with regulation 77, and

Reg 42(2),
for claims with it:

(a) by estimating the amount which is likely to be the applicant’s average weekly earned income in accordance with this Chapter ...,
(b) by adding to that amount the weekly unearned income calculated in accordance with this Chapter and Chapter 4 of this Part, and
(c) by then deducting any relevant childcare charges calculated in accordance with regulation 78(3), or in a case where the conditions in paragraph (3) are met, from that sum plus whichever credit specified in paragraph (3)(b) is appropriate, up to a maximum deduction.

In head (a) of both, "..." is legislation.gov.uk's mark for words
SSI 2022/52 omitted from
31 March 2022.

The model's order matches these regulations from April 2022. Before then it
departs from reg 27(1)(c) and (2).

Reproducer

A lone parent aged 35 with a child aged 8, wages of £7,800 at 16 hours a
week, spousal maintenance of £10,500, relevant childcare charges of £9,000,
no Universal Credit, no capital and council tax of £1,800. Working tax credit
is nil; child tax credit is nil or £3,000. Run it with the #2931 fix (#2934,
or main once #2934 merges): main counts no maintenance. The 2022 row is a
guard. A Welsh copy without the credit shows the earnings-only rule the
model applies there.

from policyengine_uk import Simulation


def run(country, year, child_tax_credit):
    y = str(year)
    sim = Simulation(
        situation={
            "people": {
                "parent": {
                    "age": {y: 35},
                    "employment_income": {y: 7_800},
                    "weekly_hours": {y: 16},
                    "spousal_maintenance_income": {y: 10_500},
                    "council_tax_benefit_reported": {y: 100},
                },
                "child": {"age": {y: 8}, "childcare_expenses": {y: 9_000}},
            },
            "benunits": {
                "benunit": {
                    "members": ["parent", "child"],
                    "would_claim_uc": {y: False},
                    "would_claim_tfc": {y: False},
                    "working_tax_credit": {y: 0},
                    "child_tax_credit": {y: child_tax_credit},
                }
            },
            "households": {
                "household": {
                    "members": ["parent", "child"],
                    "region": {y: country},
                    "country": {y: country},
                    "council_tax": {y: 1_800},
                    "savings": {y: 0},
                }
            },
        }
    )
    return {
        v: round(float(sim.calculate(v, year).sum()), 2)
        for v in [
            "council_tax_reduction_working_age_earned_income",
            "council_tax_reduction_working_age_earnings_disregard",
            "council_tax_reduction_working_age_childcare_deduction",
            "council_tax_reduction_working_age_unearned_income",
            "council_tax_reduction_working_age_applicable_amount",
            "council_tax_reduction_working_age_applicable_income",
            "council_tax_reduction",
        ]
    }


for country, year, ctc in [
    ("SCOTLAND", 2021, 0),
    ("SCOTLAND", 2021, 3_000),
    ("SCOTLAND", 2022, 0),
    ("WALES", 2021, 0),
]:
    print(country, year, ctc, run(country, year, ctc))

Every row has earned income £7,800, an earnings disregard of £1,300 and a
childcare deduction of £9,000. The model charges no income tax or National
Insurance.

Country Year Child tax credit Unearned income Applicable amount Applicable income Council Tax Reduction
Scotland 2021 nil £9,720.00 £8,343.40 £7,220.00 £1,800.00
Scotland 2021 £3,000 £12,720.00 £8,343.40 £10,220.00 £1,424.68
Scotland 2022 nil £9,720.00 £8,606.00 £7,220.00 £1,800.00
Wales 2021 nil £9,720.00 £8,525.40 £9,720.00 £1,561.08
Expected

Scotland 2021, no tax credit. Reg 28 applies: the parent is a lone parent
in remunerative work (reg 28(1)(a)). Wages are £150 a week. The lone parent
disregard of £25
(Sch 3 para 5)
leaves £125. The charges are £9,000 / 52 = £173.08 a week, under the £175
cap. The additional £17.10 disregard does not apply. Sch 3 para 18(1) needs
net earnings of at least the other disregards plus the reg 27(1)(c) charges
plus £17.10, and £150 is less than £25 + £125 + £17.10 even if only the
charges that earnings absorb count. There is no tax credit, so reg 27(2)(b)
fails and the deduction stops at the £125 of earnings. Maintenance counts
less the £15 a week disregard for a family with a child
(Sch 4 para 48):
£10,500 − £780 = £9,720. Income is £9,720 a year. (The result does not
depend on the £25 disregard: £150 is also under £173.08.) The applicable amount
is £74.70 + £85.75 = £160.45 a week
(SSI 2021/51 reg 7(a)(i) and (b)),
£8,343.40 a year. The excess is £1,376.60, the 20% taper takes £275.32
(reg 14(5)(b) and (8)(b)),
and the reduction should be £1,524.68. The model pays £1,800, which is
£275.32 too much: it sets £2,500 of the charges (£9,000 less £6,500 of
earnings) against the maintenance. The Welsh row counts the same £9,720,
since in Wales the model deducts the charges from earnings alone.

Scotland 2021, child tax credit £3,000. Reg 27(2) holds: earnings of £125
are below £173.08 and the parent receives child tax credit. The charges come
off £125 + £57.69 = £182.69 a week. Over the year that leaves
£6,500 + £3,000 − £9,000 = £500. Income is £500 + £9,720 = £10,220, and
the reduction £1,800 − 20% × £1,876.60 = £1,424.68. The model agrees,
because the credit covers the £2,500 shortfall.

Scotland 2022. SSI 2021/249 reg 38(2) deducts the charges from the total:
£6,500 + £9,720 − £9,000 = £7,220, as the model gives. The award is the full
£1,800.

On main (70014b3c1) the model counts no maintenance, so the first row gives
income of nil and £1,800 there, for the #2931 reason. The childcare route is
the same on main. With a £4,770 private pension in place of the maintenance
(total income at the £12,570 personal allowance, so no tax), main and #2934
both give applicable income of £2,270 (£6,500 + £4,770 − £9,000). The
scheme counts £4,770. Both are under the applicable amount, so the award
does not change.

What a fix would do

Tax on unearned income.

  • Add gov/local_authorities/scotland/council_tax_reduction/means_test/working_age_disregards_unearned_income_tax.yaml:
    true from 2013-04-01, false from 2022-04-01, citing SSI 2012/303 Sch 4
    para 3 at 2022-03-31 and SSI 2021/249 reg 1. This follows
    working_age_counts_home_letting_income, which the same formula reads
    (L86-L100),
    and the two other switches that end on the same date. A per-rule switch
    that cites its own provision fits the repo better than one "SSI 2012/303
    in force" flag.
  • In council_tax_reduction_working_age_applicable_income, net the tax where
    ~has_universal_credit & (wales | (scotland & p_scotland.working_age_disregards_unearned_income_tax)).
    p_scotland has to move above that line, with or without the #2931 fix.
    The ~has_universal_credit term keeps reg 39(1A) for this disregard:
    Universal Credit claims get no para 3 disregard. (The #2931 fix still
    gives them the para 20 and 48 disregards; see Universal Credit claims
    below.) The #2931 fix caps its reg 57(4) disregard at unearned income,
    tariff income and relevant Universal Credit payments before any tax comes
    off, but its switch is off in every year this one is on, so the two never
    apply together.
  • Reuse council_tax_reduction_working_age_unearned_income_tax. Both rules
    disregard the tax on the unearned income the scheme counts, and that
    variable already gives the Welsh figure, including the tax on Widowed
    Parent's Allowance that the #2931 fix counts.
  • Update the passages that say only Wales takes off the tax:
    council_tax_reduction_working_age_unearned_income_tax's documentation
    ("Wales disregards it from unearned income (WSI 2013/3029 Sch 9 para 4);
    Scotland counts unearned income gross (SSI 2021/249 reg 57)."), the
    applicable income's ("unearned income (in Wales, less tax on it)"), its
    comment "Wales disregards tax on unearned income (Sch 9 para 4); Scotland
    counts unearned income gross (reg 57)."
    (L74-L75),
    and "Wales also disregards the income tax on it" in
    docs/book/programs/gov/dwp/bereavement-support-plan.md as the #2931 fix
    rewrites it.
  • The #2931 fix's documentation of
    council_tax_reduction_working_age_unearned_income ends: "The model does
    not apply SSI 2012/303 Sch 4 para 3, which disregards tax paid on income
    counted under reg 39." Remove that sentence. In the fix's YAML test
    "Scotland 2021-22, the 2012 scheme's two £15 disregards", the comment says
    para 3 is a rule "which the route does not apply in Scotland"; update it.
  • Tests: the reproducer in 2021 (reduction £709.89), and the same household
    in 2022 as a guard. SSI 2021/249 counts the pension gross, so income is
    £16,000, the applicable amount is £77.00 × 52 = £4,004.00 and the
    reduction is £3,000 − 20% × £11,996.00 = £600.80, as the model gives today.
    Once the #2931 fix is in, add a 2021 case with taxable Widowed Parent's
    Allowance, such as the one under Size. The fix's two 2021-22 Scottish YAML
    cases pay no income tax and have no Universal Credit, so none of the three
    fixes here changes them.

Universal Credit claims.

  • Add a switch for regs 23 and 26, true from 2013-04-01 and false from
    2022-04-01. uses_universal_credit_capital_assessment already encodes
    reg 26 for capital on the same dates. Either widen it to cover income and
    the applicable amount (a rename changes the reform API) or add
    working_age_uses_universal_credit_assessment beside it.
  • Applicable amount: for Scottish claims with Universal Credit under the
    switch, uc_maximum_amount plus 52 × (the reg 23(2A)(b) sum for each child
    or young person in the family + the reg 23(2A)(c) sum for each child the
    two-child limit leaves out, uc_is_child_limit_affected). The two sums
    need their own dated parameters. Head (b): nil before 2017-04-01, £16.73
    from 2017-04-01, £17.07 from 2020-04-01, £17.15 from 2021-04-01. Head (c):
    nil before 2019-11-26, £53.47 from 2019-11-26, £54.32 from 2020-04-01,
    £54.60 from 2021-04-01. As ordinary parameters read at 30 April, head (c)
    first applies in model year 2020.
  • Income: the Welsh branch. Earnings are the Secretary of State's figure
    (uc_individual_earned_income, after the minimum income floor), so
    working_age_earnings should take its Welsh branch for these claims. Add
    uc_unearned_income and the award. Drop the earnings disregards, the
    childcare deduction (reg 28(1A)), the scheme's own unearned income,
    council_tax_reduction_relevant_universal_credit_payments
    and the separate tariff income (uc_unearned_income already holds the
    Universal Credit assumed yield). For these claims this also drops the
    #2931 fix's £15 maintenance and Widowed Parent's Allowance disregards, as
    reg 39(1A) requires: uc_unearned_income counts both in full. The Welsh
    branch already deducts no childcare charges; also set
    council_tax_reduction_working_age_childcare_deduction to nil for these
    claims, as it is for Welsh claims with Universal Credit.
  • Versions of reg 26. This fix follows reg 26 as in force from 25 November
    2013: the Secretary of State's income figure plus the Universal Credit
    payable. From 1 April 2018 a council could instead use its own estimate
    where income "is subject to frequent change" (reg 26(1)(b)). This fix uses
    the Secretary of State's figure. Reg 39(1A) dates from 1 April 2016. But
    from 25 November 2013 reg 26 no longer applied the Schedule 4 disregards
    (SSI 2013/287 reg 7(c)),
    and the explanatory note to
    SSI 2016/81 says its
    regulation 12 "clarifies" that reg 39 does not apply to Universal Credit
    cases. So keeping these claims out of reg 39 and Schedule 4, as this fix
    and the tax fix's ~has_universal_credit term do, fits 25 November 2013
    to 31 March 2016 as well. The note is not part of the regulations, so this
    reading is an inference. It does not fit the text as made, which applied
    the Schedule 3 and 4 disregards to the Secretary of State's figure. That
    text applied only from 1 April to 24 November 2013
    (reg 13),
    and no model year reads it: the model reads model years 2013 and 2014 at
    1 January and later years at 30 April. Model years 2013 and 2014 also
    fail, on this route and on every other we tried: council_tax_reduction
    raises ParameterNotFoundError, because the model carries each
    parameter's first value back only to 1 January 2015
    (BACKDATED_FROM)
    and most parameters have no earlier value (#1775).
  • Open: whether the reg 27(1)(b) tariff income also applies to these
    claims. Reg 27(1)(a) estimates income "in accordance with this chapter and
    chapters 4 to 6 of this Part and Part 5", reg 26 is in chapter 2, and,
    unlike regs 28 and 39, reg 27 has no carve-out for Universal Credit. The
    Welsh route adds no scheme tariff income, only the Universal Credit assumed
    yield inside uc_unearned_income.
  • Update the passages that hold for Scotland from April 2022 only: that
    every Scottish applicant uses the scheme's own amounts
    (council_tax_reduction_working_age_applicable_amount,
    L16-L17),
    that only a Welsh applicant with Universal Credit counts the Secretary of
    State's income figure plus the award
    (council_tax_reduction_working_age_applicable_income,
    L17-L20),
    that Scotland counts only the child and childcare elements of an award
    and that the standard allowance and the housing, carer and limited
    capability elements "are never income"
    (council_tax_reduction_relevant_universal_credit_payments,
    L8-L15),
    where reg 26(3)(a) counted the whole award,
    and that Scotland calculates Universal Credit earnings on the SSI 2021/249
    basis (working_age_earnings,
    L114-L121).
    The childcare passages are under Childcare charges below.
    Two passages the #2931 fix writes would also change.
    docs/book/programs/gov/cms/child-maintenance.md says of Scotland's
    maintenance disregard "before then it did so without Universal Credit, and
    the model also applies it to those years' Universal Credit claims".
    docs/book/programs/gov/dwp/bereavement-support-plan.md says "For
    working-age applicants with Universal Credit, the model counts it in full
    in Wales and in the five English council schemes it holds", and
    child-maintenance.md says the same of maintenance ("the model counts it
    in full in the five English council schemes it holds and in Wales"). Both
    would then hold for Scotland before April 2022 too.
  • The #2931 fix's documentation of
    council_tax_reduction_working_age_unearned_income says: "Before April
    2022 the model also uses these rules for Scottish Universal Credit claims,
    which SSI 2012/303 reg 26 assessed separately, mainly from the Secretary of
    State's income figure plus all or part of the award." Remove that sentence.
  • Tests: A, B and C in 2021 (£1,800.00, £1,430.00, £1,800.00). For
    reg 23(2A)(b), a lone parent aged 30 with a child aged 5, earnings of
    £10,000 at 20 hours a week, no rent, Universal Credit and council tax of
    £1,800 in 2021. The model's maximum amount is £8,328.12, its award
    £5,954.18 and its earned income £9,948.16. So the applicable amount is
    £8,328.12 + £17.15 × 52 = £9,219.92, income £9,948.16 + £5,954.18 =
    £15,902.34, and the reduction £1,800 − 20% × £6,682.42 = £463.52 (the
    model gives £1,061.05 today). For reg 28(1A), the same household with
    £3,000 of childcare charges: the maximum amount rises to £10,878.12 and
    the award to £8,504.18, so the applicable amount is £11,769.92, income
    £18,452.34 and the reduction again £463.52 (the model gives £1,151.05
    today). For 2022 guards on the SSI 2021/249 route, use B (£1,652.80) and
    C (£800.80), the model's values today. A gives £1,800.00 on both routes,
    so it does not guard.

Childcare charges.

  • Add gov/local_authorities/scotland/council_tax_reduction/means_test/working_age_deducts_childcare_from_earnings.yaml:
    true from 2013-04-01, false from 2022-04-01, citing SSI 2012/303
    reg 27(1)(c) and (2) at 2022-03-31 and SSI 2021/249 regs 1 and 38(2). This
    follows the switches that end on the same date.
  • In council_tax_reduction_working_age_applicable_income, set
    from_earnings = ~has_universal_credit & (wales | (scotland & p_scotland.working_age_deducts_childcare_from_earnings)).
    p_scotland has to move above that line, as the tax fix also needs.
  • Add the tax credit limb (reg 27(1)(c) and (2)) for Scottish claims under
    the switch. Let the shortfall be the capped charges (childcare) less
    earnings after the disregards, never below nil. A positive shortfall is
    the reg 27(2)(a) test. Where the applicant or partner receives working tax
    credit or child tax credit, also deduct the smaller of the shortfall and
    that credit. The credits are
    already in council_tax_reduction_working_age_unearned_income. The Welsh
    branch lacks the same limb under
    WSI 2013/3029 Sch 6 para 20(2)
    (#2936), so one change can serve both.
  • Open: which credit the charges come off where the family gets both. Reg
    27(1)(c) says "whichever credit specified in paragraph (2)(b) is
    appropriate".
  • Update the documentation. The #2931 fix rewrites the childcare comment and
    documentation of council_tax_reduction_working_age_applicable_income to
    say that the model applies the April 2022 rule to earlier Scottish claims,
    and to point here; update both. It leaves the documentation of
    council_tax_reduction_working_age_childcare_deduction
    (L20-L26)
    as it is. There:
    • date "Scotland deducts them from earnings plus unearned income" to April
      2022, with the reg 27(1)(c) and (2) rule before then;
    • say that a Scottish applicant with Universal Credit got no deduction
      from 25 November 2013 to 31 March 2022 (SSI 2012/303 reg 28(1A));
    • change "up to higher caps" to "up to separate caps", whether or not the
      rest of this fix lands. In April 2022
      SSI 2021/249 reg 42(4)
      set the same £175 and £300 caps as
      reg 38(4),
      and the model's Universal Credit caps exceed them only from
      28 June 2023.
  • Tests, with the #2931 fix in: section 3's rows. Scotland 2021: income
    £9,720, reduction £1,524.68. Scotland 2021 with child tax credit: £10,220
    and £1,424.68. Guard: Scotland 2022 (£7,220 and £1,800).

Size

From reasoning and the household runs in this issue; how many claims are
affected is not measured:

  • All three gaps touch model years up to 2021 only (scheme years to
    2021-22). Results for 2022 on do not change. They change household
    calculations for those years and any microsimulation run for them.
  • Tax: Scottish working-age claims without Universal Credit that pay tax on
    counted unearned income and would still get a reduction. The model gives
    too little by 20% of that tax or of the model's excess income, whichever
    is smaller, or by the whole lawful award if that is smaller still.
    A single adult's applicable amount (£3,884.40 in 2021-22) is far below the
    income tax personal allowance (£12,570 in the model). So a single adult
    with no premium and only a taxed pension has at least £8,685.60 of excess
    income and loses at least £1,737.12 to the taper.
    Such claims keep an award only on a high bill, as in the reproducer.
    Families with children or disability premiums, and claims where earnings
    use up the personal allowance, are likelier to be affected. The #2931 fix
    counts Widowed Parent's Allowance in these years, less £15 a week. The
    allowance is taxable, so its tax joins the gap. Take a Scottish lone
    parent aged 35 with a child aged 8, £16,000 of the allowance, no
    Universal Credit, tax credits set to nil and council tax of £3,000 in
    2021. With the fix, the route counts £15,220 of the allowance, and the
    parent pays £665.03 of income tax on it. The model's reduction is
    £1,624.68. With the tax taken off, the same calculation gives £1,757.69,
    £133.01 more.
  • Universal Credit: every Scottish working-age claim with an award of
    Universal Credit in those years runs on the wrong rules. The award changes
    wherever the two routes give different excess income, unless the excess
    is large enough under both to leave no reduction. A claim with no earnings
    gets the maximum reduction under regs 23 and 26, since its income is at
    most the maximum amount (leaving aside the open reg 27(1)(b) question). The
    model gives the same where its own-rules income is at or below the
    scheme's applicable amount. How many claims change is not counted here.
    The error runs both ways: too little in A and C, too much in B and in the
    two cases with a child under Tests. A childcare deduction pushes the
    model's award further up. Which way depends on the family's income mix,
    its maximum amount and its childcare charges. It can be large, as in C.
  • Childcare: Scottish working-age claims without Universal Credit whose
    capped charges exceed earnings after the disregards plus any tax credit,
    and that have other counted income. The model counts too little income,
    by the smaller of that excess and the other income, and pays up to 20% of
    it too much (£275.32 in the reproducer). The #2931 fix makes maintenance
    and Widowed Parent's Allowance count, so more of these claims have other
    income to absorb the charges.
Ngôn ngữ chính
Python
Star
53
Fork
34
Merge trung bình
3 ngày 7 giờ
Pull request đã merge (30 ngày)
100

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của PolicyEngine/policyengine-uk

Tất cả issue của PolicyEngine/policyengine-uk

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.