diff --git a/fiscalsim_us/parameters/gov/states/id/tax/income/main/standard/dep_stdded_addition.yaml b/fiscalsim_us/parameters/gov/states/id/tax/income/main/standard/dep_stdded_addition.yaml index 4f180c23a..5c0fc7d3c 100644 --- a/fiscalsim_us/parameters/gov/states/id/tax/income/main/standard/dep_stdded_addition.yaml +++ b/fiscalsim_us/parameters/gov/states/id/tax/income/main/standard/dep_stdded_addition.yaml @@ -7,4 +7,4 @@ metadata: label: Dependent earned income addition for standard deduction reference: - title: Idaho Form 40, Individual Income Tax Return and Instructions 2022, page 8 - href: https://tax.idaho.gov/wp-content/uploads/forms/EFO00089/EFO00089_12-30-2022.pdf \ No newline at end of file + href: https://tax.idaho.gov/wp-content/uploads/forms/EFO00089/EFO00089_12-30-2022.pdf diff --git a/fiscalsim_us/parameters/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_deduction_limit.yaml b/fiscalsim_us/parameters/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_deduction_limit.yaml index 8cd4d1135..28c98bbcb 100644 --- a/fiscalsim_us/parameters/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_deduction_limit.yaml +++ b/fiscalsim_us/parameters/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_deduction_limit.yaml @@ -7,4 +7,4 @@ metadata: label: Idaho deduction limit for alternative energy device deduction reference: - title: Idaho Form 39R, Residential Supplemental Schedule and Instructions 2022 - href: https://tax.idaho.gov/wp-content/uploads/forms/EFO00088/EFO00088_12-30-2022.pdf \ No newline at end of file + href: https://tax.idaho.gov/wp-content/uploads/forms/EFO00088/EFO00088_12-30-2022.pdf diff --git a/fiscalsim_us/variables/gov/states/id/tax/income/id_additions.py b/fiscalsim_us/variables/gov/states/id/tax/income/id_additions.py index ebb1eda58..94562d291 100644 --- a/fiscalsim_us/variables/gov/states/id/tax/income/id_additions.py +++ b/fiscalsim_us/variables/gov/states/id/tax/income/id_additions.py @@ -11,13 +11,11 @@ class id_additions(Variable): * Idaho college savings account withdrawal * Bonus Depreciation """ - + value_type = float entity = TaxUnit label = "Idaho additions" unit = USD definition_period = YEAR - reference = ( - "https://tax.idaho.gov/wp-content/uploads/forms/EFO00089/EFO00089_12-30-2022.pdf" - ) + reference = "https://tax.idaho.gov/wp-content/uploads/forms/EFO00089/EFO00089_12-30-2022.pdf" defined_for = StateCode.ID diff --git a/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_cost_2019.py b/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_cost_2019.py index 612eab44d..b588e91a5 100644 --- a/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_cost_2019.py +++ b/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_cost_2019.py @@ -1,8 +1,9 @@ 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 \ No newline at end of file + definition_period = YEAR diff --git a/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_cost_2020.py b/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_cost_2020.py index a977d4303..83a8f8063 100644 --- a/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_cost_2020.py +++ b/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_cost_2020.py @@ -1,8 +1,9 @@ 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 \ No newline at end of file + definition_period = YEAR diff --git a/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_cost_2021.py b/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_cost_2021.py index fc9c54423..35d8959cc 100644 --- a/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_cost_2021.py +++ b/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_cost_2021.py @@ -1,8 +1,9 @@ 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 \ No newline at end of file + definition_period = YEAR diff --git a/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_cost_2022.py b/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_cost_2022.py index 5c8377aa3..2ac066400 100644 --- a/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_cost_2022.py +++ b/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_cost_2022.py @@ -1,8 +1,9 @@ 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 \ No newline at end of file + definition_period = YEAR diff --git a/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_deduction.py b/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_deduction.py index 68b72b8fa..c42c0e7b0 100644 --- a/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_deduction.py +++ b/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_deduction.py @@ -9,7 +9,9 @@ class alt_energy_device_deduction(Variable): definition_period = YEAR def formula(tax_unit, period, parameters): - p = parameters(period).gov.states.id.tax.income.subtractions.id_alt_energy_device_deduction + 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) @@ -22,5 +24,7 @@ def formula(tax_unit, period, parameters): 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 + deduction_total = ( + deduction_2019 + deduction_2020 + deduction_2021 + deduction_2022 + ) return min(deduction_total, limit) diff --git a/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_deduction_2019.py b/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_deduction_2019.py index 46e1e7425..3a2074e97 100644 --- a/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_deduction_2019.py +++ b/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_deduction_2019.py @@ -1,8 +1,9 @@ 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 \ No newline at end of file + definition_period = YEAR diff --git a/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_deduction_2020.py b/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_deduction_2020.py index aa67ded60..bc03559eb 100644 --- a/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_deduction_2020.py +++ b/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_deduction_2020.py @@ -1,8 +1,9 @@ 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 \ No newline at end of file + definition_period = YEAR diff --git a/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_deduction_2021.py b/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_deduction_2021.py index 2253c7ece..baceb47bc 100644 --- a/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_deduction_2021.py +++ b/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_deduction_2021.py @@ -1,8 +1,9 @@ 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 \ No newline at end of file + definition_period = YEAR diff --git a/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_deduction_2022.py b/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_deduction_2022.py index 39cb6e082..602fa226c 100644 --- a/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_deduction_2022.py +++ b/fiscalsim_us/variables/gov/states/id/tax/income/subtractions/id_alt_energy_device_deduction/alt_energy_device_deduction_2022.py @@ -1,8 +1,9 @@ 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 \ No newline at end of file + definition_period = YEAR