OpenFisca-France 169.2.0__py3-none-any.whl → 169.3.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.
Potentially problematic release.
This version of OpenFisca-France might be problematic. Click here for more details.
- {OpenFisca_France-169.2.0.dist-info → OpenFisca_France-169.3.0.dist-info}/METADATA +1 -1
- {OpenFisca_France-169.2.0.dist-info → OpenFisca_France-169.3.0.dist-info}/RECORD +47 -44
- openfisca_france/model/prelevements_obligatoires/impot_revenu/charges_deductibles.py +4 -4
- openfisca_france/model/prelevements_obligatoires/impot_revenu/ir.py +45 -57
- openfisca_france/model/prestations/minima_sociaux/cs/ressources.py +98 -12
- openfisca_france/model/prestations/prestations_familiales/base_ressource.py +3 -15
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/index.yaml +2 -2
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/{conj.yaml → cas_general/conj.yaml} +2 -2
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/{enf1.yaml → cas_general/enf1.yaml} +2 -2
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/{enf2.yaml → cas_general/enf2.yaml} +1 -1
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/{enf3_et_sup.yaml → cas_general/enf3_et_sup.yaml} +1 -1
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/cas_general/index.yaml +12 -0
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/{veuf.yaml → cas_general/veuf.yaml} +3 -3
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/couple_ou_pers_a_charge/index.yaml +14 -0
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/couple_ou_pers_a_charge/inv2.yaml +16 -0
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/{isol.yaml → couple_ou_pers_a_charge/isol.yaml} +2 -2
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/{not41.yaml → couple_ou_pers_a_charge/not41.yaml} +3 -3
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/couple_ou_pers_a_charge/not42.yaml +17 -0
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/{not6.yaml → couple_ou_pers_a_charge/not6.yaml} +3 -3
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/index.yaml +2 -2
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/sans_pers_a_charge/index.yaml +1 -1
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/abat_rni/contribuable_age_invalide.yaml +538 -0
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/abat_rni/{enfant_marie/montant.yaml → enfant_marie.yaml} +2 -2
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/abat_rni/index.yaml +1 -0
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/charges_deductibles/accueil_personne_agee/index.yaml +2 -2
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/charges_deductibles/accueil_personne_agee/plafond.yaml +5 -5
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/charges_deductibles/index.yaml +1 -1
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/charges_deductibles/pensions_alimentaires/index.yaml +1 -1
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/charges_deductibles/pensions_alimentaires/plafond.yaml +3 -3
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/charges_deductibles/pensions_alimentaires/taux_jgt_2006.yaml +4 -4
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatviag/index.yaml +8 -1
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatviag/taux1.yaml +4 -4
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatviag/taux2.yaml +4 -4
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatviag/taux3.yaml +4 -4
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatviag/taux4.yaml +4 -4
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/index.yaml +1 -0
- openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/css/abattements/aah.yaml +15 -0
- openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/css/abattements/asi/couple.yaml +11 -0
- openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/css/abattements/asi/personne_seule.yaml +11 -0
- openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/css/abattements/aspa_asv/couple.yaml +11 -0
- openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/css/abattements/aspa_asv/personne_seule.yaml +11 -0
- openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/css/abattements/index.yaml +1 -0
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/inv2.yaml +0 -12
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/not42.yaml +0 -15
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/abat_rni/enfant_marie/index.yaml +0 -6
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/abat_rni/personne_agee_ou_invalide/index.yaml +0 -15
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/abat_rni/personne_agee_ou_invalide/montant_1.yaml +0 -254
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/abat_rni/personne_agee_ou_invalide/montant_2.yaml +0 -254
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/abat_rni/personne_agee_ou_invalide/plafond_1.yaml +0 -262
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/abat_rni/personne_agee_ou_invalide/plafond_2.yaml +0 -262
- {OpenFisca_France-169.2.0.dist-info → OpenFisca_France-169.3.0.dist-info}/LICENSE.AGPL.txt +0 -0
- {OpenFisca_France-169.2.0.dist-info → OpenFisca_France-169.3.0.dist-info}/WHEEL +0 -0
- {OpenFisca_France-169.2.0.dist-info → OpenFisca_France-169.3.0.dist-info}/top_level.txt +0 -0
- /openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/{cdcd.yaml → couple_ou_pers_a_charge/cdcd.yaml} +0 -0
- /openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/{inv1.yaml → couple_ou_pers_a_charge/inv1.yaml} +0 -0
|
@@ -36,9 +36,9 @@ openfisca_france/model/patrimoine/livret_epargne_populaire.py,sha256=Ty_7mjSA1fL
|
|
|
36
36
|
openfisca_france/model/prelevements_obligatoires/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
37
37
|
openfisca_france/model/prelevements_obligatoires/isf.py,sha256=u0qlU4lDXSYDETupuQT608hmeCimhxqExq4B_y1NLcM,45490
|
|
38
38
|
openfisca_france/model/prelevements_obligatoires/impot_revenu/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
39
|
-
openfisca_france/model/prelevements_obligatoires/impot_revenu/charges_deductibles.py,sha256=
|
|
39
|
+
openfisca_france/model/prelevements_obligatoires/impot_revenu/charges_deductibles.py,sha256=dXVJgd_dlJHxvgF_5JMWp9KBv-ovX4ubo43a32jTYG8,28152
|
|
40
40
|
openfisca_france/model/prelevements_obligatoires/impot_revenu/credits_impot.py,sha256=coih4v62o-P3jkMlvO8I_Kc3Y1w4I0Zt5ajwyHQsP1M,128143
|
|
41
|
-
openfisca_france/model/prelevements_obligatoires/impot_revenu/ir.py,sha256=
|
|
41
|
+
openfisca_france/model/prelevements_obligatoires/impot_revenu/ir.py,sha256=kkLR3SNfbzvHOaOBl-TOlXKAO-9-BkW1nIxxpyzLU8c,179938
|
|
42
42
|
openfisca_france/model/prelevements_obligatoires/impot_revenu/plus_values_immobilieres.py,sha256=5gNB5ntU9I9XVeKhYyq94miM4Uv72HruO1Nu_jIPkn4,4754
|
|
43
43
|
openfisca_france/model/prelevements_obligatoires/impot_revenu/reductions_impot_deplafonnees.py,sha256=xMiVnyqCJP9A8rDYKndS814NIn0jO88quS8i2CYasCU,34693
|
|
44
44
|
openfisca_france/model/prelevements_obligatoires/impot_revenu/reductions_impot_iom.py,sha256=Q8hoXmUfuQLqzWA0S1CIaP3M7fAVcKtBVkoj3xJiae0,139248
|
|
@@ -123,13 +123,13 @@ openfisca_france/model/prestations/minima_sociaux/cs/acs.py,sha256=nwihxwsjKAmgP
|
|
|
123
123
|
openfisca_france/model/prestations/minima_sociaux/cs/cmu.py,sha256=b-voxJzetykcF0WMA_cLebBQRd53Y9Z-xQGOA3jpvPk,11718
|
|
124
124
|
openfisca_france/model/prestations/minima_sociaux/cs/css.py,sha256=aWKN99IF-xWYVyZ-dPuK5g8Ydptxq48ZyTCCEDpvt_0,3399
|
|
125
125
|
openfisca_france/model/prestations/minima_sociaux/cs/eligibilite.py,sha256=3Y4eAlMUk3zPlA6SkBHGfTpPz3UALwk1BXEG3i4IF9o,1612
|
|
126
|
-
openfisca_france/model/prestations/minima_sociaux/cs/ressources.py,sha256=
|
|
126
|
+
openfisca_france/model/prestations/minima_sociaux/cs/ressources.py,sha256=GXfAuwf9PocX8ITc6_8hpr-gkzk59BcAiWh_W9Sp0-8,11889
|
|
127
127
|
openfisca_france/model/prestations/prestations_familiales/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
128
128
|
openfisca_france/model/prestations/prestations_familiales/aeeh.py,sha256=3rJg62yCMOYJ0iaj7tnAHDwXIOMLC3_sU5RT0qaWvqA,5526
|
|
129
129
|
openfisca_france/model/prestations/prestations_familiales/af.py,sha256=HWvFcxV2hETSrrTHLgAYZmNBrO8aN22OJYI4zwj-B1c,18369
|
|
130
130
|
openfisca_france/model/prestations/prestations_familiales/ars.py,sha256=mW3gyOTtC3oWOdZeB23WUHZml0fCyLoIBVRPwX-k33k,5344
|
|
131
131
|
openfisca_france/model/prestations/prestations_familiales/asf.py,sha256=0eZiUM6kUGKFrNB-J-ebVdQEiTfNG3VWSFgdUEOBtxg,3581
|
|
132
|
-
openfisca_france/model/prestations/prestations_familiales/base_ressource.py,sha256=
|
|
132
|
+
openfisca_france/model/prestations/prestations_familiales/base_ressource.py,sha256=_dRqoH0LKF7wB1myEj48Xl0lv-sdpLElV26csZB2dvQ,13504
|
|
133
133
|
openfisca_france/model/prestations/prestations_familiales/cf.py,sha256=OXCqnr06n-KV5g-hNwz0DK6Yp0nrz42gbj6kAzWmZkA,13711
|
|
134
134
|
openfisca_france/model/prestations/prestations_familiales/paje.py,sha256=apHH3DnDyVfM5ew5aT3ONW-VVSDZFlwusCHysAlu3-k,48231
|
|
135
135
|
openfisca_france/model/prestations/sante_psy/etudiant.py,sha256=DITgwXu7_g0H8wujgUbZV2D7jmgSXPb3FWTxrgtsPxc,938
|
|
@@ -417,7 +417,7 @@ openfisca_france/parameters/impot_revenu/bareme_ir_depuis_1945/bareme_taux_neutr
|
|
|
417
417
|
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/index.yaml,sha256=yOLvgnNvPs9xddlUogsQ4wP3QuMLIx9zgCNPsSPYqpg,163
|
|
418
418
|
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/bouclier_fiscal/index.yaml,sha256=MNMMuFIIPsYYIVnZyK5hlfcZRSPNzFboFBHOrW6_NQ8,29
|
|
419
419
|
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/bouclier_fiscal/taux.yaml,sha256=MgIqaZ3DD4lLX5oQ6J0D-v118EbFbCf0_Piy35q_EFo,156
|
|
420
|
-
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/index.yaml,sha256=
|
|
420
|
+
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/index.yaml,sha256=4493QVE1N0uqFFCehNA_MREZzFMYcEQXBeouvzSXS60,1746
|
|
421
421
|
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/abat_dom/index.yaml,sha256=V2duQIz2iKrwmpaq3AKtkbRI-xVl2QqyFelQ-HTdr9o,209
|
|
422
422
|
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/abat_dom/plaf_GuadMarReu.yaml,sha256=4ro7lg73b6LULV-wOR1x9UnCzk431wx7FpMQx2-3_BI,543
|
|
423
423
|
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/abat_dom/plaf_GuyMay.yaml,sha256=1OiG69dMLL4QvUBZkeak0UTkxNlSoxnNjIdesEpv35w,608
|
|
@@ -441,20 +441,22 @@ openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/plafond_ava
|
|
|
441
441
|
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/plafond_avantages_procures_par_demi_part/index.yaml,sha256=xugixvDayIZ7lacATJc8SrUyOrK9p3hX2G1lwIndCys,223
|
|
442
442
|
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/plafond_avantages_procures_par_demi_part/reduc_postplafond.yaml,sha256=AuPPXbwDS1p72bkZFltNvmmC7ISaUgqypQCuMqhepnM,7472
|
|
443
443
|
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/plafond_avantages_procures_par_demi_part/reduc_postplafond_veuf.yaml,sha256=OxIwolWzZ9aGpRdQhF1-A4xh1j1X6E0fOU-CYTPrPzw,4736
|
|
444
|
-
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/
|
|
445
|
-
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/conj.yaml,sha256=
|
|
446
|
-
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/enf1.yaml,sha256=
|
|
447
|
-
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/enf2.yaml,sha256=
|
|
448
|
-
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/enf3_et_sup.yaml,sha256=
|
|
449
|
-
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/index.yaml,sha256=
|
|
450
|
-
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/
|
|
451
|
-
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/
|
|
452
|
-
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/
|
|
453
|
-
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/
|
|
454
|
-
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/
|
|
455
|
-
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/
|
|
456
|
-
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/
|
|
457
|
-
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/
|
|
444
|
+
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/index.yaml,sha256=VaUfdXckBhWOPaze9a2mfdDk4DKrvV64zmSODqBcMTs,305
|
|
445
|
+
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/cas_general/conj.yaml,sha256=Hf57zIeWZlOXd1fAja99zruIAOuSr986nF341AfiUmk,631
|
|
446
|
+
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/cas_general/enf1.yaml,sha256=nt8dJtQFzqGAZeEG7hS5VhmtA3rc8pix0vtXTu06VfQ,424
|
|
447
|
+
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/cas_general/enf2.yaml,sha256=eMhucEA5xqY3uHFmBh1DDH28kE8u8QAQHmtQFuf8Ttc,428
|
|
448
|
+
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/cas_general/enf3_et_sup.yaml,sha256=RbYUfohtfOXfEkmtGbQE02ZbO0L4aBPk8iMq2F25L2E,657
|
|
449
|
+
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/cas_general/index.yaml,sha256=_Wurq2PkAVIeUfNT3ITCjV8p9U_WqvkjeHhrdG1UZsc,405
|
|
450
|
+
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/cas_general/veuf.yaml,sha256=bXmJlyO661X6U98pjjFe_17QgMUCYCNbU0BA4ZxwmDs,607
|
|
451
|
+
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/couple_ou_pers_a_charge/cdcd.yaml,sha256=bQ4-8kZkGMmWKFahHekjWCxBSPwVrNsV7a7Lc7edYc4,714
|
|
452
|
+
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/couple_ou_pers_a_charge/index.yaml,sha256=HACWyomWk1dbTajKqfB6Jw-MWB14aP5rNcc5P0mz2f8,566
|
|
453
|
+
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/couple_ou_pers_a_charge/inv1.yaml,sha256=o3nJshAK7tkSd3akdebUyJAB6xJgOOzSYmG4wbgi9j8,1017
|
|
454
|
+
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/couple_ou_pers_a_charge/inv2.yaml,sha256=-1S2Wa0iEbYyKzfq33AVn7UQjAmDVkMvWQ4O0cXXhc0,1055
|
|
455
|
+
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/couple_ou_pers_a_charge/isol.yaml,sha256=vQeC3xzKuB4OyC7uAWkBofYQCpcZt8uKzd7e5-oeJ6g,571
|
|
456
|
+
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/couple_ou_pers_a_charge/not41.yaml,sha256=-2aPXDJk9HN--fV8zHnhlQ7jCvbxefvHMo0GBTLMEaQ,753
|
|
457
|
+
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/couple_ou_pers_a_charge/not42.yaml,sha256=hrbR2K1Njo8hS3UpVLYJehtHlRHDq1Sa282xyhdAO1U,1244
|
|
458
|
+
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/couple_ou_pers_a_charge/not6.yaml,sha256=UY_kzejqEHpEG2AIfUnmp3EG6f24ycL0xhXHkPgOaqA,572
|
|
459
|
+
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/sans_pers_a_charge/index.yaml,sha256=gO4tI0wM3P4_nO4eB07bdyZumJTi9WZuD6XBvishP0E,121
|
|
458
460
|
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/sans_pers_a_charge/not31a.yaml,sha256=rqM9ZWFqwHYpa5rR0VgEElmj9X9oSqBbuv5ghUptg0M,687
|
|
459
461
|
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/sans_pers_a_charge/not31b.yaml,sha256=t0CSqM1WE7i0H9pL8yZsq62AwfZnChqRzTQCyrs35_E,667
|
|
460
462
|
openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/sans_pers_a_charge/not32.yaml,sha256=QqCCl2cq_VWkkE4WqWxYPyS1jkjn7Kn4EDo8SHib7pw,704
|
|
@@ -817,17 +819,12 @@ openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/abat_exceptio
|
|
|
817
819
|
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/abat_exceptionnel/en_faveur_personnes_agees_invalides_2/index.yaml,sha256=E6aXUwiRy8LwkBK9YBeQGD-By-wwB81e-zqU7mKUh9g,273
|
|
818
820
|
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/abat_exceptionnel/en_faveur_personnes_agees_invalides_2/seuil_1_revenu_net_global.yaml,sha256=Rl5Ypi35H1XVFSjqFrkpcYA3VUod_wJAJfKCmIVwKj0,886
|
|
819
821
|
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/abat_exceptionnel/en_faveur_personnes_agees_invalides_2/seuil_2_revenu_net_global.yaml,sha256=wfYW32Mldufnx7Ib81BqzuEUPpburwEGXnLLbF8nh9s,886
|
|
820
|
-
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/abat_rni/
|
|
821
|
-
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/abat_rni/enfant_marie
|
|
822
|
-
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/abat_rni/
|
|
823
|
-
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/
|
|
824
|
-
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/
|
|
825
|
-
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/
|
|
826
|
-
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/abat_rni/personne_agee_ou_invalide/plafond_1.yaml,sha256=MNSvWwp2IpsDVx9czLWTrlRspp0911Bcxg6wV5tu9RQ,8030
|
|
827
|
-
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/abat_rni/personne_agee_ou_invalide/plafond_2.yaml,sha256=Fcd_3PCMs2Gq0J_krWLg536jXRIzxsKXeicS7S-hxRs,8032
|
|
828
|
-
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/charges_deductibles/index.yaml,sha256=FLeM_vS-NG0yBnf4hy5e5YRGS4mSWfrTPiXANA_yfjc,735
|
|
829
|
-
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/charges_deductibles/accueil_personne_agee/index.yaml,sha256=yVZPFZvj-JPhQkADCDyVoqb9fn2nj832ZjgIwPsAcuE,148
|
|
830
|
-
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/charges_deductibles/accueil_personne_agee/plafond.yaml,sha256=-SfHK7zdRpRFOWvrIkN1wwNJXbOH2myo4Jrb3EKP0FQ,9919
|
|
822
|
+
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/abat_rni/contribuable_age_invalide.yaml,sha256=6gOg0Kb9yeF8aKgrNAfHY-0NuuHf1B_H8CDhvcgNh5M,13559
|
|
823
|
+
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/abat_rni/enfant_marie.yaml,sha256=f7j--xdZj6v_f4NerO9Kp9XCLAeno1OEvlpX-00YsUQ,7768
|
|
824
|
+
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/abat_rni/index.yaml,sha256=vIjE311DOILPrNQkAVhS04nKKDO-5GPNVUKKe8_twks,241
|
|
825
|
+
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/charges_deductibles/index.yaml,sha256=XVtmmpPsHxT417YUAJUmD93486KqBbRECnmqboMH4Hs,735
|
|
826
|
+
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/charges_deductibles/accueil_personne_agee/index.yaml,sha256=OH--zHl5n21wnNqMoSX2ymL_4lA2uN3F3rX4EY7PioM,221
|
|
827
|
+
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/charges_deductibles/accueil_personne_agee/plafond.yaml,sha256=uPDaxSGyX3EAGog6cYQ7oLRIsIpM34T4Mlh3m9lgJCo,10122
|
|
831
828
|
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/charges_deductibles/acquisition_navire/index.yaml,sha256=06Wck41GEGdMeeU6NoDXObBMEhLol2joeMIf7Xe6W2E,125
|
|
832
829
|
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/charges_deductibles/acquisition_navire/plafond.yaml,sha256=y69IBD01nQbW5X07rdGv4pPU979c96YdCPRqRTEQ6RA,860
|
|
833
830
|
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/charges_deductibles/acquisition_navire/taux.yaml,sha256=KI62T8HmGHx5_CvdKbRAT83A3bxKKVL4KEOX36r68pE,685
|
|
@@ -844,9 +841,9 @@ openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/charges_deduc
|
|
|
844
841
|
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/charges_deductibles/investissements_en_actions/supplement_par_enfant.yaml,sha256=Y19V_W85oaxNn98t_VZjp4H6wXIzhzlQofa_Oho-ZXM,700
|
|
845
842
|
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/charges_deductibles/navires_de_commerce/index.yaml,sha256=gJz_jy_H9GwQ0q-THQvj_UDpTfygnHHSDx1lW4d25-g,116
|
|
846
843
|
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/charges_deductibles/navires_de_commerce/plafond.yaml,sha256=ki2ud_zid-n3vcTQwozUjlMy7YKNia-fzxDYNWXwmr4,875
|
|
847
|
-
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/charges_deductibles/pensions_alimentaires/index.yaml,sha256=
|
|
848
|
-
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/charges_deductibles/pensions_alimentaires/plafond.yaml,sha256=
|
|
849
|
-
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/charges_deductibles/pensions_alimentaires/taux_jgt_2006.yaml,sha256=
|
|
844
|
+
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/charges_deductibles/pensions_alimentaires/index.yaml,sha256=zbZ5Ngq7-g89ITNhB6_8KLqeo2GCYt6j4N6RskRN7_Y,445
|
|
845
|
+
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/charges_deductibles/pensions_alimentaires/plafond.yaml,sha256=wmCVp_g_gmKSvI8k1Y0iKRr-T2clD_yvrQex1nNU_qs,11813
|
|
846
|
+
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/charges_deductibles/pensions_alimentaires/taux_jgt_2006.yaml,sha256=INhBp0XqTysOhTCbPe3rCoCg6WgOvFLcHCe1vPUJ9SQ,855
|
|
850
847
|
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/charges_deductibles/pertes_en_capital_societes_nouvelles/index.yaml,sha256=c5PWdojtYcFaFMMeQp8AtkDiPhGJiIuh-11kh6KEnpA,752
|
|
851
848
|
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/charges_deductibles/pertes_en_capital_societes_nouvelles/plafond_cb.yaml,sha256=cAhjEhR9tUQHIXRHptvcquiUaLmC2QghUIgZ0Lz6jKM,1076
|
|
852
849
|
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/charges_deductibles/pertes_en_capital_societes_nouvelles/plafond_da.yaml,sha256=4FXyq-22QPtWBmMo4G2jHcCcQRkqQL5724Ms0NzLkDo,857
|
|
@@ -872,7 +869,7 @@ openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deduc_invest_
|
|
|
872
869
|
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deduc_invest_locatif/dispositif_robien_recentre/taux_2_ans.yaml,sha256=UKNfR385kinPQlH7GzEQNvwge739PP3KDs_U1-70BMU,1570
|
|
873
870
|
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deduc_invest_locatif/dispositif_robien_recentre/taux_6_ans_borloo.yaml,sha256=WgfIh0sesZuAqXnYc4geT3KmuuYdKxMUM9ABnLAn4n4,1616
|
|
874
871
|
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deduc_invest_locatif/dispositif_robien_recentre/taux_7_ans.yaml,sha256=KlwhwlsSRU9z-oguo5LMCIxxhnxWBTdu5n9UNA_nYTw,1571
|
|
875
|
-
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/index.yaml,sha256=
|
|
872
|
+
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/index.yaml,sha256=plVxwhyxgp_mhUU7KsT2lTVKF1mtxtOXKPKQlquA6r0,196
|
|
876
873
|
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abat_supp/index.yaml,sha256=wbd7aeyXlKAPogBHkmOccj-QF91U6WV_RoVwenWfs-8,647
|
|
877
874
|
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abat_supp/max.yaml,sha256=4NTkGMyNcdemCxNrINyYnQfGNoj8-2fcsTo5nywHmSA,4198
|
|
878
875
|
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abat_supp/salaire_plafond.yaml,sha256=FdyigzENaF3uPINEcv-NRFi-f42gSP7ThbkIAZW5Fp8,4225
|
|
@@ -886,11 +883,11 @@ openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/ab
|
|
|
886
883
|
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatpro/min.yaml,sha256=JY9-Xe2yde1e4Xdc_zy7Z4TwYyGd25oBS3G6KahYMpU,6800
|
|
887
884
|
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatpro/min2.yaml,sha256=y1hKzJx3uL-AszOiGV_viVpcYpqtJnOC7ua30VFn6Vs,4463
|
|
888
885
|
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatpro/taux.yaml,sha256=6uJ22Cnl5uHdwPYDfjhvXiAw4R1O3Jw74vVNYvAc6l4,617
|
|
889
|
-
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatviag/index.yaml,sha256=
|
|
890
|
-
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatviag/taux1.yaml,sha256=
|
|
891
|
-
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatviag/taux2.yaml,sha256=
|
|
892
|
-
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatviag/taux3.yaml,sha256=
|
|
893
|
-
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatviag/taux4.yaml,sha256=
|
|
886
|
+
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatviag/index.yaml,sha256=9OjJGJNcM0TN6pmbK7FMB4uYDQAjQuhtYRjofdlOB64,258
|
|
887
|
+
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatviag/taux1.yaml,sha256=8op_AaoDe2DekLTdqoUJUuvIRLmWV2n1AW2hGqWZc8g,436
|
|
888
|
+
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatviag/taux2.yaml,sha256=C-Oh-zFc7Zbyzk-sHBjU6RUu-WWzEpNgQNWdVvxkRag,438
|
|
889
|
+
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatviag/taux3.yaml,sha256=5LZ_JoGmYzmwHhpIjQLLuiSjZyBvTWyEo_iX_7IO-oI,438
|
|
890
|
+
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatviag/taux4.yaml,sha256=1AqVQixPl86zOysGazN6F0v0gioPhmg1qC5L95W7VCY,442
|
|
894
891
|
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/exo_ir/index.yaml,sha256=vL36RKug6rqOrsHF2g4B2N_k9y7RNeD4iTZ14HUfAFo,219
|
|
895
892
|
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/exo_ir/conditions_ressources_exoneration_ir/apprentis_a_partir_2005.yaml,sha256=6hZK9B2JdvSynKIwjteDVfSk_z-ItPtnLDhNTkasmTY,623
|
|
896
893
|
openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/exo_ir/conditions_ressources_exoneration_ir/apprentis_avant_2005.yaml,sha256=CYC8Yj1PZnNTGcG9tIkx_y9weCF5x0dQ8F5ocCy26Ic,2192
|
|
@@ -3376,6 +3373,12 @@ openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_soc
|
|
|
3376
3373
|
openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/cmu/forfait_logement_sans_al/taux_2p.yaml,sha256=1N6C0k8k4rf7Et8dNp8jr7a5qzr1-vokZ-Nklpgg5os,851
|
|
3377
3374
|
openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/cmu/forfait_logement_sans_al/taux_3p_plus.yaml,sha256=nTHnXWivWHwnJTD68oLi9FBso6HZp1WiMbSQ5l7EJiI,853
|
|
3378
3375
|
openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/css/index.yaml,sha256=WgNJ9r1YcO2ej8-khhr9yFfJavCQkOFp1vSe0peTsNw,81
|
|
3376
|
+
openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/css/abattements/aah.yaml,sha256=kOhUSpumG7IJK5vyVLRpSTIls83wcWeV4ivxocuL_Ls,781
|
|
3377
|
+
openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/css/abattements/index.yaml,sha256=OKXnuJSiehezBYGLvXnTe51IqmsHDD5l3B3FvBozj34,108
|
|
3378
|
+
openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/css/abattements/asi/couple.yaml,sha256=d4mUKavI72p29fKTCMI1Q8EzZ0V17kmDuRh9885t09A,529
|
|
3379
|
+
openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/css/abattements/asi/personne_seule.yaml,sha256=U-1iV2BsrCz33F_2BQEmUbWw5B9BR1tM1AqtU5TsGx4,468
|
|
3380
|
+
openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/css/abattements/aspa_asv/couple.yaml,sha256=6Yn83eSrcv3zWLVCdAdJfhk5xMkbJuC_79DTQvtOfCU,489
|
|
3381
|
+
openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/css/abattements/aspa_asv/personne_seule.yaml,sha256=y7l2XT5YbHFz2BaZm0JDuQlnN6Fs6-PRtIPCE0oClc4,497
|
|
3379
3382
|
openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/css/forfait_logement_avec_al/index.yaml,sha256=w9-eAbnOWJTfLi4Tv2G61fAf6jPduq4DDdjxz-GLXwA,73
|
|
3380
3383
|
openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/css/forfait_logement_avec_al/taux_1p.yaml,sha256=g1h-Kyayvycv7pj02pswI7D0rjCVQIq_DZZu66KVg5w,747
|
|
3381
3384
|
openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/css/forfait_logement_avec_al/taux_2p.yaml,sha256=wOyZ3N36UERH08XYkSlLb90wG1U7gjMKq9HuMYzgB-c,748
|
|
@@ -4018,8 +4021,8 @@ openfisca_france/scripts/performance/measure_spiral_performances.py,sha256=cQIxE
|
|
|
4018
4021
|
openfisca_france/scripts/performance/measure_tests_performance.py,sha256=HYgSJy-OMZay2AZt6ztntgdUbW_RL2xMr-iHcK-zoVY,1869
|
|
4019
4022
|
openfisca_france/situation_examples/__init__.py,sha256=BTRmrqk9lsjfhtPXsYcsWqXFEYyFpgLcxNs6oJsy8zk,262
|
|
4020
4023
|
openfisca_france/situation_examples/couple.json,sha256=Ot1x4wl3IS-2-10X3V7ZUokkOMXi96s-xK7A0gNvRF4,862
|
|
4021
|
-
OpenFisca_France-169.
|
|
4022
|
-
OpenFisca_France-169.
|
|
4023
|
-
OpenFisca_France-169.
|
|
4024
|
-
OpenFisca_France-169.
|
|
4025
|
-
OpenFisca_France-169.
|
|
4024
|
+
OpenFisca_France-169.3.0.dist-info/LICENSE.AGPL.txt,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
|
|
4025
|
+
OpenFisca_France-169.3.0.dist-info/METADATA,sha256=i7nLsFwYhtHlVDzGpA-Nu4-kcsq-5Xd7S-WFETubuaM,20862
|
|
4026
|
+
OpenFisca_France-169.3.0.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
|
|
4027
|
+
OpenFisca_France-169.3.0.dist-info/top_level.txt,sha256=1LbD6QJWehKGIcjtaJ45tbQOSDiFEXOlIdgWRI_jaHU,17
|
|
4028
|
+
OpenFisca_France-169.3.0.dist-info/RECORD,,
|
|
@@ -578,12 +578,12 @@ class pensions_alimentaires_deduites(Variable):
|
|
|
578
578
|
# foyer, la déduction est limitée à 2*max
|
|
579
579
|
# S'il habite chez ses parents, max 3359, sinon 5698
|
|
580
580
|
return (
|
|
581
|
-
min_(f6gi *
|
|
582
|
-
+ min_(f6gj *
|
|
581
|
+
min_(f6gi * taux_jgt_2006, max1)
|
|
582
|
+
+ min_(f6gj * taux_jgt_2006, max1)
|
|
583
583
|
+ min_(f6el, max1)
|
|
584
584
|
+ min_(f6em, max1)
|
|
585
|
-
+ f6gp
|
|
586
|
-
|
|
585
|
+
+ f6gp * taux_jgt_2006
|
|
586
|
+
+ f6gu
|
|
587
587
|
)
|
|
588
588
|
|
|
589
589
|
|
|
@@ -3496,7 +3496,7 @@ class abat_spe(Variable):
|
|
|
3496
3496
|
abattements = parameters(period).impot_revenu.calcul_revenus_imposables.abat_rni
|
|
3497
3497
|
|
|
3498
3498
|
# Abattement pour personnes agées de + de 65 ans ou invalide
|
|
3499
|
-
abattement_age_ou_invalidite = abattements.
|
|
3499
|
+
abattement_age_ou_invalidite = abattements.contribuable_age_invalide
|
|
3500
3500
|
|
|
3501
3501
|
# Abattement pour rattachement d'enfants mari·é·s
|
|
3502
3502
|
abattement_enfant_marie = abattements.enfant_marie
|
|
@@ -3510,25 +3510,13 @@ class abat_spe(Variable):
|
|
|
3510
3510
|
# Vecteur de montants d'abattement pour personnes âges ou invalides
|
|
3511
3511
|
as_inv = (
|
|
3512
3512
|
foyers_eligibles
|
|
3513
|
-
* (
|
|
3514
|
-
(
|
|
3515
|
-
+ abattement_age_ou_invalidite.montant_1
|
|
3516
|
-
* (revenu_net_global <= abattement_age_ou_invalidite.plafond_1)
|
|
3517
|
-
)
|
|
3518
|
-
+ (
|
|
3519
|
-
+ abattement_age_ou_invalidite.montant_2
|
|
3520
|
-
* (
|
|
3521
|
-
(revenu_net_global > abattement_age_ou_invalidite.plafond_1)
|
|
3522
|
-
& (revenu_net_global <= abattement_age_ou_invalidite.plafond_2)
|
|
3523
|
-
)
|
|
3524
|
-
)
|
|
3525
|
-
)
|
|
3513
|
+
* abattement_age_ou_invalidite.calc(revenu_net_global)
|
|
3526
3514
|
)
|
|
3527
3515
|
|
|
3528
3516
|
# Vecteur de montants d'abattement pour enfants à charge
|
|
3529
3517
|
as_enf = (
|
|
3530
3518
|
nombre_enfants
|
|
3531
|
-
* abattement_enfant_marie
|
|
3519
|
+
* abattement_enfant_marie
|
|
3532
3520
|
)
|
|
3533
3521
|
|
|
3534
3522
|
# Le montant total d'abattement ne peut pas être supérieur au revenu net global
|
|
@@ -3632,29 +3620,29 @@ class nbptr(Variable):
|
|
|
3632
3620
|
|
|
3633
3621
|
# parts des enfants en résidence alternée quand il n'y a que des enfants en résidence alternée
|
|
3634
3622
|
enf_a = (no_pac & has_alt) * (
|
|
3635
|
-
quotient_familial.enf1 * min_(nbH, 1)
|
|
3636
|
-
+ quotient_familial.enf2 * max_(min_(nbH - 1, 1), 0)
|
|
3637
|
-
+ quotient_familial.enf3_et_sup * max_(nbH - 2, 0)
|
|
3623
|
+
quotient_familial.cas_general.enf1 * min_(nbH, 1)
|
|
3624
|
+
+ quotient_familial.cas_general.enf2 * max_(min_(nbH - 1, 1), 0)
|
|
3625
|
+
+ quotient_familial.cas_general.enf3_et_sup * max_(nbH - 2, 0)
|
|
3638
3626
|
) * 0.5
|
|
3639
3627
|
# parts des enfants en résidence alternée quand il y a aussi des enfants entièrement à charge
|
|
3640
3628
|
enf_b = (has_pac & has_alt) * (
|
|
3641
3629
|
(nb_pac == 1) * (
|
|
3642
|
-
quotient_familial.enf2 * min_(nbH, 1)
|
|
3643
|
-
+ quotient_familial.enf3_et_sup * max_(nbH - 1, 0)
|
|
3630
|
+
quotient_familial.cas_general.enf2 * min_(nbH, 1)
|
|
3631
|
+
+ quotient_familial.cas_general.enf3_et_sup * max_(nbH - 1, 0)
|
|
3644
3632
|
) * 0.5
|
|
3645
|
-
+ (nb_pac > 1) * (quotient_familial.enf3_et_sup * nbH * 0.5)
|
|
3633
|
+
+ (nb_pac > 1) * (quotient_familial.cas_general.enf3_et_sup * nbH * 0.5)
|
|
3646
3634
|
)
|
|
3647
3635
|
# parts des enfants entièrement à charge
|
|
3648
3636
|
enf_c = (
|
|
3649
|
-
quotient_familial.enf1 * min_(nb_pac, 1)
|
|
3650
|
-
+ quotient_familial.enf2 * max_(min_(nb_pac - 1, 1), 0)
|
|
3651
|
-
+ quotient_familial.enf3_et_sup * max_(nb_pac - 2, 0)
|
|
3637
|
+
quotient_familial.cas_general.enf1 * min_(nb_pac, 1)
|
|
3638
|
+
+ quotient_familial.cas_general.enf2 * max_(min_(nb_pac - 1, 1), 0)
|
|
3639
|
+
+ quotient_familial.cas_general.enf3_et_sup * max_(nb_pac - 2, 0)
|
|
3652
3640
|
)
|
|
3653
3641
|
|
|
3654
3642
|
enf = enf_a + enf_b + enf_c
|
|
3655
3643
|
|
|
3656
3644
|
# # note 2 : nombre de parts liées aux invalides (enfant + adulte)
|
|
3657
|
-
n2 = quotient_familial.inv1 * (nbG + nbI / 2) + quotient_familial.inv2 * nbR
|
|
3645
|
+
n2 = quotient_familial.couple_ou_pers_a_charge.inv1 * (nbG + nbI / 2) + quotient_familial.couple_ou_pers_a_charge.inv2 * nbR
|
|
3658
3646
|
|
|
3659
3647
|
# # note 3 : Pas de personne à charge
|
|
3660
3648
|
# - invalide
|
|
@@ -3668,23 +3656,23 @@ class nbptr(Variable):
|
|
|
3668
3656
|
n3 = max_(n31, n32)
|
|
3669
3657
|
# # note 4 Invalidité de la personne ou du conjoint pour les mariés ou
|
|
3670
3658
|
# # jeunes veuf(ve)s
|
|
3671
|
-
n4 = max_(quotient_familial.not41 * (1 * caseP + 1 * caseF), quotient_familial.not42 * (caseW | caseS))
|
|
3659
|
+
n4 = max_(quotient_familial.couple_ou_pers_a_charge.not41 * (1 * caseP + 1 * caseF), quotient_familial.couple_ou_pers_a_charge.not42 * (caseW | caseS))
|
|
3672
3660
|
|
|
3673
3661
|
# # note 5
|
|
3674
3662
|
# - enfant autre et parent isolé
|
|
3675
|
-
n5 = quotient_familial.isol * caseT * (((no_pac & has_alt) * ((nbH == 1) * 0.5 + (nbH >= 2))) + 1 * has_pac)
|
|
3663
|
+
n5 = quotient_familial.couple_ou_pers_a_charge.isol * caseT * (((no_pac & has_alt) * ((nbH == 1) * 0.5 + (nbH >= 2))) + 1 * has_pac)
|
|
3676
3664
|
|
|
3677
3665
|
# # note 6 invalide avec personne à charge
|
|
3678
|
-
n6 = quotient_familial.not6 * (caseP & (has_pac | has_alt))
|
|
3666
|
+
n6 = quotient_familial.couple_ou_pers_a_charge.not6 * (caseP & (has_pac | has_alt))
|
|
3679
3667
|
|
|
3680
3668
|
# # note 7 Parent isolé
|
|
3681
|
-
n7 = quotient_familial.isol * caseT * ((no_pac & has_alt) * ((nbH == 1) * 0.5 + (nbH >= 2)) + 1 * has_pac)
|
|
3669
|
+
n7 = quotient_familial.couple_ou_pers_a_charge.isol * caseT * ((no_pac & has_alt) * ((nbH == 1) * 0.5 + (nbH >= 2)) + 1 * has_pac)
|
|
3682
3670
|
|
|
3683
3671
|
# # Régime des mariés ou pacsés
|
|
3684
|
-
nb_parts_famille = 1 + quotient_familial.conj + enf + n2 + n4
|
|
3672
|
+
nb_parts_famille = 1 + quotient_familial.cas_general.conj + enf + n2 + n4
|
|
3685
3673
|
|
|
3686
3674
|
# # veufs hors jeune_veuf
|
|
3687
|
-
nb_parts_veuf = 1 + quotient_familial.veuf * (has_pac | has_alt) + enf + n2 + n3 + n5 + n6
|
|
3675
|
+
nb_parts_veuf = 1 + quotient_familial.cas_general.veuf * (has_pac | has_alt) + enf + n2 + n3 + n5 + n6
|
|
3688
3676
|
|
|
3689
3677
|
# # celib div
|
|
3690
3678
|
nb_parts_celib = 1 + enf + n2 + n3 + n6 + n7
|
|
@@ -3697,18 +3685,18 @@ class nbptr(Variable):
|
|
|
3697
3685
|
|
|
3698
3686
|
note 1 enfants et résidence alternée (formulaire 2041 GV page 10)
|
|
3699
3687
|
|
|
3700
|
-
quotient_familial.conj : nb part associées au conjoint d'un couple marié ou pacsé
|
|
3701
|
-
quotient_familial.enf1 : nb part premier enfant
|
|
3702
|
-
quotient_familial.enf2 : nb part deuxième enfant
|
|
3703
|
-
quotient_familial.enf3_et_sup : nb part enfants de rang 3 ou plus
|
|
3704
|
-
quotient_familial.inv1 : nb part supp enfants invalides (I, G)
|
|
3705
|
-
quotient_familial.inv2 : nb part supp adultes invalides (R)
|
|
3688
|
+
quotient_familial.cas_general.conj : nb part associées au conjoint d'un couple marié ou pacsé
|
|
3689
|
+
quotient_familial.cas_general.enf1 : nb part premier enfant
|
|
3690
|
+
quotient_familial.cas_general.enf2 : nb part deuxième enfant
|
|
3691
|
+
quotient_familial.cas_general.enf3_et_sup : nb part enfants de rang 3 ou plus
|
|
3692
|
+
quotient_familial.couple_ou_pers_a_charge.inv1 : nb part supp enfants invalides (I, G)
|
|
3693
|
+
quotient_familial.couple_ou_pers_a_charge.inv2 : nb part supp adultes invalides (R)
|
|
3706
3694
|
quotient_familial.sans_pers_a_charge.not31 : nb part supp note 3 : cases W ou G pour veuf, celib ou div
|
|
3707
3695
|
quotient_familial.sans_pers_a_charge.not32 : nb part supp note 3 : personne seule ayant élevé des enfants
|
|
3708
|
-
quotient_familial.not41 : nb part supp adultes invalides (vous et/ou conjoint) note 4
|
|
3709
|
-
quotient_familial.not42 : nb part supp adultes anciens combattants (vous et/ou conjoint) note 4
|
|
3710
|
-
quotient_familial.not6 : nb part supp note 6
|
|
3711
|
-
quotient_familial.isol : demi-part parent isolé (T)
|
|
3696
|
+
quotient_familial.couple_ou_pers_a_charge.not41 : nb part supp adultes invalides (vous et/ou conjoint) note 4
|
|
3697
|
+
quotient_familial.couple_ou_pers_a_charge.not42 : nb part supp adultes anciens combattants (vous et/ou conjoint) note 4
|
|
3698
|
+
quotient_familial.couple_ou_pers_a_charge.not6 : nb part supp note 6
|
|
3699
|
+
quotient_familial.couple_ou_pers_a_charge.isol : demi-part parent isolé (T)
|
|
3712
3700
|
quotient_familial.edcd : enfant issu du mariage avec conjoint décédé;
|
|
3713
3701
|
'''
|
|
3714
3702
|
nb_pac = foyer_fiscal('nb_pac', period)
|
|
@@ -3744,29 +3732,29 @@ class nbptr(Variable):
|
|
|
3744
3732
|
|
|
3745
3733
|
# parts des enfants en résidence alternée quand il n'y a que des enfants en résidence alternée
|
|
3746
3734
|
enf_a = (no_pac & has_alt) * (
|
|
3747
|
-
quotient_familial.enf1 * min_(nbH, 1)
|
|
3748
|
-
+ quotient_familial.enf2 * max_(min_(nbH - 1, 1), 0)
|
|
3749
|
-
+ quotient_familial.enf3_et_sup * max_(nbH - 2, 0)
|
|
3735
|
+
quotient_familial.cas_general.enf1 * min_(nbH, 1)
|
|
3736
|
+
+ quotient_familial.cas_general.enf2 * max_(min_(nbH - 1, 1), 0)
|
|
3737
|
+
+ quotient_familial.cas_general.enf3_et_sup * max_(nbH - 2, 0)
|
|
3750
3738
|
) * 0.5
|
|
3751
3739
|
# parts des enfants en résidence alternée quand il y a aussi des enfants entièrement à charge
|
|
3752
3740
|
enf_b = (has_pac & has_alt) * (
|
|
3753
3741
|
(nb_pac == 1) * (
|
|
3754
|
-
quotient_familial.enf2 * min_(nbH, 1)
|
|
3755
|
-
+ quotient_familial.enf3_et_sup * max_(nbH - 1, 0)
|
|
3742
|
+
quotient_familial.cas_general.enf2 * min_(nbH, 1)
|
|
3743
|
+
+ quotient_familial.cas_general.enf3_et_sup * max_(nbH - 1, 0)
|
|
3756
3744
|
) * 0.5
|
|
3757
|
-
+ (nb_pac > 1) * (quotient_familial.enf3_et_sup * nbH * 0.5)
|
|
3745
|
+
+ (nb_pac > 1) * (quotient_familial.cas_general.enf3_et_sup * nbH * 0.5)
|
|
3758
3746
|
)
|
|
3759
3747
|
# parts des enfants entièrement à charge
|
|
3760
3748
|
enf_c = (
|
|
3761
|
-
quotient_familial.enf1 * min_(nb_pac, 1)
|
|
3762
|
-
+ quotient_familial.enf2 * max_(min_(nb_pac - 1, 1), 0)
|
|
3763
|
-
+ quotient_familial.enf3_et_sup * max_(nb_pac - 2, 0)
|
|
3749
|
+
quotient_familial.cas_general.enf1 * min_(nb_pac, 1)
|
|
3750
|
+
+ quotient_familial.cas_general.enf2 * max_(min_(nb_pac - 1, 1), 0)
|
|
3751
|
+
+ quotient_familial.cas_general.enf3_et_sup * max_(nb_pac - 2, 0)
|
|
3764
3752
|
)
|
|
3765
3753
|
|
|
3766
3754
|
enf = enf_a + enf_b + enf_c
|
|
3767
3755
|
|
|
3768
3756
|
# # note 2 : nombre de parts liées aux invalides (enfant + adulte)
|
|
3769
|
-
n2 = quotient_familial.inv1 * (nbG + nbI / 2) + quotient_familial.inv2 * nbR
|
|
3757
|
+
n2 = quotient_familial.couple_ou_pers_a_charge.inv1 * (nbG + nbI / 2) + quotient_familial.couple_ou_pers_a_charge.inv2 * nbR
|
|
3770
3758
|
|
|
3771
3759
|
# # note 3 : Pas de personne à charge
|
|
3772
3760
|
# - invalide
|
|
@@ -3780,23 +3768,23 @@ class nbptr(Variable):
|
|
|
3780
3768
|
n3 = max_(n31, n32)
|
|
3781
3769
|
# # note 4 Invalidité de la personne ou du conjoint pour les mariés ou
|
|
3782
3770
|
# # jeunes veuf(ve)s
|
|
3783
|
-
n4 = max_(quotient_familial.not41 * (1 * caseP + 1 * caseF), quotient_familial.not42 * (caseW | caseS))
|
|
3771
|
+
n4 = max_(quotient_familial.couple_ou_pers_a_charge.not41 * (1 * caseP + 1 * caseF), quotient_familial.couple_ou_pers_a_charge.not42 * (caseW | caseS))
|
|
3784
3772
|
|
|
3785
3773
|
# # note 5
|
|
3786
3774
|
# - enfant du conjoint décédé
|
|
3787
|
-
n51 = quotient_familial.cdcd * (caseL & ((nbF + nbJ) > 0))
|
|
3775
|
+
n51 = quotient_familial.couple_ou_pers_a_charge.cdcd * (caseL & ((nbF + nbJ) > 0))
|
|
3788
3776
|
# - enfant autre et parent isolé
|
|
3789
|
-
n52 = quotient_familial.isol * caseT * (((no_pac & has_alt) * ((nbH == 1) * 0.5 + (nbH >= 2))) + 1 * has_pac)
|
|
3777
|
+
n52 = quotient_familial.couple_ou_pers_a_charge.isol * caseT * (((no_pac & has_alt) * ((nbH == 1) * 0.5 + (nbH >= 2))) + 1 * has_pac)
|
|
3790
3778
|
n5 = max_(n51, n52)
|
|
3791
3779
|
|
|
3792
3780
|
# # note 6 invalide avec personne à charge
|
|
3793
|
-
n6 = quotient_familial.not6 * (caseP & (has_pac | has_alt))
|
|
3781
|
+
n6 = quotient_familial.couple_ou_pers_a_charge.not6 * (caseP & (has_pac | has_alt))
|
|
3794
3782
|
|
|
3795
3783
|
# # note 7 Parent isolé
|
|
3796
|
-
n7 = quotient_familial.isol * caseT * ((no_pac & has_alt) * ((nbH == 1) * 0.5 + (nbH >= 2)) + 1 * has_pac)
|
|
3784
|
+
n7 = quotient_familial.couple_ou_pers_a_charge.isol * caseT * ((no_pac & has_alt) * ((nbH == 1) * 0.5 + (nbH >= 2)) + 1 * has_pac)
|
|
3797
3785
|
|
|
3798
3786
|
# # Régime des mariés ou pacsés
|
|
3799
|
-
nb_parts_famille = 1 + quotient_familial.conj + enf + n2 + n4
|
|
3787
|
+
nb_parts_famille = 1 + quotient_familial.cas_general.conj + enf + n2 + n4
|
|
3800
3788
|
|
|
3801
3789
|
# # veufs hors jeune_veuf
|
|
3802
3790
|
nb_parts_veuf = 1 + enf + n2 + n3 + n5 + n6
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from numpy import absolute as abs_, logical_or as or_, logical_not as not_
|
|
1
|
+
from numpy import absolute as abs_, logical_or as or_, logical_not as not_, select
|
|
2
2
|
|
|
3
3
|
from openfisca_core.periods import Period
|
|
4
4
|
|
|
@@ -8,6 +8,7 @@ from openfisca_france.model.base import (
|
|
|
8
8
|
Famille,
|
|
9
9
|
MONTH,
|
|
10
10
|
ADD,
|
|
11
|
+
max_,
|
|
11
12
|
TypesStatutOccupationLogement,
|
|
12
13
|
TypesActivite,
|
|
13
14
|
set_input_divide_by_period,
|
|
@@ -31,21 +32,21 @@ class css_cmu_base_ressources_individu(Variable):
|
|
|
31
32
|
|
|
32
33
|
def formula(individu, period, parameters):
|
|
33
34
|
# Rolling year
|
|
34
|
-
previous_year =
|
|
35
|
+
previous_year = compute_previous_year(period)
|
|
35
36
|
# N-1
|
|
36
37
|
last_year = period.last_year
|
|
37
38
|
last_month = period.last_month
|
|
38
39
|
|
|
39
|
-
|
|
40
|
+
parametres_cmu = parameters(period).prestations_sociales.solidarite_insertion.minima_sociaux.cs.cmu
|
|
40
41
|
|
|
41
42
|
ressources_a_inclure = [
|
|
42
|
-
'aah',
|
|
43
43
|
'allocation_securisation_professionnelle',
|
|
44
|
-
'asi',
|
|
45
44
|
'ass',
|
|
46
45
|
'bourse_recherche',
|
|
47
46
|
'caah',
|
|
48
47
|
'chomage_net',
|
|
48
|
+
'css_base_ressources_aah_individu',
|
|
49
|
+
'css_base_ressources_asi_individu',
|
|
49
50
|
'dedommagement_victime_amiante',
|
|
50
51
|
'gains_exceptionnels',
|
|
51
52
|
'indemnites_chomage_partiel',
|
|
@@ -82,11 +83,91 @@ class css_cmu_base_ressources_individu(Variable):
|
|
|
82
83
|
+ bourse
|
|
83
84
|
+ revenus_tns(individu, previous_year, last_year)
|
|
84
85
|
- pensions_alim_versees
|
|
85
|
-
-
|
|
86
|
+
- abattement_chomage(individu, period, previous_year, parametres_cmu)
|
|
86
87
|
- neutralisation_stage_formation_pro(individu, previous_year, last_month)
|
|
87
88
|
)
|
|
88
89
|
|
|
89
90
|
|
|
91
|
+
class css_base_ressources_aah_individu(Variable):
|
|
92
|
+
value_type = float
|
|
93
|
+
label = "Base de ressources AAH de l'individu prise en compte pour l'éligibilité à la CSS après application de l'abattement"
|
|
94
|
+
reference = [
|
|
95
|
+
'Bulletin officiel Santé - Protection sociale - Solidarité n° 2021/6 du 16 avril 2021 - Instruction interministérielle N° DSS/SD2A/2021/71 du 30 mars 2021',
|
|
96
|
+
'https://sante.gouv.fr/fichiers/bo/2021/2021.6.sante.pdf#page=75',
|
|
97
|
+
'Bulletin officiel Santé - Protection sociale - Solidarité n° 2023/24 du 29 décembre 2023 - Instruction interministérielle N° DSS/SD2A/2023/98 du 22 décembre 2023',
|
|
98
|
+
'https://sante.gouv.fr/fichiers/bo/2023/2023.24.sante.pdf#page=82',
|
|
99
|
+
]
|
|
100
|
+
entity = Individu
|
|
101
|
+
definition_period = MONTH
|
|
102
|
+
set_input = set_input_divide_by_period
|
|
103
|
+
|
|
104
|
+
def formula(individu, period, parameters):
|
|
105
|
+
return individu('aah', period)
|
|
106
|
+
|
|
107
|
+
def formula_2021_04(individu, period, parameters):
|
|
108
|
+
return max_(individu('aah', period) - parameters(period).prestations_sociales.solidarite_insertion.minima_sociaux.cs.css.abattements.aah, 0)
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
class css_base_ressources_asi_individu(Variable):
|
|
112
|
+
value_type = float
|
|
113
|
+
label = "Base de ressources ASI de l'individu prise en compte pour l'éligibilité à la CSS après application de l'abattement"
|
|
114
|
+
reference = [
|
|
115
|
+
'Bulletin officiel Santé - Protection sociale - Solidarité n° 2021/6 du 16 avril 2021 - Instruction interministérielle N° DSS/SD2A/2021/71 du 30 mars 2021',
|
|
116
|
+
'https://sante.gouv.fr/fichiers/bo/2021/2021.6.sante.pdf#page=75'
|
|
117
|
+
]
|
|
118
|
+
entity = Individu
|
|
119
|
+
definition_period = MONTH
|
|
120
|
+
set_input = set_input_divide_by_period
|
|
121
|
+
|
|
122
|
+
def formula(individu, period, parameters):
|
|
123
|
+
return individu('asi', period)
|
|
124
|
+
|
|
125
|
+
def formula_2021_04(individu, period, parameters):
|
|
126
|
+
|
|
127
|
+
aah = individu('aah', period)
|
|
128
|
+
asi = individu('asi', period)
|
|
129
|
+
asi_famille = individu.famille.members('asi', period)
|
|
130
|
+
nb_allocataire_asi = individu.famille.sum(asi_famille > 0, role=Famille.PARENT)
|
|
131
|
+
|
|
132
|
+
abattement_asi_personne_seule = parameters(period).prestations_sociales.solidarite_insertion.minima_sociaux.cs.css.abattements.asi.personne_seule
|
|
133
|
+
abattement_asi_couple = parameters(period).prestations_sociales.solidarite_insertion.minima_sociaux.cs.css.abattements.asi.couple
|
|
134
|
+
|
|
135
|
+
condition_abattement_asi_couple = nb_allocataire_asi > 1
|
|
136
|
+
condition_abattement_asi_personne_seule = asi > 0
|
|
137
|
+
abattement_asi = select(
|
|
138
|
+
[aah > 0, condition_abattement_asi_couple, condition_abattement_asi_personne_seule],
|
|
139
|
+
[0, abattement_asi_couple / 2, abattement_asi_personne_seule],
|
|
140
|
+
0)
|
|
141
|
+
|
|
142
|
+
montant_asi = asi - abattement_asi
|
|
143
|
+
return max_(montant_asi, 0)
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
class css_base_ressources_aspa_asv(Variable):
|
|
147
|
+
value_type = float
|
|
148
|
+
label = "Base de ressources ASPA/ASV de pour une famille prise en compte pour l'éligibilité à la CSS après application de l'abattement"
|
|
149
|
+
reference = [
|
|
150
|
+
'Bulletin officiel Santé - Protection sociale - Solidarité n° 2021/6 du 16 avril 2021 - Instruction interministérielle N° DSS/SD2A/2021/71 du 30 mars 2021',
|
|
151
|
+
'https://sante.gouv.fr/fichiers/bo/2021/2021.6.sante.pdf#page=75'
|
|
152
|
+
]
|
|
153
|
+
entity = Famille
|
|
154
|
+
definition_period = MONTH
|
|
155
|
+
set_input = set_input_divide_by_period
|
|
156
|
+
|
|
157
|
+
def formula(famille, period, parameters):
|
|
158
|
+
return famille('aspa', period)
|
|
159
|
+
|
|
160
|
+
def formula_2021_04(famille, period, parameters):
|
|
161
|
+
aspa = famille('aspa', period)
|
|
162
|
+
aspa_couple = famille('aspa_couple', period)
|
|
163
|
+
abattement_aspa_personne_seule = parameters(period).prestations_sociales.solidarite_insertion.minima_sociaux.cs.css.abattements.aspa_asv.personne_seule
|
|
164
|
+
abattement_aspa_couple = parameters(period).prestations_sociales.solidarite_insertion.minima_sociaux.cs.css.abattements.aspa_asv.couple
|
|
165
|
+
return select(
|
|
166
|
+
[(aspa > 0) * aspa_couple, aspa > 0],
|
|
167
|
+
[max_(aspa - abattement_aspa_couple, 0), max_(aspa - abattement_aspa_personne_seule, 0)],
|
|
168
|
+
aspa)
|
|
169
|
+
|
|
170
|
+
|
|
90
171
|
class css_cmu_base_ressources(Variable):
|
|
91
172
|
value_type = float
|
|
92
173
|
label = "Base de ressources prise en compte pour l'éligibilité à la ACS / CMU-C / CSS"
|
|
@@ -95,12 +176,12 @@ class css_cmu_base_ressources(Variable):
|
|
|
95
176
|
set_input = set_input_divide_by_period
|
|
96
177
|
|
|
97
178
|
def formula(famille, period, parameters):
|
|
98
|
-
previous_year =
|
|
179
|
+
previous_year = compute_previous_year(period)
|
|
99
180
|
|
|
100
181
|
ressources_famille_a_inclure = [
|
|
101
182
|
'af',
|
|
102
183
|
'asf',
|
|
103
|
-
'
|
|
184
|
+
'css_base_ressources_aspa_asv',
|
|
104
185
|
'cf',
|
|
105
186
|
'paje_clca',
|
|
106
187
|
'paje_prepare',
|
|
@@ -115,7 +196,7 @@ class css_cmu_base_ressources(Variable):
|
|
|
115
196
|
css_cmu_forfait_logement_base = famille('css_cmu_forfait_logement_base', period)
|
|
116
197
|
css_cmu_forfait_logement_al = famille('css_cmu_forfait_logement_al', period)
|
|
117
198
|
|
|
118
|
-
|
|
199
|
+
parametres_cmu = parameters(period).prestations_sociales.solidarite_insertion.minima_sociaux.cs.cmu
|
|
119
200
|
|
|
120
201
|
proprietaire = (statut_occupation_logement == TypesStatutOccupationLogement.proprietaire)
|
|
121
202
|
heberge_titre_gratuit = (statut_occupation_logement == TypesStatutOccupationLogement.loge_gratuitement)
|
|
@@ -130,7 +211,7 @@ class css_cmu_base_ressources(Variable):
|
|
|
130
211
|
ressources_parents = famille.sum(ressources_individuelles, role = Famille.PARENT)
|
|
131
212
|
|
|
132
213
|
age = famille.members('age', period)
|
|
133
|
-
condition_enfant_a_charge = (age >= 0) * (age <=
|
|
214
|
+
condition_enfant_a_charge = (age >= 0) * (age <= parametres_cmu.age_limite_pac)
|
|
134
215
|
ressources_enfants = famille.sum(ressources_individuelles * condition_enfant_a_charge, role = Famille.ENFANT)
|
|
135
216
|
|
|
136
217
|
return forfait_logement + ressources_famille + ressources_parents + ressources_enfants
|
|
@@ -138,12 +219,17 @@ class css_cmu_base_ressources(Variable):
|
|
|
138
219
|
# Helper functions
|
|
139
220
|
|
|
140
221
|
|
|
222
|
+
def compute_previous_year(period):
|
|
223
|
+
return Period(('year', period.start, 1)).offset(-1)
|
|
224
|
+
|
|
141
225
|
# Abattement sur revenus d'activité si :
|
|
142
226
|
# - IJ maladie
|
|
143
227
|
# - chômage
|
|
144
228
|
# - ass
|
|
145
229
|
# - formation professionnelle
|
|
146
|
-
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
def abattement_chomage(individu, period, previous_year, parametres_cmu):
|
|
147
233
|
indemnites_journalieres_maladie = individu('indemnites_journalieres_maladie', period)
|
|
148
234
|
|
|
149
235
|
chomage = individu('activite', period) == TypesActivite.chomeur
|
|
@@ -163,7 +249,7 @@ def abbattement_chomage(individu, period, previous_year, P):
|
|
|
163
249
|
|
|
164
250
|
salaire_net = individu('salaire_net', previous_year, options = [ADD])
|
|
165
251
|
|
|
166
|
-
return eligibilite_abattement_chomage * salaire_net *
|
|
252
|
+
return eligibilite_abattement_chomage * salaire_net * parametres_cmu.abattement_chomage
|
|
167
253
|
|
|
168
254
|
|
|
169
255
|
# Revenus de stage de formation professionnelle exclus si plus perçus depuis 1 mois
|