From 75b5b87877a82cf49a11f1d4a9750182e9954ead Mon Sep 17 00:00:00 2001 From: clallemand <=> Date: Thu, 9 Jan 2025 11:28:13 +0100 Subject: [PATCH] =?UTF-8?q?change=20la=20variable=20d'impot=20sur=20le=20r?= =?UTF-8?q?evenu=20dans=20la=20d=C3=A9composition?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- openfisca_france/model/mesures.py | 7 +++---- .../prelevements_obligatoires/impot_revenu/ir.py | 11 ++++++++++- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/openfisca_france/model/mesures.py b/openfisca_france/model/mesures.py index 0a3d68c7dd..ae6d3ea93f 100644 --- a/openfisca_france/model/mesures.py +++ b/openfisca_france/model/mesures.py @@ -86,7 +86,6 @@ def formula_2024_01_01(menage, period, parameters): return ( revenus_nets_apres_impot_menage - + impots_directs + prestations_sociales ) @@ -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): diff --git a/openfisca_france/model/prelevements_obligatoires/impot_revenu/ir.py b/openfisca_france/model/prelevements_obligatoires/impot_revenu/ir.py index 91deedfc1e..2e79009808 100644 --- a/openfisca_france/model/prelevements_obligatoires/impot_revenu/ir.py +++ b/openfisca_france/model/prelevements_obligatoires/impot_revenu/ir.py @@ -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):