Formule de calcul
Crédits d’impôt pour dépenses d’équipement de l’habitation principale en faveur de l’aide aux personnes
Source : source (consulté le lundi 1 janvier 1)
Ce dispositif est peut-être obsolète !
La dernière date de relecture du dispositif est lundi 1 janvier 2018.
Formule de calcul OpenFisca à compter du 2018-01-01 :
def formula_2018_01_01(foyer_fiscal, period, parameters): maries_ou_pacses = foyer_fiscal('maries_ou_pacses', period) nb_pac_majoration_plafond = foyer_fiscal('nb_pac2', period) f7wi = foyer_fiscal('f7wi', period) f7wj = foyer_fiscal('f7wj', period) f7wl = foyer_fiscal('f7wl', period) f7wr = foyer_fiscal('f7wr', period) P_aide_pers = parameters(period).impot_revenu.credits_impots.equ_hab_princ_aide_personnes P_plaf_commun = P_aide_pers.plafond.plafond_commun # Les plafonds sont appliqués par contribuable et habitation. Ici, on suppose que 7wl, 7wj et 7wi d'une part et 7wr d'autre part sont associés à deux habitations distinctes : 7wl, 7wj et 7wi sont associées à l'habitation principale tandis que 7wr est associée aux logements donnés à la location. max_hors_risques_techno = P_plaf_commun.celib * (maries_ou_pacses == 0) + P_plaf_commun.couple * (maries_ou_pacses == 1) + P_plaf_commun.maj_pac * nb_pac_majoration_plafond return ( P_aide_pers.taux.taux_equ_pers_agees_hand * min_(f7wi + f7wj, max_hors_risques_techno) + P_aide_pers.taux.taux_risques_techno * min_(f7wl, P_aide_pers.plafond.plafond_risque_techno_apres_2015) + P_aide_pers.taux.taux_risques_techno * min_(f7wr, P_aide_pers.plafond.plafond_risque_techno_apres_2015) )
Formule OpenFisca sur GithubVariables et paramètres inscrits dans la formule :
Paramètres :
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.plafond.plafond_commun.celib
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.plafond.plafond_commun.couple
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.plafond.plafond_commun.maj_pac
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.plafond.plafond_risque_techno_apres_2015
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.taux.taux_equ_pers_agees_hand
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.taux.taux_risques_techno
Variables utilisées par le cas type :
Formule de calcul OpenFisca à compter du 2015-01-01 :
def formula_2015_01_01(foyer_fiscal, period, parameters): maries_ou_pacses = foyer_fiscal('maries_ou_pacses', period) nb_pac_majoration_plafond = foyer_fiscal('nb_pac2', period) f7wj = foyer_fiscal('f7wj', period) f7wl = foyer_fiscal('f7wl', period) f7wr = foyer_fiscal('f7wr', period) P_aide_pers = parameters(period).impot_revenu.credits_impots.equ_hab_princ_aide_personnes P_plaf_commun = P_aide_pers.plafond.plafond_commun # Les plafonds sont appliqués par contribuable et habitation. Ici, on suppose que 7wl, 7wj et 7wi d'une part et 7wr d'autre part sont associés à deux habitations distinctes : 7wl, 7wj et 7wi sont associées à l'habitation principale tandis que 7wr est associée aux logements donnés à la location. max_hors_risques_techno = P_plaf_commun.celib * (maries_ou_pacses == 0) + P_plaf_commun.couple * (maries_ou_pacses == 1) + P_plaf_commun.maj_pac * nb_pac_majoration_plafond return ( P_aide_pers.taux.taux_equ_pers_agees_hand * min_(f7wj, max_hors_risques_techno) + P_aide_pers.taux.taux_risques_techno * min_(f7wl, P_aide_pers.plafond.plafond_risque_techno_apres_2015) + P_aide_pers.taux.taux_risques_techno * min_(f7wr, P_aide_pers.plafond.plafond_risque_techno_apres_2015) )
Formule OpenFisca sur GithubVariables et paramètres inscrits dans la formule :
Paramètres :
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.plafond.plafond_commun.celib
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.plafond.plafond_commun.couple
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.plafond.plafond_commun.maj_pac
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.plafond.plafond_risque_techno_apres_2015
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.taux.taux_equ_pers_agees_hand
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.taux.taux_risques_techno
Variables utilisées par le cas type :
Formule de calcul OpenFisca à compter du 2013-01-01 :
def formula_2013_01_01(foyer_fiscal, period, parameters): maries_ou_pacses = foyer_fiscal('maries_ou_pacses', period) nb_pac_majoration_plafond = foyer_fiscal('nb_pac2', period) f7wj = foyer_fiscal('f7wj', period) f7wl = foyer_fiscal('f7wl', period) f7wr = foyer_fiscal('f7wr', period) P_aide_pers = parameters(period).impot_revenu.credits_impots.equ_hab_princ_aide_personnes P_plaf_commun = P_aide_pers.plafond.plafond_commun P_plaf_maj = P_aide_pers.plafond.maj_plaf_risques_techno_avant_2015 # Les plafonds sont appliqués par contribuable et habitation. Ici, on suppose que 7wl, 7wj et 7wi d'une part et 7wr d'autre part sont associés à deux habitations distinctes : 7wl, 7wj et 7wi sont associées à l'habitation principale tandis que 7wr est associée aux logements donnés à la location. max0 = P_plaf_commun.celib * (maries_ou_pacses == 0) + P_plaf_commun.couple * (maries_ou_pacses == 1) + P_plaf_commun.maj_pac * nb_pac_majoration_plafond max1 = max_(0, max0 - f7wj) max_maj = P_plaf_maj.celib * (maries_ou_pacses == 0) + P_plaf_maj.couple * (maries_ou_pacses == 1) return ( P_aide_pers.taux.taux_equ_pers_agees_hand * min_(f7wj, max0) + P_aide_pers.taux.taux_risques_techno * (min_(f7wl, max1) + min_(max_(0, f7wl - max1), max_maj)) + P_aide_pers.taux.taux_risques_techno * min_(f7wr, max0 + max_maj) )
Formule OpenFisca sur GithubVariables et paramètres inscrits dans la formule :
Paramètres :
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.plafond.maj_plaf_risques_techno_avant_2015.celib
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.plafond.maj_plaf_risques_techno_avant_2015.couple
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.plafond.plafond_commun.celib
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.plafond.plafond_commun.couple
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.plafond.plafond_commun.maj_pac
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.taux.taux_equ_pers_agees_hand
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.taux.taux_risques_techno
Variables utilisées par le cas type :
Formule de calcul OpenFisca à compter du 2012-01-01 :
def formula_2012_01_01(foyer_fiscal, period, parameters): maries_ou_pacses = foyer_fiscal('maries_ou_pacses', period) nb_pac_majoration_plafond = foyer_fiscal('nb_pac2', period) f7wi_2012 = foyer_fiscal('f7wi_2012', period) f7wj = foyer_fiscal('f7wj', period) f7wl = foyer_fiscal('f7wl', period) f7wr = foyer_fiscal('f7wr', period) P_aide_pers = parameters(period).impot_revenu.credits_impots.equ_hab_princ_aide_personnes P_plaf_commun = P_aide_pers.plafond.plafond_commun P_plaf_maj = P_aide_pers.plafond.maj_plaf_risques_techno_avant_2015 # Les plafonds sont appliqués par contribuable et habitation. Ici, on suppose que 7wl, 7wj et 7wi d'une part et 7wr d'autre part sont associés à deux habitations distinctes : 7wl, 7wj et 7wi sont associées à l'habitation principale tandis que 7wr est associée aux logements donnés à la location. max0 = P_plaf_commun.celib * (maries_ou_pacses == 0) + P_plaf_commun.couple * (maries_ou_pacses == 1) + P_plaf_commun.maj_pac * nb_pac_majoration_plafond max1 = max_(0, max0 - f7wj) max2 = max_(0, max1 - f7wi_2012) max_maj = P_plaf_maj.celib * (maries_ou_pacses == 0) + P_plaf_maj.couple * (maries_ou_pacses == 1) return ( P_aide_pers.taux.taux_equ_pers_agees_hand * min_(f7wj, max0) + P_aide_pers.taux.taux_ascenseurs * min_(f7wi_2012, max1) + P_aide_pers.taux.taux_risques_techno * (min_(f7wl, max2) + min_(max_(0, f7wl - max2), max_maj)) + P_aide_pers.taux.taux_risques_techno * min_(f7wr, max0 + max_maj) )
Formule OpenFisca sur GithubVariables et paramètres inscrits dans la formule :
Paramètres :
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.plafond.maj_plaf_risques_techno_avant_2015.celib
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.plafond.maj_plaf_risques_techno_avant_2015.couple
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.plafond.plafond_commun.celib
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.plafond.plafond_commun.couple
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.plafond.plafond_commun.maj_pac
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.taux.taux_ascenseurs
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.taux.taux_equ_pers_agees_hand
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.taux.taux_risques_techno
Variables utilisées par le cas type :
Formule de calcul OpenFisca à compter du 2010-01-01 :
def formula_2010_01_01(foyer_fiscal, period, parameters): maries_ou_pacses = foyer_fiscal('maries_ou_pacses', period) nb_pac_majoration_plafond = foyer_fiscal('nb_pac2', period) f7wi_2012 = foyer_fiscal('f7wi_2012', period) f7wj = foyer_fiscal('f7wj', period) f7wl = foyer_fiscal('f7wl', period) f7sf_2011 = foyer_fiscal('f7sf_2011', period) P_aide_pers = parameters(period).impot_revenu.credits_impots.equ_hab_princ_aide_personnes P_plaf = P_aide_pers.plafond.plafond_commun # Les plafonds sont appliqués par contribuable et habitation. Ici, on suppose que 7wl, 7wj et 7wi d'une part et 7sf d'autre part sont associés à deux habitations distinctes : 7wl, 7wj et 7wi sont associées à l'habitation principale tandis que 7sf est associée aux logements donnés à la location. max0 = P_plaf.celib * (maries_ou_pacses == 0) + P_plaf.couple * (maries_ou_pacses == 1) + P_plaf.maj_pac * nb_pac_majoration_plafond max1 = max_(0, max0 - f7wl) max2 = max_(0, max1 - f7wj) return ( P_aide_pers.taux.taux_risques_techno * min_(f7wl, max0) + P_aide_pers.taux.taux_equ_pers_agees_hand * min_(f7wj, max1) + P_aide_pers.taux.taux_ascenseurs * min_(f7wi_2012, max2) + P_aide_pers.taux.taux_risques_techno * min_(f7sf_2011, max0) )
Formule OpenFisca sur GithubVariables et paramètres inscrits dans la formule :
Paramètres :
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.plafond.plafond_commun.celib
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.plafond.plafond_commun.couple
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.plafond.plafond_commun.maj_pac
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.taux.taux_ascenseurs
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.taux.taux_equ_pers_agees_hand
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.taux.taux_risques_techno
Variables utilisées par le cas type :
Formule de calcul OpenFisca à compter du 2006-01-01 :
def formula_2006_01_01(foyer_fiscal, period, parameters): maries_ou_pacses = foyer_fiscal('maries_ou_pacses', period) nb_pac_majoration_plafond = foyer_fiscal('nb_pac2', period) f7wi_2009 = foyer_fiscal('f7wi_2009', period) f7wj = foyer_fiscal('f7wj', period) P_aide_pers = parameters(period).impot_revenu.credits_impots.equ_hab_princ_aide_personnes P_plaf = P_aide_pers.plafond.plafond_commun max0 = P_plaf.celib * (maries_ou_pacses == 0) + P_plaf.couple * (maries_ou_pacses == 1) + P_plaf.maj_pac * nb_pac_majoration_plafond max1 = max_(0, max0 - f7wj) return ( P_aide_pers.taux.taux_equ_pers_agees_hand * min_(f7wj, max0) + P_aide_pers.taux.taux_risques_techno_ascenseurs * min_(f7wi_2009, max1) )
Formule OpenFisca sur GithubVariables et paramètres inscrits dans la formule :
Paramètres :
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.plafond.plafond_commun.celib
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.plafond.plafond_commun.couple
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.plafond.plafond_commun.maj_pac
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.taux.taux_equ_pers_agees_hand
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.taux.taux_risques_techno_ascenseurs
Variables utilisées par le cas type :
Formule de calcul OpenFisca à compter du 2005-01-01 :
def formula_2005_01_01(foyer_fiscal, period, parameters): maries_ou_pacses = foyer_fiscal('maries_ou_pacses', period) nb_pac_majoration_plafond = foyer_fiscal('nb_pac2', period) nbH = foyer_fiscal('nbH', period) f7wi_2009 = foyer_fiscal('f7wi_2009', period) f7wj = foyer_fiscal('f7wj', period) P_aide_pers = parameters(period).impot_revenu.credits_impots.equ_hab_princ_aide_personnes P_plaf = P_aide_pers.plafond.plafond_commun nb_pac_non_alternes = nb_pac_majoration_plafond - nbH / 2 # S'il y a des PAC en résidence alternée, ils sont décomptés en premier max0 = ( P_plaf.celib * (maries_ou_pacses == 0) + P_plaf.couple * (maries_ou_pacses == 1) + ( P_plaf.maj_pac1 * (nbH >= 1) + P_plaf.maj_pac2 * (nbH >= 2) + P_plaf.maj_pac3 * max_(nbH - 2, 0) ) / 2 + (nbH >= 2) * P_plaf.maj_pac3 * nb_pac_non_alternes + (nbH == 1) * (P_plaf.maj_pac2 * (nb_pac_non_alternes >= 1) + P_plaf.maj_pac3 * max_(nb_pac_non_alternes - 1, 0)) + (nbH == 0) * (P_plaf.maj_pac1 + (nb_pac_non_alternes >= 1) + P_plaf.maj_pac2 * (nb_pac_non_alternes >= 2) + P_plaf.maj_pac3 * max_(nb_pac_non_alternes - 2, 0)) ) max1 = max_(0, max0 - f7wj) return ( P_aide_pers.taux.taux_equ_pers_agees_hand * min_(f7wj, max0) + P_aide_pers.taux.taux_risques_techno_ascenseurs * min_(f7wi_2009, max1) )
Formule OpenFisca sur GithubVariables et paramètres inscrits dans la formule :
Paramètres :
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.plafond.plafond_commun.celib
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.plafond.plafond_commun.couple
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.plafond.plafond_commun.maj_pac1
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.plafond.plafond_commun.maj_pac2
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.plafond.plafond_commun.maj_pac3
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.taux.taux_equ_pers_agees_hand
- impot_revenu.credits_impots.equ_hab_princ_aide_personnes.taux.taux_risques_techno_ascenseurs
Variables utilisées par le cas type :
Variables et dispositifs influencés par la formule :
La formule du dispositif "Crédits d’impôt pour dépenses d’équipement de l’habitation principale en faveur de l’aide aux personnes" peut avoir une influence sur d'autres dispositifs et variables :