Use PA retirement-age threshold for employer pension exclusion - #9387
Use PA retirement-age threshold for employer pension exclusion#9387DTrim99 wants to merge 1 commit into
Conversation
pa_nontaxable_pension_income gated the PA exclusion on is_retired (age >= 65), while the parallel pa_nontaxable_retirement_distributions uses PA's retirement_age_threshold (59.5). 61 Pa. Code Sec. 101.6 treats federally qualified employee pension plans the same as IRAs, SEPs, and Keogh plans, so both should use the same age. This over-taxed employer pensions for retirees aged 59.5-64. Fixes PolicyEngine#9386 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018ECQhxDkVchXm1RNVyqwnx
|
@PavelMakarchuk flagging a small convention point: this changes the PA employer-pension exclusion age from 65 (the generic |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9387 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 3 1 -2
Lines 46 15 -31
=========================================
- Hits 46 15 -31
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Fixes #9386.
Problem
pa_nontaxable_pension_incomegated the Pennsylvania employer-pension exclusion onis_retired, which is hard-coded to age ≥ 65:But the parallel
pa_nontaxable_retirement_distributions(IRA/401(k)/403(b)/SEP/Keogh) already uses PA'sretirement_age_threshold= 59.5. 61 Pa. Code §101.6 treats federally qualified employee pension plans the same as IRAs, SEPs, and Keogh plans — all excluded once the recipient reaches the plan's retirement age — so the two should not use different ages. The PA-40 IN (2023, p.8) lists as not taxable: "Commonly recognized pension, old age, or retirement benefits paid after becoming eligible to retire, and retiring."The mismatch over-taxed employer pensions for retirees aged 59.5–64.
Fix
Gate
pa_nontaxable_pension_incomeon PA'sretirement_age_threshold(59.5), matchingpa_nontaxable_retirement_distributions.Impact (TAXSIM #1165)
PA 2023 joint, primary 72 / spouse 64, no wages; $37,636 interest, $201,382 pension, $52,916 Social Security. The pension is split 50/50, and the 64-year-old's half was wrongly taxed:
Tests
🤖 Generated with Claude Code