Skip to content

Commit

Permalink
adjustment to the code
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodi Yang committed Nov 2, 2023
1 parent cec7b58 commit 4d167a1
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions taxcalc/calcfunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3309,12 +3309,16 @@ def IITAX(c59660, c11070, c10960, personal_refundable_credit, ctc_new, rptc,
Sum of iitax and payrolltax and lumpsum_tax
"""
eitc = c59660
if CTC_refundable and ODC_refundable:
ctc_odc_refund = c07220 + odc
if CTC_refundable:
ctc_refund = c07220
else:
ctc_refund = 0.
if ODC_refundable:
odc_refund = odc
else:
ctc_odc_refund = 0.
odc_refund = 0.
refund = (eitc + c11070 + c10960 + CDCC_refund + recovery_rebate_credit +
personal_refundable_credit + ctc_new + rptc + ctc_odc_refund)
personal_refundable_credit + ctc_new + rptc + ctc_refund + odc_refund)
iitax = c09200 - refund
combined = iitax + payrolltax
return (eitc, refund, iitax, combined)
Expand Down

0 comments on commit 4d167a1

Please sign in to comment.