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

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: OpenFisca-France
3
- Version: 169.3.1
3
+ Version: 169.3.3
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
@@ -68,7 +68,7 @@ openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/cotisation
68
68
  openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/cotisations_sociales/stage.py,sha256=9AHP_zThKouQcwQw-cZMFCSYV56crYxunGCjUlv1gRA,7272
69
69
  openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/cotisations_sociales/travail_fonction_publique.py,sha256=2wwzivFc2nPGopMOkix6Zl9n-0WLME6h0_dt0qRgqAA,16382
70
70
  openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/cotisations_sociales/travail_non_salarie.py,sha256=Qmvr-UruYGlj3Ay8WDT49uXUbwSanSVpeXCn7PpE4PU,24851
71
- openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/cotisations_sociales/travail_prive.py,sha256=Nc-M5kqqFi_1YpxvkvYQHG65-3Iddu_I8wHvD51gkso,44647
71
+ openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/cotisations_sociales/travail_prive.py,sha256=9E6ntEMPMN4IjPRnU7Ocho4xW5Fe0GOdnvj4Hw3TBmg,47131
72
72
  openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/cotisations_sociales/travail_totaux.py,sha256=vHJWfH0s0BYqbup9pcZisAI3cKGXlmBTdLYzWJOxgNA,9967
73
73
  openfisca_france/model/prelevements_obligatoires/taxe_habitation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
74
74
  openfisca_france/model/prelevements_obligatoires/taxe_habitation/taxe_habitation.py,sha256=-VDWVv6weZqQhPov1SA35Xl8w09AHV9ZXYPBdKimk_U,29326
@@ -4021,8 +4021,8 @@ openfisca_france/scripts/performance/measure_spiral_performances.py,sha256=cQIxE
4021
4021
  openfisca_france/scripts/performance/measure_tests_performance.py,sha256=HYgSJy-OMZay2AZt6ztntgdUbW_RL2xMr-iHcK-zoVY,1869
4022
4022
  openfisca_france/situation_examples/__init__.py,sha256=BTRmrqk9lsjfhtPXsYcsWqXFEYyFpgLcxNs6oJsy8zk,262
4023
4023
  openfisca_france/situation_examples/couple.json,sha256=Ot1x4wl3IS-2-10X3V7ZUokkOMXi96s-xK7A0gNvRF4,862
4024
- OpenFisca_France-169.3.1.dist-info/LICENSE.AGPL.txt,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
4025
- OpenFisca_France-169.3.1.dist-info/METADATA,sha256=6Wrwp9XLqKYHGp9-8dJGuQHBtlMNly_bXB13oeXeDR4,20862
4026
- OpenFisca_France-169.3.1.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
4027
- OpenFisca_France-169.3.1.dist-info/top_level.txt,sha256=1LbD6QJWehKGIcjtaJ45tbQOSDiFEXOlIdgWRI_jaHU,17
4028
- OpenFisca_France-169.3.1.dist-info/RECORD,,
4024
+ OpenFisca_France-169.3.3.dist-info/LICENSE.AGPL.txt,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
4025
+ OpenFisca_France-169.3.3.dist-info/METADATA,sha256=7eA-8gv0v5lyUfJvqBvH5osItdNV5mPtnY2lx0TpxoA,20862
4026
+ OpenFisca_France-169.3.3.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
4027
+ OpenFisca_France-169.3.3.dist-info/top_level.txt,sha256=1LbD6QJWehKGIcjtaJ45tbQOSDiFEXOlIdgWRI_jaHU,17
4028
+ OpenFisca_France-169.3.3.dist-info/RECORD,,
@@ -925,6 +925,34 @@ class plafond_securite_sociale(Variable):
925
925
  nombre_jours_calendaires = individu('nombre_jours_calendaires', period)
926
926
  plafond = plafond * (min_(nombre_jours_calendaires, 30) / 30)
927
927
 
928
+ # "Ce rapport ne peut pas conduire à un résultat supérieur à la valeur mensuelle du plafond de sécurité sociale."
929
+ # Source : https://boss.gouv.fr/portail/accueil/regles-dassujettissement/assiette-generale.html#titre-chapitre-6---le-plafond-de-la-se-section-2---determination-de-las-a-principe-de-lajustement-a-due-2-salaries-a-temps-partiel
930
+ # §810
931
+ plafond = min_(plafond, plafond_temps_plein)
932
+
933
+ return plafond
934
+
935
+ def formula_2023_09(individu, period, parameters):
936
+ plafond_temps_plein = parameters(period).prelevements_sociaux.pss.plafond_securite_sociale_mensuel
937
+ quotite = individu('quotite_de_travail', period)
938
+ renonciation_ajustement_pss_temps_partiel = individu('renonciation_ajustement_pss_temps_partiel', period)
939
+
940
+ plafond = plafond_temps_plein * renonciation_ajustement_pss_temps_partiel + plafond_temps_plein * quotite * not_(renonciation_ajustement_pss_temps_partiel)
941
+
942
+ # 2) Proratisation pour mois incomplet selon la méthode des 30èmes
943
+
944
+ # Pour les salariés entrés ou sortis en cours de mois,
945
+ # le plafond applicable est égal à autant de trentièmes du plafond mensuel
946
+ # que le salarié a été présent de jours calendaires. Source urssaf.fr "L’assiette maximale"
947
+ # calcul du nombre de jours calendaires de présence du salarié
948
+ nombre_jours_calendaires = individu('nombre_jours_calendaires', period)
949
+ plafond = plafond * (min_(nombre_jours_calendaires, 30) / 30)
950
+
951
+ # "Ce rapport ne peut pas conduire à un résultat supérieur à la valeur mensuelle du plafond de sécurité sociale."
952
+ # Source : https://boss.gouv.fr/portail/accueil/regles-dassujettissement/assiette-generale.html#titre-chapitre-6---le-plafond-de-la-se-section-2---determination-de-las-a-principe-de-lajustement-a-due-2-salaries-a-temps-partiel
953
+ # §810
954
+ plafond = min_(plafond, plafond_temps_plein)
955
+
928
956
  return plafond
929
957
 
930
958
 
@@ -1207,3 +1235,13 @@ class secteur_activite_employeur(Variable):
1207
1235
  definition_period = MONTH
1208
1236
  reference = 'https://www.service-public.fr/professionnels-entreprises/vosdroits/N24269'
1209
1237
  set_input = set_input_dispatch_by_period
1238
+
1239
+
1240
+ class renonciation_ajustement_pss_temps_partiel(Variable):
1241
+ value_type = bool
1242
+ default_value = False
1243
+ entity = Individu
1244
+ label = "Renonciation à la proratisation du PSS dans le cas d'un contrat à temps partiel"
1245
+ definition_period = MONTH
1246
+ reference = 'https://boss.gouv.fr/portail/accueil/regles-dassujettissement/assiette-generale.html#titre-chapitre-6---le-plafond-de-la-se-section-2---determination-de-las-a-principe-de-lajustement-a-due-2-salaries-a-temps-partiel'
1247
+ set_input = set_input_dispatch_by_period