Skip to content

Commit

Permalink
business income deduction
Browse files Browse the repository at this point in the history
  • Loading branch information
vrathi101 committed Apr 2, 2024
1 parent 6d16406 commit 10f1d73
Show file tree
Hide file tree
Showing 6 changed files with 73 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 10f1d73

Please sign in to comment.