policyengine-us 1.444.0__py3-none-any.whl → 1.445.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.
- policyengine_us/parameters/gov/states/ar/tax/income/rates/main/reduction.yaml +30 -0
- policyengine_us/parameters/gov/territories/pr/tax/income/gradual_adjustment/adjustment_limit_basis.yaml +12 -0
- policyengine_us/parameters/gov/territories/pr/tax/income/gradual_adjustment/exemption_rate.yaml +13 -0
- policyengine_us/parameters/gov/territories/pr/tax/income/gradual_adjustment/rate.yaml +12 -0
- policyengine_us/parameters/gov/territories/pr/tax/income/gradual_adjustment/threshold.yaml +13 -0
- policyengine_us/parameters/gov/territories/pr/tax/income/regular_tax/percentage.yaml +21 -0
- policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/exemptions/sources.yaml +15 -0
- policyengine_us/tests/policy/baseline/gov/states/ar/tax/income/integration.yaml +35 -0
- policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/gradual_adjustment/pr_gradual_adjustment_amount.yaml +29 -0
- policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/gradual_adjustment/pr_gradual_adjustment_eligible.yaml +15 -0
- policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/pr_tax_before_credits.yaml +19 -0
- policyengine_us/variables/gov/territories/pr/tax/income/gradual_adjustment/pr_gradual_adjustment_amount.py +23 -0
- policyengine_us/variables/gov/territories/pr/tax/income/gradual_adjustment/pr_gradual_adjustment_eligible.py +16 -0
- policyengine_us/variables/gov/territories/pr/tax/income/pr_regular_tax_before_credits.py +9 -0
- policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/exemptions/pr_exemptions.py +12 -0
- {policyengine_us-1.444.0.dist-info → policyengine_us-1.445.0.dist-info}/METADATA +1 -1
- {policyengine_us-1.444.0.dist-info → policyengine_us-1.445.0.dist-info}/RECORD +20 -8
- {policyengine_us-1.444.0.dist-info → policyengine_us-1.445.0.dist-info}/WHEEL +0 -0
- {policyengine_us-1.444.0.dist-info → policyengine_us-1.445.0.dist-info}/entry_points.txt +0 -0
- {policyengine_us-1.444.0.dist-info → policyengine_us-1.445.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -404,107 +404,137 @@ brackets:
|
|
|
404
404
|
2021-01-01: .inf
|
|
405
405
|
2022-01-01: 90_501
|
|
406
406
|
2023-01-01: 93_101
|
|
407
|
+
2024-01-01: .inf
|
|
407
408
|
amount:
|
|
408
409
|
2021-01-01: 247.5
|
|
409
410
|
2022-01-01: 287.20
|
|
410
411
|
2023-01-01: 243.70
|
|
412
|
+
2024-01-01: 87.40
|
|
411
413
|
- threshold:
|
|
412
414
|
2021-01-01: .inf
|
|
413
415
|
2022-01-01: 90_601
|
|
414
416
|
2023-01-01: 93_201
|
|
417
|
+
2024-01-01: .inf
|
|
415
418
|
amount:
|
|
416
419
|
2021-01-01: 247.5
|
|
417
420
|
2022-01-01: 277.20
|
|
418
421
|
2023-01-01: 233.70
|
|
422
|
+
2024-01-01: 87.40
|
|
419
423
|
- threshold:
|
|
420
424
|
2021-01-01: .inf
|
|
421
425
|
2022-01-01: 90_701
|
|
422
426
|
2023-01-01: 93_301
|
|
427
|
+
2024-01-01: .inf
|
|
423
428
|
amount:
|
|
424
429
|
2021-01-01: 247.5
|
|
425
430
|
2022-01-01: 267.20
|
|
426
431
|
2023-01-01: 223.70
|
|
432
|
+
2024-01-01: 87.40
|
|
427
433
|
- threshold:
|
|
428
434
|
2021-01-01: .inf
|
|
429
435
|
2022-01-01: 90_801
|
|
430
436
|
2023-01-01: 93_401
|
|
437
|
+
2024-01-01: .inf
|
|
431
438
|
amount:
|
|
432
439
|
2021-01-01: 247.5
|
|
433
440
|
2022-01-01: 257.20
|
|
434
441
|
2023-01-01: 213.70
|
|
442
|
+
2024-01-01: 87.40
|
|
435
443
|
- threshold:
|
|
436
444
|
2021-01-01: .inf
|
|
437
445
|
2022-01-01: 90_901
|
|
438
446
|
2023-01-01: 93_501
|
|
447
|
+
2024-01-01: .inf
|
|
439
448
|
amount:
|
|
440
449
|
2021-01-01: 247.5
|
|
441
450
|
2022-01-01: 247.20
|
|
442
451
|
2023-01-01: 203.70
|
|
452
|
+
2024-01-01: 87.40
|
|
443
453
|
- threshold:
|
|
444
454
|
2021-01-01: .inf
|
|
445
455
|
2022-01-01: 91_101
|
|
446
456
|
2023-01-01: 93_601
|
|
457
|
+
2024-01-01: .inf
|
|
447
458
|
amount:
|
|
448
459
|
2021-01-01: 247.5
|
|
449
460
|
2022-01-01: 237.20
|
|
450
461
|
2023-01-01: 193.70
|
|
462
|
+
2024-01-01: 87.40
|
|
451
463
|
- threshold:
|
|
452
464
|
2021-01-01: .inf
|
|
453
465
|
2022-01-01: 91_201
|
|
454
466
|
2023-01-01: 93_801
|
|
467
|
+
2024-01-01: .inf
|
|
455
468
|
amount:
|
|
456
469
|
2021-01-01: 247.5
|
|
457
470
|
2022-01-01: 227.20
|
|
458
471
|
2023-01-01: 183.70
|
|
472
|
+
2024-01-01: 87.40
|
|
459
473
|
- threshold:
|
|
460
474
|
2021-01-01: .inf
|
|
461
475
|
2022-01-01: 91_301
|
|
462
476
|
2023-01-01: 93_901
|
|
477
|
+
2024-01-01: .inf
|
|
463
478
|
amount:
|
|
464
479
|
2021-01-01: 247.5
|
|
465
480
|
2022-01-01: 217.20
|
|
466
481
|
2023-01-01: 173.70
|
|
482
|
+
2024-01-01: 87.40
|
|
467
483
|
- threshold:
|
|
468
484
|
2021-01-01: .inf
|
|
469
485
|
2022-01-01: 91_401
|
|
470
486
|
2023-01-01: 94_001
|
|
487
|
+
2024-01-01: .inf
|
|
471
488
|
amount:
|
|
472
489
|
2021-01-01: 247.5
|
|
473
490
|
2022-01-01: 207.20
|
|
474
491
|
2023-01-01: 163.70
|
|
492
|
+
2024-01-01: 87.40
|
|
475
493
|
- threshold:
|
|
476
494
|
2021-01-01: .inf
|
|
477
495
|
2022-01-01: 91_501
|
|
478
496
|
2023-01-01: 94_101
|
|
497
|
+
2024-01-01: .inf
|
|
479
498
|
amount:
|
|
480
499
|
2021-01-01: 247.5
|
|
481
500
|
2022-01-01: 197.20
|
|
482
501
|
2023-01-01: 153.70
|
|
502
|
+
2024-01-01: 87.40
|
|
483
503
|
- threshold:
|
|
484
504
|
2021-01-01: .inf
|
|
485
505
|
2022-01-01: 91_601
|
|
486
506
|
2023-01-01: 94_201
|
|
507
|
+
2024-01-01: .inf
|
|
487
508
|
amount:
|
|
488
509
|
2021-01-01: 247.5
|
|
489
510
|
2022-01-01: 187.20
|
|
490
511
|
2023-01-01: 153.70
|
|
512
|
+
2024-01-01: 87.40
|
|
491
513
|
- threshold:
|
|
492
514
|
2021-01-01: .inf
|
|
493
515
|
2022-01-01: 91_701
|
|
494
516
|
2023-01-01: .inf
|
|
517
|
+
2024-01-01: .inf
|
|
495
518
|
amount:
|
|
496
519
|
2021-01-01: 247.5
|
|
497
520
|
2022-01-01: 177.20
|
|
498
521
|
2023-01-01: 153.70
|
|
522
|
+
2024-01-01: 87.40
|
|
499
523
|
- threshold:
|
|
500
524
|
2021-01-01: .inf
|
|
501
525
|
2022-01-01: 91_801
|
|
502
526
|
2023-01-01: .inf
|
|
527
|
+
2024-01-01: .inf
|
|
503
528
|
amount:
|
|
504
529
|
2021-01-01: 247.5
|
|
505
530
|
2022-01-01: 167.20
|
|
506
531
|
2023-01-01: 153.70
|
|
532
|
+
2024-01-01: 87.40
|
|
507
533
|
- threshold:
|
|
508
534
|
2022-01-01: .inf
|
|
535
|
+
2023-01-01: .inf
|
|
536
|
+
2024-01-01: .inf
|
|
509
537
|
amount:
|
|
510
538
|
2022-01-01: 167.20
|
|
539
|
+
2023-01-01: 153.70
|
|
540
|
+
2024-01-01: 87.40
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
description: Puerto Rico provides the following basis amount for the gradual adjustment limit.
|
|
2
|
+
values:
|
|
3
|
+
2024-01-01: 8_895
|
|
4
|
+
metadata:
|
|
5
|
+
unit: currency-USD
|
|
6
|
+
period: year
|
|
7
|
+
label: Puerto Rico gradual adjustment limit basis
|
|
8
|
+
reference:
|
|
9
|
+
- title: Gov. of Puerto Rico Form 482.0 2024
|
|
10
|
+
href: https://hacienda.pr.gov/sites/default/files/individuals_2024_rev._jul_12_24_9-30-24_informative.pdf#page=52
|
|
11
|
+
- title: P.R. Laws tit. 13, § 30061 (b)(5)(e)
|
|
12
|
+
href: https://bvirtualogp.pr.gov/ogp/Bvirtual/leyesreferencia/PDF/2-ingles/1-2011.pdf#page=32
|
policyengine_us/parameters/gov/territories/pr/tax/income/gradual_adjustment/exemption_rate.yaml
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
description: Puerto Rico provides the following rate to reduce the total exemptions when calculating the gradual adjustment limit.
|
|
2
|
+
values:
|
|
3
|
+
2024-01-01: 0.33
|
|
4
|
+
metadata:
|
|
5
|
+
unit: /1
|
|
6
|
+
period: year
|
|
7
|
+
label: Puerto Rico gradual adjustment rate for exemptions
|
|
8
|
+
# discrepancy between legal form and tax form for the exemptions rate
|
|
9
|
+
reference:
|
|
10
|
+
- title: Gov. of Puerto Rico Form 482.0 2024
|
|
11
|
+
href: https://hacienda.pr.gov/sites/default/files/individuals_2024_rev._jul_12_24_9-30-24_informative.pdf#page=52
|
|
12
|
+
- title: P.R. Laws tit. 13, § 30061 (b)(5)(c)
|
|
13
|
+
href: https://law.justia.com/codes/puerto-rico/title-thirteen/subtitle-17/part-ii/chapter-1004/subchapter-a/30061/
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
description: Puerto Rico provides the following rate to reduce the taxable net income when calculating gradual adjustment.
|
|
2
|
+
values:
|
|
3
|
+
2024-01-01: 0.05
|
|
4
|
+
metadata:
|
|
5
|
+
unit: /1
|
|
6
|
+
period: year
|
|
7
|
+
label: Puerto Rico gradual adjustment rate for taxable net income
|
|
8
|
+
reference:
|
|
9
|
+
- title: Gov. of Puerto Rico Form 482.0 2024
|
|
10
|
+
href: https://hacienda.pr.gov/sites/default/files/individuals_2024_rev._jul_12_24_9-30-24_informative.pdf#page=52
|
|
11
|
+
- title: P.R. Laws tit. 13, § 30061 (b)(1)-(4)
|
|
12
|
+
href: https://law.justia.com/codes/puerto-rico/title-thirteen/subtitle-17/part-ii/chapter-1004/subchapter-a/30061/
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
description: Puerto Rico provides the following income amount as a threshold for the gradual adjustment amount.
|
|
2
|
+
values:
|
|
3
|
+
2024-01-01: 500_000
|
|
4
|
+
metadata:
|
|
5
|
+
unit: currency-USD
|
|
6
|
+
period: year
|
|
7
|
+
label: Puerto Rico gradual adjustment amount income threshold
|
|
8
|
+
# discrepancy between legal form and tax form for the income threshold
|
|
9
|
+
reference:
|
|
10
|
+
- title: Gov. of Puerto Rico Form 482.0 2024
|
|
11
|
+
href: https://hacienda.pr.gov/sites/default/files/individuals_2024_rev._jul_12_24_9-30-24_informative.pdf#page=52
|
|
12
|
+
- title: P.R. Laws tit. 13, § 30061 (b)(4))
|
|
13
|
+
href: https://law.justia.com/codes/puerto-rico/title-thirteen/subtitle-17/part-ii/chapter-1004/subchapter-a/30061/
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
description: Puerto Rico taxes this percentage of total normal taxes, based on gross income.
|
|
2
|
+
brackets:
|
|
3
|
+
- threshold:
|
|
4
|
+
2024-01-01: 0
|
|
5
|
+
amount:
|
|
6
|
+
2024-01-01: 0.92
|
|
7
|
+
- threshold:
|
|
8
|
+
2024-01-01: 100_001
|
|
9
|
+
amount:
|
|
10
|
+
2024-01-01: 0.95
|
|
11
|
+
metadata:
|
|
12
|
+
amount_unit: /1
|
|
13
|
+
threshold_unit: currency-USD
|
|
14
|
+
type: single_amount
|
|
15
|
+
label: Puerto Rico regular tax percentage
|
|
16
|
+
period: year
|
|
17
|
+
reference:
|
|
18
|
+
- title: Gov. of Puerto Rico Form 482.0 2024
|
|
19
|
+
href: https://hacienda.pr.gov/sites/default/files/individuals_2024_rev._jul_12_24_9-30-24_informative.pdf#page=3
|
|
20
|
+
- title: P.R. Laws tit. 13, § 30061 (c)
|
|
21
|
+
href: https://bvirtualogp.pr.gov/ogp/Bvirtual/leyesreferencia/PDF/2-ingles/1-2011.pdf#page=33
|
policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/exemptions/sources.yaml
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
description: Puerto Rico accounts for the following exemption sources.
|
|
2
|
+
values:
|
|
3
|
+
2024-01-01:
|
|
4
|
+
- pr_personal_exemption
|
|
5
|
+
- pr_dependents_exemption
|
|
6
|
+
- pr_veteran_exemption
|
|
7
|
+
metadata:
|
|
8
|
+
unit: list
|
|
9
|
+
period: year
|
|
10
|
+
label: Puerto Rico exemption sources
|
|
11
|
+
reference:
|
|
12
|
+
- title: P.R. Laws tit. 13, § 30138
|
|
13
|
+
href: https://law.justia.com/codes/puerto-rico/title-thirteen/subtitle-17/part-ii/chapter-1005/subchapter-c/30138/
|
|
14
|
+
- title: P.R. Individual Income Tax Return, Form 482
|
|
15
|
+
href: https://hacienda.pr.gov/sites/default/files/individuals_2024_rev._jul_12_24_9-30-24_informative.pdf#page=2
|
|
@@ -197,3 +197,38 @@
|
|
|
197
197
|
state_fips: 5
|
|
198
198
|
output:
|
|
199
199
|
ar_income_tax: 1_085
|
|
200
|
+
|
|
201
|
+
- name: 3864-AR.yaml
|
|
202
|
+
absolute_error_margin: 2
|
|
203
|
+
period: 2024
|
|
204
|
+
input:
|
|
205
|
+
people:
|
|
206
|
+
person1:
|
|
207
|
+
age: 40
|
|
208
|
+
employment_income: 93904.383
|
|
209
|
+
ssi: 0
|
|
210
|
+
wic: 0
|
|
211
|
+
head_start: 0
|
|
212
|
+
early_head_start: 0
|
|
213
|
+
commodity_supplemental_food_program: 0
|
|
214
|
+
taxable_interest_income: 2514.2869
|
|
215
|
+
is_tax_unit_head: true
|
|
216
|
+
tax_units:
|
|
217
|
+
tax_unit:
|
|
218
|
+
members: [person1]
|
|
219
|
+
premium_tax_credit: 0
|
|
220
|
+
local_income_tax: 0
|
|
221
|
+
state_sales_tax: 0
|
|
222
|
+
spm_units:
|
|
223
|
+
spm_unit:
|
|
224
|
+
members: [person1]
|
|
225
|
+
snap: 0
|
|
226
|
+
tanf: 0
|
|
227
|
+
free_school_meals: 0
|
|
228
|
+
reduced_price_school_meals: 0
|
|
229
|
+
households:
|
|
230
|
+
household:
|
|
231
|
+
members: [person1]
|
|
232
|
+
state_fips: 5
|
|
233
|
+
output:
|
|
234
|
+
ar_income_tax: 3_410
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
- name: Not eligible, income below threshold
|
|
2
|
+
period: 2024
|
|
3
|
+
input:
|
|
4
|
+
pr_gradual_adjustment_eligible: False
|
|
5
|
+
pr_net_taxable_income: 70_000
|
|
6
|
+
pr_exemptions: 4_000
|
|
7
|
+
state_code: PR
|
|
8
|
+
output:
|
|
9
|
+
pr_gradual_adjustment_amount: 0
|
|
10
|
+
|
|
11
|
+
- name: Amount lower than limit
|
|
12
|
+
period: 2024
|
|
13
|
+
input:
|
|
14
|
+
pr_gradual_adjustment_eligible: True
|
|
15
|
+
pr_net_taxable_income: 501_000
|
|
16
|
+
pr_exemptions: 1_300
|
|
17
|
+
state_code: PR
|
|
18
|
+
output:
|
|
19
|
+
pr_gradual_adjustment_amount: 50
|
|
20
|
+
|
|
21
|
+
- name: Limit lower than amount
|
|
22
|
+
period: 2024
|
|
23
|
+
input:
|
|
24
|
+
pr_gradual_adjustment_eligible: True
|
|
25
|
+
pr_net_taxable_income: 700_000
|
|
26
|
+
pr_exemptions: 1_000
|
|
27
|
+
state_code: PR
|
|
28
|
+
output:
|
|
29
|
+
pr_gradual_adjustment_amount: 9_225
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
- name: Not eligible
|
|
2
|
+
period: 2024
|
|
3
|
+
input:
|
|
4
|
+
pr_net_taxable_income: 500_000
|
|
5
|
+
state_code: PR
|
|
6
|
+
output:
|
|
7
|
+
pr_gradual_adjustment_eligible: False
|
|
8
|
+
|
|
9
|
+
- name: Eligible
|
|
10
|
+
period: 2024
|
|
11
|
+
input:
|
|
12
|
+
pr_net_taxable_income: 500_001
|
|
13
|
+
state_code: PR
|
|
14
|
+
output:
|
|
15
|
+
pr_gradual_adjustment_eligible: True
|
policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/pr_tax_before_credits.yaml
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
- name: Lower bracket
|
|
2
|
+
period: 2024
|
|
3
|
+
input:
|
|
4
|
+
state_code: PR
|
|
5
|
+
pr_gross_income: 100_000
|
|
6
|
+
pr_normal_tax: 2_000
|
|
7
|
+
pr_gradual_adjustment_amount: 0
|
|
8
|
+
output:
|
|
9
|
+
pr_regular_tax_before_credits: 1_840
|
|
10
|
+
|
|
11
|
+
- name: Upper bracket
|
|
12
|
+
period: 2024
|
|
13
|
+
input:
|
|
14
|
+
state_code: PR
|
|
15
|
+
pr_gross_income: 100_001
|
|
16
|
+
pr_normal_tax: 1_000
|
|
17
|
+
pr_gradual_adjustment_amount: 500
|
|
18
|
+
output:
|
|
19
|
+
pr_regular_tax_before_credits: 1_425
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class pr_gradual_adjustment_amount(Variable):
|
|
5
|
+
value_type = float
|
|
6
|
+
entity = TaxUnit
|
|
7
|
+
label = "Puerto Rico gradual adjustment amount"
|
|
8
|
+
documentation = (
|
|
9
|
+
"An additional amount added to tax amount for high income filers."
|
|
10
|
+
)
|
|
11
|
+
unit = USD
|
|
12
|
+
definition_period = YEAR
|
|
13
|
+
defined_for = "pr_gradual_adjustment_eligible"
|
|
14
|
+
reference = "https://hacienda.pr.gov/sites/default/files/individuals_2024_rev._jul_12_24_9-30-24_informative.pdf#page=3"
|
|
15
|
+
|
|
16
|
+
def formula(tax_unit, period, parameters):
|
|
17
|
+
p = parameters(period).gov.territories.pr.tax.income.gradual_adjustment
|
|
18
|
+
net_taxable_income = tax_unit("pr_net_taxable_income", period)
|
|
19
|
+
amount = (net_taxable_income - p.threshold) * p.rate
|
|
20
|
+
exemptions = tax_unit("pr_exemptions", period)
|
|
21
|
+
limit = p.adjustment_limit_basis + p.exemption_rate * exemptions
|
|
22
|
+
|
|
23
|
+
return min_(amount, limit)
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class pr_gradual_adjustment_eligible(Variable):
|
|
5
|
+
value_type = bool
|
|
6
|
+
entity = TaxUnit
|
|
7
|
+
label = "Puerto Rico gradual adjustment eligibility"
|
|
8
|
+
definition_period = YEAR
|
|
9
|
+
defined_for = StateCode.PR
|
|
10
|
+
reference = "https://hacienda.pr.gov/sites/default/files/individuals_2024_rev._jul_12_24_9-30-24_informative.pdf#page=3"
|
|
11
|
+
|
|
12
|
+
def formula(tax_unit, period, parameters):
|
|
13
|
+
p = parameters(period).gov.territories.pr.tax.income.gradual_adjustment
|
|
14
|
+
net_taxable_income = tax_unit("pr_net_taxable_income", period)
|
|
15
|
+
|
|
16
|
+
return net_taxable_income > p.threshold
|
|
@@ -9,3 +9,12 @@ class pr_regular_tax_before_credits(Variable):
|
|
|
9
9
|
definition_period = YEAR
|
|
10
10
|
defined_for = StateCode.PR
|
|
11
11
|
reference = "https://hacienda.pr.gov/sites/default/files/inst_individuals_2023.pdf#page=19"
|
|
12
|
+
|
|
13
|
+
def formula(tax_unit, period, parameters):
|
|
14
|
+
p = parameters(period).gov.territories.pr.tax.income.regular_tax
|
|
15
|
+
gross_income = tax_unit("pr_gross_income", period)
|
|
16
|
+
total_normal_tax = add(
|
|
17
|
+
tax_unit, period, ["pr_normal_tax", "pr_gradual_adjustment_amount"]
|
|
18
|
+
)
|
|
19
|
+
|
|
20
|
+
return total_normal_tax * p.percentage.calc(gross_income)
|
policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/exemptions/pr_exemptions.py
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from policyengine_us.model_api import *
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class pr_exemptions(Variable):
|
|
5
|
+
value_type = float
|
|
6
|
+
entity = TaxUnit
|
|
7
|
+
label = "Puerto Rico exemptions"
|
|
8
|
+
definition_period = YEAR
|
|
9
|
+
unit = USD
|
|
10
|
+
reference = "https://law.justia.com/codes/puerto-rico/title-thirteen/subtitle-17/part-ii/chapter-1005/subchapter-c/30138/"
|
|
11
|
+
|
|
12
|
+
adds = "gov.territories.pr.tax.income.taxable_income.exemptions.sources"
|
|
@@ -1008,7 +1008,7 @@ policyengine_us/parameters/gov/states/ar/tax/income/rates/low_income_tax_tables/
|
|
|
1008
1008
|
policyengine_us/parameters/gov/states/ar/tax/income/rates/low_income_tax_tables/surviving_spouse/no_or_one_dependent.yaml,sha256=OpbUsRCpRj7wIt1Nd8-UT8WHO-RNQk1sZj6VjCCygWQ,10432
|
|
1009
1009
|
policyengine_us/parameters/gov/states/ar/tax/income/rates/low_income_tax_tables/surviving_spouse/two_or_more_dependents.yaml,sha256=ecbeLnLEuu27SDMMJp4j02Wb8pnQ0kT1XZOU8O4i_TM,10046
|
|
1010
1010
|
policyengine_us/parameters/gov/states/ar/tax/income/rates/main/rate.yaml,sha256=KCH6d8NbWBZ2ZHSpk756Mt31mBNiMPYQKtLGqtDDBms,4328
|
|
1011
|
-
policyengine_us/parameters/gov/states/ar/tax/income/rates/main/reduction.yaml,sha256
|
|
1011
|
+
policyengine_us/parameters/gov/states/ar/tax/income/rates/main/reduction.yaml,sha256=fr3qy6Y_w20yDaRH6nKcPp3XM1Tb9pLDXhJJOuDXRTg,12558
|
|
1012
1012
|
policyengine_us/parameters/gov/states/az/README.md,sha256=umuScZui-J4iTZo8sh-Ly8MWuZi6HsaP5KYQRLucJeo,9
|
|
1013
1013
|
policyengine_us/parameters/gov/states/az/hhs/tanf/eligibility/age_threshold/non_student.yaml,sha256=Dej5iDRDXf-SgCmqRXpWcjTHzsaLdi8Yqso6yWp-cpM,428
|
|
1014
1014
|
policyengine_us/parameters/gov/states/az/hhs/tanf/eligibility/age_threshold/student.yaml,sha256=FKSQZ2h_nvg2oEM44DfV8Az0Vq4zunHIcUJ2Omjuz-M,422
|
|
@@ -3204,7 +3204,12 @@ policyengine_us/parameters/gov/territories/pr/tax/income/credits/low_income/age_
|
|
|
3204
3204
|
policyengine_us/parameters/gov/territories/pr/tax/income/credits/low_income/income_limit.yaml,sha256=WRGjWuBQpEJ8iTPLfID1uK0t9E0REHTodVkWHGkEL6A,942
|
|
3205
3205
|
policyengine_us/parameters/gov/territories/pr/tax/income/credits/low_income/amount/additional.yaml,sha256=nrOhUJP-rlqR0UmIuUE6qW-5hLfH8f2uIVFmldPCinw,977
|
|
3206
3206
|
policyengine_us/parameters/gov/territories/pr/tax/income/credits/low_income/amount/base.yaml,sha256=ktyRYW9zA1TAGyIVCJhRh1lGqfL7Kx5lLr7Zy8pf-Ww,717
|
|
3207
|
+
policyengine_us/parameters/gov/territories/pr/tax/income/gradual_adjustment/adjustment_limit_basis.yaml,sha256=tS5Do-iPifWVXOJxYSjLB2mnMVs4ZYFjTAnyntLyliI,556
|
|
3208
|
+
policyengine_us/parameters/gov/territories/pr/tax/income/gradual_adjustment/exemption_rate.yaml,sha256=8uCE3Qp5JxpbzLVWkB3rn3qVfUDyEAuGOMgI7r4rD9I,682
|
|
3209
|
+
policyengine_us/parameters/gov/territories/pr/tax/income/gradual_adjustment/rate.yaml,sha256=o_oJFZ9zPirq3V30loYnw6PPHH9eDR1g7WVpLSCgTos,612
|
|
3210
|
+
policyengine_us/parameters/gov/territories/pr/tax/income/gradual_adjustment/threshold.yaml,sha256=KsJqQg4ceNWxkHHb454QxRYgKtpXLxqNKBX7K38uPR8,680
|
|
3207
3211
|
policyengine_us/parameters/gov/territories/pr/tax/income/gross_income/sources.yaml,sha256=4rB8Sj0-PN1UayxMalENlfgf4rOPPUvXZf2Z_om1hmo,1820
|
|
3212
|
+
policyengine_us/parameters/gov/territories/pr/tax/income/regular_tax/percentage.yaml,sha256=h3LWf3Jj9UQUU4D9_oW_GjiaWQJD6UjR48R8tiJ5PvE,718
|
|
3208
3213
|
policyengine_us/parameters/gov/territories/pr/tax/income/tax_rate/amount.yaml,sha256=c40feR65hYrrNCq1ie1w-Im4IQl8NrSj6bAXof7zmQs,1050
|
|
3209
3214
|
policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/deductions/casualty_loss/separate_percentage.yaml,sha256=KnOLuA34KyrOqRXPYR7xk1mB043XB3OFekCA78uHYbc,771
|
|
3210
3215
|
policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/deductions/charity/floor.yaml,sha256=IrNIBHg_UXxYqF_PPOLLRn6fPhkgHu4fnP9mM9gUSNU,796
|
|
@@ -3217,6 +3222,7 @@ policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/deductio
|
|
|
3217
3222
|
policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/deductions/retirement/age_threshold.yaml,sha256=zJ8Q3XZrh2INvKvW2xx5h1DhXuEtJGjnK-Gv2an4Ijo,559
|
|
3218
3223
|
policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/deductions/retirement/max.yaml,sha256=D3uhpibDaJlhRXDOEu7PyBP-mqENdayWn9k-Y3Oab-g,560
|
|
3219
3224
|
policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/exemptions/personal.yaml,sha256=56y0Qq2cx1XRF2cuV16iIeogOW1yWwggUQRdKl_yngg,819
|
|
3225
|
+
policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/exemptions/sources.yaml,sha256=UFkP6P4gd-2lD7oevdquYweOQ4Pd6lKSehWCeJEZRkE,606
|
|
3220
3226
|
policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/exemptions/veteran.yaml,sha256=Png_1_EJcRdK-ALHKKtx_GW9T-MQ_Qy05chzGkOVRMg,572
|
|
3221
3227
|
policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/exemptions/dependent/age_threshold/older.yaml,sha256=74MhyAjkxXsKxmOyNbmIIiDS9UnXbHP5bKcYhFBb3Nw,572
|
|
3222
3228
|
policyengine_us/parameters/gov/territories/pr/tax/income/taxable_income/exemptions/dependent/age_threshold/student.yaml,sha256=gIxpF0jKVYuFyETD0L0XuWIrNYEYfSan4Lo8X-VO8iQ,586
|
|
@@ -3864,7 +3870,7 @@ policyengine_us/tests/policy/baseline/gov/states/ar/tax/income/ar_taxable_capita
|
|
|
3864
3870
|
policyengine_us/tests/policy/baseline/gov/states/ar/tax/income/ar_taxable_income_indiv.yaml,sha256=iUwKKfms1l4fkPbbCFcheRWYto3eNFBpFfVrbk79ZJc,321
|
|
3865
3871
|
policyengine_us/tests/policy/baseline/gov/states/ar/tax/income/ar_taxable_income_joint.yaml,sha256=GCjtJXryk3ueQ9Xv3I8qXEtNiQF0BIOfzyuV_R5ZALM,813
|
|
3866
3872
|
policyengine_us/tests/policy/baseline/gov/states/ar/tax/income/ar_withheld_income_tax.yaml,sha256=d6hyYejEEeDc0rgV9Nw9wjqaRnt9vWRLKC8A6bdF0LY,737
|
|
3867
|
-
policyengine_us/tests/policy/baseline/gov/states/ar/tax/income/integration.yaml,sha256=
|
|
3873
|
+
policyengine_us/tests/policy/baseline/gov/states/ar/tax/income/integration.yaml,sha256=xax3ADWs8RR6A-zSUZWfO2PBRk66yollNb1moG5aVwE,7331
|
|
3868
3874
|
policyengine_us/tests/policy/baseline/gov/states/ar/tax/income/credits/ar_additional_tax_credit_for_qualified_individuals_person.yaml,sha256=xpMuJB8gZ2mAJ1pXOXfKgW-yG9S0fmijkmA6sCC8tLs,3892
|
|
3869
3875
|
policyengine_us/tests/policy/baseline/gov/states/ar/tax/income/credits/ar_cdcc.yaml,sha256=ACmwddua8IObx-TiMFAvum4ilhrm4tt9QL_2y524gVo,208
|
|
3870
3876
|
policyengine_us/tests/policy/baseline/gov/states/ar/tax/income/credits/ar_inflation_relief_credit_person.yaml,sha256=KzuYw59O_hWayU_JUqAif91Am4rQuoVGy7G27Z9QPSo,3199
|
|
@@ -5371,6 +5377,7 @@ policyengine_us/tests/policy/baseline/gov/states/wv/tax/income/subtractions/soci
|
|
|
5371
5377
|
policyengine_us/tests/policy/baseline/gov/states/wv/tax/income/subtractions/social_security/wv_social_security_benefits_subtraction_person.yaml,sha256=FYlFFRNZkMEs3-BBc9aoLKqjQE1vYQYMrAw9w3OyvYA,7445
|
|
5372
5378
|
policyengine_us/tests/policy/baseline/gov/tax/income/integration.yaml,sha256=1kwIJmcmqG6X5kZjCga-hfsclylJB0fWVXSdh08OZHM,706
|
|
5373
5379
|
policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/pr_normal_tax.yaml,sha256=79H2cj93JYnaUZGdG9zNatvf1s3SHzgkxJU6Ujzhm7Q,536
|
|
5380
|
+
policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/pr_tax_before_credits.yaml,sha256=Zqy1wFK2JWRlYUq_dNssdDdDZKJcHC6BgsJqOdHSMic,415
|
|
5374
5381
|
policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/credits/earned_income/integration.yaml,sha256=-9Q9J78TOZuPG8LLK5PqHM4dgi9PmT3KB08jgPNTHFU,1570
|
|
5375
5382
|
policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/credits/earned_income/pr_earned_income_credit.yaml,sha256=ya84wBvd6bTepawJlWt_1xrzHoshmorBhMThd7V3fqo,4076
|
|
5376
5383
|
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
|
|
@@ -5379,6 +5386,8 @@ policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/credits/low_
|
|
|
5379
5386
|
policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/credits/low_income/pr_low_income_credit_eligible.yaml,sha256=ZwzsgITtWsJGAQVQd6qrSJNOyuQxWREG0NZDVZ9p5SQ,1947
|
|
5380
5387
|
policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/credits/low_income/pr_low_income_credit_eligible_person.yaml,sha256=EAipNZfTMVye2BdYodTgAtJtWjzR7UTaGK-R8k3qvB0,813
|
|
5381
5388
|
policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/credits/refundable_ctc/pr_refundable_ctc.yaml,sha256=uH6Rb2TLLIrAJSkX5zS9eUaeLgLDmUzYXg9Ws79eTyE,434
|
|
5389
|
+
policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/gradual_adjustment/pr_gradual_adjustment_amount.yaml,sha256=u2kCu4KaAUHTuGLonRjNoIteVGM-BQmEsw_2fc0m4YQ,688
|
|
5390
|
+
policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/gradual_adjustment/pr_gradual_adjustment_eligible.yaml,sha256=ze5PEdnOUIXt6os0khlGqheYHt9HeIUFNOqo4HwPm8E,298
|
|
5382
5391
|
policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/taxable_income/deductions/pr_casualty_loss_deduction.yaml,sha256=FteN_CqJcr_hjNt0BPagZ5bI9i4PwpHa4vCvphQ-FkY,333
|
|
5383
5392
|
policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/taxable_income/deductions/pr_charitable_deduction.yaml,sha256=W6N5RCKT6iKoV6qr_UbdrVmsy8c7NZkIRR-GqDV_oiM,470
|
|
5384
5393
|
policyengine_us/tests/policy/baseline/gov/territories/pr/tax/income/taxable_income/deductions/pr_medical_expense_deduction.yaml,sha256=0swPOBL6tTh5Q2ScDziSdgFBQHmd2m8yutElgjfDHss,897
|
|
@@ -8324,7 +8333,7 @@ policyengine_us/variables/gov/territories/pr/tax/income/pr_gross_income.py,sha25
|
|
|
8324
8333
|
policyengine_us/variables/gov/territories/pr/tax/income/pr_gross_income_person.py,sha256=SFZtLDY2V-a1qH8p_EvIvOYhUsH_cjhHJBWYnmBB3jU,431
|
|
8325
8334
|
policyengine_us/variables/gov/territories/pr/tax/income/pr_income_tax.py,sha256=oSXFwy96SUJkhVN0MwaW_zpmrN-nL9BHtJKyGsuoRao,442
|
|
8326
8335
|
policyengine_us/variables/gov/territories/pr/tax/income/pr_normal_tax.py,sha256=P2zYc9sjQM-ZNGUpaOzqMTGariqmTXK07lKtBTSh7kc,578
|
|
8327
|
-
policyengine_us/variables/gov/territories/pr/tax/income/pr_regular_tax_before_credits.py,sha256=
|
|
8336
|
+
policyengine_us/variables/gov/territories/pr/tax/income/pr_regular_tax_before_credits.py,sha256=PuDOueUwbpGABgbK6jkIVapbK35pCekloXzJD-557CE,726
|
|
8328
8337
|
policyengine_us/variables/gov/territories/pr/tax/income/credits/pr_refundable_credits.py,sha256=-Vxk6bPiB9tSwDOIE46Q3LNLBMKL-3atTYPBD3SfC_Y,308
|
|
8329
8338
|
policyengine_us/variables/gov/territories/pr/tax/income/credits/earned_income/pr_earned_income_credit.py,sha256=-magFQVK47xuu0D3PleHiy_ihbx4RdJW-Jg_ELQO0Ks,1851
|
|
8330
8339
|
policyengine_us/variables/gov/territories/pr/tax/income/credits/earned_income/pr_earned_income_credit_eligible.py,sha256=ilQSYlQ6cEQuf4oHHnhHWRGywxkzN5Y6GOhu9_FwmqI,630
|
|
@@ -8337,6 +8346,8 @@ policyengine_us/variables/gov/territories/pr/tax/income/credits/low_income/pr_lo
|
|
|
8337
8346
|
policyengine_us/variables/gov/territories/pr/tax/income/credits/low_income/pr_low_income_credit_eligible_person.py,sha256=AyYkgYDtaroJZuAi-uO9hXarBKhgMMXvmsMGf2Nqp5Q,1107
|
|
8338
8347
|
policyengine_us/variables/gov/territories/pr/tax/income/credits/refundable_ctc/pr_refundable_ctc.py,sha256=XyjYvfdudRP3DMfCsmhmpqUaRH00gQpjTy86xrhoW1U,1097
|
|
8339
8348
|
policyengine_us/variables/gov/territories/pr/tax/income/credits/refundable_ctc/pr_refundable_ctc_social_security_tax.py,sha256=pVjsUPcD-QUXWTniQgla4e7rSfkTztuOHgxR42DHmD8,497
|
|
8349
|
+
policyengine_us/variables/gov/territories/pr/tax/income/gradual_adjustment/pr_gradual_adjustment_amount.py,sha256=4ANsIBxCYFcqvIt3Tfi4chOo_xnlB8AlJZ0TO-Ymc-U,931
|
|
8350
|
+
policyengine_us/variables/gov/territories/pr/tax/income/gradual_adjustment/pr_gradual_adjustment_eligible.py,sha256=qFfGB0oHPx8hVes3_Or0t7Gfko96JCCc6BWFQwrjfYQ,623
|
|
8340
8351
|
policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/pr_net_taxable_income.py,sha256=2o0N_ZuDPVlIGHKphNhdGZhcYlYkN4deCyhsoOshmlM,370
|
|
8341
8352
|
policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/deductions/pr_casualty_loss_deduction.py,sha256=g2QRdt75GmxRZSuzU_9c_uvAjCKXSXQMEACzarVPrAU,886
|
|
8342
8353
|
policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/deductions/pr_charitable_deduction.py,sha256=2u9YAoBduN8NKKKSzpWy06wVk5QbAbxj6Tp9bOCtn2o,848
|
|
@@ -8346,6 +8357,7 @@ policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/deduction
|
|
|
8346
8357
|
policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/deductions/education/pr_education_deduction_beneficiary_count.py,sha256=jo7mVDo5u4XLdiXTFRmrhhOwRKocD8N66IxaeFaeNh4,814
|
|
8347
8358
|
policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/deductions/retirement/pr_retirement_deduction.py,sha256=BCKO29x6T0wphnIA3ev7vk2xVAMGF33oYQL__yqZemc,876
|
|
8348
8359
|
policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/deductions/retirement/pr_retirement_deduction_eligibility.py,sha256=g1CTdvG4XyJbSHHevvmJRZwE_OIKvtYnmPLpSlXqO5o,743
|
|
8360
|
+
policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/exemptions/pr_exemptions.py,sha256=NubHPTn0U4J3vNV7VNy2e5iEbEDp8jJI6F3VgufI3v4,403
|
|
8349
8361
|
policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/exemptions/pr_personal_exemption.py,sha256=If_KjaQ5thOcK8A1rdq9aZXCtCogCrMVL3Wd1xx7GJs,643
|
|
8350
8362
|
policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/exemptions/pr_veteran_exemption.py,sha256=0IHer0XKp3aaZPSMwh2brXOZhs_EMwW2hzi1pbzEqns,627
|
|
8351
8363
|
policyengine_us/variables/gov/territories/pr/tax/income/taxable_income/exemptions/dependent/pr_dependents_exemption.py,sha256=BWHFOfSxxRWqP07fTRyqgp3G72nNkPoz9sA5bdm5O6g,919
|
|
@@ -8925,8 +8937,8 @@ policyengine_us/variables/input/farm_income.py,sha256=BEKxYmHNNnWJAAvULl5qZJigy5
|
|
|
8925
8937
|
policyengine_us/variables/input/geography.py,sha256=Ux0ueAf0rhZaflyEqz81UuXP3xKCKBDvoO3CrKhiQEc,5421
|
|
8926
8938
|
policyengine_us/variables/input/self_employment_income.py,sha256=PwsGz8R4lRikKWUYOhsC0qosNNLXq4f5SQmfw4S3mk8,511
|
|
8927
8939
|
policyengine_us/variables/input/self_employment_income_before_lsr.py,sha256=E8fcX9Nlyqz8dziHhQv_euutdmoIwFMMWePUwbbwv_w,379
|
|
8928
|
-
policyengine_us-1.
|
|
8929
|
-
policyengine_us-1.
|
|
8930
|
-
policyengine_us-1.
|
|
8931
|
-
policyengine_us-1.
|
|
8932
|
-
policyengine_us-1.
|
|
8940
|
+
policyengine_us-1.445.0.dist-info/METADATA,sha256=o_gK5V0yOHF-KHvmAjXz38AQhWd6GnzpHtc5TveJo8A,1649
|
|
8941
|
+
policyengine_us-1.445.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
8942
|
+
policyengine_us-1.445.0.dist-info/entry_points.txt,sha256=MLaqNyNTbReALyKNkde85VkuFFpdPWAcy8VRG1mjczc,57
|
|
8943
|
+
policyengine_us-1.445.0.dist-info/licenses/LICENSE,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
|
|
8944
|
+
policyengine_us-1.445.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|