diff --git a/policyengine_us/tests/policy/baseline/gov/states/sc/tax/income/credits/two_wage_earner/integration.yaml b/policyengine_us/tests/policy/baseline/gov/states/sc/tax/income/credits/two_wage_earner/integration.yaml index 9328d070f94..c675d61384f 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/sc/tax/income/credits/two_wage_earner/integration.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/sc/tax/income/credits/two_wage_earner/integration.yaml @@ -40,7 +40,7 @@ premium_tax_credit: 0 # not in TAXSIM35 local_income_tax: 0 # not in TAXSIM35 state_sales_tax: 0 # not in TAXSIM35 - out_of_state_purchase: 10_000 + out_of_state_purchase_value: 10_000 spm_units: spm_unit: members: [person1, person2, person3] diff --git a/policyengine_us/tests/policy/baseline/gov/states/sc/tax/income/use_tax/sc_use_tax.yaml b/policyengine_us/tests/policy/baseline/gov/states/sc/tax/income/use_tax/sc_use_tax.yaml index 5102606de29..a21392253a0 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/sc/tax/income/use_tax/sc_use_tax.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/sc/tax/income/use_tax/sc_use_tax.yaml @@ -3,7 +3,7 @@ input: county_str: ABBEVILLE_COUNTY_SC state_code: SC - out_of_state_purchase: 10_000 + out_of_state_purchase_value: 10_000 output: sc_use_tax: 700 @@ -12,7 +12,7 @@ input: county_str: AIKEN_COUNTY_SC state_code: SC - out_of_state_purchase: 10_000 + out_of_state_purchase_value: 10_000 output: sc_use_tax: 800 @@ -22,7 +22,7 @@ input: county_str: CHARLESTON_COUNTY_SC state_code: SC - out_of_state_purchase: 10_000 + out_of_state_purchase_value: 10_000 output: sc_use_tax: 900 @@ -31,7 +31,7 @@ input: county_str: GEORGETOWN_COUNTY_SC state_code: SC - out_of_state_purchase: 10_000 + out_of_state_purchase_value: 10_000 output: sc_use_tax: 600 diff --git a/policyengine_us/variables/gov/states/sc/tax/income/subtractions/use_tax/sc_use_tax.py b/policyengine_us/variables/gov/states/sc/tax/income/subtractions/use_tax/sc_use_tax.py index c97d86967b6..ca1a9f7cf72 100644 --- a/policyengine_us/variables/gov/states/sc/tax/income/subtractions/use_tax/sc_use_tax.py +++ b/policyengine_us/variables/gov/states/sc/tax/income/subtractions/use_tax/sc_use_tax.py @@ -11,7 +11,7 @@ class sc_use_tax(Variable): defined_for = StateCode.SC def formula(tax_unit, period, parameters): - income = tax_unit("out_of_state_purchase", period) + income = tax_unit("out_of_state_purchase_value", period) county = tax_unit.household("county_str", period) sc_use_tax_in_group_one_county = tax_unit.household( "sc_use_tax_in_group_one_county", period diff --git a/policyengine_us/variables/household/expense/out_of_state_purchase.py b/policyengine_us/variables/household/expense/out_of_state_purchase_value.py similarity index 78% rename from policyengine_us/variables/household/expense/out_of_state_purchase.py rename to policyengine_us/variables/household/expense/out_of_state_purchase_value.py index 7bd9ff7aa86..140cd4f99c3 100644 --- a/policyengine_us/variables/household/expense/out_of_state_purchase.py +++ b/policyengine_us/variables/household/expense/out_of_state_purchase_value.py @@ -1,7 +1,7 @@ from policyengine_us.model_api import * -class out_of_state_purchase(Variable): +class out_of_state_purchase_value(Variable): value_type = float entity = TaxUnit label = "Out of state purchase"