OpenFisca-France 169.1.2__py3-none-any.whl → 169.2.1__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.

Files changed (29) hide show
  1. {OpenFisca_France-169.1.2.dist-info → OpenFisca_France-169.2.1.dist-info}/METADATA +1 -1
  2. {OpenFisca_France-169.1.2.dist-info → OpenFisca_France-169.2.1.dist-info}/RECORD +29 -22
  3. {OpenFisca_France-169.1.2.dist-info → OpenFisca_France-169.2.1.dist-info}/WHEEL +1 -1
  4. openfisca_france/model/prelevements_obligatoires/impot_revenu/ir.py +4 -4
  5. openfisca_france/model/prestations/aides_logement.py +7 -7
  6. openfisca_france/model/prestations/minima_sociaux/aah.py +13 -13
  7. openfisca_france/model/prestations/minima_sociaux/cs/ressources.py +98 -12
  8. openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatpen/index.yaml +6 -2
  9. openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatpen/max.yaml +2 -2
  10. openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatpen/min.yaml +2 -2
  11. openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatpen/taux.yaml +15 -0
  12. openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatpro/index.yaml +7 -2
  13. openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatpro/max.yaml +3 -3
  14. openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatpro/min.yaml +3 -3
  15. openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatpro/min2.yaml +2 -2
  16. openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/{taux_salaires_pensions.yaml → abatpro/taux.yaml} +5 -5
  17. openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/index.yaml +2 -3
  18. openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/rvcm/index.yaml +2 -1
  19. openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/rvcm/majoration_revenus_reputes_distribues.yaml +9 -1
  20. openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/rvcm/produits_assurances_vies_assimiles/abattement.yaml +6 -3
  21. openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/rvcm/revenus_capitaux_mobiliers_dividendes/taux_abattement.yaml +7 -4
  22. openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/css/abattements/aah.yaml +15 -0
  23. openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/css/abattements/asi/couple.yaml +11 -0
  24. openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/css/abattements/asi/personne_seule.yaml +11 -0
  25. openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/css/abattements/aspa_asv/couple.yaml +11 -0
  26. openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/css/abattements/aspa_asv/personne_seule.yaml +11 -0
  27. openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/css/abattements/index.yaml +1 -0
  28. {OpenFisca_France-169.1.2.dist-info → OpenFisca_France-169.2.1.dist-info}/LICENSE.AGPL.txt +0 -0
  29. {OpenFisca_France-169.1.2.dist-info → OpenFisca_France-169.2.1.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: OpenFisca-France
3
- Version: 169.1.2
3
+ Version: 169.2.1
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
@@ -38,7 +38,7 @@ openfisca_france/model/prelevements_obligatoires/isf.py,sha256=u0qlU4lDXSYDETupu
38
38
  openfisca_france/model/prelevements_obligatoires/impot_revenu/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
39
39
  openfisca_france/model/prelevements_obligatoires/impot_revenu/charges_deductibles.py,sha256=oDdN2oGhtOVPPaaW8dhROpx538drV4s1E0OwacFL92g,28170
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=WpNNIcY0vKoCOOMAAc2VBrOG4dBSYb08EcgIy6r9seY,179660
41
+ openfisca_france/model/prelevements_obligatoires/impot_revenu/ir.py,sha256=S6xHGPSF_oRJiidYIHkGK9OJLq2xYWP2ZHt93TSNpIM,179620
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
@@ -78,7 +78,7 @@ openfisca_france/model/prestations/agepi.py,sha256=QRjafsxsObAjW2A31mzrOmXnzmKx0
78
78
  openfisca_france/model/prestations/aide_mobilite.py,sha256=SqzPIkkEZAgKoEbc73d3bhsYhFxZaN1o2Ik4gTm7VWY,20560
79
79
  openfisca_france/model/prestations/aide_permis_demandeur_emploi.py,sha256=7V8gVzI9Rgg60lxqddrrIqhjqe06J2GfMQoSXKrdY7I,3410
80
80
  openfisca_france/model/prestations/aide_permis_pro_btp.py,sha256=bzh9cDpJetqn72S2ziQJlhZuJrtOw-tYSDBOYKIML48,2258
81
- openfisca_france/model/prestations/aides_logement.py,sha256=WAm8_cDM3dEzB8zGVvEISO_ssKBCx3-aEdT5otuFOMY,90790
81
+ openfisca_france/model/prestations/aides_logement.py,sha256=gsPkQ_TSG3Kv7Uh-XjRLXfeWkyvq-MlzmSW6TGmLhaU,90720
82
82
  openfisca_france/model/prestations/alimentation.py,sha256=3gkbQrPdobAHmroJiG07ajxzWjLlyMhMh6kMvg4s4Hk,2350
83
83
  openfisca_france/model/prestations/autonomie.py,sha256=7UpuhDO-LFjwbq3UWSDyOKJCsTw1rx8O-tS3dG-MBn8,19394
84
84
  openfisca_france/model/prestations/cheque_energie.py,sha256=YsmPzfUhs4P7CW5ePrOkBG-2iqeMeuFmfDyR0zKMeLg,6037
@@ -110,7 +110,7 @@ openfisca_france/model/prestations/jeunes/pass_colo.py,sha256=eYoSnKcXzMl6fTgaqN
110
110
  openfisca_france/model/prestations/jeunes/pass_sport.py,sha256=lscDjG98QBOBaZS13HuSlihKMTbcU7kbxhoIVDVBvnk,2806
111
111
  openfisca_france/model/prestations/jeunes/service_civique.py,sha256=qW0r6gGyPswa6-2bB3VXtuHmeZwbSWjTIpAxk-QekJA,376
112
112
  openfisca_france/model/prestations/minima_sociaux/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
113
- openfisca_france/model/prestations/minima_sociaux/aah.py,sha256=JTEQ9HzlXtaJUplQsOSZ_OeDn3ISDdeGjmPoIMtMdr0,44603
113
+ openfisca_france/model/prestations/minima_sociaux/aah.py,sha256=cb4oU257cNzLsalHKTkKsrsO94Hks085tH4x83vEL98,44661
114
114
  openfisca_france/model/prestations/minima_sociaux/ada.py,sha256=IcJU3BUEsEk59K-W55CyNyafmy6SMv2jpB8eHob7ceE,1426
115
115
  openfisca_france/model/prestations/minima_sociaux/aefa.py,sha256=mXOBJgXTl_iA6aaJw4E9M1Z7j97J2OEQ6rInGSuug5s,3357
116
116
  openfisca_france/model/prestations/minima_sociaux/anciens_ms.py,sha256=PAXVlfd8PNXR_cUyf31BUsVJ8-KTTP3Tx6CD7rRLBEw,10878
@@ -123,7 +123,7 @@ 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=IbxBHslyqPHQRs1cjvQ9ax84QyERgTzKIzrJNt1urm0,7552
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
@@ -872,19 +872,20 @@ openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deduc_invest_
872
872
  openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deduc_invest_locatif/dispositif_robien_recentre/taux_2_ans.yaml,sha256=UKNfR385kinPQlH7GzEQNvwge739PP3KDs_U1-70BMU,1570
873
873
  openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deduc_invest_locatif/dispositif_robien_recentre/taux_6_ans_borloo.yaml,sha256=WgfIh0sesZuAqXnYc4geT3KmuuYdKxMUM9ABnLAn4n4,1616
874
874
  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=f9HXGec_Hj4o_j_qFP-0t4s2v1tI8QHoTZkjfBT9rj4,216
876
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/taux_salaires_pensions.yaml,sha256=A4gAZQAAe6viPAzv5gGJlb-nU7Vt7DCxq2qHPt8szH0,595
875
+ openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/index.yaml,sha256=COjumwf6Zg6suznNIqBwqQNsVWqCOATOkc_vDN971cs,169
877
876
  openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abat_supp/index.yaml,sha256=wbd7aeyXlKAPogBHkmOccj-QF91U6WV_RoVwenWfs-8,647
878
877
  openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abat_supp/max.yaml,sha256=4NTkGMyNcdemCxNrINyYnQfGNoj8-2fcsTo5nywHmSA,4198
879
878
  openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abat_supp/salaire_plafond.yaml,sha256=FdyigzENaF3uPINEcv-NRFi-f42gSP7ThbkIAZW5Fp8,4225
880
879
  openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abat_supp/taux.yaml,sha256=5-VxSnt-BBOVjDGFmswI2QwNhSvkxh78xlxPGcLd72w,675
881
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatpen/index.yaml,sha256=uGzd6nOZoDQIUpMzbWcpPGefkDg9Rc3Us-g_R8WJ7bQ,87
882
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatpen/max.yaml,sha256=lmyzVm2geFSLw__7W_ijyXrQ1gR0mXOCP4lBKZM6pmo,8978
883
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatpen/min.yaml,sha256=9LyVFb7cOPqYCOTeJPofz5mKuRO8rudRYjlbNkBgrwY,6788
884
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatpro/index.yaml,sha256=xyN2_K8B49iO1wtH6GKTPvUAfudoYs5BDaiyzotr0II,120
885
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatpro/max.yaml,sha256=H79qPbTO3YKZCTa-fFaxNjmV4s6Fw72KWWHPrg4KkFc,8916
886
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatpro/min.yaml,sha256=luM5f3hH5yjidN7pD2ILQA8NR67oeM9BcHMMi8Szb8s,6796
887
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatpro/min2.yaml,sha256=6S5OKpeXtQiTqBiURl8Z4NFSn1rm9AIayTl5F3hSVn0,4442
880
+ openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatpen/index.yaml,sha256=dEsqh2_aTz6u-wu6oAL7f_z_iFYyOlZWff24WIdDQuk,153
881
+ openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatpen/max.yaml,sha256=zfRzCp9lHD8nIbK3uxlJbwk0U8cYtHooVkcJXM6erLU,9021
882
+ openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatpen/min.yaml,sha256=9GcIn5Q_Qky1aT3olRflULMilb99QhTsL-sm4rAGeHA,6825
883
+ openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatpen/taux.yaml,sha256=tuN0oXwRTq-0DcZYMYKUn-j6nwWJtD2UIWNI3snUqG4,414
884
+ openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatpro/index.yaml,sha256=v_fz1i_A2m5THh4yCYGUz4vZtVoXVGbKBJxiNdsOA00,197
885
+ openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatpro/max.yaml,sha256=lLjXOkHb6Wo3VuELbVxPs06nKPbJMQolREezqoipDDo,8938
886
+ openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatpro/min.yaml,sha256=JY9-Xe2yde1e4Xdc_zy7Z4TwYyGd25oBS3G6KahYMpU,6800
887
+ openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatpro/min2.yaml,sha256=y1hKzJx3uL-AszOiGV_viVpcYpqtJnOC7ua30VFn6Vs,4463
888
+ openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatpro/taux.yaml,sha256=6uJ22Cnl5uHdwPYDfjhvXiAw4R1O3Jw74vVNYvAc6l4,617
888
889
  openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatviag/index.yaml,sha256=VcPGmLuGNogHwg58ivW2SIHNzbwMQcYPMY1ad5CLyW8,99
889
890
  openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatviag/taux1.yaml,sha256=8KP65wZuc90TOFHCc9Rkw5hU6qahs33wziqaf2O5wPQ,392
890
891
  openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatviag/taux2.yaml,sha256=_-EhJUn_wuH7jhy7M4hJxFqogEjT--3oNy_qsCY99Wg,415
@@ -962,14 +963,14 @@ openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/rpns/microsoc
962
963
  openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/rpns/microsocial/index.yaml,sha256=USDSFZfjqKZcyDokP1vGr7yN3zeskRl7Fotxeu8UfAU,162
963
964
  openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/rpns/microsocial/servi.yaml,sha256=Io0ppUsJndvfXyeiqcYljxThi2gRxhtVE57GizZ0xH8,524
964
965
  openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/rpns/microsocial/vente.yaml,sha256=doAgGNYmcniMlbYjejg3ZSWEeuAtUSr4FxhsppIi_ww,684
965
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/rvcm/index.yaml,sha256=7La-7wVQNJbtAZcZtdJld4cq_Ec8HsIqsadC0o43y8Y,296
966
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/rvcm/majoration_revenus_reputes_distribues.yaml,sha256=P74CYyUWS33i6eyHAJRaS8EgrJO6fDrqdabpx3oGrfk,118
966
+ openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/rvcm/index.yaml,sha256=6jy7qbKwo_O6aAnNEbYBNKxv0BtvtRIOi25JR_-pWUE,337
967
+ openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/rvcm/majoration_revenus_reputes_distribues.yaml,sha256=qVL_8EVBg0Ui1Tuk0brZN_WanR2IuHmpXxEoyouvXuM,724
967
968
  openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/rvcm/taux_forfaitaire.yaml,sha256=KXNxo5bFGm537umtNeVgO3Q563tNRs50W1DMVv7k3U0,250
968
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/rvcm/produits_assurances_vies_assimiles/abattement.yaml,sha256=BOC42iJdC0eFSM4br3m8lnlh2Vy7sAn7-wTQ7Zimleg,1150
969
+ openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/rvcm/produits_assurances_vies_assimiles/abattement.yaml,sha256=Tdsb-s5nNoMDf7d1PlHT5jGA0C5j99BekIXA2eJXdA8,1612
969
970
  openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/rvcm/produits_assurances_vies_assimiles/index.yaml,sha256=begzoQhv9DFA2jYOvxpyWz2766q0DsJcI6oR5xXJ4Bk,90
970
971
  openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/rvcm/revenus_capitaux_mobiliers_dividendes/abattement_forfaitaire.yaml,sha256=m6KKy8dRfIhyMay5m-et71QRKYU89UHWrvn577Y2vMA,1620
971
972
  openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/rvcm/revenus_capitaux_mobiliers_dividendes/index.yaml,sha256=N1KOyPBZ_SorY7OIS2Zi_tMHUp7ZYBxZjq-xpONVrUQ,122
972
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/rvcm/revenus_capitaux_mobiliers_dividendes/taux_abattement.yaml,sha256=DkD67Ty3DYxyanFZwd3Wcu74gOuMrmotNnZ2Yv7IQqg,787
973
+ openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/rvcm/revenus_capitaux_mobiliers_dividendes/taux_abattement.yaml,sha256=hciVcAYSfb3KujGBOHqX3QxVWEW0_iQkEMsyhFKXt7Q,1288
973
974
  openfisca_france/parameters/impot_revenu/contributions_exceptionnelles/contribution_exceptionnelle_hauts_revenus.yaml,sha256=hS5uXwb3NbOYQLdnhUNJQA2R8ckM40-3aIwY41u6MxI,1071
974
975
  openfisca_france/parameters/impot_revenu/contributions_exceptionnelles/indemnite_compensatrice_agents_assurance.yaml,sha256=MP_kGJg3zVYoc8i6SR9j0hAz9C0_NgMG5lvgDzcz5Ao,2583
975
976
  openfisca_france/parameters/impot_revenu/contributions_exceptionnelles/index.yaml,sha256=sG7EDo2YJHCbHpItv68R5NiK-8bhKXROeNPpdPc_t_A,306
@@ -3375,6 +3376,12 @@ openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_soc
3375
3376
  openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/cmu/forfait_logement_sans_al/taux_2p.yaml,sha256=1N6C0k8k4rf7Et8dNp8jr7a5qzr1-vokZ-Nklpgg5os,851
3376
3377
  openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/cmu/forfait_logement_sans_al/taux_3p_plus.yaml,sha256=nTHnXWivWHwnJTD68oLi9FBso6HZp1WiMbSQ5l7EJiI,853
3377
3378
  openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/css/index.yaml,sha256=WgNJ9r1YcO2ej8-khhr9yFfJavCQkOFp1vSe0peTsNw,81
3379
+ openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/css/abattements/aah.yaml,sha256=kOhUSpumG7IJK5vyVLRpSTIls83wcWeV4ivxocuL_Ls,781
3380
+ openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/css/abattements/index.yaml,sha256=OKXnuJSiehezBYGLvXnTe51IqmsHDD5l3B3FvBozj34,108
3381
+ openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/css/abattements/asi/couple.yaml,sha256=d4mUKavI72p29fKTCMI1Q8EzZ0V17kmDuRh9885t09A,529
3382
+ openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/css/abattements/asi/personne_seule.yaml,sha256=U-1iV2BsrCz33F_2BQEmUbWw5B9BR1tM1AqtU5TsGx4,468
3383
+ openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/css/abattements/aspa_asv/couple.yaml,sha256=6Yn83eSrcv3zWLVCdAdJfhk5xMkbJuC_79DTQvtOfCU,489
3384
+ openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/css/abattements/aspa_asv/personne_seule.yaml,sha256=y7l2XT5YbHFz2BaZm0JDuQlnN6Fs6-PRtIPCE0oClc4,497
3378
3385
  openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/css/forfait_logement_avec_al/index.yaml,sha256=w9-eAbnOWJTfLi4Tv2G61fAf6jPduq4DDdjxz-GLXwA,73
3379
3386
  openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/css/forfait_logement_avec_al/taux_1p.yaml,sha256=g1h-Kyayvycv7pj02pswI7D0rjCVQIq_DZZu66KVg5w,747
3380
3387
  openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/cs/css/forfait_logement_avec_al/taux_2p.yaml,sha256=wOyZ3N36UERH08XYkSlLb90wG1U7gjMKq9HuMYzgB-c,748
@@ -4017,8 +4024,8 @@ openfisca_france/scripts/performance/measure_spiral_performances.py,sha256=cQIxE
4017
4024
  openfisca_france/scripts/performance/measure_tests_performance.py,sha256=HYgSJy-OMZay2AZt6ztntgdUbW_RL2xMr-iHcK-zoVY,1869
4018
4025
  openfisca_france/situation_examples/__init__.py,sha256=BTRmrqk9lsjfhtPXsYcsWqXFEYyFpgLcxNs6oJsy8zk,262
4019
4026
  openfisca_france/situation_examples/couple.json,sha256=Ot1x4wl3IS-2-10X3V7ZUokkOMXi96s-xK7A0gNvRF4,862
4020
- OpenFisca_France-169.1.2.dist-info/LICENSE.AGPL.txt,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
4021
- OpenFisca_France-169.1.2.dist-info/METADATA,sha256=oOOMaXTLCkXXYhtd7EGzDhNL-c6bVoxj_aUwAvbTnes,20862
4022
- OpenFisca_France-169.1.2.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
4023
- OpenFisca_France-169.1.2.dist-info/top_level.txt,sha256=1LbD6QJWehKGIcjtaJ45tbQOSDiFEXOlIdgWRI_jaHU,17
4024
- OpenFisca_France-169.1.2.dist-info/RECORD,,
4027
+ OpenFisca_France-169.2.1.dist-info/LICENSE.AGPL.txt,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
4028
+ OpenFisca_France-169.2.1.dist-info/METADATA,sha256=OkNNNHSTJ7-7cl_iL7h_EDV0UCxu2VNQ14r3ZAUOdYA,20862
4029
+ OpenFisca_France-169.2.1.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
4030
+ OpenFisca_France-169.2.1.dist-info/top_level.txt,sha256=1LbD6QJWehKGIcjtaJ45tbQOSDiFEXOlIdgWRI_jaHU,17
4031
+ OpenFisca_France-169.2.1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.2.0)
2
+ Generator: setuptools (75.3.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -419,7 +419,7 @@ class revenu_assimile_salaire_apres_abattements(Variable):
419
419
  P = parameters(period).impot_revenu.calcul_revenus_imposables.deductions
420
420
 
421
421
  abattement_minimum = where(chomeur_longue_duree, P.abatpro.min2, P.abatpro.min)
422
- abatfor = round_(min_(max_(P.taux_salaires_pensions * revenu_assimile_salaire, abattement_minimum), P.abatpro.max))
422
+ abatfor = round_(min_(max_(P.abatpro.taux * revenu_assimile_salaire, abattement_minimum), P.abatpro.max))
423
423
  return (
424
424
  (frais_reels > abatfor)
425
425
  * (revenu_assimile_salaire - frais_reels)
@@ -432,7 +432,7 @@ class revenu_assimile_salaire_apres_abattements(Variable):
432
432
  frais_reels = individu('frais_reels', period)
433
433
  P = parameters(period).impot_revenu.calcul_revenus_imposables.deductions
434
434
 
435
- abatfor = round_(min_(max_(P.taux_salaires_pensions * revenu_assimile_salaire, P.abatpro.min), P.abatpro.max))
435
+ abatfor = round_(min_(max_(P.abatpro.taux * revenu_assimile_salaire, P.abatpro.min), P.abatpro.max))
436
436
  return (
437
437
  (frais_reels > abatfor)
438
438
  * (revenu_assimile_salaire - frais_reels)
@@ -471,10 +471,10 @@ class revenu_assimile_pension_apres_abattements(Variable):
471
471
  # AO + BO + CO + DO + EO )
472
472
  # penv2 = (d11-f11> abatpen.max)*(penv + (d11-f11-abatpen.max)) + (d11-f11<= abatpen.max)*penv
473
473
  # Plus d'abatement de 20% en 2006
474
- return max_(0, revenu_assimile_pension - round_(max_(P.taux_salaires_pensions * revenu_assimile_pension, P.abatpen.min)))
474
+ return max_(0, revenu_assimile_pension - round_(max_(P.abatpen.taux * revenu_assimile_pension, P.abatpen.min)))
475
475
 
476
476
 
477
- # return max_(0, revenu_assimile_pension - min_(round_(max_(P.taux_salaires_pensions*revenu_assimile_pension , P.abatpen.min)), P.abatpen.max)) le max se met au niveau du foyer
477
+ # return max_(0, revenu_assimile_pension - min_(round_(max_(P.abatpen.taux*revenu_assimile_pension , P.abatpen.min)), P.abatpen.max)) le max se met au niveau du foyer
478
478
 
479
479
  class indu_plaf_abat_pen(Variable):
480
480
  value_type = float
@@ -578,7 +578,7 @@ class aide_logement_base_ressources_individu(Variable):
578
578
  frais_reels = individu('frais_reels', period_frais)
579
579
 
580
580
  P = parameters(period.last_year).impot_revenu.calcul_revenus_imposables.deductions
581
- abattement_forfaitaire = round_(min_(max_(P.taux_salaires_pensions * revenu_assimile_salaire, P.abatpro.min), P.abatpro.max))
581
+ abattement_forfaitaire = round_(min_(max_(P.abatpro.taux * revenu_assimile_salaire, P.abatpro.min), P.abatpro.max))
582
582
 
583
583
  abattement_frais_pro = where(frais_reels > abattement_forfaitaire, frais_reels, abattement_forfaitaire)
584
584
 
@@ -597,7 +597,7 @@ class aide_logement_base_ressources_individu(Variable):
597
597
  pension_invalidite = individu('pensions_invalidite', period.n_2, options = [ADD])
598
598
  revenu_assimile_pension = pensions_alimentaires_percues + retraite_imposable + pension_invalidite
599
599
  P = parameters(period).impot_revenu.calcul_revenus_imposables.deductions
600
- revenu_assimile_pension = max_(0, revenu_assimile_pension - round_(max_(P.taux_salaires_pensions * revenu_assimile_pension, P.abatpen.min)))
600
+ revenu_assimile_pension = max_(0, revenu_assimile_pension - round_(max_(P.abatpen.taux * revenu_assimile_pension, P.abatpen.min)))
601
601
 
602
602
  abattement_revenus_activite_professionnelle = individu('aide_logement_abattement_revenus_activite_professionnelle', period)
603
603
  abattement_indemnites_chomage = individu('aide_logement_abattement_indemnites_chomage', period)
@@ -625,7 +625,7 @@ class aide_logement_base_ressources_individu(Variable):
625
625
  frais_reels = individu('frais_reels', period.n_2)
626
626
 
627
627
  P = parameters(period.n_2).impot_revenu.calcul_revenus_imposables.deductions
628
- abattement_forfaitaire = round_(min_(max_(P.taux_salaires_pensions * revenu_assimile_salaire, P.abatpro.min), P.abatpro.max))
628
+ abattement_forfaitaire = round_(min_(max_(P.abatpro.taux * revenu_assimile_salaire, P.abatpro.min), P.abatpro.max))
629
629
 
630
630
  abattement_frais_pro = where(frais_reels > abattement_forfaitaire, frais_reels, abattement_forfaitaire)
631
631
 
@@ -667,7 +667,7 @@ class aide_logement_base_ressources_individu(Variable):
667
667
 
668
668
  P = parameters(period.n_2).impot_revenu.calcul_revenus_imposables.deductions
669
669
  abattement_minimum = where(chomeur_longue_duree, P.abatpro.min2, P.abatpro.min)
670
- abattement_forfaitaire = round_(min_(max_(P.taux_salaires_pensions * revenu_assimile_salaire, abattement_minimum), P.abatpro.max))
670
+ abattement_forfaitaire = round_(min_(max_(P.abatpro.taux * revenu_assimile_salaire, abattement_minimum), P.abatpro.max))
671
671
 
672
672
  abattement_frais_pro = where(frais_reels > abattement_forfaitaire, frais_reels, abattement_forfaitaire)
673
673
 
@@ -759,7 +759,7 @@ class aide_logement_base_ressources_eval_forfaitaire(Variable):
759
759
  somme_salaires_mois_precedent = 12 * salaire_imposable
760
760
  montant_abattement = round_(
761
761
  min_(
762
- max_(P.taux_salaires_pensions * somme_salaires_mois_precedent, P.abatpro.min),
762
+ max_(P.abatpro.taux * somme_salaires_mois_precedent, P.abatpro.min),
763
763
  P.abatpro.max
764
764
  )
765
765
  )
@@ -1186,7 +1186,7 @@ class aide_logement_R0(Variable):
1186
1186
  )
1187
1187
 
1188
1188
  deductions = parameters(period).impot_revenu.calcul_revenus_imposables.deductions
1189
- abattement_pension_salaire = deductions.taux_salaires_pensions # dit de 10 %
1189
+ abattement_pension_salaire = deductions.abatpro.taux # dit de 10 %
1190
1190
  abattement_supplementaire = deductions.abat_supp.taux # dit de 20 %
1191
1191
  abattement = abattement_supplementaire + (1 - abattement_supplementaire) * abattement_pension_salaire
1192
1192
  R0 = round_(12 * (R1 - R2) * (1 - abattement))
@@ -1221,7 +1221,7 @@ class aide_logement_R0(Variable):
1221
1221
  + al.al_param_r0.r2_en_bmaf_1.majoration_par_enf_supp_a_charge * (al_nb_pac > 2) * (al_nb_pac - 2)
1222
1222
  )
1223
1223
 
1224
- abattement = parameters(period).impot_revenu.calcul_revenus_imposables.deductions.taux_salaires_pensions
1224
+ abattement = parameters(period).impot_revenu.calcul_revenus_imposables.deductions.abatpro.taux
1225
1225
  R0 = round_(12 * (R1 - R2) * (1 - abattement))
1226
1226
 
1227
1227
  return R0
@@ -46,7 +46,7 @@ class aah_base_ressources_conjugalisee(Variable):
46
46
  aah = _parameters.prestations_sociales.prestations_etat_de_sante.invalidite.aah
47
47
 
48
48
  def assiette_conjoint(revenus_conjoint):
49
- return (1 - _parameters.impot_revenu.calcul_revenus_imposables.deductions.taux_salaires_pensions) * (1 - aah.abattement_conjoint.abattement_proportionnel) * revenus_conjoint
49
+ return (1 - _parameters.impot_revenu.calcul_revenus_imposables.deductions.abatpro.taux) * (1 - aah.abattement_conjoint.abattement_proportionnel) * revenus_conjoint
50
50
 
51
51
  def base_ressource_eval_annuelle():
52
52
  base_ressource = individu('aah_base_ressources_activite_eval_annuelle', period) + individu('aah_base_ressources_hors_activite_eval_annuelle', period)
@@ -60,14 +60,14 @@ class aah_base_ressources_conjugalisee(Variable):
60
60
  return base_ressource_eval_annuelle() / 12
61
61
 
62
62
  def formula_2005_07_01(individu, period, parameters):
63
- law = parameters(period)
64
- aah = law.prestations_sociales.prestations_etat_de_sante.invalidite.aah
63
+ parameters = parameters(period)
64
+ aah = parameters.prestations_sociales.prestations_etat_de_sante.invalidite.aah
65
65
 
66
66
  def assiette_conjoint(revenus_conjoint):
67
- return (1 - law.impot_revenu.calcul_revenus_imposables.deductions.taux_salaires_pensions) * (1 - aah.abattement_conjoint.abattement_proportionnel) * revenus_conjoint
67
+ return (1 - parameters.impot_revenu.calcul_revenus_imposables.deductions.abatpro.taux) * (1 - aah.abattement_conjoint.abattement_proportionnel) * revenus_conjoint
68
68
 
69
69
  def assiette_revenu_activite_demandeur(revenus_demandeur):
70
- smic_brut_horaire = law.marche_travail.salaire_minimum.smic.smic_b_horaire
70
+ smic_brut_horaire = parameters.marche_travail.salaire_minimum.smic.smic_b_horaire
71
71
  seuil1 = aah.travail_ordinaire.tranche_smic_horaire1 * smic_brut_horaire
72
72
  seuil2 = aah.travail_ordinaire.tranche_smic_horaire2 * smic_brut_horaire
73
73
  seuil3 = aah.travail_ordinaire.tranche_smic_horaire3 * smic_brut_horaire
@@ -92,16 +92,16 @@ class aah_base_ressources_conjugalisee(Variable):
92
92
  return base_ressource_eval_annuelle() / 12
93
93
 
94
94
  def formula_2011(individu, period, parameters):
95
- law = parameters(period)
96
- aah = law.prestations_sociales.prestations_etat_de_sante.invalidite.aah
95
+ parameters = parameters(period)
96
+ aah = parameters.prestations_sociales.prestations_etat_de_sante.invalidite.aah
97
97
 
98
98
  en_activite = (individu('salaire_imposable', period, options = [ADD]) + individu('rpns_imposables', period.last_year) > 0)
99
99
 
100
100
  def assiette_conjoint(revenus_conjoint):
101
- return (1 - law.impot_revenu.calcul_revenus_imposables.deductions.taux_salaires_pensions) * (1 - aah.abattement_conjoint.abattement_proportionnel) * revenus_conjoint
101
+ return (1 - parameters.impot_revenu.calcul_revenus_imposables.deductions.abatpro.taux) * (1 - aah.abattement_conjoint.abattement_proportionnel) * revenus_conjoint
102
102
 
103
103
  def assiette_revenu_activite_demandeur(revenus_demandeur):
104
- smic_brut_annuel = 12 * law.marche_travail.salaire_minimum.smic.smic_b_horaire * law.marche_travail.salaire_minimum.smic.nb_heures_travail_mensuel
104
+ smic_brut_annuel = 12 * parameters.marche_travail.salaire_minimum.smic.smic_b_horaire * parameters.marche_travail.salaire_minimum.smic.nb_heures_travail_mensuel
105
105
  total_tranche1 = min_(aah.travail_ordinaire.tranche_smic * smic_brut_annuel, revenus_demandeur)
106
106
  total_tranche2 = max_(0, revenus_demandeur - total_tranche1)
107
107
  return (1 - aah.travail_ordinaire.abattement_30) * total_tranche1 + (1 - aah.travail_ordinaire.abattement_sup) * total_tranche2
@@ -136,18 +136,18 @@ class aah_base_ressources_conjugalisee(Variable):
136
136
  )
