OpenFisca-France 174.0.0__py3-none-any.whl → 174.0.2__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.
Potentially problematic release.
This version of OpenFisca-France might be problematic. Click here for more details.
- openfisca_france/model/prelevements_obligatoires/taxe_habitation/taxe_habitation_import_baremes_locaux.py +4 -4
- openfisca_france/model/prestations/aides_logement.py +10 -8
- openfisca_france/model/prestations/bail_reel_solidaire.py +11 -4
- openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/taux_capacite/taux_capacite_travail.yaml +5 -2
- openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/abattement_esat/esat_10_15.yaml +3 -0
- openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/abattement_esat/esat_15_20.yaml +3 -0
- openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/abattement_esat/esat_20_25.yaml +3 -0
- openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/abattement_esat/esat_20_50.yaml +3 -0
- openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/abattement_esat/esat_25_50.yaml +3 -0
- openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/abattement_esat/esat_5_10.yaml +3 -0
- openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/plafond/couple.yaml +14 -4
- openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/plafond/majoration.yaml +7 -4
- openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/plafond/seul.yaml +13 -0
- openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/plafond_ressources_en_multiple_montant_base.yaml +4 -1
- openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_ordinaire/tranche_smic.yaml +5 -1
- openfisca_france/scripts/performance/measure_tests_performance.py +3 -3
- {openfisca_france-174.0.0.dist-info → openfisca_france-174.0.2.dist-info}/METADATA +1 -2
- {openfisca_france-174.0.0.dist-info → openfisca_france-174.0.2.dist-info}/RECORD +21 -21
- {openfisca_france-174.0.0.dist-info → openfisca_france-174.0.2.dist-info}/WHEEL +0 -0
- {openfisca_france-174.0.0.dist-info → openfisca_france-174.0.2.dist-info}/licenses/LICENSE.AGPL.txt +0 -0
- {openfisca_france-174.0.0.dist-info → openfisca_france-174.0.2.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import os
|
|
2
2
|
import csv
|
|
3
3
|
import codecs
|
|
4
|
-
import
|
|
4
|
+
import importlib
|
|
5
5
|
import openfisca_france
|
|
6
6
|
from numpy import fromiter
|
|
7
7
|
from openfisca_france.model.base import *
|
|
@@ -14,10 +14,10 @@ def preload_parametres_locaux_taxe_habitation(year = None, variable_to_load = No
|
|
|
14
14
|
assert variable_to_load is not None
|
|
15
15
|
assert year is not None
|
|
16
16
|
if os.path.isfile('{}/assets/taxe_habitation/parametres_th_{}.csv'.format(openfisca_france.__name__, year)):
|
|
17
|
-
with
|
|
18
|
-
openfisca_france.__name__
|
|
17
|
+
with importlib.resources.files(
|
|
18
|
+
openfisca_france.__name__).joinpath(
|
|
19
19
|
'assets/taxe_habitation/parametres_th_{}.csv'.format(year),
|
|
20
|
-
) as csv_file:
|
|
20
|
+
).open('rb') as csv_file:
|
|
21
21
|
utf8_reader = codecs.getreader('utf-8')
|
|
22
22
|
csv_reader = csv.DictReader(utf8_reader(csv_file))
|
|
23
23
|
return {
|
|
@@ -2,7 +2,7 @@ import csv
|
|
|
2
2
|
import codecs
|
|
3
3
|
import json
|
|
4
4
|
import logging
|
|
5
|
-
import
|
|
5
|
+
import importlib
|
|
6
6
|
import sys
|
|
7
7
|
|
|
8
8
|
from numpy import ceil, datetime64, fromiter, int16, logical_or as or_, logical_and as and_, logical_not as not_
|
|
@@ -1469,10 +1469,11 @@ zone_apl_by_depcom = None
|
|
|
1469
1469
|
def preload_zone_apl():
|
|
1470
1470
|
global zone_apl_by_depcom
|
|
1471
1471
|
if zone_apl_by_depcom is None:
|
|
1472
|
-
with
|
|
1473
|
-
openfisca_france.__name__
|
|
1474
|
-
|
|
1475
|
-
|
|
1472
|
+
with importlib.resources.files(
|
|
1473
|
+
openfisca_france.__name__
|
|
1474
|
+
).joinpath(
|
|
1475
|
+
'assets/apl/20110914_zonage.csv'
|
|
1476
|
+
).open('rb') as csv_file:
|
|
1476
1477
|
if sys.version_info < (3, 0):
|
|
1477
1478
|
csv_reader = csv.DictReader(csv_file)
|
|
1478
1479
|
else:
|
|
@@ -1484,10 +1485,11 @@ def preload_zone_apl():
|
|
|
1484
1485
|
for row in csv_reader
|
|
1485
1486
|
}
|
|
1486
1487
|
# Add subcommunes (arrondissements and communes associées), use the same value as their parent commune.
|
|
1487
|
-
with
|
|
1488
|
-
openfisca_france.__name__
|
|
1488
|
+
with importlib.resources.files(
|
|
1489
|
+
openfisca_france.__name__
|
|
1490
|
+
).joinpath(
|
|
1489
1491
|
'assets/apl/commune_depcom_by_subcommune_depcom.json',
|
|
1490
|
-
) as json_file:
|
|
1492
|
+
).open('rb') as json_file:
|
|
1491
1493
|
commune_depcom_by_subcommune_depcom = json.load(json_file)
|
|
1492
1494
|
for subcommune_depcom, commune_depcom in commune_depcom_by_subcommune_depcom.items():
|
|
1493
1495
|
zone_apl_by_depcom[subcommune_depcom] = zone_apl_by_depcom[commune_depcom]
|
|
@@ -2,12 +2,17 @@ from openfisca_france.model.base import *
|
|
|
2
2
|
import openfisca_france
|
|
3
3
|
import csv
|
|
4
4
|
import codecs
|
|
5
|
-
import
|
|
5
|
+
import importlib
|
|
6
6
|
import numpy as np
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
def bail_reel_solidaire_zones_elligibles():
|
|
10
|
-
with
|
|
10
|
+
with importlib.resources.files(
|
|
11
|
+
openfisca_france.__name__).joinpath(
|
|
12
|
+
'assets/zonage-communes/zonage-abc-juillet-2024.csv'
|
|
13
|
+
).open(
|
|
14
|
+
'rb'
|
|
15
|
+
) as csv_file:
|
|
11
16
|
utf8_reader = codecs.getreader('utf-8')
|
|
12
17
|
csv_reader = csv.DictReader(utf8_reader(csv_file), delimiter=';')
|
|
13
18
|
return {
|
|
@@ -25,7 +30,8 @@ class bail_reel_solidaire_zones_menage(Variable):
|
|
|
25
30
|
def formula(menage, period):
|
|
26
31
|
depcom = menage('depcom', period)
|
|
27
32
|
return np.fromiter(
|
|
28
|
-
(bail_reel_solidaire_zones_elligibles().get(
|
|
33
|
+
(bail_reel_solidaire_zones_elligibles().get(
|
|
34
|
+
depcom_cell.decode('utf-8')) for depcom_cell in depcom),
|
|
29
35
|
dtype='<U4' # String length max for zones (A, Abis, B1, B2, C)
|
|
30
36
|
)
|
|
31
37
|
|
|
@@ -76,5 +82,6 @@ class bail_reel_solidaire(Variable):
|
|
|
76
82
|
def formula(menage, period):
|
|
77
83
|
plafond_total = menage('bail_reel_solidaire_plafond_total', period)
|
|
78
84
|
zones_menage = menage('bail_reel_solidaire_zones_menage', period)
|
|
79
|
-
rfr = menage.sum(menage.members.foyer_fiscal(
|
|
85
|
+
rfr = menage.sum(menage.members.foyer_fiscal(
|
|
86
|
+
'rfr', period.n_2), role=FoyerFiscal.DECLARANT_PRINCIPAL)
|
|
80
87
|
return where(zones_menage is not None, rfr <= plafond_total, False)
|
|
@@ -3,12 +3,15 @@ values:
|
|
|
3
3
|
2005-07-01:
|
|
4
4
|
value: 0.05
|
|
5
5
|
metadata:
|
|
6
|
+
last_value_still_valid_on: "2025-08-22"
|
|
6
7
|
short_label: Taux maximal de capacité de travail
|
|
7
8
|
label_en: Adult disability allowance (AAH)
|
|
8
9
|
unit: /1
|
|
9
10
|
reference:
|
|
10
11
|
2005-07-01:
|
|
11
|
-
|
|
12
|
-
href: https://www.legifrance.gouv.fr/
|
|
12
|
+
- title: Article D821-4 du Code de la sécurité sociale
|
|
13
|
+
href: https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000006739703/2005-07-01
|
|
14
|
+
- title: Décret 2005-725 du 29/06/2005 art. 4 créé art. D821-9 du CSS
|
|
15
|
+
href: https://www.legifrance.gouv.fr/jorf/article_jo/JORFARTI000001718503
|
|
13
16
|
official_journal_date:
|
|
14
17
|
2005-07-01: "2005-07-01"
|
|
@@ -5,6 +5,7 @@ values:
|
|
|
5
5
|
2007-01-01:
|
|
6
6
|
value: 0.04
|
|
7
7
|
metadata:
|
|
8
|
+
last_value_still_valid_on: "2025-08-20"
|
|
8
9
|
short_label: Rémunération garantie Esat entre 10 et 15% Smic
|
|
9
10
|
label_en: Adult disability allowance (AAH)
|
|
10
11
|
ipp_csv_id: abattement_esat_10_15
|
|
@@ -14,6 +15,8 @@ metadata:
|
|
|
14
15
|
title: Décret 2006-703 du 16/06/2006 art. 8 créé art. D821-10 du CSS
|
|
15
16
|
href: https://www.legifrance.gouv.fr/loda/article_lc/LEGIARTI000006252162/2007-01-01
|
|
16
17
|
2007-01-01:
|
|
18
|
+
- title: Article D821-10 du Code de la sécurité sociale
|
|
19
|
+
href: https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000006739876/2007-01-01/
|
|
17
20
|
- title: Décret 2006-1821 du 23/12/2006
|
|
18
21
|
href: https://www.legifrance.gouv.fr/loda/article_lc/LEGIARTI000006258887/
|
|
19
22
|
- title: Décret 2006-1752 du 23/12/2006 art. 2 et 3 modifie art. D821-5 et D821-10
|
|
@@ -5,6 +5,7 @@ values:
|
|
|
5
5
|
2007-01-01:
|
|
6
6
|
value: 0.045
|
|
7
7
|
metadata:
|
|
8
|
+
last_value_still_valid_on: "2025-08-20"
|
|
8
9
|
short_label: Rémunération garantie Esat entre 15 et 20 % Smic
|
|
9
10
|
label_en: Adult disability allowance (AAH)
|
|
10
11
|
ipp_csv_id: abattement_esat_15_20
|
|
@@ -14,6 +15,8 @@ metadata:
|
|
|
14
15
|
title: Décret 2006-703 du 16/06/2006 art. 8 créé art. D821-10 du CSS
|
|
15
16
|
href: https://www.legifrance.gouv.fr/loda/article_lc/LEGIARTI000006252162/2007-01-01
|
|
16
17
|
2007-01-01:
|
|
18
|
+
- title: Article D821-10 du Code de la sécurité sociale
|
|
19
|
+
href: https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000006739876/2007-01-01/
|
|
17
20
|
- title: Décret 2006-1821 du 23/12/2006
|
|
18
21
|
href: https://www.legifrance.gouv.fr/loda/article_lc/LEGIARTI000006258887/
|
|
19
22
|
- title: Décret 2006-1752 du 23/12/2006 art. 2 et 3 modifie art. D821-5 et D821-10
|
|
@@ -5,6 +5,7 @@ values:
|
|
|
5
5
|
2007-01-01:
|
|
6
6
|
value: null
|
|
7
7
|
metadata:
|
|
8
|
+
last_value_still_valid_on: "2025-08-20"
|
|
8
9
|
short_label: Rémunération garantie Esat entre 20 et 25 % Smic
|
|
9
10
|
label_en: Adult disability allowance (AAH)
|
|
10
11
|
ipp_csv_id: abattement_esat_20_25
|
|
@@ -14,6 +15,8 @@ metadata:
|
|
|
14
15
|
title: Décret 2006-703 du 16/06/2006 art. 8 créé art. D821-10 du CSS
|
|
15
16
|
href: https://www.legifrance.gouv.fr/loda/article_lc/LEGIARTI000006252162/2007-01-01
|
|
16
17
|
2007-01-01:
|
|
18
|
+
- title: Article D821-10 du Code de la sécurité sociale
|
|
19
|
+
href: https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000006739876/2007-01-01/
|
|
17
20
|
- title: Décret 2006-1821 du 23/12/2006
|
|
18
21
|
href: https://www.legifrance.gouv.fr/loda/article_lc/LEGIARTI000006258887/
|
|
19
22
|
- title: Décret 2006-1752 du 23/12/2006 art. 2 et 3 modifie art. D821-5 et D821-10
|
|
@@ -3,12 +3,15 @@ values:
|
|
|
3
3
|
2007-01-01:
|
|
4
4
|
value: 0.05
|
|
5
5
|
metadata:
|
|
6
|
+
last_value_still_valid_on: "2025-08-20"
|
|
6
7
|
short_label: Rémunération garantie Esat entre 20 et 50 % Smic
|
|
7
8
|
label_en: Adult disability allowance (AAH)
|
|
8
9
|
ipp_csv_id: abattement_esat_20_50
|
|
9
10
|
unit: /1
|
|
10
11
|
reference:
|
|
11
12
|
2007-01-01:
|
|
13
|
+
- title: Article D821-10 du Code de la sécurité sociale
|
|
14
|
+
href: https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000006739876/2007-01-01/
|
|
12
15
|
- title: Décret 2006-1821 du 23/12/2006
|
|
13
16
|
href: https://www.legifrance.gouv.fr/loda/article_lc/LEGIARTI000006258887/
|
|
14
17
|
- title: Décret 2006-1752 du 23/12/2006 art. 2 et 3 modifie art. D821-5 et D821-10
|
|
@@ -5,6 +5,7 @@ values:
|
|
|
5
5
|
2007-01-01:
|
|
6
6
|
value: null
|
|
7
7
|
metadata:
|
|
8
|
+
last_value_still_valid_on: "2025-08-20"
|
|
8
9
|
short_label: Rémunération garantie Esat entre 25 et 50 % Smic
|
|
9
10
|
label_en: Adult disability allowance (AAH)
|
|
10
11
|
ipp_csv_id: abattement_esat_25_50
|
|
@@ -14,6 +15,8 @@ metadata:
|
|
|
14
15
|
title: Décret 2006-703 du 16/06/2006 art. 8 créé art. D821-10 du CSS
|
|
15
16
|
href: https://www.legifrance.gouv.fr/loda/article_lc/LEGIARTI000006252162/2007-01-01
|
|
16
17
|
2007-01-01:
|
|
18
|
+
- title: Article D821-10 du Code de la sécurité sociale
|
|
19
|
+
href: https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000006739876/2007-01-01/
|
|
17
20
|
- title: Décret 2006-1821 du 23/12/2006
|
|
18
21
|
href: https://www.legifrance.gouv.fr/loda/article_lc/LEGIARTI000006258887/
|
|
19
22
|
- title: Décret 2006-1752 du 23/12/2006 art. 2 et 3 modifie art. D821-5 et D821-10
|
|
@@ -5,6 +5,7 @@ values:
|
|
|
5
5
|
2007-01-01:
|
|
6
6
|
value: 0.035
|
|
7
7
|
metadata:
|
|
8
|
+
last_value_still_valid_on: "2025-08-20"
|
|
8
9
|
short_label: Rémunération garantie Esat entre 5 et 10% Smic
|
|
9
10
|
label_en: Adult disability allowance (AAH)
|
|
10
11
|
ipp_csv_id: abattement_esat_5_10
|
|
@@ -14,6 +15,8 @@ metadata:
|
|
|
14
15
|
title: Décret 2006-703 du 16/06/2006 art. 8 créé art. D821-10 du CSS
|
|
15
16
|
href: https://www.legifrance.gouv.fr/loda/article_lc/LEGIARTI000006252162/2007-01-01
|
|
16
17
|
2007-01-01:
|
|
18
|
+
- title: Article D821-10 du Code de la sécurité sociale
|
|
19
|
+
href: https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000006739876/2007-01-01/
|
|
17
20
|
- title: Décret 2006-1821 du 23/12/2006
|
|
18
21
|
href: https://www.legifrance.gouv.fr/loda/article_lc/LEGIARTI000006258887/
|
|
19
22
|
- title: Décret 2006-1752 du 23/12/2006 art. 2 et 3 modifie art. D821-5 et D821-10
|
|
@@ -4,7 +4,10 @@ values:
|
|
|
4
4
|
value: 2
|
|
5
5
|
2007-01-01:
|
|
6
6
|
value: 1.3
|
|
7
|
+
2023-10-01:
|
|
8
|
+
value: null
|
|
7
9
|
metadata:
|
|
10
|
+
last_value_still_valid_on: "2025-08-22"
|
|
8
11
|
short_label: Couple
|
|
9
12
|
label_en: Adult disability allowance (AAH)
|
|
10
13
|
ipp_csv_id: plaf_aah_esat_couple
|
|
@@ -14,10 +17,17 @@ metadata:
|
|
|
14
17
|
title: Décret 2005-725 du 29/06/2005 art. 6 créé art. D821-9 du CSS
|
|
15
18
|
href: https://www.legifrance.gouv.fr/loda/article_lc/LEGIARTI000006242585/2005-06-30
|
|
16
19
|
2007-01-01:
|
|
17
|
-
- title:
|
|
18
|
-
href: https://www.legifrance.gouv.fr/
|
|
19
|
-
- title: Décret 2006-
|
|
20
|
-
href: https://www.legifrance.gouv.fr/
|
|
20
|
+
- title: Article D821-5 du Code de la sécurité sociale
|
|
21
|
+
href: https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000006739708/2007-01-01
|
|
22
|
+
- title: Décret 2006-1821 du 23/12/2006, art. 2
|
|
23
|
+
href: https://www.legifrance.gouv.fr/jorf/article_jo/JORFARTI000002279506
|
|
24
|
+
2023-10-01:
|
|
25
|
+
- title: Décret n° 2023-360 du 11 mai 2023, art. 1
|
|
26
|
+
href: https://www.legifrance.gouv.fr/jorf/article_jo/JORFARTI000047541294
|
|
27
|
+
notes:
|
|
28
|
+
2007-01-01: "ce pourcentage est majoré de 30 % => * 1.3"
|
|
29
|
+
2023-10-01: "Supprimé par la déconjugalisation : 'Les mots : « [...] est majoré de 30 %. [...] » sont supprimés ; '"
|
|
21
30
|
official_journal_date:
|
|
22
31
|
2005-07-01: "2005-07-01"
|
|
23
32
|
2007-01-01: 2006-12-31; 2006-12-30
|
|
33
|
+
2023-10-01: "2023-05-13"
|
|
@@ -5,6 +5,7 @@ values:
|
|
|
5
5
|
2007-01-01:
|
|
6
6
|
value: 0.15
|
|
7
7
|
metadata:
|
|
8
|
+
last_value_still_valid_on: "2025-08-22"
|
|
8
9
|
short_label: Majoration par enfant ou ascendant à charge
|
|
9
10
|
label_en: Adult disability allowance (AAH)
|
|
10
11
|
ipp_csv_id: plaf_aah_esat_maj
|
|
@@ -14,10 +15,12 @@ metadata:
|
|
|
14
15
|
title: Décret 2005-725 du 29/06/2005 art. 6 créé art. D821-9 du CSS
|
|
15
16
|
href: https://www.legifrance.gouv.fr/loda/article_lc/LEGIARTI000006242585/2005-06-30
|
|
16
17
|
2007-01-01:
|
|
17
|
-
- title:
|
|
18
|
-
href: https://www.legifrance.gouv.fr/
|
|
19
|
-
- title: Décret 2006-
|
|
20
|
-
href: https://www.legifrance.gouv.fr/
|
|
18
|
+
- title: Article D821-5 du Code de la sécurité sociale
|
|
19
|
+
href: https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000006739708/2007-01-01
|
|
20
|
+
- title: Décret 2006-1821 du 23/12/2006, art. 2
|
|
21
|
+
href: https://www.legifrance.gouv.fr/jorf/article_jo/JORFARTI000002279506
|
|
22
|
+
notes:
|
|
23
|
+
2007-01-01: "ce pourcentage est majoré de 15 % => * 1.15"
|
|
21
24
|
official_journal_date:
|
|
22
25
|
2005-07-01: "2005-07-01"
|
|
23
26
|
2007-01-01: 2006-12-31; 2006-12-30
|
|
@@ -3,6 +3,7 @@ values:
|
|
|
3
3
|
2005-07-01:
|
|
4
4
|
value: 1
|
|
5
5
|
metadata:
|
|
6
|
+
last_value_still_valid_on: "2025-08-22"
|
|
6
7
|
short_label: Seul
|
|
7
8
|
label_en: Adult disability allowance (AAH)
|
|
8
9
|
ipp_csv_id: plaf_aah_esat_seul
|
|
@@ -13,3 +14,15 @@ metadata:
|
|
|
13
14
|
href: https://www.legifrance.gouv.fr/loda/article_lc/LEGIARTI000006242585/2005-06-30
|
|
14
15
|
official_journal_date:
|
|
15
16
|
2005-07-01: "2005-07-01"
|
|
17
|
+
documentation: >-
|
|
18
|
+
Explication de GPT-5, à vérifier :
|
|
19
|
+
la mention "plafond = 1 × le montant de base (100 %) pour une personne seule" n'apparaît pas telle quelle dans les articles R.821-1 et suivants. Dans le Code, ce “plafond à 100 %” ne figure pas sous forme d'un multiple; il découle de la règle de calcul du montant d'AAH.
|
|
20
|
+
Références utiles et enchaînement juridique :
|
|
21
|
+
L.821-3 du Code de la sécurité sociale : subordonne l'AAH à une condition de ressources “définie par décret”.
|
|
22
|
+
R.821-4 et R.821-4-1 CSS : précisent comment on apprécie les ressources (période de référence annuelle ou trimestrielle) et, au I de l'article R.821-4, incluent explicitement le cas où les revenus proviennent exclusivement d'un ESAT. Au II de R.821-4, 1° b, ils excluent de l'assiette la prime d'intéressement ESAT.
|
|
23
|
+
D.821-10 CSS : fixe la règle de calcul du montant versé. En substance, le montant mensuel de l'AAH est égal à la différence entre:
|
|
24
|
+
• le montant mensuel maximal de l'AAH (“montant de base”, fixé par arrêté ministériel),
|
|
25
|
+
• et la moyenne mensuelle des ressources retenues selon R.821-4/R.821-4-1 (avec plancher à zéro).
|
|
26
|
+
Conséquence directe : le droit s'annule lorsque la moyenne mensuelle des ressources atteint le montant mensuel maximal. Autrement dit, pour un bénéficiaire seul, le “plafond de ressources” correspond à 100 % du montant de base (1 × le montant de l'AAH à taux plein).
|
|
27
|
+
Cas des personnes travaillant en ESAT :
|
|
28
|
+
Elles relèvent des mêmes règles de plafond : il n'existe pas un plafond “spécifique ESAT” différent. La particularité ESAT tient à l'assiette des ressources (R.821-4 I et II, 1° b : exclusion de la prime d'intéressement ESAT), et au fait que, si les revenus proviennent exclusivement de l'ESAT, on applique en principe l'appréciation annuelle des ressources (R.821-4), et non la trimestrielle (R.821-4-1).
|
|
@@ -3,13 +3,16 @@ values:
|
|
|
3
3
|
2005-07-01:
|
|
4
4
|
value: 12
|
|
5
5
|
metadata:
|
|
6
|
+
last_value_still_valid_on: "2025-08-20"
|
|
6
7
|
short_label: Plafond de ressources
|
|
7
8
|
label_en: Adult disability allowance (AAH)
|
|
8
9
|
ipp_csv_id: plaf_ressources_aah_non_activite
|
|
9
10
|
unit: /1
|
|
10
11
|
reference:
|
|
11
12
|
2005-07-01:
|
|
12
|
-
|
|
13
|
+
- titre: Article D821-2 du Code de la sécurité sociale
|
|
14
|
+
href: https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000006739692/2005-07-01/
|
|
15
|
+
- title: Décret 2005-725 du 29/06/2005 art. 6 créé art. D821-9 du CSS
|
|
13
16
|
href: https://www.legifrance.gouv.fr/loda/article_lc/LEGIARTI000006242585/2005-06-30
|
|
14
17
|
official_journal_date:
|
|
15
18
|
2005-07-01: "2005-07-01"
|
|
@@ -3,12 +3,16 @@ values:
|
|
|
3
3
|
2011-01-01:
|
|
4
4
|
value: 0.3
|
|
5
5
|
metadata:
|
|
6
|
+
last_value_still_valid_on: "2025-08-20"
|
|
6
7
|
short_label: Seuil entre tranches
|
|
7
8
|
label_en: Adult disability allowance (AAH)
|
|
8
9
|
unit: smic_horaire_brut
|
|
9
10
|
reference:
|
|
10
11
|
2011-01-01:
|
|
11
|
-
|
|
12
|
+
- title: Article D821-9 du CSS
|
|
13
|
+
href: https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000023097737
|
|
14
|
+
- title: Décret n° 2010-1403 du 12/11/2010, art. 1 (modifie art. D821-9 du CSS)
|
|
12
15
|
href: https://www.legifrance.gouv.fr/jorf/id/JORFTEXT000023086051/#JORFARTI000023086056
|
|
13
16
|
official_journal_date:
|
|
14
17
|
2011-01-01: "2010-11-16"
|
|
18
|
+
documentation: "b) 40 % pour la tranche de revenus supérieure, en moyenne mensuelle, à 30 % de la valeur mensuelle du salaire minimum de croissance calculé pour 151,67 heures en vigueur le dernier jour de la période de référence."
|
|
@@ -10,7 +10,7 @@ Usage example:
|
|
|
10
10
|
import os
|
|
11
11
|
import time
|
|
12
12
|
import logging
|
|
13
|
-
import
|
|
13
|
+
import importlib
|
|
14
14
|
|
|
15
15
|
from openfisca_core.tools.test_runner import run_tests
|
|
16
16
|
from openfisca_france import CountryTaxBenefitSystem
|
|
@@ -30,8 +30,8 @@ tbs = CountryTaxBenefitSystem()
|
|
|
30
30
|
time_spent_tbs = time.time() - start_time_tbs
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
yaml_tests_dir =
|
|
33
|
+
folder = os.path.join('tests', 'mes-aides.gouv.fr')
|
|
34
|
+
yaml_tests_dir = importlib.resources.path('OpenFisca-France', folder)
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
# Time openfisca-run-test runner
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: OpenFisca-France
|
|
3
|
-
Version: 174.0.
|
|
3
|
+
Version: 174.0.2
|
|
4
4
|
Summary: OpenFisca Rules as Code model for France.
|
|
5
5
|
Author-email: OpenFisca Team <contact@openfisca.fr>
|
|
6
6
|
Project-URL: Homepage, https://github.com/openfisca/openfisca-france
|
|
@@ -22,7 +22,6 @@ Description-Content-Type: text/markdown
|
|
|
22
22
|
License-File: LICENSE.AGPL.txt
|
|
23
23
|
Requires-Dist: numpy<2,>=1.24.3
|
|
24
24
|
Requires-Dist: openfisca-core[web-api]<44,>=43
|
|
25
|
-
Requires-Dist: setuptools
|
|
26
25
|
Provides-Extra: inversion-revenus
|
|
27
26
|
Requires-Dist: scipy<2.0,>=1.10.1; extra == "inversion-revenus"
|
|
28
27
|
Provides-Extra: de-net-a-brut
|
|
@@ -74,17 +74,17 @@ openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/cotisation
|
|
|
74
74
|
openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/cotisations_sociales/travail_totaux.py,sha256=vHJWfH0s0BYqbup9pcZisAI3cKGXlmBTdLYzWJOxgNA,9967
|
|
75
75
|
openfisca_france/model/prelevements_obligatoires/taxe_habitation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
76
76
|
openfisca_france/model/prelevements_obligatoires/taxe_habitation/taxe_habitation.py,sha256=-VDWVv6weZqQhPov1SA35Xl8w09AHV9ZXYPBdKimk_U,29326
|
|
77
|
-
openfisca_france/model/prelevements_obligatoires/taxe_habitation/taxe_habitation_import_baremes_locaux.py,sha256=
|
|
77
|
+
openfisca_france/model/prelevements_obligatoires/taxe_habitation/taxe_habitation_import_baremes_locaux.py,sha256=OQRsRpfqP4djuwybokV9IEayDbDkn8GbFdhgTwRC7Xs,14915
|
|
78
78
|
openfisca_france/model/prestations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
79
79
|
openfisca_france/model/prestations/agepi.py,sha256=QRjafsxsObAjW2A31mzrOmXnzmKx0OWvlko7qpeRyj0,15841
|
|
80
80
|
openfisca_france/model/prestations/aide_alimentation_etudiants_eloignes.py,sha256=iO35OV8iDexv0yiQCbOpQ4sIZvfkRSAP5xuztGt-qa4,1779
|
|
81
81
|
openfisca_france/model/prestations/aide_mobilite.py,sha256=SqzPIkkEZAgKoEbc73d3bhsYhFxZaN1o2Ik4gTm7VWY,20560
|
|
82
82
|
openfisca_france/model/prestations/aide_permis_demandeur_emploi.py,sha256=7V8gVzI9Rgg60lxqddrrIqhjqe06J2GfMQoSXKrdY7I,3410
|
|
83
83
|
openfisca_france/model/prestations/aide_permis_pro_btp.py,sha256=bzh9cDpJetqn72S2ziQJlhZuJrtOw-tYSDBOYKIML48,2258
|
|
84
|
-
openfisca_france/model/prestations/aides_logement.py,sha256=
|
|
84
|
+
openfisca_france/model/prestations/aides_logement.py,sha256=YnvMnZD3ffC2nZWwLK0LCWKEHIdJ7s8pzUHldEr3Do4,92253
|
|
85
85
|
openfisca_france/model/prestations/alimentation.py,sha256=3gkbQrPdobAHmroJiG07ajxzWjLlyMhMh6kMvg4s4Hk,2350
|
|
86
86
|
openfisca_france/model/prestations/autonomie.py,sha256=7UpuhDO-LFjwbq3UWSDyOKJCsTw1rx8O-tS3dG-MBn8,19394
|
|
87
|
-
openfisca_france/model/prestations/bail_reel_solidaire.py,sha256=
|
|
87
|
+
openfisca_france/model/prestations/bail_reel_solidaire.py,sha256=7nSL3HhQdZ5VgPx_La3vCY4rMnhWqowxmaae1tVD3f4,3261
|
|
88
88
|
openfisca_france/model/prestations/cheque_energie.py,sha256=YsmPzfUhs4P7CW5ePrOkBG-2iqeMeuFmfDyR0zKMeLg,6037
|
|
89
89
|
openfisca_france/model/prestations/complement_are.py,sha256=A3w76QuTfglsUmErWLpRbrFHqPECnZT3uDE1KgJWcTc,16530
|
|
90
90
|
openfisca_france/model/prestations/depart1825.py,sha256=2TJYxttcBJbSqpqs-3Wh6yB1-zARnnR396kkgQx_Quw,2528
|
|
@@ -2826,22 +2826,22 @@ openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/inval
|
|
|
2826
2826
|
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/pourcentage_aah/normal.yaml,sha256=9WBGW90s4bgF4KVwGMmr85yjWJV6-mTXNzH_mCU2Q6k,281
|
|
2827
2827
|
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/pourcentage_aah/prison_hospitalisation.yaml,sha256=ldHX3g6mLh1L7J1OJbBh1K_SgEAD70kha1HampIPOPA,844
|
|
2828
2828
|
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/taux_capacite/index.yaml,sha256=4ShR4wD05M0CLd71MmNTjyLmjYIzQQAY2geOkrHy6LA,269
|
|
2829
|
-
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/taux_capacite/taux_capacite_travail.yaml,sha256=
|
|
2829
|
+
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/taux_capacite/taux_capacite_travail.yaml,sha256=OrHshuHAdcyfGZsgS3Hoo1fyp8GIlPRF3ah9FPzzCPo,688
|
|
2830
2830
|
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/taux_capacite/taux_incapacite.yaml,sha256=ukF3rn7y8oHFC4xM7cTWNZlY4neO_ZDqY4JdnU_32IU,589
|
|
2831
2831
|
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/taux_capacite/taux_incapacite_rsdae.yaml,sha256=o4RplCdPoqlRsn9V0wb7ssbomWuoU2p45RrCJbO9l6M,622
|
|
2832
2832
|
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/index.yaml,sha256=hgThZhxiXNgvWD9bWfM86ewdZMBNtsLfWHuNTnhfAyE,1318
|
|
2833
|
-
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/plafond_ressources_en_multiple_montant_base.yaml,sha256=
|
|
2834
|
-
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/abattement_esat/esat_10_15.yaml,sha256=
|
|
2835
|
-
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/abattement_esat/esat_15_20.yaml,sha256
|
|
2836
|
-
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/abattement_esat/esat_20_25.yaml,sha256=
|
|
2837
|
-
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/abattement_esat/esat_20_50.yaml,sha256=
|
|
2838
|
-
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/abattement_esat/esat_25_50.yaml,sha256=
|
|
2839
|
-
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/abattement_esat/esat_5_10.yaml,sha256=
|
|
2833
|
+
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/plafond_ressources_en_multiple_montant_base.yaml,sha256=opDPFf5NMh8BSlTIppXFgoDk9qmi1X0kGJiqBdKCapM,849
|
|
2834
|
+
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/abattement_esat/esat_10_15.yaml,sha256=6qc34gnPX1Es5Cl7LXX2vO8r0bXy5kURRV7yeAfOXds,1298
|
|
2835
|
+
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/abattement_esat/esat_15_20.yaml,sha256=-Vn3iIfOdb54Z9eIktAlgPstEIMkUAbvDe8wrF1qy1M,1300
|
|
2836
|
+
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/abattement_esat/esat_20_25.yaml,sha256=4-l4hqXxzCpHnxLK2FyTTfocUAPXXwq5J_h9D10gpzk,1299
|
|
2837
|
+
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/abattement_esat/esat_20_50.yaml,sha256=PPrUoC_cjsMh2Bq2kn0iSCotbwUb254vE6ut2FxViuU,1055
|
|
2838
|
+
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/abattement_esat/esat_25_50.yaml,sha256=beBPuixiYZn831svyawCQFMJNUEA228AsUDD5oz5GY4,1299
|
|
2839
|
+
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/abattement_esat/esat_5_10.yaml,sha256=ytqFS2pP2djCawokv7b8k6afoiclRJGXb_29yjqwc-g,1296
|
|
2840
2840
|
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/abattement_esat/index.yaml,sha256=et3NR-cDuD2uWfqlcl5ASX9ffiaxtDb07qPjkzHaibI,419
|
|
2841
|
-
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/plafond/couple.yaml,sha256=
|
|
2841
|
+
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/plafond/couple.yaml,sha256=mJYyX_6QsHpIZjLgQrekwB7x0Y45UU4MPtrbigzY3yw,1480
|
|
2842
2842
|
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/plafond/index.yaml,sha256=LhWcCvuH2VHBZiOPJ8MN65lQpyFZ-OccHgkXlDGCwOg,271
|
|
2843
|
-
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/plafond/majoration.yaml,sha256=
|
|
2844
|
-
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/plafond/seul.yaml,sha256=
|
|
2843
|
+
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/plafond/majoration.yaml,sha256=yLmTlAiAFUOV9XMPMHOMFvx8G32y0BrlWuT0t46iVJE,1195
|
|
2844
|
+
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/plafond/seul.yaml,sha256=MeayJ9cmfEAVMYiGH1cgjvGjVQOSkHp8P6AUeMZVrWs,2627
|
|
2845
2845
|
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_ordinaire/abattement_1100.yaml,sha256=D7iwkvAepPgCKzIK8zTDXOu4th7Ek-0bMxJmLGe22pI,854
|
|
2846
2846
|
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_ordinaire/abattement_1500.yaml,sha256=5Zj-h0xv3AZDiBe58M_tIV9LX6T40i2zLi6SRQw-E-A,856
|
|
2847
2847
|
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_ordinaire/abattement_30.yaml,sha256=4IVunttgj8x7EbgRpY0nc0NpvNUL1jPvzPutDXoYncs,826
|
|
@@ -2850,7 +2850,7 @@ openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/inval
|
|
|
2850
2850
|
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_ordinaire/abattement_sup.yaml,sha256=dCE2_l2MGxWA3dZqlEPjtK3KdXhe8QdGwjJvRq9E8Nc,827
|
|
2851
2851
|
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_ordinaire/index.yaml,sha256=ALDBGP-1CGkr8MpjEyp6I3gH_MZd8SmlzQxaDQ4dsnA,718
|
|
2852
2852
|
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_ordinaire/plafond_ressources.yaml,sha256=4iuXbTwoGJr7vqUz560x6_2X8sK99HeufpPMa1tKHfI,954
|
|
2853
|
-
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_ordinaire/tranche_smic.yaml,sha256=
|
|
2853
|
+
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_ordinaire/tranche_smic.yaml,sha256=8pUH0hM_-rXMdFtT5mU2JswSsjtDg-Yt2fZvTfkOeAY,951
|
|
2854
2854
|
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_ordinaire/tranche_smic_horaire1.yaml,sha256=_Ec4uqUg_cyS4tfk_DbdmzTSbEuQKjEb7fijh0WiMyQ,777
|
|
2855
2855
|
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_ordinaire/tranche_smic_horaire2.yaml,sha256=IFnsT9Fr79N3Nzx_yJ68oZM_eJpIFAmoWTLHNXLrh10,777
|
|
2856
2856
|
openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_ordinaire/tranche_smic_horaire3.yaml,sha256=lHpxW_1w9leE977VdKoWddhkGeuTtsePOCCmd1dMldo,778
|
|
@@ -4120,11 +4120,11 @@ openfisca_france/scripts/performance/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeu
|
|
|
4120
4120
|
openfisca_france/scripts/performance/measure_calculations_performance.py,sha256=SpD9strcHfajTabcIpr1XKtBJw71W4kNnFumeP8Xdw4,13721
|
|
4121
4121
|
openfisca_france/scripts/performance/measure_circleci_builds_diff.py,sha256=BFXbuQmIWL3Y9dtoVosYKX2rzrrLfVoelKXkBdOjCeY,4322
|
|
4122
4122
|
openfisca_france/scripts/performance/measure_spiral_performances.py,sha256=cQIxERPJJrihov-9245DFeC6p9MfNPJVYj8-86qcE-k,3232
|
|
4123
|
-
openfisca_france/scripts/performance/measure_tests_performance.py,sha256=
|
|
4123
|
+
openfisca_france/scripts/performance/measure_tests_performance.py,sha256=MKrNJont9a0KEgZMy-QSiOx6hC5HUPDi377UV71_rS8,1822
|
|
4124
4124
|
openfisca_france/situation_examples/__init__.py,sha256=BTRmrqk9lsjfhtPXsYcsWqXFEYyFpgLcxNs6oJsy8zk,262
|
|
4125
4125
|
openfisca_france/situation_examples/couple.json,sha256=Ot1x4wl3IS-2-10X3V7ZUokkOMXi96s-xK7A0gNvRF4,862
|
|
4126
|
-
openfisca_france-174.0.
|
|
4127
|
-
openfisca_france-174.0.
|
|
4128
|
-
openfisca_france-174.0.
|
|
4129
|
-
openfisca_france-174.0.
|
|
4130
|
-
openfisca_france-174.0.
|
|
4126
|
+
openfisca_france-174.0.2.dist-info/licenses/LICENSE.AGPL.txt,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
|
|
4127
|
+
openfisca_france-174.0.2.dist-info/METADATA,sha256=-AgQ9c-oY2U35ZH1h7WWabPo0EmvzzVt4eUWoX8ry6I,18374
|
|
4128
|
+
openfisca_france-174.0.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
4129
|
+
openfisca_france-174.0.2.dist-info/top_level.txt,sha256=1LbD6QJWehKGIcjtaJ45tbQOSDiFEXOlIdgWRI_jaHU,17
|
|
4130
|
+
openfisca_france-174.0.2.dist-info/RECORD,,
|
|
File without changes
|
{openfisca_france-174.0.0.dist-info → openfisca_france-174.0.2.dist-info}/licenses/LICENSE.AGPL.txt
RENAMED
|
File without changes
|
|
File without changes
|