policyengine-us 1.430.0__py3-none-any.whl → 1.432.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,7 @@ values:
8
8
  2023-01-01:
9
9
  - va_non_refundable_eitc
10
10
  - va_rebate
11
- 2024-01-01:
11
+ 2025-01-01:
12
12
  - va_non_refundable_eitc
13
13
 
14
14
  metadata:
@@ -0,0 +1,35 @@
1
+ description: Puerto Rico taxes individuals at this rate structure.
2
+ # NOTE: no separate thresholds given by the tax reference for separate filing statuses
3
+ # NOTE: no more recent tax rates since 2012 found in legal and tax code
4
+ brackets:
5
+ - threshold:
6
+ 2012-12-31: 0
7
+ rate:
8
+ 2012-12-31: 0
9
+ - threshold:
10
+ 2012-12-31: 9_000
11
+ rate:
12
+ 2012-12-31: 0.07
13
+ - threshold:
14
+ 2012-12-31: 25_000
15
+ rate:
16
+ 2012-12-31: 0.14
17
+ - threshold:
18
+ 2012-12-31: 41_500
19
+ rate:
20
+ 2012-12-31: 0.25
21
+ - threshold:
22
+ 2012-12-31: 61_500
23
+ rate:
24
+ 2012-12-31: 0.33
25
+ metadata:
26
+ rate_unit: /1
27
+ threshold_unit: currency_USD
28
+ type: marginal_rate
29
+ label: Puerto Rico tax rate
30
+ period: year
31
+ reference:
32
+ - title: Schedule CT Individual, Earned Income Credit, 2023
33
+ href: https://hacienda.pr.gov/sites/default/files/inst_individuals_2023.pdf#page=19
34
+ - title: P.R. Laws tit. 13, § 30061 (a)
35
+ href: https://law.justia.com/codes/puerto-rico/title-thirteen/subtitle-17/part-ii/chapter-1004/subchapter-a/30061/
@@ -0,0 +1,31 @@
1
+ - name: Lowest bracket
2
+ period: 2024
3
+ input:
4
+ pr_net_taxable_income: 9_000
5
+ state_code: PR
6
+ output:
7
+ pr_normal_tax: 0
8
+
9
+ - name: Second bracket
10
+ period: 2024
11
+ input:
12
+ pr_net_taxable_income: 9_001
13
+ state_code: PR
14
+ output:
15
+ pr_normal_tax: 0.07
16
+
17
+ - name: Third bracket
18
+ period: 2024
19
+ input:
20
+ pr_net_taxable_income: 30_000
21
+ state_code: PR
22
+ output:
23
+ pr_normal_tax: 1_820
24
+
25
+ - name: Upper bracket
26
+ period: 2024
27
+ input:
28
+ pr_net_taxable_income: 100_000
29
+ state_code: PR
30
+ output:
31
+ pr_normal_tax: 21_135
@@ -0,0 +1,16 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class pr_normal_tax(Variable):
5
+ value_type = float
6
+ entity = TaxUnit
7
+ label = "Puerto Rico normal tax"
8
+ unit = USD
9
+ definition_period = YEAR
10
+ defined_for = StateCode.PR
11
+ reference = "https://law.justia.com/codes/puerto-rico/title-thirteen/subtitle-17/part-ii/chapter-1004/subchapter-a/30061/"
12
+
13
+ def formula(tax_unit, period, parameters):
14
+ p = parameters(period).gov.territories.pr.tax.income.tax_rate
15
+ net_income = tax_unit("pr_net_taxable_income", period)
16
+ return p.amount.calc(net_income)
@@ -0,0 +1,11 @@
1
+ from policyengine_us.model_api import *
2
+
3
+
4
+ class pr_net_taxable_income(Variable):
5
+ value_type = float
6
+ entity = TaxUnit
7
+ label = "Puerto Rico net taxable income"
8
+ reference = "https://hacienda.pr.gov/sites/default/files/individuals_2024_rev._jul_12_24_9-30-24_informative.pdf#page=2"
9
+ unit = USD
10
+ definition_period = YEAR
11
+ defined_for = StateCode.PR
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: policyengine-us
3
- Version: 1.430.0
3
+ Version: 1.432.0
4
4
  Summary: Add your description here.
5
5
  Author-email: PolicyEngine <hello@policyengine.org>
6
6
  License-File: LICENSE
@@ -3003,7 +3003,7 @@ policyengine_us/parameters/gov/states/ut/tax/income/credits/taxpayer/phase_out/t
3003
3003
  policyengine_us/parameters/gov/states/va/README.md,sha256=pvhTFs2oI0dZKFYKzb4IDxv1sqTX_qpDSCILnbkI0S8,11
3004
3004
  policyengine_us/parameters/gov/states/va/tax/income/filing_requirement.yaml,sha256=LKs-VuAnxNLlV-_JU3-rJXiz4QTwTpcoLcwgGfMxwW8,1938