137
137
 
138
138
  def formula_2022_01_01(individu, period, parameters):
139
- law = parameters(period)
140
- aah = law.prestations_sociales.prestations_etat_de_sante.invalidite.aah
139
+ parameters = parameters(period)
140
+ aah = parameters.prestations_sociales.prestations_etat_de_sante.invalidite.aah
141
141
 
142
142
  en_activite = ((individu('salaire_imposable', period, options = [ADD]) + individu('rpns_imposables', period.last_year) > 0))
143
143
 
144
144
  def assiette_conjoint(revenus_conjoint):
145
145
  af_nbenf = individu.famille('af_nbenf', period)
146
- revenus = (1 - law.impot_revenu.calcul_revenus_imposables.deductions.taux_salaires_pensions) * revenus_conjoint
146
+ revenus = (1 - parameters.impot_revenu.calcul_revenus_imposables.deductions.abatpro.taux) * revenus_conjoint
147
147
  return max_(revenus - (aah.abattement_conjoint.abattement_forfaitaire.base + aah.abattement_conjoint.abattement_forfaitaire.majoration_pac * af_nbenf), 0)
148
148
 
149
149
  def assiette_revenu_activite_demandeur(revenus_demandeur):
150
- smic_brut_annuel = 12 * law.marche_travail.salaire_minimum.smic.smic_b_horaire * law.marche_travail.salaire_minimum.smic.nb_heures_travail_mensuel
150
+ smic_brut_annuel = 12 * parameters.marche_travail.salaire_minimum.smic.smic_b_horaire * parameters.marche_travail.salaire_minimum.smic.nb_heures_travail_mensuel
151
151
  total_tranche1 = min_(aah.travail_ordinaire.tranche_smic * smic_brut_annuel, revenus_demandeur)
