diff --git a/policyengine_us/parameters/gov/states/mo/tax/income/credits/non_refundable.yaml b/policyengine_us/parameters/gov/states/mo/tax/income/credits/non_refundable.yaml index 3537931a656..07b48ce9eb1 100644 --- a/policyengine_us/parameters/gov/states/mo/tax/income/credits/non_refundable.yaml +++ b/policyengine_us/parameters/gov/states/mo/tax/income/credits/non_refundable.yaml @@ -1,7 +1,8 @@ description: Missouri allows these non-refundable tax credits. values: - 2020-01-01: - - mo_wftc + 2020-01-01: [] + 2023-01-01: + -mo_wftc metadata: unit: list label: Missouri non-refundable tax credits diff --git a/policyengine_us/parameters/gov/states/mo/tax/income/deductions/mo_max_business_income_deduction.yaml b/policyengine_us/parameters/gov/states/mo/tax/income/deductions/mo_max_business_income_deduction.yaml new file mode 100644 index 00000000000..5cefac750c3 --- /dev/null +++ b/policyengine_us/parameters/gov/states/mo/tax/income/deductions/mo_max_business_income_deduction.yaml @@ -0,0 +1,14 @@ +description: mo_max_business_income_deduction.yaml +values: + 2022-01-01: 0.15 + 2023-01-01: 0.20 +metadata: + unit: currency-USD + period: year + name: mo_max_business_income_deduction + label: Missouri Maximum Business Income Deduction + reference: + - title: 2023 Form MO-1040, Line 17 + href: https://dor.mo.gov/forms/MO-1040%20Instructions_2023.pdf#page=16 + - title: 2022 Form MO-1040, Line 17 + href: https://dor.mo.gov/forms/MO-1040%20Instructions_2022.pdf#page=16 diff --git a/policyengine_us/parameters/gov/states/mo/tax/income/rates.yaml b/policyengine_us/parameters/gov/states/mo/tax/income/rates.yaml index 86f973c637f..f6c73449669 100644 --- a/policyengine_us/parameters/gov/states/mo/tax/income/rates.yaml +++ b/policyengine_us/parameters/gov/states/mo/tax/income/rates.yaml @@ -72,7 +72,7 @@ brackets: 2020-01-01: 8_584 2021-01-01: 8_704 2022-01-01: 8_968 - # 2023-01-01: 8_449 + 2023-01-01: .inf metadata: reference: diff --git a/policyengine_us/tests/policy/baseline/gov/states/mo/tax/income/deductions/mo_business_income_deduction.yaml b/policyengine_us/tests/policy/baseline/gov/states/mo/tax/income/deductions/mo_business_income_deduction.yaml new file mode 100644 index 00000000000..f7f213c8b79 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/mo/tax/income/deductions/mo_business_income_deduction.yaml @@ -0,0 +1,31 @@ +- name: 2023 non-zero qualified business income + period: 2023 + input: + qualified_business_income: 10_000 + state_code: MO + output: + mo_business_income_deduction: 2_000 + +- name: 2023 zero qualified business income + period: 2023 + input: + qualified_business_income: 0 + state_code: MO + output: + mo_business_income_deduction: 0 + +- name: 2022 non-zero qualified business income + period: 2022 + input: + qualified_business_income: 10_000 + state_code: MO + output: + mo_business_income_deduction: 1_500 + +- name: 2022 zero qualified business income + period: 2022 + input: + qualified_business_income: 0 + state_code: MO + output: + mo_business_income_deduction: 0 diff --git a/policyengine_us/variables/gov/states/mo/tax/income/credits/mo_wftc.py b/policyengine_us/variables/gov/states/mo/tax/income/credits/mo_wftc.py index 73d75fc1160..fcf775cd7ec 100644 --- a/policyengine_us/variables/gov/states/mo/tax/income/credits/mo_wftc.py +++ b/policyengine_us/variables/gov/states/mo/tax/income/credits/mo_wftc.py @@ -10,7 +10,7 @@ class mo_wftc(Variable): reference = "https://revisor.mo.gov/main/OneSection.aspx?section=143.177&bid=49978&hl=" defined_for = StateCode.MO - def formula(tax_unit, period, parameters): + def formula_2023(tax_unit, period, parameters): federal_eitc = tax_unit("eitc", period) rate = parameters( period diff --git a/policyengine_us/variables/gov/states/mo/tax/income/deductions/mo_business_income_deduction.py b/policyengine_us/variables/gov/states/mo/tax/income/deductions/mo_business_income_deduction.py new file mode 100644 index 00000000000..cb0fc3a844d --- /dev/null +++ b/policyengine_us/variables/gov/states/mo/tax/income/deductions/mo_business_income_deduction.py @@ -0,0 +1,23 @@ +from policyengine_us.model_api import * + + +class mo_business_income_deduction(Variable): + value_type = float + entity = TaxUnit + label = "MO business income deduction" + unit = USD + definition_period = YEAR + reference = ( + "https://dor.mo.gov/forms/MO-1040%20Instructions_2023.pdf#page=16", + "https://revisor.mo.gov/main/OneSection.aspx?section=143.022", + ) + defined_for = StateCode.MO + + def formula(tax_unit, period, parameters): + p = parameters( + period + ).gov.states.mo.tax.income.deductions.mo_max_business_income_deduction + qualified_business_income = tax_unit( + "qualified_business_income", period + ) + return p * qualified_business_income