OpenFisca-France 169.4.0__py3-none-any.whl → 169.6.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of OpenFisca-France might be problematic. Click here for more details.
- {OpenFisca_France-169.4.0.dist-info → OpenFisca_France-169.6.0.dist-info}/METADATA +1 -1
- {OpenFisca_France-169.4.0.dist-info → OpenFisca_France-169.6.0.dist-info}/RECORD +181 -176
- {OpenFisca_France-169.4.0.dist-info → OpenFisca_France-169.6.0.dist-info}/WHEEL +1 -1
- openfisca_france/model/prelevements_obligatoires/impot_revenu/credits_impot.py +8 -7
- openfisca_france/model/prelevements_obligatoires/impot_revenu/ir.py +61 -60
- openfisca_france/model/prelevements_obligatoires/impot_revenu/reductions_impot_deplafonnees.py +27 -28
- openfisca_france/model/prelevements_obligatoires/impot_revenu/reductions_impot_plafonnees.py +2 -2
- openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/contributions_sociales/activite.py +3 -3
- openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/cotisations_sociales/travail_prive.py +3 -3
- openfisca_france/model/prestations/minima_sociaux/aah.py +30 -30
- openfisca_france/model/revenus/activite/salarie.py +5 -5
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/decote/seuil_celib.yaml +4 -2
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/decote/seuil_couple.yaml +4 -2
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/index.yaml +2 -3
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/plafond_avantages_procures_par_demi_part/celib.yaml +4 -2
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/plafond_avantages_procures_par_demi_part/celib_enf.yaml +3 -1
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/plafond_avantages_procures_par_demi_part/general.yaml +4 -2
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/plafond_avantages_procures_par_demi_part/index.yaml +1 -1
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/plafond_avantages_procures_par_demi_part/reduc_postplafond.yaml +4 -2
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/plafond_avantages_procures_par_demi_part/reduc_postplafond_veuf.yaml +4 -2
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/couple_ou_pers_a_charge/index.yaml +2 -2
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/couple_ou_pers_a_charge/not6.yaml +1 -1
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/sans_pers_a_charge/index.yaml +1 -1
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/sans_pers_a_charge/not31b.yaml +1 -1
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/plaf_qf/quotient_familial/sans_pers_a_charge/not32.yaml +1 -1
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/actions_gratuites/index.yaml +9 -2
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/actions_gratuites/taux2.yaml +3 -2
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/actions_gratuites/taux3.yaml +4 -3
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/actions_gratuites/taux4.yaml +3 -2
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/bspce/index.yaml +7 -4
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/bspce/taux_moins_3_ans.yaml +17 -0
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/bspce/taux_plus_3_ans_pre_2018.yaml +23 -0
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/etnc/index.yaml +3 -0
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/etnc/taux.yaml +12 -0
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/index.yaml +4 -0
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/pea/index.yaml +3 -2
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/pea/taux_avant_2_ans.yaml +2 -1
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/pea/taux_posterieur.yaml +2 -1
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/pvce/index.yml +3 -0
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/{plus_values/pvce.yaml → pvce/taux.yaml} +6 -3
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/report_impot_expire/index.yml +7 -0
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/report_impot_expire/taux_cas_general.yaml +11 -0
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/report_impot_expire/taux_conditionnel.yaml +11 -0
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/recouvrement/index.yaml +4 -4
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/recouvrement/{min.yaml → min_apres_credits_impots.yaml} +2 -2
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/recouvrement/{seuil.yaml → min_avant_credits_impots.yaml} +2 -2
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/accueil_dans_etablissement_personnes_agees/index.yaml +2 -2
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/accueil_dans_etablissement_personnes_agees/plafond.yaml +4 -2
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/accueil_dans_etablissement_personnes_agees/taux.yaml +4 -0
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/compte_epargne_co_developpement/index.yaml +2 -2
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/cotisations_syndicales/index.yaml +2 -1
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/divers/frais_de_comptabilite/index.yaml +2 -2
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/divers/frais_de_comptabilite/plafond.yaml +6 -2
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/divers/index.yaml +1 -1
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/divers/interets_emprunt_reprise_societe/index.yaml +1 -1
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/divers/interets_emprunt_reprise_societe/plafond.yaml +4 -0
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/divers/interets_emprunt_reprise_societe/taux.yaml +4 -0
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/divers/interets_paiements_differes_agriculteurs/index.yaml +2 -2
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/divers/interets_paiements_differes_agriculteurs/plafond.yaml +4 -0
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/divers/interets_paiements_differes_agriculteurs/taux.yaml +4 -0
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/divers/rehabilitation_residences_touristiques/index.yaml +1 -2
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/divers/rehabilitation_residences_touristiques/plafond.yaml +2 -0
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/divers/rehabilitation_residences_touristiques/taux.yaml +2 -0
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/divers/rente_survie/increment.yaml +7 -3
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/divers/rente_survie/index.yaml +1 -1
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/divers/rente_survie/plafond.yaml +5 -1
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/divers/rente_survie/taux.yaml +5 -1
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/divers/restauration_monuments_historiques/plafond.yaml +5 -0
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/divers/restauration_monuments_historiques/taux.yaml +4 -0
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/divers/restauration_patrimoine_bati/index.yaml +4 -4
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/divers/restauration_patrimoine_bati/taux_22.yaml +5 -1
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/divers/restauration_patrimoine_bati/taux_30.yaml +2 -1
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/dons/dons_aux_partis_politiques/index.yaml +2 -4
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/dons/dons_aux_partis_politiques/plafond_foyer.yaml +4 -4
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/dons/dons_aux_partis_politiques/plafond_seul.yaml +5 -2
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/dons/dons_coluche/index.yaml +2 -1
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/dons/dons_coluche/plafond.yaml +3 -3
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/dons/dons_coluche/taux.yaml +6 -3
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/dons/dons_cultuels/index.yaml +7 -0
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/dons/index.yaml +6 -5
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/dons/plafond_dons.yaml +28 -0
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/dons/{dons_aux_oeuvres/taux.yaml → taux_reduction.yaml} +6 -2
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/emploi_salarie_domicile/increment_plafond.yaml +10 -2
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/emploi_salarie_domicile/index.yaml +6 -5
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/emploi_salarie_domicile/plafond.yaml +8 -2
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/emploi_salarie_domicile/plafond_1ere_annee.yaml +11 -3
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/emploi_salarie_domicile/plafond_invalides.yaml +9 -2
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/emploi_salarie_domicile/plafond_maximum.yaml +10 -2
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/emploi_salarie_domicile/plafond_maximum_1ere_annee.yaml +22 -0
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/emploi_salarie_domicile/taux.yaml +10 -3
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/enfants_scolarises/college.yaml +5 -5
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/enfants_scolarises/index.yaml +2 -2
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/enfants_scolarises/lycee.yaml +5 -5
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/enfants_scolarises/universite.yaml +5 -5
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/investissement_forestier/defense_forets_contre_incendies/index.yaml +2 -2
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/investissement_forestier/defense_forets_contre_incendies/plafond.yaml +5 -3
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/investissement_forestier/defense_forets_contre_incendies/taux.yaml +4 -2
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/investissement_forestier/depenses_investissement_forestier/acquisition/index.yaml +2 -2
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/investissement_forestier/depenses_investissement_forestier/acquisition/plafond.yaml +2 -2
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/investissement_forestier/depenses_investissement_forestier/acquisition/taux.yaml +2 -2
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/investissement_forestier/depenses_investissement_forestier/assurance/index.yaml +1 -1
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/investissement_forestier/depenses_investissement_forestier/assurance/plafond.yaml +1 -1
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/investissement_forestier/depenses_investissement_forestier/assurance/taux.yaml +2 -1
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/investissement_forestier/depenses_investissement_forestier/index.yaml +3 -2
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/investissement_forestier/depenses_investissement_forestier/plafond_cga.yaml +12 -0
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/investissement_forestier/depenses_investissement_forestier/travaux/index.yaml +5 -1
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/investissement_forestier/depenses_investissement_forestier/travaux/plafond.yaml +1 -1
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/investissement_forestier/depenses_investissement_forestier/travaux/taux.yaml +7 -1
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/investissement_forestier/depenses_investissement_forestier/travaux/taux_adhesion_org_producteurs.yaml +3 -0
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/investissement_forestier/index.yaml +2 -1
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/investissements_immobiliers/dispositif_scellier/plafond.yaml +3 -1
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/investissements_immobiliers/duflot_pinel_denormandie/index.yaml +1 -1
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/investissements_immobiliers/duflot_pinel_denormandie/taux_prolongation/taux_prolong1_6ans.yaml +2 -2
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/investissements_immobiliers/duflot_pinel_denormandie/taux_prolongation/taux_prolong_9ans.yaml +2 -2
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/investissements_immobiliers/index.yaml +1 -1
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/investissements_immobiliers/invlst/seuil1.yaml +1 -0
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/location_meublee/index.yaml +2 -2
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/location_meublee/plafond.yaml +3 -1
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/location_meublee/taux11.yaml +3 -1
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/location_meublee/taux18.yaml +1 -1
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/outremer_investissement/doment/propre_entreprise/majoration.yaml +3 -1
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/outremer_investissement/doment/retrocession/index.yaml +5 -0
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/outremer_investissement/doment/retrocession/taux_retro_1.yaml +2 -1
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/outremer_investissement/doment/retrocession/taux_retro_2.yaml +3 -2
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/outremer_investissement/domsoc/retrocession_taux.yaml +3 -2
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/outremer_investissement/index.yaml +2 -2
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/outremer_investissement/plafond.yaml +3 -1
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/prestations_compensatoires/index.yaml +2 -2
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/prestations_compensatoires/plafond.yaml +6 -2
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/prestations_compensatoires/taux.yaml +6 -3
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/reduction_domtom/index.yaml +2 -2
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/reduction_impot_exceptionnelle/index.yaml +1 -1
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/souscriptions/index.yaml +2 -1
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/souscriptions/sofica/index.yaml +6 -6
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/souscriptions/sofica/plafond.yaml +5 -3
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/souscriptions/sofica/plafond_revenu_net_global.yaml +5 -3
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/souscriptions/sofica/taux_1.yaml +4 -2
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/souscriptions/sofica/taux_2.yaml +4 -2
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/souscriptions/sofica/taux_3.yaml +3 -1
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/abatpro/index.yaml +2 -2
- openfisca_france/parameters/impot_revenu/calcul_revenus_imposables/deductions/index.yaml +2 -2
- openfisca_france/parameters/impot_revenu/contributions_exceptionnelles/contribution_exceptionnelle_hauts_revenus.yaml +7 -3
- openfisca_france/parameters/impot_revenu/credits_impots/cotisations_syndicales/index.yaml +2 -1
- openfisca_france/parameters/impot_revenu/credits_impots/cotisations_syndicales/plafond.yaml +2 -2
- openfisca_france/parameters/impot_revenu/credits_impots/cotisations_syndicales/taux.yaml +2 -2
- openfisca_france/parameters/impot_revenu/credits_impots/emploi_salarie_domicile/increment_plafond.yaml +13 -0
- openfisca_france/parameters/impot_revenu/credits_impots/emploi_salarie_domicile/index.yaml +17 -0
- openfisca_france/parameters/impot_revenu/credits_impots/emploi_salarie_domicile/plafond.yaml +13 -0
- openfisca_france/parameters/impot_revenu/credits_impots/emploi_salarie_domicile/plafond_1ere_annee.yaml +15 -0
- openfisca_france/parameters/impot_revenu/credits_impots/emploi_salarie_domicile/plafond_invalides.yaml +16 -0
- openfisca_france/parameters/impot_revenu/credits_impots/emploi_salarie_domicile/plafond_maximum.yaml +14 -0
- openfisca_france/parameters/impot_revenu/credits_impots/emploi_salarie_domicile/plafond_maximum_1ere_annee.yaml +15 -0
- openfisca_france/parameters/impot_revenu/credits_impots/emploi_salarie_domicile/taux.yaml +13 -0
- openfisca_france/parameters/impot_revenu/credits_impots/equ_hab_princ_aide_personnes/plafond/index.yaml +2 -2
- openfisca_france/parameters/impot_revenu/credits_impots/equ_hab_princ_aide_personnes/plafond/plafond_commun/celib.yaml +3 -1
- openfisca_france/parameters/impot_revenu/credits_impots/equ_hab_princ_aide_personnes/plafond/plafond_commun/couple.yaml +3 -1
- openfisca_france/parameters/impot_revenu/credits_impots/equ_hab_princ_aide_personnes/plafond/plafond_commun/index.yaml +1 -1
- openfisca_france/parameters/impot_revenu/credits_impots/equ_hab_princ_aide_personnes/plafond/plafond_commun/maj_pac.yaml +3 -1
- openfisca_france/parameters/impot_revenu/credits_impots/equ_hab_princ_aide_personnes/plafond/plafond_risque_techno_apres_2015.yaml +5 -3
- openfisca_france/parameters/impot_revenu/credits_impots/equ_hab_princ_aide_personnes/taux/index.yaml +1 -1
- openfisca_france/parameters/impot_revenu/credits_impots/equ_hab_princ_aide_personnes/taux/taux_equ_pers_agees_hand.yaml +4 -2
- openfisca_france/parameters/impot_revenu/credits_impots/equ_hab_princ_aide_personnes/taux/taux_risques_techno.yaml +4 -2
- openfisca_france/parameters/impot_revenu/credits_impots/gardenf/index.yaml +2 -2
- openfisca_france/parameters/impot_revenu/credits_impots/gardenf/plafond.yaml +2 -2
- openfisca_france/parameters/impot_revenu/credits_impots/gardenf/taux.yaml +4 -2
- openfisca_france/parameters/impot_revenu/credits_impots/index.yaml +2 -2
- openfisca_france/parameters/impot_revenu/credits_impots/interets_emprunt_habitation_principale/cas_base/taux_applique_premiere_annuite_remboursement.yaml +2 -0
- openfisca_france/parameters/impot_revenu/credits_impots/interets_emprunt_habitation_principale/index.yaml +2 -2
- openfisca_france/parameters/impot_revenu/credits_impots/interets_emprunt_habitation_principale/majoration_plafond_par_enfant_charge.yaml +2 -0
- openfisca_france/parameters/impot_revenu/credits_impots/interets_emprunt_habitation_principale/plafond_base.yaml +2 -0
- openfisca_france/parameters/impot_revenu/credits_impots/plaf_nich/index.yaml +2 -2
- openfisca_france/parameters/impot_revenu/credits_impots/plaf_nich/plafonnement_des_niches/index.yaml +7 -0
- openfisca_france/parameters/impot_revenu/credits_impots/plaf_nich/plafonnement_des_niches/majoration_esus_sfs.yaml +1 -1
- openfisca_france/parameters/impot_revenu/credits_impots/plaf_nich/plafonnement_des_niches/majoration_om.yaml +2 -2
- openfisca_france/parameters/impot_revenu/credits_impots/quaenv/index.yaml +7 -1
- openfisca_france/parameters/impot_revenu/credits_impots/quaenv/max.yaml +1 -1
- openfisca_france/parameters/impot_revenu/credits_impots/quaenv/taux30.yaml +1 -1
- openfisca_france/parameters/impot_revenu/credits_impots/quaenv/taux50.yaml +1 -1
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/bspce/moins_3ans.yaml +0 -11
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/bspce/plus_3ans/index.yaml +0 -6
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/bspce/plus_3ans/post_2018.yaml +0 -14
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/bspce/plus_3ans/pre_2018.yaml +0 -16
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/plus_values/taux_plus_values_entc.yaml +0 -9
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/plus_values/taux_plus_values_report.yaml +0 -9
- openfisca_france/parameters/impot_revenu/calcul_impot_revenu/pv/plus_values/taux_plus_values_report_conditionnel.yaml +0 -9
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/dons/dons_aux_oeuvres/index.yaml +0 -5
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/dons/dons_aux_partis_politiques/plafond_en_revenu_net_global.yaml +0 -21
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/dons/dons_aux_partis_politiques/taux.yaml +0 -24
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/dons/dons_interet_general/index.yaml +0 -5
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/dons/dons_interet_general/plafond.yaml +0 -24
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/dons/reduction_impot_dons/index.yaml +0 -4
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/dons/reduction_impot_dons/plafond_en_revenu_global.yaml +0 -23
- openfisca_france/parameters/impot_revenu/calcul_reductions_impots/emploi_salarie_domicile/plafond_invalides_1ere_annee.yaml +0 -14
- {OpenFisca_France-169.4.0.dist-info → OpenFisca_France-169.6.0.dist-info}/LICENSE.AGPL.txt +0 -0
- {OpenFisca_France-169.4.0.dist-info → OpenFisca_France-169.6.0.dist-info}/top_level.txt +0 -0
- /openfisca_france/parameters/impot_revenu/calcul_reductions_impots/dons/{dons_assoc_cult.yaml → dons_cultuels/plafond_dons.yaml} +0 -0
|
@@ -1932,6 +1932,7 @@ class quaenv(Variable):
|
|
|
1932
1932
|
entity = FoyerFiscal
|
|
1933
1933
|
label = 'Crédits d’impôt pour dépenses en faveur de la qualité environnementale (2005 - 2014) / de la transition energétique (2014 - ) '
|
|
1934
1934
|
definition_period = YEAR
|
|
1935
|
+
end = '2019-12-31'
|
|
1935
1936
|
|
|
1936
1937
|
def formula_2005_01_01(foyer_fiscal, period, parameters):
|
|
1937
1938
|
'''
|
|
@@ -2766,7 +2767,7 @@ class ci_saldom(Variable):
|
|
|
2766
2767
|
f7db = foyer_fiscal('f7db', period)
|
|
2767
2768
|
f7dg = foyer_fiscal('f7dg', period)
|
|
2768
2769
|
f7dl = foyer_fiscal('f7dl', period)
|
|
2769
|
-
P = parameters(period).impot_revenu.
|
|
2770
|
+
P = parameters(period).impot_revenu.credits_impots.emploi_salarie_domicile
|
|
2770
2771
|
|
|
2771
2772
|
isinvalid = f7dg
|
|
2772
2773
|
nbpacmin = nb_pac_majoration_plafond + f7dl
|
|
@@ -2787,13 +2788,13 @@ class ci_saldom(Variable):
|
|
|
2787
2788
|
f7dg = foyer_fiscal('f7dg', period)
|
|
2788
2789
|
f7dl = foyer_fiscal('f7dl', period)
|
|
2789
2790
|
f7dq = foyer_fiscal('f7dq', period)
|
|
2790
|
-
P = parameters(period).impot_revenu.
|
|
2791
|
+
P = parameters(period).impot_revenu.credits_impots.emploi_salarie_domicile
|
|
2791
2792
|
|
|
2792
2793
|
isinvalid = f7dg
|
|
2793
2794
|
annee1 = f7dq
|
|
2794
2795
|
nbpacmin = nb_pac_majoration_plafond + f7dl
|
|
2795
2796
|
maxBase = P.plafond * not_(annee1) + P.plafond_1ere_annee * annee1
|
|
2796
|
-
maxDuMaxNonInv = P.plafond_maximum * not_(annee1) + P.
|
|
2797
|
+
maxDuMaxNonInv = P.plafond_maximum * not_(annee1) + P.plafond_maximum_1ere_annee * annee1
|
|
2797
2798
|
maxNonInv = min_(maxBase + P.increment_plafond * nbpacmin, maxDuMaxNonInv)
|
|
2798
2799
|
maxEffectif = maxNonInv * not_(isinvalid) + P.plafond_invalides * isinvalid
|
|
2799
2800
|
|
|
@@ -2816,7 +2817,7 @@ class ci_saldom(Variable):
|
|
|
2816
2817
|
annee1 = foyer_fiscal('f7dq', period)
|
|
2817
2818
|
invalide = foyer_fiscal('f7dg', period)
|
|
2818
2819
|
|
|
2819
|
-
P = parameters(period).impot_revenu.
|
|
2820
|
+
P = parameters(period).impot_revenu.credits_impots.emploi_salarie_domicile
|
|
2820
2821
|
|
|
2821
2822
|
# détérminer le plafond
|
|
2822
2823
|
|
|
@@ -2824,7 +2825,7 @@ class ci_saldom(Variable):
|
|
|
2824
2825
|
plaf = P.plafond_invalides
|
|
2825
2826
|
else:
|
|
2826
2827
|
if annee1.any():
|
|
2827
|
-
plaf = min_(P.
|
|
2828
|
+
plaf = min_(P.plafond_maximum_1ere_annee, P.plafond_1ere_annee + P.increment_plafond * (nb_pac_majoration_plafond + f7dl))
|
|
2828
2829
|
else:
|
|
2829
2830
|
plaf = min_(P.plafond_maximum, P.plafond + P.increment_plafond * (nb_pac_majoration_plafond + f7dl))
|
|
2830
2831
|
|
|
@@ -2847,14 +2848,14 @@ class ci_saldom(Variable):
|
|
|
2847
2848
|
annee1 = foyer_fiscal('f7dq', period)
|
|
2848
2849
|
invalide = foyer_fiscal('f7dg', period)
|
|
2849
2850
|
|
|
2850
|
-
P = parameters(period).impot_revenu.
|
|
2851
|
+
P = parameters(period).impot_revenu.credits_impots.emploi_salarie_domicile
|
|
2851
2852
|
|
|
2852
2853
|
# détérminer le plafond
|
|
2853
2854
|
if invalide.any():
|
|
2854
2855
|
plaf = P.plafond_invalides
|
|
2855
2856
|
else:
|
|
2856
2857
|
if annee1.any():
|
|
2857
|
-
plaf = min_(P.
|
|
2858
|
+
plaf = min_(P.plafond_maximum_1ere_annee, P.plafond_1ere_annee + P.increment_plafond * (nb_pac_majoration_plafond + f7dl))
|
|
2858
2859
|
else:
|
|
2859
2860
|
plaf = min_(P.plafond_maximum, P.plafond + P.increment_plafond * (nb_pac_majoration_plafond + f7dl))
|
|
2860
2861
|
|
|
@@ -416,10 +416,10 @@ class revenu_assimile_salaire_apres_abattements(Variable):
|
|
|
416
416
|
revenu_assimile_salaire = individu('revenu_assimile_salaire', period)
|
|
417
417
|
chomeur_longue_duree = individu('chomeur_longue_duree', period)
|
|
418
418
|
frais_reels = individu('frais_reels', period)
|
|
419
|
-
|
|
419
|
+
parameters_deductions = parameters(period).impot_revenu.calcul_revenus_imposables.deductions
|
|
420
420
|
|
|
421
|
-
abattement_minimum = where(chomeur_longue_duree,
|
|
422
|
-
abatfor = round_(min_(max_(
|
|
421
|
+
abattement_minimum = where(chomeur_longue_duree, parameters_deductions.abatpro.min2, parameters_deductions.abatpro.min)
|
|
422
|
+
abatfor = round_(min_(max_(parameters_deductions.abatpro.taux * revenu_assimile_salaire, abattement_minimum), parameters_deductions.abatpro.max))
|
|
423
423
|
return (
|
|
424
424
|
(frais_reels > abatfor)
|
|
425
425
|
* (revenu_assimile_salaire - frais_reels)
|
|
@@ -430,9 +430,9 @@ class revenu_assimile_salaire_apres_abattements(Variable):
|
|
|
430
430
|
def formula_2018_01_01(individu, period, parameters):
|
|
431
431
|
revenu_assimile_salaire = individu('revenu_assimile_salaire', period)
|
|
432
432
|
frais_reels = individu('frais_reels', period)
|
|
433
|
-
|
|
433
|
+
parameters_deductions = parameters(period).impot_revenu.calcul_revenus_imposables.deductions
|
|
434
434
|
|
|
435
|
-
abatfor = round_(min_(max_(
|
|
435
|
+
abatfor = round_(min_(max_(parameters_deductions.abatpro.taux * revenu_assimile_salaire, parameters_deductions.abatpro.min), parameters_deductions.abatpro.max))
|
|
436
436
|
return (
|
|
437
437
|
(frais_reels > abatfor)
|
|
438
438
|
* (revenu_assimile_salaire - frais_reels)
|
|
@@ -464,17 +464,17 @@ class revenu_assimile_pension_apres_abattements(Variable):
|
|
|
464
464
|
|
|
465
465
|
def formula(individu, period, parameters):
|
|
466
466
|
revenu_assimile_pension = individu('revenu_assimile_pension', period)
|
|
467
|
-
|
|
467
|
+
parameters_deductions = parameters(period).impot_revenu.calcul_revenus_imposables.deductions
|
|
468
468
|
|
|
469
469
|
# TODO: problème car les pensions sont majorées au niveau du foyer
|
|
470
470
|
# d11 = ( AS + BS + CS + DS + ES +
|
|
471
471
|
# AO + BO + CO + DO + EO )
|
|
472
472
|
# penv2 = (d11-f11> abatpen.max)*(penv + (d11-f11-abatpen.max)) + (d11-f11<= abatpen.max)*penv
|
|
473
473
|
# Plus d'abatement de 20% en 2006
|
|
474
|
-
return max_(0, revenu_assimile_pension - round_(max_(
|
|
474
|
+
return max_(0, revenu_assimile_pension - round_(max_(parameters_deductions.abatpen.taux * revenu_assimile_pension, parameters_deductions.abatpen.min)))
|
|
475
475
|
|
|
476
476
|
|
|
477
|
-
# return max_(0, revenu_assimile_pension - min_(round_(max_(
|
|
477
|
+
# return max_(0, revenu_assimile_pension - min_(round_(max_(parameters_deductions.abatpen.taux*revenu_assimile_pension , parameters_deductions.abatpen.min)), parameters_deductions.abatpen.max)) le max se met au niveau du foyer
|
|
478
478
|
|
|
479
479
|
class indu_plaf_abat_pen(Variable):
|
|
480
480
|
value_type = float
|
|
@@ -485,13 +485,13 @@ class indu_plaf_abat_pen(Variable):
|
|
|
485
485
|
def formula(foyer_fiscal, period, parameters):
|
|
486
486
|
rev_pen_i = foyer_fiscal.members('revenu_assimile_pension', period)
|
|
487
487
|
pen_net_i = foyer_fiscal.members('revenu_assimile_pension_apres_abattements', period)
|
|
488
|
-
|
|
488
|
+
parameters_deductions = parameters(period).impot_revenu.calcul_revenus_imposables.deductions
|
|
489
489
|
|
|
490
490
|
revenu_assimile_pension_apres_abattements = foyer_fiscal.sum(pen_net_i)
|
|
491
491
|
revenu_assimile_pension = foyer_fiscal.sum(rev_pen_i)
|
|
492
492
|
|
|
493
493
|
abat = revenu_assimile_pension - revenu_assimile_pension_apres_abattements
|
|
494
|
-
return abat - min_(abat,
|
|
494
|
+
return abat - min_(abat, parameters_deductions.abatpen.max)
|
|
495
495
|
|
|
496
496
|
|
|
497
497
|
class abattement_salaires_pensions(Variable):
|
|
@@ -504,9 +504,9 @@ class abattement_salaires_pensions(Variable):
|
|
|
504
504
|
def formula(individu, period, parameters):
|
|
505
505
|
revenu_assimile_salaire_apres_abattements = individu('revenu_assimile_salaire_apres_abattements', period)
|
|
506
506
|
revenu_assimile_pension_apres_abattements = individu('revenu_assimile_pension_apres_abattements', period)
|
|
507
|
-
|
|
507
|
+
parameters_deductions = parameters(period).impot_revenu.calcul_revenus_imposables.deductions
|
|
508
508
|
|
|
509
|
-
return min_(
|
|
509
|
+
return min_(parameters_deductions.abat_supp.taux * max_(revenu_assimile_salaire_apres_abattements + revenu_assimile_pension_apres_abattements, 0), parameters_deductions.abat_supp.max)
|
|
510
510
|
|
|
511
511
|
|
|
512
512
|
class rente_viagere_titre_onereux(Variable):
|
|
@@ -1674,13 +1674,13 @@ class reduction_ss_condition_revenus(Variable):
|
|
|
1674
1674
|
nb_adult = foyer_fiscal('nb_adult', period)
|
|
1675
1675
|
nb_parts = foyer_fiscal('nbptr', period)
|
|
1676
1676
|
rfr = foyer_fiscal('rfr', period)
|
|
1677
|
-
|
|
1677
|
+
parameters = parameters(period).impot_revenu.calcul_impot_revenu.plaf_qf.reduction_ss_condition_revenus
|
|
1678
1678
|
|
|
1679
1679
|
ir_apres_plaf_qf_et_decote = ir_plaf_qf - decote
|
|
1680
|
-
plafond1 =
|
|
1681
|
-
plafond2 =
|
|
1682
|
-
reduction1 =
|
|
1683
|
-
reduction2 =
|
|
1680
|
+
plafond1 = parameters.plafond_rfr_celib * nb_adult + parameters.majoration_plafond_par_demi_parts_supp * 2 * (nb_parts - nb_adult)
|
|
1681
|
+
plafond2 = parameters.plafond_rfr_couple * nb_adult + parameters.majoration_plafond_par_demi_parts_supp * 2 * (nb_parts - nb_adult)
|
|
1682
|
+
reduction1 = parameters.taux * ir_apres_plaf_qf_et_decote
|
|
1683
|
+
reduction2 = parameters.taux * ir_apres_plaf_qf_et_decote * (plafond2 - rfr) / (plafond2 - plafond1)
|
|
1684
1684
|
|
|
1685
1685
|
reduction_sous_condition_de_ressources = (
|
|
1686
1686
|
(rfr < plafond1) * reduction1
|
|
@@ -1804,8 +1804,8 @@ class assiette_service(Variable):
|
|
|
1804
1804
|
|
|
1805
1805
|
return foyer_fiscal.sum(ebic_imps_i)
|
|
1806
1806
|
|
|
1807
|
-
#
|
|
1808
|
-
# assert (ebic_imps <=
|
|
1807
|
+
# parameters = _P.impot_revenu.calcul_revenus_imposables.rpns.micro.microentreprise
|
|
1808
|
+
# assert (ebic_imps <= parameters.servi.max)
|
|
1809
1809
|
|
|
1810
1810
|
|
|
1811
1811
|
class assiette_proflib(Variable):
|
|
@@ -1824,7 +1824,7 @@ class assiette_proflib(Variable):
|
|
|
1824
1824
|
# http://vosdroits.service-public.fr/professionnels-entreprises/F23267.xhtml
|
|
1825
1825
|
return foyer_fiscal.sum(ebnc_impo_i)
|
|
1826
1826
|
|
|
1827
|
-
# assert (ebnc_impo <=
|
|
1827
|
+
# assert (ebnc_impo <= parameters.microentreprise.regime_micro_bic.services.plafond)
|
|
1828
1828
|
|
|
1829
1829
|
|
|
1830
1830
|
class microsocial(Variable):
|
|
@@ -1914,7 +1914,7 @@ class taxation_plus_values_hors_bareme(Variable):
|
|
|
1914
1914
|
rpns_pvce = foyer_fiscal.sum(rpns_pvce_i)
|
|
1915
1915
|
|
|
1916
1916
|
return round_(
|
|
1917
|
-
pv.
|
|
1917
|
+
pv.pvce.taux * rpns_pvce
|
|
1918
1918
|
+ pv.pv_cession_valeurs_mobilieres_pv_professionnelles.taux * max_(0, f3vg - f3vh)
|
|
1919
1919
|
+ pv.actions_gratuites.taux2 * glo_taxation_ir_forfaitaire_taux2
|
|
1920
1920
|
+ pv.pv_cession_valeurs_mobilieres_pv_professionnelles.taux * f3vl
|
|
@@ -1923,8 +1923,8 @@ class taxation_plus_values_hors_bareme(Variable):
|
|
|
1923
1923
|
+ pv.plus_values.taux_pv_entrep * f3sa_2012
|
|
1924
1924
|
+ pv.actions_gratuites.taux3 * glo_taxation_ir_forfaitaire_taux3
|
|
1925
1925
|
+ pv.actions_gratuites.taux4 * glo_taxation_ir_forfaitaire_taux4
|
|
1926
|
-
+ pv.bspce.
|
|
1927
|
-
+ pv.bspce.
|
|
1926
|
+
+ pv.bspce.taux_plus_3_ans_pre_2018 * f3sj
|
|
1927
|
+
+ pv.bspce.taux_moins_3_ans * f3sk
|
|
1928
1928
|
)
|
|
1929
1929
|
|
|
1930
1930
|
def formula_2013_01_01(foyer_fiscal, period, parameters):
|
|
@@ -1944,14 +1944,14 @@ class taxation_plus_values_hors_bareme(Variable):
|
|
|
1944
1944
|
pv = parameters(period).impot_revenu.calcul_impot_revenu.pv
|
|
1945
1945
|
|
|
1946
1946
|
return round_(
|
|
1947
|
-
pv.
|
|
1947
|
+
pv.pvce.taux * rpns_pvce
|
|
1948
1948
|
+ pv.pea.taux_avant_2_ans * f3vm
|
|
1949
1949
|
+ pv.pea.taux_posterieur * f3vt
|
|
1950
1950
|
+ pv.actions_gratuites.taux2 * glo_taxation_ir_forfaitaire_taux2
|
|
1951
1951
|
+ pv.actions_gratuites.taux3 * glo_taxation_ir_forfaitaire_taux3
|
|
1952
1952
|
+ pv.actions_gratuites.taux4 * glo_taxation_ir_forfaitaire_taux4
|
|
1953
|
-
+ pv.bspce.
|
|
1954
|
-
+ pv.bspce.
|
|
1953
|
+
+ pv.bspce.taux_plus_3_ans_pre_2018 * f3sj
|
|
1954
|
+
+ pv.bspce.taux_moins_3_ans * f3sk
|
|
1955
1955
|
)
|
|
1956
1956
|
|
|
1957
1957
|
def formula_2016_01_01(foyer_fiscal, period, parameters):
|
|
@@ -1973,16 +1973,16 @@ class taxation_plus_values_hors_bareme(Variable):
|
|
|
1973
1973
|
pv = parameters(period).impot_revenu.calcul_impot_revenu.pv
|
|
1974
1974
|
|
|
1975
1975
|
return round_(
|
|
1976
|
-
pv.
|
|
1976
|
+
pv.pvce.taux * rpns_pvce
|
|
1977
1977
|
+ pv.pea.taux_avant_2_ans * f3vm
|
|
1978
1978
|
+ pv.pea.taux_posterieur * f3vt
|
|
1979
1979
|
+ pv.actions_gratuites.taux2 * glo_taxation_ir_forfaitaire_taux2
|
|
1980
1980
|
+ pv.actions_gratuites.taux3 * glo_taxation_ir_forfaitaire_taux3
|
|
1981
1981
|
+ pv.actions_gratuites.taux4 * glo_taxation_ir_forfaitaire_taux4
|
|
1982
|
-
+ pv.bspce.
|
|
1983
|
-
+ pv.bspce.
|
|
1984
|
-
+ pv.
|
|
1985
|
-
+ pv.
|
|
1982
|
+
+ pv.bspce.taux_plus_3_ans_pre_2018 * f3sj
|
|
1983
|
+
+ pv.bspce.taux_moins_3_ans * f3sk
|
|
1984
|
+
+ pv.report_impot_expire.taux_cas_general * f3wi
|
|
1985
|
+
+ pv.report_impot_expire.taux_conditionnel * f3wj
|
|
1986
1986
|
)
|
|
1987
1987
|
|
|
1988
1988
|
def formula_2017_01_01(foyer_fiscal, period, parameters):
|
|
@@ -2006,17 +2006,17 @@ class taxation_plus_values_hors_bareme(Variable):
|
|
|
2006
2006
|
pv = parameters(period).impot_revenu.calcul_impot_revenu.pv
|
|
2007
2007
|
|
|
2008
2008
|
return round_(
|
|
2009
|
-
pv.
|
|
2009
|
+
pv.pvce.taux * rpns_pvce
|
|
2010
2010
|
+ pv.actions_gratuites.taux2 * glo_taxation_ir_forfaitaire_taux2
|
|
2011
2011
|
+ pv.actions_gratuites.taux3 * glo_taxation_ir_forfaitaire_taux3
|
|
2012
2012
|
+ pv.actions_gratuites.taux4 * glo_taxation_ir_forfaitaire_taux4
|
|
2013
|
-
+ pv.bspce.
|
|
2014
|
-
+ pv.bspce.
|
|
2013
|
+
+ pv.bspce.taux_plus_3_ans_pre_2018 * f3sj
|
|
2014
|
+
+ pv.bspce.taux_moins_3_ans * f3sk
|
|
2015
2015
|
+ pv.pea.taux_avant_2_ans * f3vm
|
|
2016
2016
|
+ pv.pea.taux_posterieur * f3vt
|
|
2017
|
-
+ pv.
|
|
2018
|
-
+ pv.
|
|
2019
|
-
+ pv.
|
|
2017
|
+
+ pv.report_impot_expire.taux_cas_general * f3wi
|
|
2018
|
+
+ pv.report_impot_expire.taux_conditionnel * f3wj
|
|
2019
|
+
+ pv.etnc.taux * f3pi
|
|
2020
2020
|
)
|
|
2021
2021
|
|
|
2022
2022
|
def formula_2019_01_01(foyer_fiscal, period, parameters):
|
|
@@ -2039,19 +2039,19 @@ class taxation_plus_values_hors_bareme(Variable):
|
|
|
2039
2039
|
rpns_pvce = foyer_fiscal.sum(rpns_pvce_i)
|
|
2040
2040
|
rpns_info = foyer_fiscal.sum(rpns_info_i)
|
|
2041
2041
|
pv = parameters(period).impot_revenu.calcul_impot_revenu.pv
|
|
2042
|
-
|
|
2042
|
+
parameters_rpns = parameters(period).impot_revenu.calcul_revenus_imposables.rpns
|
|
2043
2043
|
|
|
2044
2044
|
return round_(
|
|
2045
|
-
pv.
|
|
2045
|
+
pv.pvce.taux * rpns_pvce
|
|
2046
2046
|
+ pv.actions_gratuites.taux2 * glo_taxation_ir_forfaitaire_taux2
|
|
2047
2047
|
+ pv.actions_gratuites.taux3 * glo_taxation_ir_forfaitaire_taux3
|
|
2048
2048
|
+ pv.actions_gratuites.taux4 * glo_taxation_ir_forfaitaire_taux4
|
|
2049
|
-
+
|
|
2050
|
-
+ pv.bspce.
|
|
2051
|
-
+ pv.bspce.
|
|
2052
|
-
+ pv.
|
|
2053
|
-
+ pv.
|
|
2054
|
-
+ pv.
|
|
2049
|
+
+ parameters_rpns.taux10 * rpns_info
|
|
2050
|
+
+ pv.bspce.taux_plus_3_ans_pre_2018 * f3sj
|
|
2051
|
+
+ pv.bspce.taux_moins_3_ans * f3sk
|
|
2052
|
+
+ pv.report_impot_expire.taux_cas_general * f3wi
|
|
2053
|
+
+ pv.report_impot_expire.taux_conditionnel * f3wj
|
|
2054
|
+
+ pv.etnc.taux * f3pi
|
|
2055
2055
|
)
|
|
2056
2056
|
|
|
2057
2057
|
|
|
@@ -2322,22 +2322,22 @@ class impot_revenu_restant_a_payer(Variable):
|
|
|
2322
2322
|
contribution_exceptionnelle_hauts_revenus = foyer_fiscal('contribution_exceptionnelle_hauts_revenus', period)
|
|
2323
2323
|
prelevement_forfaitaire_unique_ir = foyer_fiscal('prelevement_forfaitaire_unique_ir', period)
|
|
2324
2324
|
prelevement_forfaitaire_liberatoire = foyer_fiscal('prelevement_forfaitaire_liberatoire', period)
|
|
2325
|
-
|
|
2325
|
+
parameters_recouvrement = parameters(period).impot_revenu.calcul_impot_revenu.recouvrement
|
|
2326
2326
|
|
|
2327
2327
|
pre_result = iai - credits_impot - acomptes_ir + contribution_exceptionnelle_hauts_revenus - prelevement_forfaitaire_unique_ir - prelevement_forfaitaire_liberatoire
|
|
2328
2328
|
result = iai - credits_impot - acomptes_ir + contribution_exceptionnelle_hauts_revenus - prelevement_forfaitaire_unique_ir
|
|
2329
2329
|
impots_totaux_avant_imputations = iai + contribution_exceptionnelle_hauts_revenus - prelevement_forfaitaire_unique_ir - prelevement_forfaitaire_liberatoire
|
|
2330
2330
|
|
|
2331
2331
|
return (
|
|
2332
|
-
(impots_totaux_avant_imputations >
|
|
2333
|
-
(pre_result <
|
|
2332
|
+
(impots_totaux_avant_imputations > parameters_recouvrement.min_avant_credits_impots) * (
|
|
2333
|
+
(pre_result < parameters_recouvrement.min_apres_credits_impots)
|
|
2334
2334
|
* (result > 0)
|
|
2335
2335
|
* result
|
|
2336
2336
|
* 0
|
|
2337
|
-
+ ((pre_result <= 0) + (pre_result >=
|
|
2337
|
+
+ ((pre_result <= 0) + (pre_result >= parameters_recouvrement.min_apres_credits_impots))
|
|
2338
2338
|
* (- result)
|
|
2339
2339
|
)
|
|
2340
|
-
+ (impots_totaux_avant_imputations <=
|
|
2340
|
+
+ (impots_totaux_avant_imputations <= parameters_recouvrement.min_avant_credits_impots) * (
|
|
2341
2341
|
(pre_result < 0)
|
|
2342
2342
|
* (-result)
|
|
2343
2343
|
+ (pre_result >= 0)
|
|
@@ -2535,6 +2535,7 @@ class rpns_pvce(Variable):
|
|
|
2535
2535
|
entity = Individu
|
|
2536
2536
|
label = 'Plus values de cession nettes des moins-values - Revenu des professions non salariées'
|
|
2537
2537
|
definition_period = YEAR
|
|
2538
|
+
# Somme des cases "plus-values nettes à long terme" de la déclaration sur les revenus des professions non-salariées
|
|
2538
2539
|
|
|
2539
2540
|
def formula(individu, period, parameters):
|
|
2540
2541
|
'''
|
|
@@ -2836,8 +2837,8 @@ class defacc(Variable):
|
|
|
2836
2837
|
cga = parameters(period).impot_revenu.calcul_revenus_imposables.rpns.cga_taux2
|
|
2837
2838
|
micro = parameters(period).impot_revenu.calcul_revenus_imposables.rpns.micro
|
|
2838
2839
|
|
|
2839
|
-
def abat_rpns(rev,
|
|
2840
|
-
return max_(0, rev - min_(rev, max_(
|
|
2840
|
+
def abat_rpns(rev, parameters):
|
|
2841
|
+
return max_(0, rev - min_(rev, max_(parameters.taux * min_(parameters.plafond, rev), micro.microentreprise.montant_minimum)))
|
|
2841
2842
|
|
|
2842
2843
|
nacc_impn = foyer_fiscal.sum(nacc_impn_i)
|
|
2843
2844
|
macc_pvct = foyer_fiscal.sum(macc_pvct_i)
|
|
@@ -2862,8 +2863,8 @@ class defacc(Variable):
|
|
|
2862
2863
|
aacc_impn_i = foyer_fiscal.members('aacc_impn', period)
|
|
2863
2864
|
micro = parameters(period).impot_revenu.calcul_revenus_imposables.rpns.micro
|
|
2864
2865
|
|
|
2865
|
-
def abat_rpns(rev,
|
|
2866
|
-
return max_(0, rev - min_(rev, max_(
|
|
2866
|
+
def abat_rpns(rev, parameters):
|
|
2867
|
+
return max_(0, rev - min_(rev, max_(parameters.taux * min_(parameters.plafond, rev), micro.microentreprise.montant_minimum)))
|
|
2867
2868
|
|
|
2868
2869
|
macc_pvct = foyer_fiscal.sum(macc_pvct_i)
|
|
2869
2870
|
macc_impv = foyer_fiscal.sum(macc_impv_i)
|
|
@@ -2896,8 +2897,8 @@ class defncn(Variable):
|
|
|
2896
2897
|
micro = parameters(period).impot_revenu.calcul_revenus_imposables.rpns.micro
|
|
2897
2898
|
specialbnc = micro.microentreprise.regime_micro_bnc
|
|
2898
2899
|
|
|
2899
|
-
def abat_rpns(rev,
|
|
2900
|
-
return max_(0, rev - min_(rev, max_(
|
|
2900
|
+
def abat_rpns(rev, parameters):
|
|
2901
|
+
return max_(0, rev - min_(rev, max_(parameters.taux * min_(parameters.plafond, rev), micro.microentreprise.montant_minimum)))
|
|
2901
2902
|
cncn_bene = foyer_fiscal.sum(cncn_bene_i)
|
|
2902
2903
|
mncn_impo = foyer_fiscal.sum(mncn_impo_i)
|
|
2903
2904
|
mncn_pvct = foyer_fiscal.sum(mncn_pvct_i)
|
|
@@ -2920,8 +2921,8 @@ class defncn(Variable):
|
|
|
2920
2921
|
micro = parameters(period).impot_revenu.calcul_revenus_imposables.rpns.micro
|
|
2921
2922
|
specialbnc = micro.microentreprise.regime_micro_bnc
|
|
2922
2923
|
|
|
2923
|
-
def abat_rpns(rev,
|
|
2924
|
-
return max_(0, rev - min_(rev, max_(
|
|
2924
|
+
def abat_rpns(rev, parameters):
|
|
2925
|
+
return max_(0, rev - min_(rev, max_(parameters.taux * min_(parameters.plafond, rev), micro.microentreprise.montant_minimum)))
|
|
2925
2926
|
mncn_impo = foyer_fiscal.sum(mncn_impo_i)
|
|
2926
2927
|
mncn_pvct = foyer_fiscal.sum(mncn_pvct_i)
|
|
2927
2928
|
cncn_aimp = foyer_fiscal.sum(cncn_aimp_i)
|
|
@@ -3466,8 +3467,8 @@ class rpns_imposables(Variable):
|
|
|
3466
3467
|
locations_pro = individu('locations_pro', period)
|
|
3467
3468
|
micro = parameters(period).impot_revenu.calcul_revenus_imposables.rpns.micro
|
|
3468
3469
|
|
|
3469
|
-
def abat_rpns(rev,
|
|
3470
|
-
return max_(0, rev - min_(rev, max_(
|
|
3470
|
+
def abat_rpns(rev, parameters):
|
|
3471
|
+
return max_(0, rev - min_(rev, max_(parameters.taux * min_(parameters.plafond, rev), micro.microentreprise.montant_minimum)))
|
|
3471
3472
|
|
|
3472
3473
|
# # B revenus industriels et commerciaux professionnels
|
|
3473
3474
|
# regime micro entreprise
|
openfisca_france/model/prelevements_obligatoires/impot_revenu/reductions_impot_deplafonnees.py
CHANGED
|
@@ -201,8 +201,8 @@ class dfppce(Variable):
|
|
|
201
201
|
P = parameters(period).impot_revenu.calcul_reductions_impots.dons
|
|
202
202
|
|
|
203
203
|
base = f7uf
|
|
204
|
-
max1 = P.
|
|
205
|
-
return P.
|
|
204
|
+
max1 = P.plafond_dons * rni
|
|
205
|
+
return P.taux_reduction * min_(base, max1)
|
|
206
206
|
|
|
207
207
|
def formula_2004_01_01(foyer_fiscal, period, parameters):
|
|
208
208
|
'''
|
|
@@ -215,8 +215,8 @@ class dfppce(Variable):
|
|
|
215
215
|
P = parameters(period).impot_revenu.calcul_reductions_impots.dons
|
|
216
216
|
|
|
217
217
|
base = f7uf + f7xs
|
|
218
|
-
max1 = P.
|
|
219
|
-
return P.
|
|
218
|
+
max1 = P.plafond_dons * rni
|
|
219
|
+
return P.taux_reduction * min_(base, max1)
|
|
220
220
|
|
|
221
221
|
def formula_2005_01_01(foyer_fiscal, period, parameters):
|
|
222
222
|
'''
|
|
@@ -230,8 +230,8 @@ class dfppce(Variable):
|
|
|
230
230
|
P = parameters(period).impot_revenu.calcul_reductions_impots.dons
|
|
231
231
|
|
|
232
232
|
base = f7uf + f7xs + f7xt
|
|
233
|
-
max1 = P.
|
|
234
|
-
return P.
|
|
233
|
+
max1 = P.plafond_dons * rni
|
|
234
|
+
return P.taux_reduction * min_(base, max1)
|
|
235
235
|
|
|
236
236
|
def formula_2006_01_01(foyer_fiscal, period, parameters):
|
|
237
237
|
'''
|
|
@@ -246,8 +246,8 @@ class dfppce(Variable):
|
|
|
246
246
|
P = parameters(period).impot_revenu.calcul_reductions_impots.dons
|
|
247
247
|
|
|
248
248
|
base = f7uf + f7xs + f7xt + f7xu
|
|
249
|
-
max1 = P.
|
|
250
|
-
return P.
|
|
249
|
+
max1 = P.plafond_dons * rni
|
|
250
|
+
return P.taux_reduction * min_(base, max1)
|
|
251
251
|
|
|
252
252
|
def formula_2007_01_01(foyer_fiscal, period, parameters):
|
|
253
253
|
'''
|
|
@@ -263,8 +263,8 @@ class dfppce(Variable):
|
|
|
263
263
|
P = parameters(period).impot_revenu.calcul_reductions_impots.dons
|
|
264
264
|
|
|
265
265
|
base = f7uf + f7xs + f7xt + f7xu + f7xw
|
|
266
|
-
max1 = P.
|
|
267
|
-
return P.
|
|
266
|
+
max1 = P.plafond_dons * rni
|
|
267
|
+
return P.taux_reduction * min_(base, max1)
|
|
268
268
|
|
|
269
269
|
def formula_2008_01_01(foyer_fiscal, period, parameters):
|
|
270
270
|
'''
|
|
@@ -281,8 +281,8 @@ class dfppce(Variable):
|
|
|
281
281
|
P = parameters(period).impot_revenu.calcul_reductions_impots.dons
|
|
282
282
|
|
|
283
283
|
base = f7uf + f7xs + f7xt + f7xu + f7xw + f7xy
|
|
284
|
-
max1 = P.
|
|
285
|
-
return P.
|
|
284
|
+
max1 = P.plafond_dons * rni
|
|
285
|
+
return P.taux_reduction * min_(base, max1)
|
|
286
286
|
|
|
287
287
|
def formula_2011_01_01(foyer_fiscal, period, parameters):
|
|
288
288
|
'''
|
|
@@ -304,8 +304,8 @@ class dfppce(Variable):
|
|
|
304
304
|
|
|
305
305
|
report_f7va_f7ud = max_(0, f7va + f7ud - plafond_reduction_don_coluche)
|
|
306
306
|
base = f7uf + f7vc + f7xs + f7xt + f7xu + f7xw + f7xy + report_f7va_f7ud
|
|
307
|
-
max1 = P.
|
|
308
|
-
return P.
|
|
307
|
+
max1 = P.plafond_dons * rni
|
|
308
|
+
return P.taux_reduction * min_(base, max1)
|
|
309
309
|
|
|
310
310
|
def formula_2012_01_01(foyer_fiscal, period, parameters):
|
|
311
311
|
'''
|
|
@@ -327,8 +327,8 @@ class dfppce(Variable):
|
|
|
327
327
|
|
|
328
328
|
report_f7va_f7ud = max_(0, f7va + f7ud - plafond_reduction_don_coluche)
|
|
329
329
|
base = f7uf + f7vc + f7xs + f7xt + f7xu + f7xw + f7xy + report_f7va_f7ud
|
|
330
|
-
max1 = P.
|
|
331
|
-
return P.
|
|
330
|
+
max1 = P.plafond_dons * rni
|
|
331
|
+
return P.taux_reduction * min_(base, max1)
|
|
332
332
|
|
|
333
333
|
def formula_2013_01_01(foyer_fiscal, period, parameters):
|
|
334
334
|
'''
|
|
@@ -358,9 +358,9 @@ class dfppce(Variable):
|
|
|
358
358
|
dons_partipol = min_(P.dons_aux_partis_politiques.plafond_seul * (1 + maries_ou_pacses), f7uh)
|
|
359
359
|
|
|
360
360
|
base = f7uf + f7vc + f7xs + f7xt + f7xu + f7xw + f7xy + report_f7va_f7ud + dons_partipol
|
|
361
|
-
max = P.
|
|
361
|
+
max = P.plafond_dons * rni
|
|
362
362
|
|
|
363
|
-
return red_7ud_7va + P.
|
|
363
|
+
return red_7ud_7va + P.taux_reduction * min_(base, max)
|
|
364
364
|
|
|
365
365
|
def formula_2019_01_01(foyer_fiscal, period, parameters):
|
|
366
366
|
'''
|
|
@@ -395,9 +395,9 @@ class dfppce(Variable):
|
|
|
395
395
|
dons_partipol = min_(P.dons_aux_partis_politiques.plafond_seul * (1 + maries_ou_pacses), f7uh)
|
|
396
396
|
|
|
397
397
|
base = f7uf + f7vc + f7xs + f7xt + f7xu + f7xw + f7xy + report_f7va_f7ud + dons_partipol + report_notre_dame
|
|
398
|
-
max = P.
|
|
398
|
+
max = P.plafond_dons * rni
|
|
399
399
|
|
|
400
|
-
return red_notre_dame + red_7ud_7va + P.
|
|
400
|
+
return red_notre_dame + red_7ud_7va + P.taux_reduction * min_(base, max)
|
|
401
401
|
|
|
402
402
|
def formula_2020_01_01(foyer_fiscal, period, parameters):
|
|
403
403
|
'''
|
|
@@ -427,9 +427,9 @@ class dfppce(Variable):
|
|
|
427
427
|
dons_partipol = min_(P.dons_aux_partis_politiques.plafond_seul * (1 + maries_ou_pacses), f7uh)
|
|
428
428
|
|
|
429
429
|
base = f7uf + f7vc + f7xs + f7xt + f7xu + f7xw + f7xy + report_f7va_f7ud + dons_partipol
|
|
430
|
-
max = P.
|
|
430
|
+
max = P.plafond_dons * rni
|
|
431
431
|
|
|
432
|
-
return red_7ud_7va + P.
|
|
432
|
+
return red_7ud_7va + P.taux_reduction * min_(base, max)
|
|
433
433
|
|
|
434
434
|
def formula_2021_01_01(foyer_fiscal, period, parameters):
|
|
435
435
|
'''
|
|
@@ -452,20 +452,19 @@ class dfppce(Variable):
|
|
|
452
452
|
P = parameters(period).impot_revenu.calcul_reductions_impots.dons
|
|
453
453
|
plafond_reduction_don_coluche = parameters(period).impot_revenu.calcul_reductions_impots.dons.dons_coluche.plafond
|
|
454
454
|
taux_donapd = parameters(period).impot_revenu.calcul_reductions_impots.dons.dons_coluche.taux
|
|
455
|
-
maries_ou_pacses = foyer_fiscal('maries_ou_pacses', period)
|
|
456
455
|
|
|
457
456
|
red_7ud_7va = min_(plafond_reduction_don_coluche, f7va + f7ud) * taux_donapd
|
|
458
457
|
report_f7va_f7ud = max_(0, f7va + f7ud - plafond_reduction_don_coluche)
|
|
459
458
|
|
|
460
|
-
red_7uj = min_(P.
|
|
461
|
-
report_7uj = max_(0, f7uj - P.
|
|
459
|
+
red_7uj = min_(P.dons_cultuels.plafond_dons, f7uj) * taux_donapd
|
|
460
|
+
report_7uj = max_(0, f7uj - P.dons_cultuels.plafond_dons)
|
|
462
461
|
|
|
463
|
-
dons_partipol = min_(P.dons_aux_partis_politiques.
|
|
462
|
+
dons_partipol = min_(P.dons_aux_partis_politiques.plafond_foyer, f7uh)
|
|
464
463
|
|
|
465
464
|
base = f7uf + f7vc + f7xs + f7xt + f7xu + f7xw + f7xy + report_f7va_f7ud + report_7uj + dons_partipol
|
|
466
|
-
max = P.
|
|
465
|
+
max = P.plafond_dons * rni
|
|
467
466
|
|
|
468
|
-
return red_7ud_7va + red_7uj + P.
|
|
467
|
+
return red_7ud_7va + red_7uj + P.taux_reduction * min_(base, max)
|
|
469
468
|
|
|
470
469
|
|
|
471
470
|
class reduction_enfants_scolarises(Variable):
|
openfisca_france/model/prelevements_obligatoires/impot_revenu/reductions_impot_plafonnees.py
CHANGED
|
@@ -3658,7 +3658,7 @@ class ri_saldom(Variable):
|
|
|
3658
3658
|
|
|
3659
3659
|
nbpacmin = nb_pac_majoration_plafond + f7dl
|
|
3660
3660
|
max_base = P.plafond * not_(annee1) + P.plafond_1ere_annee * annee1
|
|
3661
|
-
max_du_max_non_inv = P.plafond_maximum * not_(annee1) + P.
|
|
3661
|
+
max_du_max_non_inv = P.plafond_maximum * not_(annee1) + P.plafond_maximum_1ere_annee * annee1
|
|
3662
3662
|
max_non_inv = min_(max_base + P.increment_plafond * nbpacmin, max_du_max_non_inv)
|
|
3663
3663
|
max_non_inv2 = min_(max_base + P.increment_plafond * nb_pac_majoration_plafond, max_du_max_non_inv)
|
|
3664
3664
|
max_effectif = max_non_inv * not_(invalide) + P.plafond_invalides * invalide
|
|
@@ -3693,7 +3693,7 @@ class ri_saldom(Variable):
|
|
|
3693
3693
|
plaf = P.plafond_invalides
|
|
3694
3694
|
else:
|
|
3695
3695
|
if annee1.any():
|
|
3696
|
-
plaf = min_(P.
|
|
3696
|
+
plaf = min_(P.plafond_maximum_1ere_annee, P.plafond_1ere_annee + P.increment_plafond * (nb_pac_majoration_plafond + f7dl))
|
|
3697
3697
|
else:
|
|
3698
3698
|
plaf = min_(P.plafond_maximum, P.plafond + P.increment_plafond * (nb_pac_majoration_plafond + f7dl))
|
|
3699
3699
|
|
|
@@ -159,13 +159,13 @@ class crds_salaire(Variable):
|
|
|
159
159
|
assiette_csg_non_abattue = individu('assiette_csg_non_abattue', period)
|
|
160
160
|
plafond_securite_sociale = individu('plafond_securite_sociale', period)
|
|
161
161
|
|
|
162
|
-
|
|
162
|
+
parameters = parameters(period).prelevements_sociaux.contributions_sociales
|
|
163
163
|
|
|
164
164
|
montant_crds = montant_csg_crds(
|
|
165
|
-
law_node =
|
|
165
|
+
law_node = parameters.crds,
|
|
166
166
|
base_avec_abattement = assiette_csg_abattue,
|
|
167
167
|
base_sans_abattement = assiette_csg_non_abattue,
|
|
168
|
-
abattement_parameter =
|
|
168
|
+
abattement_parameter = parameters.csg.activite.abattement,
|
|
169
169
|
plafond_securite_sociale = plafond_securite_sociale,
|
|
170
170
|
)
|
|
171
171
|
|
|
@@ -250,10 +250,10 @@ class agff_employeur(Variable):
|
|
|
250
250
|
categorie_salarie = individu('categorie_salarie', period)
|
|
251
251
|
plafond_securite_sociale = individu('plafond_securite_sociale', period)
|
|
252
252
|
|
|
253
|
-
|
|
253
|
+
parameters = parameters(period).cotsoc
|
|
254
254
|
|
|
255
255
|
cotisation_non_cadre = apply_bareme_for_relevant_type_sal(
|
|
256
|
-
bareme_by_type_sal_name =
|
|
256
|
+
bareme_by_type_sal_name = parameters.cotisations_employeur,
|
|
257
257
|
bareme_name = 'agffnc',
|
|
258
258
|
base = assiette_cotisations_sociales,
|
|
259
259
|
plafond_securite_sociale = plafond_securite_sociale,
|
|
@@ -261,7 +261,7 @@ class agff_employeur(Variable):
|
|
|
261
261
|
)
|
|
262
262
|
|
|
263
263
|
cotisation_cadre = apply_bareme_for_relevant_type_sal(
|
|
264
|
-
bareme_by_type_sal_name =
|
|
264
|
+
bareme_by_type_sal_name = parameters.cotisations_employeur,
|
|
265
265
|
bareme_name = 'agffc',
|
|
266
266
|
base = assiette_cotisations_sociales,
|
|
267
267
|
plafond_securite_sociale = plafond_securite_sociale,
|