Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Alabama itemized deductions count tax unit dependents' FICA and self-employment tax

Aperta
#9,941 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
70/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
fintech-quant

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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_tax and employee_medicare_tax (plus tax-unit additional_medicare_tax and employee_state_payroll_tax) and sum with tax_unit_non_dep_add. Keep gov.contrib.ubi_center.flat_tax.abolish_payroll_tax zeroing the deduction, as employee_payroll_tax does today.
  • Keep real_estate_taxes, mortgage and investment interest pooled as the federal itemized deduction does (capped_property_taxes adds every member), unless the federal treatment changes.
  • Missouri lists self_employment_tax in gov.states.mo.tax.income.deductions.itemized too; check it in the same pass.
  • Extend policyengine_us/tests/core/test_al_agi_dependent_invariants.py to assert al_itemized_deductions is invariant to dependents' inputs.
Lingua principale
Python
Stelle
166
Fork
214
Merge medio
2g 14h
PR unite (30g)
315

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PolicyEngine/policyengine-us

Tutte le issue di PolicyEngine/policyengine-us

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.