3005
3005
  policyengine_us/parameters/gov/states/va/tax/income/rates.yaml,sha256=QR5l_tfHapYaAGQW7oXI19DgojbDXkX5VkZSWJBJN8Y,1326
3006
- policyengine_us/parameters/gov/states/va/tax/income/credits/non_refundable.yaml,sha256=bpT5rCqwStFUvlDAWMIykI_HImAmfG7mbmRHhrkHxTs,1718
3006
+ policyengine_us/parameters/gov/states/va/tax/income/credits/non_refundable.yaml,sha256=e-Q3kgc1ImfCLJS96grU__TVdHMQgLfdFIE2V17F2i0,1718
3007
3007
  policyengine_us/parameters/gov/states/va/tax/income/credits/refundable.yaml,sha256=0ahLMAFKn9qZcBzm5q_U63oB_4ie7O0UGrmSPnOjubc,1135
3008
3008
  policyengine_us/parameters/gov/states/va/tax/income/credits/eitc/low_income_tax/base.yaml,sha256=Pq5C4NuqzCa2iNEH5ZAUJLiyNmL2jTKyZBUUJSGtQWs,1102
3009
3009
  policyengine_us/parameters/gov/states/va/tax/income/credits/eitc/low_income_tax/ineligible_programs.yaml,sha256=wYGaChx5VvS7ILCzPWrPx9pGWzdNOb3PrNYzxFHnkp8,1056
@@ -3200,6 +3200,7 @@ policyengine_us/parameters/gov/territories/pr/tax/income/credits/low_income/inco
3200
3200
  policyengine_us/parameters/gov/territories/pr/tax/income/credits/low_income/amount/additional.yaml,sha256=nrOhUJP-rlqR0UmIuUE6qW-5hLfH8f2uIVFmldPCinw,977
3201
3201
  policyengine_us/parameters/gov/territories/pr/tax/income/credits/low_income/amount/base.yaml,sha256=ktyRYW9zA1TAGyIVCJhRh1lGqfL7Kx5lLr7Zy8pf-Ww,717
3202
3202
  policyengine_us/parameters/gov/territories/pr/tax/income/gross_income/sources.yaml,sha256=4rB8Sj0-PN1UayxMalENlfgf4rOPPUvXZf2Z_om1hmo,1820
3203
+ policyengine_us/parameters/gov/territories/pr/tax/income/tax_rate/amount.yaml,sha256=c40feR65hYrrNCq1ie1w-Im4IQl8NrSj6bAXof7zmQs,1050
3203
3204
  policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/deductions/casualty_loss/separate_percentage.yaml,sha256=KnOLuA34KyrOqRXPYR7xk1mB043XB3OFekCA78uHYbc,771
3204
3205
  policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/deductions/charity/floor.yaml,sha256=IrNIBHg_UXxYqF_PPOLLRn6fPhkgHu4fnP9mM9gUSNU,796
3205
3206
  policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/deductions/education/age_threshold.yaml,sha256=A5OTdiX6p0UdGOTp96KLwmnU2ZPgxCGTLpll5OdWq-s,606
@@ -5339,6 +5340,7 @@ policyengine_us/tests/policy/baseline/gov/states/wv/tax/income/subtractions/seni
5339
5340
  policyengine_us/tests/policy/baseline/gov/states/wv/tax/income/subtractions/social_security/wv_social_security_benefits_subtraction_eligible.yaml,sha256=14LNSRJcEUKcNrs0TeQbBbDIyo_oEjl796L89IRRrtY,2401
5340
5341
  policyengine_us/tests/policy/baseline/gov/states/wv/tax/income/subtractions/social_security/wv_social_security_benefits_subtraction_person.yaml,sha256=FYlFFRNZkMEs3-BBc9aoLKqjQE1vYQYMrAw9w3OyvYA,7445
5341
5342
  policyengine_us/tests/policy/baseline/gov/tax/income/integration.yaml,sha256=1kwIJmcmqG6X5kZjCga-hfsclylJB0fWVXSdh08OZHM,706
5343
+ policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/pr_normal_tax.yaml,sha256=fkJdbmE0JISDmF0tskZ5eLaklrByWNz8UHD5SxlZBZg,535
5342
5344
  policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/credits/earned_income/integration.yaml,sha256=-9Q9J78TOZuPG8LLK5PqHM4dgi9PmT3KB08jgPNTHFU,1570
5343
5345
  policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/credits/earned_income/pr_earned_income_credit.yaml,sha256=ya84wBvd6bTepawJlWt_1xrzHoshmorBhMThd7V3fqo,4076
5344
5346
  policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/credits/earned_income/pr_earned_income_credit_eligible_person.yaml,sha256=05_kLBxBq9we-w72eJj9fq_1fEeFnqv7P_mG0dl3e84,1196