152
152
  total_tranche2 = max_(0, revenus_demandeur - total_tranche1)
153
153
  return (1 - aah.travail_ordinaire.abattement_30) * total_tranche1 + (1 - aah.travail_ordinaire.abattement_sup) * total_tranche2
@@ -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 = Period(('year', period.start, 1)).offset(-1)
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
- P = parameters(period).prestations_sociales.solidarite_insertion.minima_sociaux.cs.cmu
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
- - abbattement_chomage(individu, period, previous_year, P)
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 = Period(('year', period.start, 1)).offset(-1)
179
+ previous_year = compute_previous_year(period)
99
180
 
100
181
  ressources_famille_a_inclure = [
101
182
  'af',
102
183
  'asf',
103
- 'aspa',
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
- P = parameters(period).prestations_sociales.solidarite_insertion.minima_sociaux.cs.cmu
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 <= P.age_limite_pac)
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
- def abbattement_chomage(individu, period, previous_year, P):
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 * P.abattement_chomage
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
@@ -1,3 +1,7 @@
1
- description: Abattement forfaitaire sur les pensions
1
+ description: Abattement forfaitaire sur les pensions et retraites
2
2
  metadata:
3
- short_label: Pensions
3
+ short_label: Abattement sur les pensions
4
+ order:
5
+ - taux
6
+ - min
7
+ - max
@@ -1,4 +1,4 @@
1
- description: Abattement maximum pour l'ensemble du foyer de l'abattement sur les pensions
1
+ description: Montant maximum pour l'ensemble du foyer de l'abattement sur les pensions
2
2
  values:
