Skip to content

Commit

Permalink
corrige le signe de pfu et pfl
Browse files Browse the repository at this point in the history
  • Loading branch information
b-michaud committed Dec 18, 2024
1 parent 36f18a9 commit 6b4293d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2311,8 +2311,8 @@ def formula(foyer_fiscal, period, parameters):
credits_impot = foyer_fiscal('credits_impot', period)
acomptes_ir = foyer_fiscal('acomptes_ir', period)
cehr = foyer_fiscal('contribution_exceptionnelle_hauts_revenus', period)
pfu = - foyer_fiscal('prelevement_forfaitaire_unique_ir', period)
pfl = - foyer_fiscal('prelevement_forfaitaire_liberatoire', period)
pfu = foyer_fiscal('prelevement_forfaitaire_unique_ir', period)
pfl = foyer_fiscal('prelevement_forfaitaire_liberatoire', period)
'''
Le prélèvement forfaitaire libératoire a déjà été payé il ne doit donc pas être compté dans l'impôt restant à payer.
En revanche, il compte dans le calcul du seuil de recouvrement.
Expand All @@ -2322,8 +2322,8 @@ def formula(foyer_fiscal, period, parameters):
seuil_avant_imputations = parameters_recouvrement.min_avant_credits_impots
seuil_apres_imputations = parameters_recouvrement.min_apres_credits_impots

impots_totaux_avant_imputations = iai + cehr + pfu + pfl
impots_totaux_apres_imputations = iai + cehr + pfu + pfl - credits_impot - acomptes_ir
impots_totaux_avant_imputations = iai + cehr - pfu - pfl
impots_totaux_apres_imputations = iai + cehr - pfu - pfl - credits_impot - acomptes_ir

condition_1 = (impots_totaux_avant_imputations > seuil_avant_imputations) * ((impots_totaux_apres_imputations > 0) * (impots_totaux_apres_imputations < seuil_apres_imputations))

Expand Down

0 comments on commit 6b4293d

Please sign in to comment.