diff --git a/changelog.d/235.added.md b/changelog.d/235.added.md new file mode 100644 index 0000000000..7df1b2aeb7 --- /dev/null +++ b/changelog.d/235.added.md @@ -0,0 +1 @@ +Added the £500 tax-credit Covid-19 support payment with explicit historical eligibility and payment-year inputs, cash and fiscal totals, and documented HBAI-style income inclusion. diff --git a/docs/book/programs/gov/dwp/tax-credits.md b/docs/book/programs/gov/dwp/tax-credits.md index abab3fd48f..c423377e57 100644 --- a/docs/book/programs/gov/dwp/tax-credits.md +++ b/docs/book/programs/gov/dwp/tax-credits.md @@ -151,6 +151,55 @@ non-earned disregard for unearned income is the `means_test/non_earned_disregard.yaml` parameter. Awards below `min_benefit` (a £26-ish floor) are paid as zero. +## One-off Covid-19 support payment + +The [initial Treasury Direction](https://assets.publishing.service.gov.uk/media/606ee5ede90e076f4f581acd/WTC_Direction_060421.pdf#page=2) +provided a single £500 payment for a qualifying historical tax-credit claim. +On 2 March 2021, the claim needed a current non-nil WTC award, or nil WTC +together with non-nil CTC, subject to the direction's termination, +non-payability and fraud exclusions. A joint claim receives one payment, +not one per partner. The initial payment belongs to fiscal year 2021-22. + +The [September 2021 extension](https://www.gov.uk/government/publications/further-treasury-direction-made-under-section-76-of-the-coronavirus-act-2020/treasury-direction-made-under-section-76-of-the-coronavirus-act-2020) +covers a qualifying final decision for a period including 2 March 2021 where +there was no entitlement under the initial direction. It retains specified +termination, disqualification and fraud restrictions. An extension payment +can belong to 2021-22 or 2022-23; it does not pay an initial recipient again. + +PolicyEngine models this as `tax_credit_covid_support_payment`, separate from +ordinary WTC and CTC. Three annual benefit-unit inputs describe one historical +single or joint claim: + +- `tax_credit_covid_support_payment_initial_eligible`: a verified qualifying + claim under the initial direction, including all its legal conditions. +- `tax_credit_covid_support_payment_extension_eligible`: a verified qualifying + final-decision claim under the extension, including no initial entitlement. +- `tax_credit_covid_support_payment_year`: the single fiscal payment year's + start, either `2021` or `2022`; `0` means timing has not been established. + +Both eligibility inputs default to `False`. Annual tax-credit receipts, +current eligibility and simulated WTC do not establish these historical facts. +Keep the same payment-year value in every requested model year: an initial +claim assigned `2021` pays £500 in 2021 and nothing in 2022, while an extension +assigned `2022` pays nothing in 2021 and £500 in 2022. Initial entitlement +prevents an extension payment even if both eligibility inputs are supplied. +The caller assigns each historical claim to one benefit unit once; the model +does not reconstruct intervening separations or new couples. + +The separate cash enters household income and government spending once. It +stays outside ordinary tax-credit awards, taxable income and benefit +means-test income, consistent with [Finance Act 2021 section 31](https://www.legislation.gov.uk/ukpga/2021/26/section/31/enacted) +and [HMRC's historical guidance](https://www.gov.uk/guidance/new-one-off-500-payment-for-working-households-receiving-tax-credits). +The amount is not scaled by generic benefit-uprating reforms. The model does +not determine recovery or tax charges on wrongly received payments, change +supplied capital stocks, or model a payment-retention history or detailed +capital-disregard period. + +We include this separate cash in modelled HBAI-style state support, following +[DWP's general inclusion of state support and acknowledgement of the payment](https://www.gov.uk/government/statistics/households-below-average-income-for-financial-years-ending-1995-to-2022/households-below-average-income-series-quality-and-methodology-information-report-fye-2022#income-definition). +This is an inference about the income measure; it does not reproduce or verify +DWP's payment-specific survey imputation or weekly allocation. + ## Scheme end From `2025-04-06` onwards the `tax_credits` variable returns zero diff --git a/policyengine_uk/data/fiscal_partition.yaml b/policyengine_uk/data/fiscal_partition.yaml index 1ff0ccbda9..7b6be1f8ff 100644 --- a/policyengine_uk/data/fiscal_partition.yaml +++ b/policyengine_uk/data/fiscal_partition.yaml @@ -1340,3 +1340,11 @@ spending_heads: sign: any zero_at_baseline: expected caseload: false + - id: tax_credit_covid_support_payment + label: Tax credit Covid-19 support payment + variable: tax_credit_covid_support_payment + entity: benunit + report_group: cost_of_living_support + totals: [gov_spending, household_benefits] + sign: nonnegative + zero_at_baseline: expected diff --git a/policyengine_uk/parameters/gov/hmrc/tax_credit_covid_support_payment/amount.yaml b/policyengine_uk/parameters/gov/hmrc/tax_credit_covid_support_payment/amount.yaml new file mode 100644 index 0000000000..6cc051890d --- /dev/null +++ b/policyengine_uk/parameters/gov/hmrc/tax_credit_covid_support_payment/amount.yaml @@ -0,0 +1,16 @@ +description: HMRC pays this single amount under the Covid-19 support scheme for working households receiving tax credits in the selected fiscal payment year. +values: + 0001-01-01: 0 + # Fiscal payment years, not the date of the qualifying tax-credit award. + # The extension permits payment in 2021-22 or 2022-23, but not a second payment. + 2021-04-06: 500 + 2023-04-06: 0 +metadata: + unit: currency-GBP + period: year + label: Tax credit Covid-19 support payment amount + reference: + - title: "Covid-19 support scheme initial Direction, Schedule paragraphs 2-3 and 10 #page 2,4" + href: https://assets.publishing.service.gov.uk/media/606ee5ede90e076f4f581acd/WTC_Direction_060421.pdf#page=2 + - title: Covid-19 support scheme extension Direction, Schedule paragraphs 2-5 and 9 + href: https://www.gov.uk/government/publications/further-treasury-direction-made-under-section-76-of-the-coronavirus-act-2020/treasury-direction-made-under-section-76-of-the-coronavirus-act-2020 diff --git a/policyengine_uk/parameters/gov/hmrc/tax_credit_covid_support_payment/initial_scheme_in_effect.yaml b/policyengine_uk/parameters/gov/hmrc/tax_credit_covid_support_payment/initial_scheme_in_effect.yaml new file mode 100644 index 0000000000..124a189c42 --- /dev/null +++ b/policyengine_uk/parameters/gov/hmrc/tax_credit_covid_support_payment/initial_scheme_in_effect.yaml @@ -0,0 +1,12 @@ +description: HMRC pays initial-direction Covid-19 support for working households receiving tax credits only in the 2021-22 fiscal payment year. +values: + 0001-01-01: false + 2021-04-06: true + 2022-04-06: false +metadata: + unit: bool + period: year + label: Initial tax credit Covid-19 support payment year + reference: + - title: "Covid-19 support scheme initial Direction, Schedule paragraphs 3 and 10 #page 2,4" + href: https://assets.publishing.service.gov.uk/media/606ee5ede90e076f4f581acd/WTC_Direction_060421.pdf#page=2 diff --git a/policyengine_uk/programs.yaml b/policyengine_uk/programs.yaml index c80b24cbd1..554f96d3f2 100644 --- a/policyengine_uk/programs.yaml +++ b/policyengine_uk/programs.yaml @@ -442,6 +442,29 @@ programs: verified_start_year: 2022 notes: HMRC administered Working Tax Credit and Child Tax Credit until they ended on 5 April 2025 + - id: tax_credit_covid_support_payment + name: Tax credit Covid-19 support payment + full_name: "Covid-19 support scheme: working households receiving tax credits" + category: Benefits + agency: HMRC + status: partial + coverage: UK + variable: tax_credit_covid_support_payment + budget: benefit + budget_uprating: [] + parameter_prefix: gov.hmrc.tax_credit_covid_support_payment + verified_start_year: 2021 + verified_end_year: 2022 + notes: >- + One-off £500 per historical single or joint tax-credit claim, separate + from ordinary Working Tax Credit and Child Tax Credit. Requires supplied + verified initial/extension eligibility facts and one fiscal payment year; + no historical award, fraud, termination or family-change inference. + Initial payments belong to 2021-22; extension payments can belong to + 2021-22 or 2022-23, without a second payment for initial entitlement. + Modelled HBAI-style inclusion follows the general state-support definition, + not verified payment-specific survey imputation or weekly allocation. + - id: sda name: SDA full_name: Severe Disablement Allowance @@ -1227,3 +1250,4 @@ budget_order: - carer_support_payment - scottish_carer_supplement - disability_basic_income + - tax_credit_covid_support_payment diff --git a/policyengine_uk/tests/policy/baseline/gov/hmrc/tax_credit_covid_support_payment.yaml b/policyengine_uk/tests/policy/baseline/gov/hmrc/tax_credit_covid_support_payment.yaml new file mode 100644 index 0000000000..d597a94b38 --- /dev/null +++ b/policyengine_uk/tests/policy/baseline/gov/hmrc/tax_credit_covid_support_payment.yaml @@ -0,0 +1,172 @@ +# Initial Treasury Direction, Schedule paragraphs 2-6: one GBP500 payment +# per qualifying single or joint claim, based on the award on 2 March 2021. +# https://assets.publishing.service.gov.uk/media/606ee5ede90e076f4f581acd/WTC_Direction_060421.pdf#page=2 +# Extension Direction, Schedule paragraphs 3-8: a qualifying final decision +# can give payment by the end of 2022-23, but initial entitlement excludes it. +# https://www.gov.uk/government/publications/further-treasury-direction-made-under-section-76-of-the-coronavirus-act-2020/treasury-direction-made-under-section-76-of-the-coronavirus-act-2020 +# The two eligibility inputs are verified historical facts, including their +# exclusions. These cases do not reconstruct those facts from annual awards. +# Model year 2021 represents FY2021-22; model year 2022 represents FY2022-23. + +- name: Case 1, absent historical eligibility gives no payment. + period: 2021 + input: + tax_credit_covid_support_payment_year: 2021 + output: + tax_credit_covid_support_payment_initial_eligible: false + tax_credit_covid_support_payment_extension_eligible: false + tax_credit_covid_support_payment: 0 + +- name: Case 2, an unknown payment year gives no payment. + period: 2021 + input: + tax_credit_covid_support_payment_initial_eligible: true + output: + tax_credit_covid_support_payment_year: 0 + tax_credit_covid_support_payment: 0 + +- name: Case 3, initial eligibility pays GBP500 in its actual payment year. + period: 2021 + input: + tax_credit_covid_support_payment_initial_eligible: true + tax_credit_covid_support_payment_year: 2021 + working_tax_credit: 0 + child_tax_credit: 0 + output: + tax_credit_covid_support_payment: 500 + +- name: Case 4, extension eligibility can pay in 2021-22. + period: 2021 + input: + tax_credit_covid_support_payment_extension_eligible: true + tax_credit_covid_support_payment_year: 2021 + output: + tax_credit_covid_support_payment: 500 + +- name: Case 5, extension eligibility can pay in 2022-23. + period: 2022 + input: + tax_credit_covid_support_payment_extension_eligible: true + tax_credit_covid_support_payment_year: 2022 + output: + tax_credit_covid_support_payment: 500 + +- name: Case 6, initial eligibility does not authorize a late initial payment. + period: 2022 + input: + tax_credit_covid_support_payment_initial_eligible: true + tax_credit_covid_support_payment_year: 2022 + output: + tax_credit_covid_support_payment: 0 + +- name: Case 7, both historical flags still give one initial payment. + period: 2021 + input: + tax_credit_covid_support_payment_initial_eligible: true + tax_credit_covid_support_payment_extension_eligible: true + tax_credit_covid_support_payment_year: 2021 + output: + tax_credit_covid_support_payment: 500 + +- name: Case 8, initial entitlement excludes a later extension payment. + period: 2022 + input: + tax_credit_covid_support_payment_initial_eligible: true + tax_credit_covid_support_payment_extension_eligible: true + tax_credit_covid_support_payment_year: 2022 + output: + tax_credit_covid_support_payment: 0 + +- name: Case 9, annual Working Tax Credit is not the qualifying-date fact. + period: 2021 + input: + working_tax_credit: 5_000 + tax_credit_covid_support_payment_year: 2021 + output: + tax_credit_covid_support_payment: 0 + +- name: Case 10, Child Tax Credit alone does not establish historical entitlement. + period: 2021 + input: + working_tax_credit: 0 + child_tax_credit: 3_000 + tax_credit_covid_support_payment_year: 2021 + output: + tax_credit_covid_support_payment: 0 + +- name: Case 11, a verified nil-WTC and positive-CTC qualifying award can receive support. + # Initial Direction paragraph 4(b). The historical flag certifies that + # route; the current annual awards cannot establish the 2 March facts. + period: 2021 + input: + working_tax_credit: 0 + child_tax_credit: 3_000 + tax_credit_covid_support_payment_initial_eligible: true + tax_credit_covid_support_payment_year: 2021 + output: + tax_credit_covid_support_payment: 500 + +- name: Case 12, one initial payment does not recur in other fiscal years. + period: 2021 + input: + tax_credit_covid_support_payment_initial_eligible: + 2020: true + 2021: true + 2022: true + 2023: true + tax_credit_covid_support_payment_year: + 2020: 2021 + 2021: 2021 + 2022: 2021 + 2023: 2021 + output: + tax_credit_covid_support_payment: + 2020: 0 + 2021: 500 + 2022: 0 + 2023: 0 + +- name: Case 13, one extension payment does not recur in other fiscal years. + period: 2022 + input: + tax_credit_covid_support_payment_extension_eligible: + 2020: true + 2021: true + 2022: true + 2023: true + tax_credit_covid_support_payment_year: + 2020: 2022 + 2021: 2022 + 2022: 2022 + 2023: 2022 + output: + tax_credit_covid_support_payment: + 2020: 0 + 2021: 0 + 2022: 500 + 2023: 0 + +- name: Case 14, extension eligibility cannot pay before the scheme. + period: 2020 + input: + tax_credit_covid_support_payment_extension_eligible: true + tax_credit_covid_support_payment_year: 2020 + output: + tax_credit_covid_support_payment: 0 + +- name: Case 15, extension eligibility cannot pay after the scheme. + period: 2023 + input: + tax_credit_covid_support_payment_extension_eligible: true + tax_credit_covid_support_payment_year: 2023 + output: + tax_credit_covid_support_payment: 0 + +- name: Case 16, a qualifying Northern Ireland claim receives the same payment. + period: 2021 + input: + region: NORTHERN_IRELAND + tax_credit_covid_support_payment_initial_eligible: true + tax_credit_covid_support_payment_year: 2021 + output: + tax_credit_covid_support_payment: 500 diff --git a/policyengine_uk/tests/test_budget_programs.py b/policyengine_uk/tests/test_budget_programs.py index 6391829bc3..f379166e42 100644 --- a/policyengine_uk/tests/test_budget_programs.py +++ b/policyengine_uk/tests/test_budget_programs.py @@ -11,8 +11,9 @@ total names the same terms as the registry. 2. Differential: HOUSEHOLD_TAX_VARIABLES and HOUSEHOLD_BENEFIT_VARIABLES equal, in order, the lists the formula modules held as literals at commit - 2da212abcf2086337fc088a4a1236f4ae7b6af63, and the council tax and - uprating rules match the ones those formulas applied. + 2da212abcf2086337fc088a4a1236f4ae7b6af63, with the explicit issue #235 + addition below; the council tax and uprating rules retain their stated + historical behavior, with that fixed one-off payment also excluded. 3. budget_programs() returns the same records in a fresh interpreter, whichever module that interpreter imports first. 4. Properties: every budget_programs() variable exists, none repeats, and @@ -155,6 +156,8 @@ "carer_support_payment", "scottish_carer_supplement", "disability_basic_income", + # Issue #235 adds this separate payment after the historical list. + "tax_credit_covid_support_payment", ] # The rules those formulas applied: abolishing council tax removed these @@ -165,7 +168,12 @@ "high_value_council_tax_surcharge", "council_tax_benefit", } -MAIN_UPRATING_EXCEPTIONS = {"state_pension": ("all",), "basic_income": ()} +MAIN_UPRATING_EXCEPTIONS = { + "state_pension": ("all",), + "basic_income": (), + # Issue #235: the fixed historical GBP500 payment is not benefit-uprated. + "tax_credit_covid_support_payment": (), +} def flagged(budget): diff --git a/policyengine_uk/tests/test_tax_credit_covid_support_payment.py b/policyengine_uk/tests/test_tax_credit_covid_support_payment.py new file mode 100644 index 0000000000..18124c29cb --- /dev/null +++ b/policyengine_uk/tests/test_tax_credit_covid_support_payment.py @@ -0,0 +1,197 @@ +"""Cash integration for the historical tax-credit support payment. + +The Direction, Schedule paragraphs 2-3, gives GBP500 per single/joint award. +Finance Act 2021 section 31 exempts that payment from income tax. HMRC's +historical guidance says the payment does not affect benefits. The monetary +oracles below are those GBP500 accounting differences, not computed tax rates. +""" + +import copy + +import numpy as np +import pytest + +from policyengine_uk import Simulation + + +pytestmark = pytest.mark.usefixtures("cloned_uk_tax_benefit_system") +YEAR = 2021 +PAYMENT = "tax_credit_covid_support_payment" +INITIAL = "tax_credit_covid_support_payment_initial_eligible" +EXTENSION = "tax_credit_covid_support_payment_extension_eligible" +PAYMENT_YEAR = "tax_credit_covid_support_payment_year" + + +def pair(situation): + """Change only the verified historical qualification, not current awards.""" + without = copy.deepcopy(situation) + with_payment = copy.deepcopy(situation) + for source, eligible in ((without, False), (with_payment, True)): + for family in source["benunits"].values(): + family[INITIAL] = {YEAR: eligible} + family[EXTENSION] = {YEAR: False} + family[PAYMENT_YEAR] = {YEAR: YEAR} + return Simulation(situation=without), Simulation(situation=with_payment) + + +def assert_cash_accounting(control, recipient, claim_count): + # One GBP500 transfer per claim: it raises cash and spending, and lowers + # government balance by the same amount. No unrelated baseline is a golden. + np.testing.assert_array_equal(control.calculate(PAYMENT, YEAR), [0] * claim_count) + np.testing.assert_array_equal( + recipient.calculate(PAYMENT, YEAR), [500] * claim_count + ) + for name in ( + "household_benefits", + "household_net_income", + "hbai_benefits", + "hbai_household_net_income", + "gov_spending", + ): + change = ( + np.asarray(recipient.calculate(name, YEAR)).sum() + - np.asarray(control.calculate(name, YEAR)).sum() + ) + assert change == pytest.approx(500 * claim_count, abs=0.01, rel=0) + balance_change = ( + np.asarray(recipient.calculate("gov_balance", YEAR)).sum() + - np.asarray(control.calculate("gov_balance", YEAR)).sum() + ) + assert balance_change == pytest.approx(-500 * claim_count, abs=0.01, rel=0) + + +def assert_unchanged(control, recipient, names): + for name in names: + np.testing.assert_array_equal( + recipient.calculate(name, YEAR), control.calculate(name, YEAR), err_msg=name + ) + + +def test_payment_keeps_positive_tax_ni_and_uc_and_adds_cash_once(): + situation = { + "people": { + "person1": { + "age": {YEAR: 35}, + "employment_income": {YEAR: 20_000}, + "weekly_hours": {YEAR: 35}, + }, + "person2": {"age": {YEAR: 8}}, + }, + "benunits": { + "benunit": { + "members": ["person1", "person2"], + "would_claim_uc": {YEAR: True}, + "would_claim_uc_at_legacy_closure": {YEAR: False}, + "working_tax_credit": {YEAR: 0}, + "child_tax_credit": {YEAR: 0}, + } + }, + "households": { + "household": { + "members": ["person1", "person2"], + "region": {YEAR: "SOUTH_EAST"}, + "tenure_type": {YEAR: "RENT_PRIVATELY"}, + "rent": {YEAR: 10_000}, + "council_tax": {YEAR: 1_500}, + } + }, + } + control, recipient = pair(situation) + + assert control.calculate("income_tax", YEAR).sum() > 0 + assert control.calculate("national_insurance", YEAR).sum() > 0 + assert control.calculate("universal_credit", YEAR).sum() > 0 + assert_unchanged( + control, + recipient, + ( + "income_tax", + "national_insurance", + "universal_credit", + "working_tax_credit", + "child_tax_credit", + ), + ) + assert_cash_accounting(control, recipient, 1) + + +def test_joint_claim_keeps_positive_hb_ctr_and_cap_reduction(): + # Three pre-2017 children, no earnings, social rent and a continuing HB + # claim give a positive capped award. The new payment must neither enter + # the capped-benefit total nor grant the ordinary WTC cap exemption. + people = { + "person1": { + "age": {YEAR: 35}, + "housing_benefit_reported": {YEAR: 1_000}, + "council_tax_benefit_reported": {YEAR: 1_000}, + }, + "person2": {"age": {YEAR: 35}}, + "person3": {"age": {YEAR: 12}}, + "person4": {"age": {YEAR: 10}}, + "person5": {"age": {YEAR: 8}}, + } + situation = { + "people": people, + "benunits": { + "benunit": { + "members": list(people), + "would_claim_uc": {YEAR: False}, + "would_claim_uc_at_legacy_closure": {YEAR: False}, + "working_tax_credit": {YEAR: 0}, + "child_tax_credit": {YEAR: 10_000}, + } + }, + "households": { + "household": { + "members": list(people), + "region": {YEAR: "SOUTH_EAST"}, + "local_authority": {YEAR: "MAIDSTONE"}, + "tenure_type": {YEAR: "RENT_FROM_COUNCIL"}, + "rent": {YEAR: 20_000}, + "council_tax": {YEAR: 1_500}, + } + }, + } + control, recipient = pair(situation) + + assert control.calculate("housing_benefit", YEAR).sum() > 0 + assert control.calculate("council_tax_benefit", YEAR).sum() > 0 + assert control.calculate("benefit_cap_reduction", YEAR).sum() > 0 + assert_unchanged( + control, + recipient, + ( + "income_tax", + "national_insurance", + "housing_benefit", + "council_tax_benefit", + "benefit_cap_reduction", + "working_tax_credit", + "child_tax_credit", + ), + ) + assert_cash_accounting(control, recipient, 1) + + +def test_two_independent_claims_in_one_home_add_two_payments(): + situation = { + "people": { + "person1": {"age": {YEAR: 35}, "employment_income": {YEAR: 40_000}}, + "person2": {"age": {YEAR: 45}, "employment_income": {YEAR: 40_000}}, + }, + "benunits": { + "benunit1": {"members": ["person1"]}, + "benunit2": {"members": ["person2"]}, + }, + "households": { + "household": { + "members": ["person1", "person2"], + "tenure_type": {YEAR: "OWNED_OUTRIGHT"}, + "council_tax": {YEAR: 1_500}, + } + }, + } + control, recipient = pair(situation) + + assert_unchanged(control, recipient, ("income_tax", "national_insurance")) + assert_cash_accounting(control, recipient, 2) diff --git a/policyengine_uk/variables/gov/gov_spending.py b/policyengine_uk/variables/gov/gov_spending.py index f8ff6bd218..c496736a49 100644 --- a/policyengine_uk/variables/gov/gov_spending.py +++ b/policyengine_uk/variables/gov/gov_spending.py @@ -61,6 +61,7 @@ "carer_support_payment", "scottish_carer_supplement", "disability_basic_income", + "tax_credit_covid_support_payment", ] diff --git a/policyengine_uk/variables/gov/hmrc/tax_credit_covid_support_payment/tax_credit_covid_support_payment.py b/policyengine_uk/variables/gov/hmrc/tax_credit_covid_support_payment/tax_credit_covid_support_payment.py new file mode 100644 index 0000000000..5431f93308 --- /dev/null +++ b/policyengine_uk/variables/gov/hmrc/tax_credit_covid_support_payment/tax_credit_covid_support_payment.py @@ -0,0 +1,37 @@ +from policyengine_uk.model_api import * + + +class tax_credit_covid_support_payment(Variable): + value_type = float + entity = BenUnit + label = "Tax credit Covid-19 support payment" + definition_period = YEAR + default_value = 0 + unit = GBP + documentation = ( + "The single lawful Covid-19 support payment for a historical " + "tax-credit claim, separate from ordinary Working Tax Credit and " + "Child Tax Credit. The benefit unit represents that historical " + "single or joint claim once, so joint claimants share one payment. " + "The initial/extension eligibility facts and selected fiscal payment " + "year are supplied explicitly; annual tax-credit receipts and " + "current-year entitlement do not establish them. Qualifying payments " + "are exempt from income tax. This measure excludes recovery or tax " + "charges on payments to which the recipient was not entitled and " + "does not reconstruct historical family changes." + ) + reference = ( + "https://assets.publishing.service.gov.uk/media/606ee5ede90e076f4f581acd/WTC_Direction_060421.pdf#page=2", + "https://www.gov.uk/government/publications/further-treasury-direction-made-under-section-76-of-the-coronavirus-act-2020/treasury-direction-made-under-section-76-of-the-coronavirus-act-2020", + "https://www.legislation.gov.uk/ukpga/2021/26/section/31/enacted", + ) + + def formula(benunit, period, parameters): + p = parameters(period).gov.hmrc.tax_credit_covid_support_payment + initial = benunit("tax_credit_covid_support_payment_initial_eligible", period) + extension = benunit( + "tax_credit_covid_support_payment_extension_eligible", period + ) + payment_year = benunit("tax_credit_covid_support_payment_year", period) + eligible = (initial & p.initial_scheme_in_effect) | (~initial & extension) + return eligible * (payment_year == period.start.year) * p.amount diff --git a/policyengine_uk/variables/gov/hmrc/tax_credit_covid_support_payment/tax_credit_covid_support_payment_extension_eligible.py b/policyengine_uk/variables/gov/hmrc/tax_credit_covid_support_payment/tax_credit_covid_support_payment_extension_eligible.py new file mode 100644 index 0000000000..cb7b2c541c --- /dev/null +++ b/policyengine_uk/variables/gov/hmrc/tax_credit_covid_support_payment/tax_credit_covid_support_payment_extension_eligible.py @@ -0,0 +1,31 @@ +from policyengine_uk.model_api import * + + +class tax_credit_covid_support_payment_extension_eligible(Variable): + value_type = bool + entity = BenUnit + label = "Qualifying historical award for the tax credit support extension" + definition_period = YEAR + default_value = False + documentation = ( + "Externally verified entitlement of the historical tax-credit claim " + "represented by this benefit unit under the September 2021 extension " + "Direction. True asserts a final decision, as defined in paragraph 9, " + "awarding non-nil Working Tax Credit, or nil Working Tax Credit with " + "non-nil Child Tax Credit, for a period including 2 March 2021. It " + "also asserts no entitlement to the initial support payment, no " + "disqualifying pre-2 March termination or non-payability under " + "paragraph 7, and no knowing fraudulent involvement by the person or " + "either member of their couple under paragraph 8. A s.16 termination " + "subsequently cancelled on a s.21A review or reversed on a s.38 " + "appeal is treated as paragraph 7 specifies. A final decision includes " + "only the statutory decisions, review outcomes and appeals listed in " + "paragraph 9. These legal facts are supplied, not inferred from " + "annual receipts, a later award or current eligibility. Assign the " + "historical single or joint claim to one benefit unit once, not to " + "both partners, and keep the fact consistent across payment years. " + "Historical family changes and recovery of wrongly received payments " + "are not reconstructed. Initial entitlement takes precedence and " + "prevents a second extension payment." + ) + reference = "https://www.gov.uk/government/publications/further-treasury-direction-made-under-section-76-of-the-coronavirus-act-2020/treasury-direction-made-under-section-76-of-the-coronavirus-act-2020" diff --git a/policyengine_uk/variables/gov/hmrc/tax_credit_covid_support_payment/tax_credit_covid_support_payment_initial_eligible.py b/policyengine_uk/variables/gov/hmrc/tax_credit_covid_support_payment/tax_credit_covid_support_payment_initial_eligible.py new file mode 100644 index 0000000000..7dced7968a --- /dev/null +++ b/policyengine_uk/variables/gov/hmrc/tax_credit_covid_support_payment/tax_credit_covid_support_payment_initial_eligible.py @@ -0,0 +1,30 @@ +from policyengine_uk.model_api import * + + +class tax_credit_covid_support_payment_initial_eligible(Variable): + value_type = bool + entity = BenUnit + label = "Qualifying historical award for the initial tax credit support payment" + definition_period = YEAR + default_value = False + documentation = ( + "Externally verified entitlement of the historical tax-credit claim " + "represented by this benefit unit to the initial Covid-19 support " + "payment. True asserts a current award for 2020-21 on 2 March 2021 " + "of non-nil Working Tax Credit, or nil Working Tax Credit together " + "with non-nil Child Tax Credit. It also asserts that the award was " + "not terminated before that date under Tax Credits Act 2002 s.16, " + "Universal Credit (Transitional Provisions) Regulations 2014 regs.8, " + "46 or 47, or Childcare Payments Act 2014 s.30, and was not made " + "non-payable under s.36A or s.36C for a period including that date. " + "Neither the person nor either member of their couple obtained the " + "award through knowing fraudulent involvement. These are supplied " + "legal facts, not inferred from annual tax-credit income, current " + "entitlement or a positive simulated award. Set this once per " + "historical single or joint claim, not once per partner, and keep the " + "fact consistent across payment years. The caller must map the " + "historical claim to one benefit unit; the model does not reconstruct " + "intervening separations or new couples. Initial entitlement prevents " + "a second payment through the extension." + ) + reference = "https://assets.publishing.service.gov.uk/media/606ee5ede90e076f4f581acd/WTC_Direction_060421.pdf#page=2" diff --git a/policyengine_uk/variables/gov/hmrc/tax_credit_covid_support_payment/tax_credit_covid_support_payment_year.py b/policyengine_uk/variables/gov/hmrc/tax_credit_covid_support_payment/tax_credit_covid_support_payment_year.py new file mode 100644 index 0000000000..83dd7a571c --- /dev/null +++ b/policyengine_uk/variables/gov/hmrc/tax_credit_covid_support_payment/tax_credit_covid_support_payment_year.py @@ -0,0 +1,27 @@ +from policyengine_uk.model_api import * + + +class tax_credit_covid_support_payment_year(Variable): + value_type = int + entity = BenUnit + label = "Fiscal payment year of the one-off tax credit support payment" + definition_period = YEAR + default_value = 0 + documentation = ( + "Fiscal-year start of the single lawful Covid-19 tax-credit support " + "payment for the historical claim represented by this benefit unit. " + "Enter 2021 for 6 April 2021 to 5 April 2022, or 2022 for 6 April " + "2022 to 5 April 2023. Initial-direction payments belong to 2021; " + "extension payments can belong to 2021 or 2022. This is the payment " + "year, not the 2020-21 qualifying-award year. Zero means no payment " + "year has been established. Supply the same year in every requested " + "model year so the single payment is not repeated. This fact alone " + "does not establish entitlement: the corresponding verified " + "historical eligibility fact is also required. The caller assigns " + "one historical single or joint claim once; the model does not " + "reconstruct changes in family composition." + ) + reference = ( + "https://assets.publishing.service.gov.uk/media/606ee5ede90e076f4f581acd/WTC_Direction_060421.pdf#page=2", + "https://www.gov.uk/government/publications/further-treasury-direction-made-under-section-76-of-the-coronavirus-act-2020/treasury-direction-made-under-section-76-of-the-coronavirus-act-2020", + ) diff --git a/policyengine_uk/variables/household/income/hbai_benefits.py b/policyengine_uk/variables/household/income/hbai_benefits.py index 31cf41489a..0d79b910f2 100644 --- a/policyengine_uk/variables/household/income/hbai_benefits.py +++ b/policyengine_uk/variables/household/income/hbai_benefits.py @@ -19,6 +19,10 @@ class hbai_benefits(Variable): "universal_credit", "working_tax_credit", "child_tax_credit", + # State-cash inclusion follows DWP's general HBAI income definition; + # payment-specific survey imputation and weekly allocation are not verified. + # https://www.gov.uk/government/statistics/households-below-average-income-for-financial-years-ending-1995-to-2022/households-below-average-income-series-quality-and-methodology-information-report-fye-2022#income-definition + "tax_credit_covid_support_payment", "attendance_allowance", "afcs", "bsp", diff --git a/policyengine_uk/variables/household/income/hbai_household_net_income.py b/policyengine_uk/variables/household/income/hbai_household_net_income.py index 734f3d6b91..f6fff431a7 100644 --- a/policyengine_uk/variables/household/income/hbai_household_net_income.py +++ b/policyengine_uk/variables/household/income/hbai_household_net_income.py @@ -39,6 +39,10 @@ "universal_credit", "working_tax_credit", "child_tax_credit", + # State-cash inclusion follows DWP's general HBAI income definition; + # payment-specific survey imputation and weekly allocation are not verified. + # https://www.gov.uk/government/statistics/households-below-average-income-for-financial-years-ending-1995-to-2022/households-below-average-income-series-quality-and-methodology-information-report-fye-2022#income-definition + "tax_credit_covid_support_payment", "attendance_allowance", "afcs", "bsp",