Skip to content

Commit

Permalink
Merge pull request #2766 from martinholmer/add-ctc_refundable-variable
Browse files Browse the repository at this point in the history
Add ctc_refundable variable
  • Loading branch information
martinholmer authored Jul 6, 2024
2 parents 30a9771 + 2886fa0 commit b9bfe1f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
9 changes: 7 additions & 2 deletions taxcalc/calcfunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3300,7 +3300,7 @@ def CTC_new(CTC_new_c, CTC_new_rt, CTC_new_c_under6_bonus,
def IITAX(c59660, c11070, c10960, personal_refundable_credit, ctc_new, rptc,
c09200, payrolltax, CDCC_refund, recovery_rebate_credit,
eitc, c07220, odc, CTC_refundable, ODC_refundable, refund,
ctc_total, iitax, combined):
ctc_total, ctc_refundable, iitax, combined):
"""
Computes final taxes.
Expand Down Expand Up @@ -3329,6 +3329,8 @@ def IITAX(c59660, c11070, c10960, personal_refundable_credit, ctc_new, rptc,
Total refundable income tax credits
ctc_total: float
Total CTC amount (c07220 + c11070 + odc + ctc_new)
ctc_refundable: float
Portion of total CTC amount that is refundable
iitax: float
Total federal individual income tax liability
combined: float
Expand All @@ -3342,6 +3344,8 @@ def IITAX(c59660, c11070, c10960, personal_refundable_credit, ctc_new, rptc,
Total refundable income tax credits
ctc_total: float
Total CTC amount (c07220 + c11070 + odc + ctc_new)
ctc_refundable: float
Portion of total CTC amount that is refundable
iitax: float
Total federal individual income tax liability
combined: float
Expand All @@ -3360,9 +3364,10 @@ def IITAX(c59660, c11070, c10960, personal_refundable_credit, ctc_new, rptc,
personal_refundable_credit + ctc_new + rptc + ctc_refund +
odc_refund)
ctc_total = c07220 + c11070 + odc + ctc_new
ctc_refundable = ctc_refund + c11070 + odc_refund + ctc_new
iitax = c09200 - refund
combined = iitax + payrolltax
return (eitc, refund, ctc_total, iitax, combined)
return (eitc, refund, ctc_total, ctc_refundable, iitax, combined)


@JIT(nopython=True)
Expand Down
5 changes: 5 additions & 0 deletions taxcalc/records_variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -1046,6 +1046,11 @@
"desc": "Total CTC amount (c07220 + c11070 + odc + ctc_new)",
"form": {"2013-20??": "calculated variable"}
},
"ctc_refundable": {
"type": "float",
"desc": "Portion of total CTC amount that is refundable",
"form": {"2013-20??": "calculated variable"}
},
"personal_refundable_credit": {
"type": "float",
"desc": "Personal refundable credit",
Expand Down

0 comments on commit b9bfe1f

Please sign in to comment.