@@ -8263,6 +8265,7 @@ policyengine_us/variables/gov/territories/pr/tax/income/pr_agi.py,sha256=yqLyP6w
8263
8265
  policyengine_us/variables/gov/territories/pr/tax/income/pr_agi_person.py,sha256=gveEdwFLkTFd_76v_mHGK47tXrozNwtoNTS4bNif_h0,379
8264
8266
  policyengine_us/variables/gov/territories/pr/tax/income/pr_gross_income.py,sha256=P2Mn2tUhrnP2LsIx4P0OFz67oo6t9NKZKpKCzqb1RLc,399
8265
8267
  policyengine_us/variables/gov/territories/pr/tax/income/pr_gross_income_person.py,sha256=SFZtLDY2V-a1qH8p_EvIvOYhUsH_cjhHJBWYnmBB3jU,431
8268
+ policyengine_us/variables/gov/territories/pr/tax/income/pr_normal_tax.py,sha256=P2zYc9sjQM-ZNGUpaOzqMTGariqmTXK07lKtBTSh7kc,578
8266
8269
  policyengine_us/variables/gov/territories/pr/tax/income/credits/pr_refundable_credits.py,sha256=-Vxk6bPiB9tSwDOIE46Q3LNLBMKL-3atTYPBD3SfC_Y,308
8267
8270
  policyengine_us/variables/gov/territories/pr/tax/income/credits/earned_income/pr_earned_income_credit.py,sha256=-magFQVK47xuu0D3PleHiy_ihbx4RdJW-Jg_ELQO0Ks,1851
8268
8271
  policyengine_us/variables/gov/territories/pr/tax/income/credits/earned_income/pr_earned_income_credit_eligible.py,sha256=ilQSYlQ6cEQuf4oHHnhHWRGywxkzN5Y6GOhu9_FwmqI,630
@@ -8275,6 +8278,7 @@ policyengine_us/variables/gov/territories/pr/tax/income/credits/low_income/pr_lo
8275
8278
  policyengine_us/variables/gov/territories/pr/tax/income/credits/low_income/pr_low_income_credit_eligible_person.py,sha256=AyYkgYDtaroJZuAi-uO9hXarBKhgMMXvmsMGf2Nqp5Q,1107
8276
8279
  policyengine_us/variables/gov/territories/pr/tax/income/credits/refundable_ctc/pr_refundable_ctc.py,sha256=XyjYvfdudRP3DMfCsmhmpqUaRH00gQpjTy86xrhoW1U,1097
8277
8280
  policyengine_us/variables/gov/territories/pr/tax/income/credits/refundable_ctc/pr_refundable_ctc_social_security_tax.py,sha256=pVjsUPcD-QUXWTniQgla4e7rSfkTztuOHgxR42DHmD8,497
8281
+ policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/pr_net_taxable_income.py,sha256=2o0N_ZuDPVlIGHKphNhdGZhcYlYkN4deCyhsoOshmlM,370
8278
8282
  policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/deductions/pr_casualty_loss_deduction.py,sha256=g2QRdt75GmxRZSuzU_9c_uvAjCKXSXQMEACzarVPrAU,886
8279
8283
  policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/deductions/pr_charitable_deduction.py,sha256=2u9YAoBduN8NKKKSzpWy06wVk5QbAbxj6Tp9bOCtn2o,848
8280
8284
  policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/deductions/pr_medical_expense_deduction.py,sha256=5U77mChDcF3XOpHujLInWcdboU_JDy7wN64_p33eZRA,743
@@ -8858,8 +8862,8 @@ policyengine_us/variables/input/farm_income.py,sha256=BEKxYmHNNnWJAAvULl5qZJigy5
8858
8862
  policyengine_us/variables/input/geography.py,sha256=Ux0ueAf0rhZaflyEqz81UuXP3xKCKBDvoO3CrKhiQEc,5421
8859
8863
  policyengine_us/variables/input/self_employment_income.py,sha256=PwsGz8R4lRikKWUYOhsC0qosNNLXq4f5SQmfw4S3mk8,511
8860
8864
  policyengine_us/variables/input/self_employment_income_before_lsr.py,sha256=E8fcX9Nlyqz8dziHhQv_euutdmoIwFMMWePUwbbwv_w,379
8861
- policyengine_us-1.430.0.dist-info/METADATA,sha256=5yZTMBMxPdPV8hnHVjmCp7XMUq2LkMg0Ulprw9InUaU,1649
8862
- policyengine_us-1.430.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8863
- policyengine_us-1.430.0.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8864
- policyengine_us-1.430.0.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8865
- policyengine_us-1.430.0.dist-info/RECORD,,
8865
+ policyengine_us-1.432.0.dist-info/METADATA,sha256=D_R708Q96MUhlrgP8pWYgjV6wwp7Z2p1W2SR8QgMItI,1649
8866
+ policyengine_us-1.432.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
8867
+ policyengine_us-1.432.0.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
8868
+ policyengine_us-1.432.0.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
8869
+ policyengine_us-1.432.0.dist-info/RECORD,,