Skip to content

Commit

Permalink
change la variable d'impot sur le revenu dans la décomposition
Browse files Browse the repository at this point in the history
  • Loading branch information
clallemand committed Jan 9, 2025
1 parent 5fbcae1 commit 75b5b87
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
7 changes: 3 additions & 4 deletions openfisca_france/model/mesures.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ def formula_2024_01_01(menage, period, parameters):

return (
revenus_nets_apres_impot_menage
+ impots_directs
+ prestations_sociales
)

Expand All @@ -111,13 +110,13 @@ class revenus_nets_apres_impot_menage(Variable):

def formula_2024_01_01(menage, period):
revenus_nets_menage = menage('revenus_nets_menage', period, options = [ADD])
irpp_economique_i = menage.members.foyer_fiscal('irpp_economique', period)
irpp_economique = menage.sum(irpp_economique_i, role = FoyerFiscal.DECLARANT_PRINCIPAL)
impot_revenu_restant_a_payer_i = menage.members.foyer_fiscal('impot_revenu_restant_a_payer', period)
impot_revenu_restant_a_payer = menage.sum(impot_revenu_restant_a_payer, role = FoyerFiscal.DECLARANT_PRINCIPAL)

isf_ifi_i = menage.members.foyer_fiscal('isf_ifi', period)
isf_ifi = menage.sum(isf_ifi_i, role = FoyerFiscal.DECLARANT_PRINCIPAL)

return revenus_nets_menage + irpp_economique + isf_ifi
return revenus_nets_menage + impot_revenu_restant_a_payer_i + isf_ifi


class revenus_nets_menage(Variable):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2366,11 +2366,20 @@ def formula(foyer_fiscal, period, parameters):
ir_pv_immo = foyer_fiscal('ir_pv_immo', period)
prelevement_liberatoire_autoentrepreneur = foyer_fiscal('microsocial', period)
taxation_plus_values_hors_bareme = foyer_fiscal('taxation_plus_values_hors_bareme', period)
prelevement_forfaitaire_liberatoire = foyer_fiscal('prelevement_forfaitaire_liberatoire', period)
cont_rev_loc = foyer_fiscal('cont_rev_loc', period)
tax_rvcm_forfaitaire = foyer_fiscal('tax_rvcm_forfaitaire', period)
indemnite_compensatrice_agents_assurance = foyer_fiscal('indemnite_compensatrice_agents_assurance', period)

return ir_pv_immo + prelevement_liberatoire_autoentrepreneur + taxation_plus_values_hors_bareme + cont_rev_loc + tax_rvcm_forfaitaire + indemnite_compensatrice_agents_assurance
return (
ir_pv_immo
+ prelevement_liberatoire_autoentrepreneur
+ taxation_plus_values_hors_bareme
+ prelevement_forfaitaire_liberatoire
+ cont_rev_loc
+ tax_rvcm_forfaitaire
+ indemnite_compensatrice_agents_assurance
)


class impot_revenu_restant_a_payer(Variable):
Expand Down

0 comments on commit 75b5b87

Please sign in to comment.