3
3
  1942-01-01:
4
4
  value: null
@@ -93,7 +93,7 @@ values:
93
93
  2023-01-01:
94
94
  value: 4321
95
95
  metadata:
96
- short_label: Maximum
96
+ short_label: Montant maximum de l'abattement, pour le foyer fiscal
97
97
  last_value_still_valid_on: "2024-06-11"
98
98
  ipp_csv_id: max_abtpen
99
99
  unit: currency_next_year
@@ -1,4 +1,4 @@
1
- description: Abattement minimum par bénéficiaire de l'abattement sur les pensions
1
+ description: Montant minimum par bénéficiaire de l'abattement sur les pensions
2
2
  values:
3
3
  1942-01-01:
4
4
  value: null
@@ -59,7 +59,7 @@ values:
59
59
  2023-01-01:
60
60
  value: 442
61
61
  metadata:
62
- short_label: Minimum
62
+ short_label: Montant minimum de l'abattement, par pensionné
63
63
  last_value_still_valid_on: "2024-06-11"
64
64
  ipp_csv_id: min_abtpen
65
65
  unit: currency_next_year
@@ -0,0 +1,15 @@
1
+ description: Taux de l'abattement forfaitaire sur les pensions ou retraites
2
+ values:
3
+ 1943-01-01:
4
+ value: 0.1
5
+ metadata:
6
+ last_value_still_valid_on: "2024-10-21"
7
+ short_label: Taux de l'abattement sur pensions
8
+ ipp_csv_id: tx_abt_sal
9
+ unit: /1
10
+ reference:
11
+ 1943-01-01:
12
+ - title: Art. 158 du Code général des impôts
13
+ href: https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000042158853
14
+
15
+
@@ -1,3 +1,8 @@
1
- description: Abattement forfaitaire pour frais professionnels
1
+ description: Déduction forfaitaire sur les salaires et allocations chômage
2
2
  metadata:
