Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
clallemand committed Jun 19, 2024
1 parent f8285b3 commit c8a0fd4
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions openfisca_france/model/revenus/activite/salarie.py
Original file line number Diff line number Diff line change
Expand Up @@ -1581,7 +1581,7 @@ class cotisations_contributions_employeur(Variable):

def formula_2024_01_01(individu, period, parameters):
cotisations_employeur_apres_reduction_generale_secteur_prive = individu('cotisations_employeur_apres_reduction_generale_secteur_prive', period)
autres_cotisations_contributions = individu('autres_cotisations_contributions', period)
cotisations_employeur_autres_secteur_prive = individu('cotisations_employeur_autres_secteur_prive', period)
exonerations = individu('exonerations', period)
cotisations_employeur_secteur_public = individu('cotisations_employeur_secteur_public', period)

Expand All @@ -1599,7 +1599,7 @@ def formula_2024_01_01(individu, period, parameters):
+ (categorie_salarie == TypesCategorieSalarie.public_non_titulaire)
)

return prive * (cotisations_employeur_apres_reduction_generale_secteur_prive + autres_cotisations_contributions - exonerations) + public * cotisations_employeur_secteur_public
return prive * (cotisations_employeur_apres_reduction_generale_secteur_prive + cotisations_employeur_autres_secteur_prive - exonerations) + public * cotisations_employeur_secteur_public


class cotisations_employeur_apres_reduction_generale_secteur_prive(Variable):
Expand Down Expand Up @@ -1641,7 +1641,7 @@ def formula_2024_01_01(individu, period, parameters):
)


class autres_cotisations_contributions(Variable):
class cotisations_employeur_autres_secteur_prive(Variable):
value_type = float
entity = Individu
label = "Cotisations et contributions du secteur privé non soumises à l'allègement général"
Expand Down Expand Up @@ -1692,6 +1692,18 @@ def formula_2024_01_01(individu, period, parameters):
famille_net_allegement = individu('famille_net_allegement', period)
mmid_employeur_net_allegement = individu('mmid_employeur_net_allegement', period)

return (
fonds_emploi_hospitalier
+ ircantec_employeur
+ pension_employeur
+ rafp_employeur
+ ati_atiacl
+ fnal
+ contribution_solidarite_autonomie
+ famille_net_allegement
+ mmid_employeur_net_allegement
)


class vieillesse_salarie(Variable):
value_type = float
Expand Down

0 comments on commit c8a0fd4

Please sign in to comment.