-
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.
- Loading branch information
1 parent
181c429
commit c37b14b
Showing
32 changed files
with
113 additions
and
283 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
12 changes: 0 additions & 12 deletions
12
fiscalsim_us/parameters/gov/states/id2/tax/income/credits/id_ctc_credperchild.yaml
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
fiscalsim_us/parameters/gov/states/id2/tax/income/deductions/standard/base_amount.yaml
This file was deleted.
Oops, something went wrong.
72 changes: 0 additions & 72 deletions
72
fiscalsim_us/parameters/gov/states/id2/tax/income/rates/joint.yaml
This file was deleted.
Oops, something went wrong.
72 changes: 0 additions & 72 deletions
72
fiscalsim_us/parameters/gov/states/id2/tax/income/rates/other.yaml
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
fiscalsim_us/parameters/gov/states/id2/tax/income/subtractions/lottery_deduction_limit.yaml
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
...parameters/gov/states/id2/tax/income/subtractions/retirement_benefits_deduction_base.yaml
This file was deleted.
Oops, something went wrong.
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
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
8 changes: 8 additions & 0 deletions
8
.../id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_cost_2019.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,8 @@ | ||
from fiscalsim_us.model_api import * | ||
|
||
class alt_energy_device_cost_2019(Variable): | ||
value_type = float | ||
entity = TaxUnit | ||
label = "Idaho Qualifying Alternative Energy Device Cost 2019" | ||
documentation = "Cost of Idaho qualifying alternative energy device 2019" | ||
definition_period = YEAR |
8 changes: 8 additions & 0 deletions
8
.../id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_cost_2020.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,8 @@ | ||
from fiscalsim_us.model_api import * | ||
|
||
class alt_energy_device_cost_2020(Variable): | ||
value_type = float | ||
entity = TaxUnit | ||
label = "Idaho Qualifying Alternative Energy Device Cost 2020" | ||
documentation = "Cost of Idaho qualifying alternative energy device 2020" | ||
definition_period = YEAR |
8 changes: 8 additions & 0 deletions
8
.../id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_cost_2021.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,8 @@ | ||
from fiscalsim_us.model_api import * | ||
|
||
class alt_energy_device_cost_2021(Variable): | ||
value_type = float | ||
entity = TaxUnit | ||
label = "Idaho Qualifying Alternative Energy Device Cost 2021" | ||
documentation = "Cost of Idaho qualifying alternative energy device 2021" | ||
definition_period = YEAR |
8 changes: 8 additions & 0 deletions
8
.../id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_cost_2022.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,8 @@ | ||
from fiscalsim_us.model_api import * | ||
|
||
class alt_energy_device_cost_2022(Variable): | ||
value_type = float | ||
entity = TaxUnit | ||
label = "Idaho Qualifying Alternative Energy Device Cost 2022" | ||
documentation = "Cost of Idaho qualifying alternative energy device 2022" | ||
definition_period = YEAR |
26 changes: 26 additions & 0 deletions
26
.../id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_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,26 @@ | ||
from fiscalsim_us.model_api import * | ||
|
||
|
||
class alt_energy_device_deduction(Variable): | ||
value_type = float | ||
entity = TaxUnit | ||
label = "Idaho Alternative Energy Device Deduction" | ||
unit = USD | ||
definition_period = YEAR | ||
|
||
def formula(tax_unit, period, parameters): | ||
p = parameters(period).gov.states.id.tax.income.subtractions.id_alt_energy_device_deduction | ||
limit = p.alt_energy_device_deduction_limit | ||
cost_19 = tax_unit("alt_energy_device_cost_2019", period) | ||
cost_20 = tax_unit("alt_energy_device_cost_2020", period) | ||
cost_21 = tax_unit("alt_energy_device_cost_2021", period) | ||
cost_22 = tax_unit("alt_energy_device_cost_2022", period) | ||
portion_deductible = p.alt_energy_device_deduction[year] | ||
|
||
# Multiply percentage by device and sum | ||
deduction_2019 = cost_19 * portion_deductible | ||
deduction_2020 = cost_20 * portion_deductible | ||
deduction_2021 = cost_21 * portion_deductible | ||
deduction_2022 = cost_22 * portion_deductible | ||
deduction_total = deduction_2019 + deduction_2020 + deduction_2021 + deduction_2022 | ||
return min(deduction_total, limit) |
8 changes: 8 additions & 0 deletions
8
...ax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_deduction_2019.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,8 @@ | ||
from fiscalsim_us.model_api import * | ||
|
||
class alt_energy_device_2019(Variable): | ||
value_type = bool | ||
entity = TaxUnit | ||
label = "Idaho Qualifying Alternative Energy Device 2019" | ||
documentation = "Idaho qualifying alternative energy device 2019" | ||
definition_period = YEAR |
8 changes: 8 additions & 0 deletions
8
...ax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_deduction_2020.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,8 @@ | ||
from fiscalsim_us.model_api import * | ||
|
||
class alt_energy_device_2020(Variable): | ||
value_type = bool | ||
entity = TaxUnit | ||
label = "Idaho Qualifying Alternative Energy Device 2020" | ||
documentation = "Idaho qualifying alternative energy device 2020" | ||
definition_period = YEAR |
8 changes: 8 additions & 0 deletions
8
...ax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_deduction_2021.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,8 @@ | ||
from fiscalsim_us.model_api import * | ||
|
||
class alt_energy_device_2021(Variable): | ||
value_type = bool | ||
entity = TaxUnit | ||
label = "Idaho Qualifying Alternative Energy Device 2021" | ||
documentation = "Idaho qualifying alternative energy device 2021" | ||
definition_period = YEAR |
8 changes: 8 additions & 0 deletions
8
...ax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_deduction_2022.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,8 @@ | ||
from fiscalsim_us.model_api import * | ||
|
||
class alt_energy_device_2022(Variable): | ||
value_type = bool | ||
entity = TaxUnit | ||
label = "Idaho Qualifying Alternative Energy Device 2022" | ||
documentation = "Idaho qualifying alternative energy device 2022" | ||
definition_period = YEAR |
15 changes: 0 additions & 15 deletions
15
fiscalsim_us/variables/gov/states/id2/tax/income/id_agi.py
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.