Alabama itemized deductions count tax unit dependents' FICA and self-employment tax
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 70/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python
- Domain
- fintech-quant
Research direction
Start with policyengine_us/tests/core/test_al_agi_dependent_invariants.py and inspect the Alabama itemized deduction sources named in the issue. Extend the test to check that changing dependents' inputs does not change al_itemized_deductions, while checking Missouri's self-employment tax treatment in the same pass. Done means the dependent-invariance test passes and the requested payroll-tax exemption behavior is preserved.
Written by the indexing model from the issue text.
Description
What's wrong
al_itemized_deductions adds gov.states.al.tax.income.deductions.itemized.sources, which lists employee_payroll_tax (a tax-unit sum of every member's FICA) and self_employment_tax (person-level, so adds sums every member). A tax unit dependent's FICA and self-employment tax therefore become itemized deductions on the parent's Alabama return.
Found by the property test added in the Alabama AGI fix (branch al-agi-exclude-dependents): zeroing a dependent's wages moved one unit's al_itemized_deductions from 231.44 to 0.
Authority
2025 Form 40 booklet, Schedule A instructions, PDF p. 19:
FICA Tax (Social Security and Medicare) (line 6). You can deduct the FICA tax (Social Security and Medicare) withheld on your income by your employer.
Federal Self-Employment Taxes (line 6). You can deduct the Federal self-employment tax you paid during the year 2025 for the tax year 2024 and/or prior years.
A dependent's own FICA is withheld on the dependent's income, and the dependent files their own Alabama return (Ala. Code 40-18-27(a); booklet p. 5).
Fix sketch
- Make the payroll tax items the head's and spouse's own: list the person-level
employee_social_security_taxandemployee_medicare_tax(plus tax-unitadditional_medicare_taxandemployee_state_payroll_tax) and sum withtax_unit_non_dep_add. Keepgov.contrib.ubi_center.flat_tax.abolish_payroll_taxzeroing the deduction, asemployee_payroll_taxdoes today. - Keep
real_estate_taxes, mortgage and investment interest pooled as the federal itemized deduction does (capped_property_taxesadds every member), unless the federal treatment changes. - Missouri lists
self_employment_taxingov.states.mo.tax.income.deductions.itemizedtoo; check it in the same pass. - Extend
policyengine_us/tests/core/test_al_agi_dependent_invariants.pyto assertal_itemized_deductionsis invariant to dependents' inputs.
- Dominant language
- Python
- Stars
- 166
- Forks
- 214
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 294
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from PolicyEngine/policyengine-us
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
PolicyEngine/policyengine-us#10179 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
PolicyEngine/policyengine-us#10073 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
PolicyEngine/policyengine-us#10072 ·
Maintainers usually reply within 2 days
-
bug state-income-tax states/vt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
PolicyEngine/policyengine-us#9996 ·
Maintainers usually reply within 2 days
-
bug hhs/tanf states/nh
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
PolicyEngine/policyengine-us#9984 ·
Maintainers usually reply within 2 days
All issues in PolicyEngine/policyengine-us
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
spec-kitty/spec-kitty#6112 ·
Maintainers usually reply within 1 day
-
[Bug]: OpenRouter streaming chunks report the requested router name instead of the model OpenRouter servedPossibly taken @Mrun25 claimed this today. Openbug llm translation
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
BerriAI/litellm#46095 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
uberdeveloper/fastbt#29 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
andrew-blake/melcloudhome#368 ·
Maintainers usually reply within 1 day
-
lane:discover
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
SPARDiffData/differential-data-collection#33 ·
Maintainers usually reply within 1 day