3
- short_label: Salaires et allocations chômage
3
+ short_label: Déduction sur les salaires et allocations chômage
4
+ order:
5
+ - taux
6
+ - min
7
+ - min2
8
+ - max
@@ -1,4 +1,4 @@
1
- description: Abattement maximum de la déduction forfaitaire pour frais professionnels
1
+ description: Montant maximum de la déduction forfaitaire pour frais professionnels
2
2
  values:
3
3
  1942-01-01:
4
4
  value: null
@@ -95,8 +95,8 @@ values:
95
95
  2023-01-01:
96
96
  value: 14171
97
97
  metadata:
98
- short_label: Maximum
99
- last_value_still_valid_on: "2024-06-11"
98
+ short_label: Montant maximum de la déduction
99
+ last_value_still_valid_on: "2024-10-21"
100
100
  ipp_csv_id: max_abtsal
101
101
  unit: currency_next_year
102
102
  reference:
@@ -1,4 +1,4 @@
1
- description: Abattement minimum (Cas général) de la déduction forfaitaire pour frais professionnels
1
+ description: Montant minimum (Cas général) de la déduction forfaitaire pour frais professionnels
2
2
  values:
3
3
  1942-01-01:
4
4
  value: null
@@ -67,8 +67,8 @@ values:
67
67
  2023-01-01:
