diff --git a/taxcalc/calcfunctions.py b/taxcalc/calcfunctions.py index 131cde2cd..766c52493 100644 --- a/taxcalc/calcfunctions.py +++ b/taxcalc/calcfunctions.py @@ -3299,7 +3299,8 @@ def CTC_new(CTC_new_c, CTC_new_rt, CTC_new_c_under6_bonus, @iterate_jit(nopython=True) 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, iitax, combined): + eitc, c07220, odc, CTC_refundable, ODC_refundable, refund, + ctc_total, iitax, combined): """ Computes final taxes. @@ -3326,6 +3327,8 @@ def IITAX(c59660, c11070, c10960, personal_refundable_credit, ctc_new, rptc, Earned Income Credit refund: float Total refundable income tax credits + ctc_total: float + Total CTC amount (c07220 + c11070 + odc + ctc_new) iitax: float Total federal individual income tax liability combined: float @@ -3337,6 +3340,8 @@ def IITAX(c59660, c11070, c10960, personal_refundable_credit, ctc_new, rptc, Earned Income Credit refund: float Total refundable income tax credits + ctc_total: float + Total CTC amount (c07220 + c11070 + odc + ctc_new) iitax: float Total federal individual income tax liability combined: float @@ -3352,10 +3357,12 @@ def IITAX(c59660, c11070, c10960, personal_refundable_credit, ctc_new, rptc, else: odc_refund = 0. refund = (eitc + c11070 + c10960 + CDCC_refund + recovery_rebate_credit + - personal_refundable_credit + ctc_new + rptc + ctc_refund + odc_refund) + personal_refundable_credit + ctc_new + rptc + ctc_refund + + odc_refund) + ctc_total = c07220 + c11070 + odc + ctc_new iitax = c09200 - refund combined = iitax + payrolltax - return (eitc, refund, iitax, combined) + return (eitc, refund, ctc_total, iitax, combined) @JIT(nopython=True) diff --git a/taxcalc/records_variables.json b/taxcalc/records_variables.json index 7cbe89845..97c904839 100644 --- a/taxcalc/records_variables.json +++ b/taxcalc/records_variables.json @@ -491,12 +491,6 @@ "form": {"2013-2016": "sample construction info"}, "availability": "taxdata_puf, taxdata_cps" }, - "s006_original": { - "type": "float", - "desc": "Sample weight before reweighting (not used in tax-calculation logic)", - "form": {"2013-2016": "sample construction info"}, - "availability": "tax-microdata_tmd" - }, "data_source": { "type": "int", "desc": "1 if unit is created primarily from IRS-SOI PUF data; 0 if created primarily from CPS data (not used in tax-calculation logic)", @@ -1047,6 +1041,11 @@ "desc": "Other Dependent Credit", "form": {"2013-20??": "calculated variable"} }, + "ctc_total": { + "type": "float", + "desc": "Total CTC amount (c07220 + c11070 + odc + ctc_new)", + "form": {"2013-20??": "calculated variable"} + }, "personal_refundable_credit": { "type": "float", "desc": "Personal refundable credit",