-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #58 from finpaul/mt
Merging
- Loading branch information
Showing
49 changed files
with
642 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
...alsim_us/parameters/gov/states/mt/tax/income/deductions/itemized/itemized_deductions.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
description: Montana deductions from taxable income if itemizing (that are not available if not itemizing). | ||
values: | ||
2022-01-01: | ||
- mt_medical_and_dental_expenses_deduction | ||
- mt_medical_premiums_deduction | ||
- mt_long_term_care_premiums_deduction | ||
- mt_federal_income_tax_deduction | ||
- mt_state_local_tax_deduction | ||
- mt_light_vehicle_registration_deduction | ||
- mt_per_capita_livestock_deduction | ||
- mt_other_taxes_paid_deduction | ||
- mt_home_mortage_interest_deduction | ||
- mt_investment_interest_deduction | ||
- mt_charitable_cash_deduction | ||
- mt_charitable_noncash_deduction | ||
- mt_charitable_carryover_deduction | ||
- mt_child_care_expense_deduction | ||
- mt_casualty_loss_deduction | ||
- mt_political_contributions_deduction | ||
- mt_gambling_loss_deduction | ||
- mt_other_deduction | ||
metadata: | ||
unit: variable | ||
label: montana itemized deductions |
9 changes: 9 additions & 0 deletions
9
...alsim_us/parameters/gov/states/mt/tax/income/deductions/itemized/medical_dental/rate.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
description: Montana percentage of adjusted gross income that your medical and dental expenses are subject to. | ||
values: | ||
2022-01-01: 0.075 | ||
metadata: | ||
unit: year | ||
label: Montana itemized medical and dental rate | ||
reference: | ||
title: Montana Individual Tax Return Form 2 | Itemized Deductions Scedule | Line 1c | ||
href: https://mtrevenue.gov/wp-content/uploads/dlm_uploads/2023/05/Montana-Idividiual-Income-Tax-Return-Form-2-2022v6.2.pdf |
9 changes: 9 additions & 0 deletions
9
...meters/gov/states/mt/tax/income/deductions/itemized/misc/political_contributions_cap.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
description: Montana cap that the political contributions and limited by per taxpayer | ||
values: | ||
2022-01-01: 100 | ||
metadata: | ||
unit: year | ||
label: Montana political contributions cap | ||
reference: | ||
title: Montana Individual Tax Return Form 2 | Itemized Deductions Scedule | Line 16 | ||
href: https://mtrevenue.gov/wp-content/uploads/dlm_uploads/2023/05/Montana-Idividiual-Income-Tax-Return-Form-2-2022v6.2.pdf |
21 changes: 21 additions & 0 deletions
21
fiscalsim_us/parameters/gov/states/mt/tax/income/deductions/itemized/misc/salt_cap.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
description: Maximum amount of state and local income, sales and real estate tax deductions allowed in montana. | ||
metadata: | ||
unit: currency-USD | ||
period: year | ||
name: mt_salt_cap | ||
label: Montana SALT cap | ||
HEAD_OF_HOUSEHOLD: | ||
values: | ||
2022-01-01: 10_000 | ||
JOINT: | ||
values: | ||
2022-01-01: 10_000 | ||
SEPARATE: | ||
values: | ||
2022-01-01: 5_000 | ||
SINGLE: | ||
values: | ||
2022-01-01: 10000 | ||
WIDOW: | ||
values: | ||
2022-01-01: 10000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 6 additions & 1 deletion
7
fiscalsim_us/parameters/gov/states/mt/tax/income/deductions/standard/min.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
16 changes: 16 additions & 0 deletions
16
...alsim_us/variables/gov/states/mt/tax/income/additions_subtractions/mt_income_additions.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
from fiscalsim_us.model_api import * | ||
|
||
|
||
class mt_additions_to_income(Variable): | ||
""" | ||
Line 12 on Montana 2022 Individual Income Tax return form 2. These | ||
additions to income include the categories that are listed | ||
in Montana Additions Schedule on page 4 of Montana 2022 Individual Income Tax return form 2 | ||
""" | ||
|
||
value_type = float | ||
entity = TaxUnit | ||
label = "MT additions to income" | ||
unit = USD | ||
definition_period = YEAR | ||
defined_for = StateCode.MT |
16 changes: 16 additions & 0 deletions
16
...im_us/variables/gov/states/mt/tax/income/additions_subtractions/mt_income_subtractions.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
from fiscalsim_us.model_api import * | ||
|
||
|
||
class mt_subtractions_to_income(Variable): | ||
""" | ||
Line 13 on Montana 2022 Individual Income Tax return form 2. These | ||
subtractions to income include the categories that are listed | ||
in Montana Subtractions Schedule on page 5 of Montana 2022 Individual Income Tax return form 2 | ||
""" | ||
|
||
value_type = float | ||
entity = TaxUnit | ||
label = "MT subtractions to income" | ||
unit = USD | ||
definition_period = YEAR | ||
defined_for = StateCode.MT |
File renamed without changes.
16 changes: 16 additions & 0 deletions
16
fiscalsim_us/variables/gov/states/mt/tax/income/credits/mt_nonrefundable_credits.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
from fiscalsim_us.model_api import * | ||
|
||
|
||
class mt_nonrefundable_credits(Variable): | ||
""" | ||
Line 19 of Montana state individual tax return form 2 | ||
""" | ||
|
||
value_type = float | ||
entity = TaxUnit | ||
label = "Montana refundable credits" | ||
unit = USD | ||
definition_period = YEAR | ||
defined_for = StateCode.MT | ||
|
||
adds = "gov.states.mt.tax.income.credits.non_refundable" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...alsim_us/variables/gov/states/mt/tax/income/credits/mt_tax_after_nonrefundable_credits.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
from fiscalsim_us.model_api import * | ||
|
||
|
||
class mt_tax_after_nonrefundable_credits(Variable): | ||
""" | ||
Line 20 on Montana individual tax return form 2 | ||
""" | ||
|
||
value_type = float | ||
entity = TaxUnit | ||
label = "Montana refundable credits" | ||
unit = USD | ||
definition_period = YEAR | ||
defined_for = StateCode.MT | ||
|
||
def formula(tax_unit, period, parameter): | ||
nonrefundable = tax_unit("mt_nonrefundable_credits") | ||
incometaxbeforecredits = tax_unit( | ||
"mt_income_tax_before_refundable_credits" | ||
) | ||
return incometaxbeforecredits - nonrefundable |
19 changes: 19 additions & 0 deletions
19
fiscalsim_us/variables/gov/states/mt/tax/income/deductions/itemized/mt_casualty_deduction.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
from fiscalsim_us.model_api import * | ||
|
||
|
||
class mt_casualty_loss_deduction(Variable): | ||
""" | ||
Line 15 on Montana itemized deductions schedule | ||
""" | ||
|
||
value_type = float | ||
entity = TaxUnit | ||
label = "Montana casualty and theft losses" | ||
unit = USD | ||
definition_period = YEAR | ||
defined_for = StateCode.MT | ||
|
||
def formula(tax_unit, period, parameters): | ||
deduction = (tax_unit, period, ["casualty_loss_deduction"]) | ||
|
||
return deduction |
16 changes: 16 additions & 0 deletions
16
...riables/gov/states/mt/tax/income/deductions/itemized/mt_charitable_carryover_deduction.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
from fiscalsim_us.model_api import * | ||
|
||
|
||
class mt_charitable_carryover_deduction(Variable): | ||
""" | ||
Line 13 on Montana itemized deductions schedule | ||
""" | ||
|
||
value_type = float | ||
entity = TaxUnit | ||
label = ( | ||
"Montana charitable carryover donation from previous year deduction" | ||
) | ||
unit = USD | ||
definition_period = YEAR | ||
defined_for = StateCode.MT |
22 changes: 22 additions & 0 deletions
22
...us/variables/gov/states/mt/tax/income/deductions/itemized/mt_charitable_cash_deduction.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
from fiscalsim_us.model_api import * | ||
|
||
|
||
class mt_charitable_cash_deduction(Variable): | ||
""" | ||
Line 11 on Montana itemized deductions schedule | ||
""" | ||
|
||
value_type = float | ||
entity = TaxUnit | ||
label = "Montana charitable cash donation deduction" | ||
unit = USD | ||
documentation = ( | ||
"Montana deduction from taxable income for charitable cash donations." | ||
) | ||
definition_period = YEAR | ||
defined_for = StateCode.MT | ||
|
||
def formula(tax_unit, period, parameters): | ||
cash_donations = add(tax_unit, period, ["charitable_cash_donations"]) | ||
|
||
return cash_donations |
19 changes: 19 additions & 0 deletions
19
...variables/gov/states/mt/tax/income/deductions/itemized/mt_charitable_noncash_deduction.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
from fiscalsim_us.model_api import * | ||
|
||
|
||
class mt_charitable_noncash_deduction(Variable): | ||
""" | ||
Line 12 on Montana itemized deductions schedule | ||
""" | ||
|
||
value_type = float | ||
entity = TaxUnit | ||
label = "Montana charitable non-cash donation deduction" | ||
unit = USD | ||
definition_period = YEAR | ||
defined_for = StateCode.MT | ||
|
||
def formula(tax_unit, period, parameters): | ||
noncash_donations = tax_unit(period, ["charitable_non_cash_donations"]) | ||
|
||
return noncash_donations |
14 changes: 14 additions & 0 deletions
14
...ariables/gov/states/mt/tax/income/deductions/itemized/mt_child_care_expenses_deduction.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
from fiscalsim_us.model_api import * | ||
|
||
|
||
class mt_child_care_expense_deduction(Variable): | ||
""" | ||
Line 14 on Montana itemized deductions schedule | ||
""" | ||
|
||
value_type = float | ||
entity = TaxUnit | ||
label = "Montana child and dependent care expenses" | ||
unit = USD | ||
definition_period = YEAR | ||
defined_for = StateCode.MT |
22 changes: 22 additions & 0 deletions
22
...variables/gov/states/mt/tax/income/deductions/itemized/mt_federal_income_tax_deduction.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
from fiscalsim_us.model_api import * | ||
|
||
|
||
class mt_federal_income_tax_deduction(Variable): | ||
""" | ||
Line 4 on itemized deductions schedule | ||
Includes the following | ||
*Federal income tax withheld | ||
*Federal estimated tax payments | ||
*Prior year federal income taxes | ||
*Other back year federal income taxes | ||
Add each of those together but not more then $5,000 if you are single, | ||
head of household, or married filing sperarately; or $10,000 if you | ||
are married filing jointly | ||
""" | ||
|
||
value_type = float | ||
entity = TaxUnit | ||
label = "Montana federal tax paid/withheld in prior year" | ||
unit = USD | ||
definition_period = YEAR | ||
defined_for = StateCode.MT |
15 changes: 15 additions & 0 deletions
15
...m_us/variables/gov/states/mt/tax/income/deductions/itemized/mt_gambling_loss_deduction.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
from fiscalsim_us.model_api import * | ||
|
||
|
||
class mt_gambling_loss_deduction(Variable): | ||
""" | ||
Line 17 on itemized deductions schedule | ||
Limited to what it allowed under federal law | ||
""" | ||
|
||
value_type = float | ||
entity = TaxUnit | ||
label = "Montana gambling loss deduction" | ||
unit = USD | ||
definition_period = YEAR | ||
defined_for = StateCode.MT |
15 changes: 15 additions & 0 deletions
15
...iables/gov/states/mt/tax/income/deductions/itemized/mt_home_mortage_interest_deduction.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
from fiscalsim_us.model_api import * | ||
|
||
|
||
class mt_home_mortage_interest_deduction(Variable): | ||
""" | ||
Line 9 on itemized deductions schedule | ||
Home mortgage interst and points | ||
""" | ||
|
||
value_type = float | ||
entity = TaxUnit | ||
label = "Montana home mortage interest deduction" | ||
unit = USD | ||
definition_period = YEAR | ||
defined_for = StateCode.MT |
19 changes: 19 additions & 0 deletions
19
...ariables/gov/states/mt/tax/income/deductions/itemized/mt_investment_interest_deduction.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
from fiscalsim_us.model_api import * | ||
|
||
|
||
class mt_investment_interest_deduction(Variable): | ||
""" | ||
Line 10 on itemized deductions schedule | ||
""" | ||
|
||
value_type = float | ||
entity = TaxUnit | ||
label = "Montana investment interest deduction" | ||
unit = USD | ||
definition_period = YEAR | ||
defined_for = StateCode.MT | ||
|
||
def formula(tax_unit, period, parameters): | ||
contributions = tax_unit("investment_income_form_4952") | ||
|
||
return contributions |
Oops, something went wrong.