68
68
  value: 495
69
69
  metadata:
70
- short_label: Minimum pour les salaires
71
- last_value_still_valid_on: "2024-06-11"
70
+ short_label: Montant minimum de la déduction
71
+ last_value_still_valid_on: "2024-10-21"
72
72
  ipp_csv_id: min_abtsal
73
73
  unit: currency_next_year
74
74
  reference:
@@ -1,4 +1,4 @@
1
- description: Abattement minimum (Demandeur d'emploi) de la déduction forfaitaire pour frais professionnels
1
+ description: Montant minimum (Demandeur d'emploi) de la déduction forfaitaire pour frais professionnels
2
2
  values:
3
3
  1942-01-01:
4
4
  value: null
@@ -43,7 +43,7 @@ values:
43
43
  2018-01-01:
44
44
  value: null
45
45
  metadata:
46
- short_label: Minimum pour les allocations chômage
46
+ short_label: Montant minimum de la déduction sur les allocations chômage
47
47
  last_value_still_valid_on: "2022-09-26"
48
48
  ipp_csv_id: min_abtsal_chom
49
49
  unit: currency_next_year
@@ -1,14 +1,14 @@
1
- description: Taux de l'abattement forfaitaire sur les salaires et pensions pour frais professionels
1
+ description: Taux de l'abattement forfaitaire sur les salaires pour frais professionels
2
2
  values:
3
3
  1943-01-01:
4
4
  value: 0.1
5
5
  metadata:
6
- last_value_still_valid_on: "2024-07-30"
7
- short_label: Taux
6
+ last_value_still_valid_on: "2024-10-21"
7
+ short_label: Taux de la déduction pour frais professionnels
8
8
  ipp_csv_id: tx_abt_sal
9
9
  unit: /1
10
10
  reference:
11
11
  1943-01-01:
12
- - title: Art. 83 du Code général des impôts
13
- href: https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000048121510/1950-04-30/
12
+ - title: Article 83 du Code général des impôts
13
+ href: https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000036429189
14
14
  documentation: La déduction forfaitaire de 10 % prévue par l'article 83 -3°, 2e alinéa du CGI pour la prise en compte des frais professionnels des salariés est plafonnée.
@@ -1,9 +1,8 @@
1
- description: Déductions sur les salaires, pensions et rentes
1
+ description: Salaires, pensions et rentes
2
2
  metadata:
3
3
  documentation_start: true
4
4
  label_en: Wages and pensions deductions
5
5
  order:
6
- - taux_salaires_pensions
7
- - abatpen
8
6
  - abatpro
7
+ - abatpen
9
8
  - abat_supp
@@ -4,5 +4,6 @@ metadata:
4
4
  short_label: Revenu des valeurs et capitaux mobiliers
5
5
  label_en: Investment gains and securities income
6
6
  order:
7
- - produits_assurances_vies_assimiles
8
7
  - revenus_capitaux_mobiliers_dividendes
8
+ - produits_assurances_vies_assimiles
9
+ - majoration_revenus_reputes_distribues
@@ -1,8 +1,16 @@
1
- description: Majoration case GO
1
+ description: Majoration pour revenus réputés distribués et revenus des structures soumises hors de France à un régime fiscal privilégié (case GO - 2042-C)
2
2
  values:
3
3
  2002-01-01:
4
4
  value: 1
5
5
  2006-01-01:
6
6
  value: 1.25
7
7
  metadata:
8
+ short_label: Majoration pour revenus distribués et structures hors France (case GO)
9
+ last_value_still_valid_on: "2024-10-21"
8
10
  unit: /1
11
+ reference:
12
+ 2006-01-01:
13
+ title: Article 158, 7. du Code général des impôts
14
+ href: https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000006307989/2007-01-01/
15
+ notes:
16
+ 2006-01-01: La case GO se trouve dans le cerfa 2042C "déclaration complémentaire - revenus complémentaires - Partie revenus de capitaux mobiliers".
@@ -1,4 +1,4 @@
1
- description: Abattement sur les produits des contrats d'assurance vie et assimilés
1
+ description: Abattement annuel applicable au montant imposable des produits de bons ou contrats d'une durée au moins égale à 8 ans (ou 6 ans pour ceux souscrits avant le 1er janvier 1990) - multiplié par deux pour les couples à imposition commune
2
2
  values:
3
3
  1978-01-01:
4
4
  value: null
@@ -7,7 +7,8 @@ values:
7
7
  2001-01-01:
8
8
  value: 4600
9
9
  metadata:
10
- short_label: Montant
10
+ short_label: Abattement annuel pour les produits d'assurance vie (contrat > 8 ans) - doublé pour les couples imposés en commun
11
+ last_value_still_valid_on: "2024-10-21"
11
12
  ipp_csv_id: abt_av
12
13
  unit: currency_next_year
13
14
  reference:
@@ -15,7 +16,9 @@ metadata:
15
16
  title: Loi 97-1269 du 30/12/1997 (LF pour 1998)
16
17
  href: https://www.legifrance.gouv.fr/affichTexte.do?cidTexte=JORFTEXT000000569621
17
18
  2001-01-01:
18
- title: Loi 2001-1275 du 28/12/2001 (LF pour 2002)
19
+ - title: Article 125-0 A, I. du Code général des impôts
20
+ href: https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000038836732
21
+ - title: Loi 2001-1275 du 28/12/2001 (LF pour 2002)
19
22
  href: https://www.legifrance.gouv.fr/affichTexte.do?cidTexte=JORFTEXT000000592233
20
23
  official_journal_date:
21
24
  1997-01-01: "1997-12-31"
@@ -1,4 +1,4 @@
1
- description: Taux de l'abattement sur les revenus de capitaux mobiliers (dividendes)
1
+ description: Taux de l'abattement sur les revenus de capitaux mobiliers (dividendes), uniquement en cas de choix d'imposition au barème de l'impôt sur le revenu.
2
2
  values:
3
3
  1978-01-01:
4
4
  value: null
@@ -7,7 +7,8 @@ values:
7
7
  2006-01-01:
8
8
  value: 0.4
9
9
  metadata:
10
- short_label: Taux de l'abattement
10
+ short_label: Taux de l'abattement (si choix d'imposition au barème)
11
+ last_value_still_valid_on: "2024-10-21"
11
12
  ipp_csv_id: tx_abt_rcm
12
13
  unit: /1
13
14
  reference:
@@ -15,9 +16,11 @@ metadata:
15
16
  title: Loi 80-30 du 18/01/1980 (LF pour 1980)
16
17
  href: https://www.legifrance.gouv.fr/affichTexte.do?cidTexte=JORFTEXT000000705191
17
18
  2006-01-01:
18
- title: Loi 2005-1719 du 30/12/2005 (LF pour 2006) - Art. 76
19
+ - title: Article 158, II-A, du Code général des impôts
20
+ href: https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000043662629
21
+ - title: Loi 2005-1719 du 30/12/2005 (LF pour 2006) - Art. 76
19
22
  href: https://www.legifrance.gouv.fr/affichTexte.do?cidTexte=JORFTEXT000000634802
20
23
  official_journal_date:
21
24
  1979-01-01: "1980-01-19"
22
25
  2006-01-01: "2005-12-31"
23
- documentation: "Taux de l'abattement sur dividendes : art. 158-3-2° du CGI (ancêtre de tx_abt_rcm)"
26
+ documentation: "Taux de l'abattement sur dividendes : art. 158-3-2° du CGI (ancêtre de tx_abt_rcm). Si le contribuable fait le choix d'une imposition au barème de ses dividendes, les revenus du capital pris en compte sont abattus de 40%. Cet abattement ne s'applique pas si l'imposition est au PFU."
@@ -0,0 +1,15 @@
1
+ description: Abattement sur le montant des ressources AAH pour le calcul de l'éligibilité à la CSS
2
+ values:
3
+ 2021-04-01:
4
+ value: 68
5
+ metadata:
6
+ short_label: Abattement
7
+ unit: currency
8
+ reference:
9
+ 2021-04-01:
10
+ title: 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
11
+ href: https://sante.gouv.fr/fichiers/bo/2021/2021.6.sante.pdf#page=75
12
+ notes:
13
+ 2024-01-01:
14
+ title: Précisions sur la formule - 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
15
+ href: https://sante.gouv.fr/fichiers/bo/2023/2023.24.sante.pdf#page=82
@@ -0,0 +1,11 @@
1
+ description: Abattement sur le montant des ressources ASI pour le calcul de l'éligibilité à la CSS pour un couple dont les deux personnes beneficient de l'aide
2
+ values:
3
+ 2021-04-01:
4
+ value: 86
5
+ metadata:
6
+ short_label: Abattement
7
+ unit: currency
8
+ reference:
9
+ 2021-04-01:
10
+ title: 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
11
+ href: https://sante.gouv.fr/fichiers/bo/2021/2021.6.sante.pdf#page=75
@@ -0,0 +1,11 @@
1
+ description: Abattement sur le montant des ressources ASI pour le calcul de l'éligibilité à la CSS
2
+ values:
3
+ 2021-04-01:
4
+ value: 49
5
+ metadata:
6
+ short_label: Abattement
7
+ unit: currency
8
+ reference:
9
+ 2021-04-01:
10
+ title: 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
11
+ href: https://sante.gouv.fr/fichiers/bo/2021/2021.6.sante.pdf#page=75
@@ -0,0 +1,11 @@
1
+ description: Abattement sur le montant des ressources ASPA/ASV pour le calcul de l'éligibilité à la CSS pour un couple
2
+ values:
3
+ 2021-04-01:
4
+ value: 110
5
+ metadata:
6
+ short_label: Abattement
7
+ unit: currency
8
+ reference:
9
+ 2021-04-01:
10
+ title: 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
11
+ href: https://sante.gouv.fr/fichiers/bo/2021/2021.6.sante.pdf#page=75
@@ -0,0 +1,11 @@
1
+ description: Abattement sur le montant des ressources ASPA/ASV pour le calcul de l'éligibilité à la CSS pour une personne seule
2
+ values:
3
+ 2021-04-01:
4
+ value: 71
5
+ metadata:
6
+ short_label: Abattement
7
+ unit: currency
8
+ reference:
9
+ 2021-04-01:
10
+ title: 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
11
+ href: https://sante.gouv.fr/fichiers/bo/2021/2021.6.sante.pdf#page=75
@@ -0,0 +1 @@
1
+ description: Abattements sur le montant de certaines ressources pour le calcul de l'éligibilité à la CSS