Skip to content

Improve Tax-Free Childcare income test#1602

Merged
MaxGhenis merged 1 commit into
mainfrom
tfc-income-period
Apr 15, 2026
Merged

Improve Tax-Free Childcare income test#1602
MaxGhenis merged 1 commit into
mainfrom
tfc-income-period

Conversation

@MaxGhenis
Copy link
Copy Markdown
Collaborator

Summary

  • Add a Tax-Free Childcare declaration-period weeks parameter.
  • Add tax_free_childcare_expected_declaration_period_income, defaulting annual countable income into the declaration period instead of hard-coding annual income divided by four inside the eligibility formula.
  • Add self-employment start-up period relief for the minimum income threshold.
  • Match legislative boundary wording by using >= for the minimum income threshold and <= for the £100k adjusted-net-income limit.

Closes #1043.
Refs #1047.

Notes

Tests

  • uv run --python 3.13 policyengine-core test policyengine_uk/tests/policy/baseline/gov/hmrc/tax_free_childcare -c policyengine_uk
  • uv run --python 3.13 ruff check policyengine_uk/variables/gov/hmrc/tax_free_childcare/conditions/tax_free_childcare_expected_declaration_period_income.py policyengine_uk/variables/gov/hmrc/tax_free_childcare/conditions/tax_free_childcare_self_employment_start_up_period.py policyengine_uk/variables/gov/hmrc/tax_free_childcare/conditions/tax_free_childcare_meets_income_requirements.py
  • uv run --python 3.13 ruff format --check policyengine_uk/variables/gov/hmrc/tax_free_childcare/conditions/tax_free_childcare_expected_declaration_period_income.py policyengine_uk/variables/gov/hmrc/tax_free_childcare/conditions/tax_free_childcare_self_employment_start_up_period.py policyengine_uk/variables/gov/hmrc/tax_free_childcare/conditions/tax_free_childcare_meets_income_requirements.py

@MaxGhenis MaxGhenis merged commit 635df59 into main Apr 15, 2026
2 checks passed
@MaxGhenis MaxGhenis deleted the tfc-income-period branch April 15, 2026 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tax-Free Childcare: Improve income calculation for variable income and self-employment

1 participant