OpenFisca-France 174.0.2__py3-none-any.whl → 174.2.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.

Files changed (56) hide show
  1. openfisca_france/model/prelevements_obligatoires/impot_revenu/credits_impot.py +174 -25
  2. openfisca_france/model/prelevements_obligatoires/impot_revenu/reductions_impot_deplafonnees.py +6 -5
  3. openfisca_france/model/prelevements_obligatoires/impot_revenu/reductions_impot_iom.py +9 -9
  4. openfisca_france/model/prelevements_obligatoires/impot_revenu/reductions_impot_plafonnees.py +175 -76
  5. openfisca_france/model/prelevements_obligatoires/impot_revenu/variables_reductions_credits.py +270 -40
  6. openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/contributions_sociales/capital.py +1 -1
  7. openfisca_france/parameters/chomage/allocations_assurance_chomage/ass/age_max.yaml +3 -0
  8. openfisca_france/parameters/impot_revenu/calcul_reductions_impots/dons/dons_aux_partis_politiques/plafond_foyer.yaml +6 -2
  9. openfisca_france/parameters/impot_revenu/calcul_reductions_impots/dons/dons_aux_partis_politiques/plafond_seul.yaml +3 -5
  10. openfisca_france/parameters/impot_revenu/calcul_reductions_impots/dons/dons_coluche/plafond.yaml +1 -1
  11. openfisca_france/parameters/impot_revenu/calcul_reductions_impots/dons/dons_coluche/taux.yaml +1 -1
  12. openfisca_france/parameters/impot_revenu/calcul_reductions_impots/investissement_forestier/depenses_investissement_forestier/acquisition/plafond.yaml +2 -4
  13. openfisca_france/parameters/impot_revenu/calcul_reductions_impots/investissement_forestier/depenses_investissement_forestier/acquisition/taux.yaml +1 -1
  14. openfisca_france/parameters/impot_revenu/calcul_reductions_impots/investissement_forestier/depenses_investissement_forestier/assurance/plafond.yaml +2 -4
  15. openfisca_france/parameters/impot_revenu/calcul_reductions_impots/investissement_forestier/depenses_investissement_forestier/assurance/taux.yaml +2 -1
  16. openfisca_france/parameters/impot_revenu/calcul_reductions_impots/investissement_forestier/depenses_investissement_forestier/plafond_cga.yaml +6 -2
  17. openfisca_france/parameters/impot_revenu/calcul_reductions_impots/location_meublee/index.yaml +2 -0
  18. openfisca_france/parameters/impot_revenu/calcul_reductions_impots/outremer_investissement/domsoc/retrocession_plaf.yaml +1 -0
  19. openfisca_france/parameters/impot_revenu/calcul_reductions_impots/outremer_investissement/logements_neufs/index.yaml +2 -0
  20. openfisca_france/parameters/impot_revenu/calcul_reductions_impots/reduction_domtom/guadeloupe_martinique_reunion/plafond.yaml +5 -2
  21. openfisca_france/parameters/impot_revenu/calcul_reductions_impots/reduction_domtom/guadeloupe_martinique_reunion/taux.yaml +5 -2
  22. openfisca_france/parameters/impot_revenu/calcul_reductions_impots/reduction_domtom/guyane/plafond.yaml +5 -2
  23. openfisca_france/parameters/impot_revenu/calcul_reductions_impots/reduction_domtom/guyane/taux.yaml +5 -2
  24. openfisca_france/parameters/impot_revenu/calcul_reductions_impots/reduction_domtom/mayotte/plafond.yaml +5 -2
  25. openfisca_france/parameters/impot_revenu/calcul_reductions_impots/reduction_domtom/mayotte/taux.yaml +5 -2
  26. openfisca_france/parameters/impot_revenu/calcul_reductions_impots/souscriptions/pme/emprunts_contractes_reprise_pme/taux.yaml +11 -5
  27. openfisca_france/parameters/impot_revenu/calcul_reductions_impots/souscriptions/pme/souscription_capital/taux22.yaml +1 -0
  28. openfisca_france/parameters/impot_revenu/calcul_reductions_impots/souscriptions/pme/souscription_capital/taux25.yaml +1 -0
  29. openfisca_france/parameters/impot_revenu/contributions_exceptionnelles/contribution_revenus_locatifs/taux.yaml +6 -2
  30. openfisca_france/parameters/prelevements_sociaux/autres_taxes_participations_assises_salaires/formation/toute_entreprise/cdd.yaml +14 -1
  31. openfisca_france/parameters/prelevements_sociaux/cotisations_securite_sociale_regime_general/accidents/taux/faible.yaml +31 -7
  32. openfisca_france/parameters/prelevements_sociaux/cotisations_taxes_independants_artisans_commercants/ret_ac/tous_independants/tout_salaire.yaml +14 -3
  33. openfisca_france/parameters/prelevements_sociaux/cotisations_taxes_independants_artisans_commercants/ret_comp_ac/art_ind_com/entre_1_plafond_rci_et_4_plafonds_pss.yaml +1 -0
  34. openfisca_france/parameters/prelevements_sociaux/cotisations_taxes_independants_artisans_commercants/ret_comp_ac/art_ind_com/montant_du_plafond_rci.yaml +14 -2
  35. openfisca_france/parameters/prelevements_sociaux/cotisations_taxes_independants_artisans_commercants/ret_comp_ac/art_ind_com/sous_plafond_rci.yaml +2 -0
  36. openfisca_france/parameters/prelevements_sociaux/regimes_complementaires_retraite_secteur_prive/agirc_arrco/employeur/agirc_arrco.yaml +1 -1
  37. openfisca_france/parameters/prelevements_sociaux/regimes_complementaires_retraite_secteur_prive/agirc_arrco/tx_appel.yaml +5 -2
  38. openfisca_france/parameters/prelevements_sociaux/regimes_complementaires_retraite_secteur_prive/agirc_arrco/tx_calcul.yaml +1 -1
  39. openfisca_france/parameters/prelevements_sociaux/regimes_complementaires_retraite_secteur_prive/agirc_arrco/tx_total.yaml +1 -1
  40. openfisca_france/parameters/prelevements_sociaux/regimes_complementaires_retraite_secteur_prive/cet2019/employeur/cet2019.yaml +1 -1
  41. openfisca_france/parameters/prelevements_sociaux/regimes_complementaires_retraite_secteur_prive/cet2019/salarie/cet2019.yaml +1 -1
  42. openfisca_france/parameters/prelevements_sociaux/regimes_complementaires_retraite_secteur_prive/cotisation_retraite_complementaire/chomage/taux.yaml +4 -1
  43. openfisca_france/parameters/prestations_sociales/education/bourses/enseignement_superieur/criteres_sociaux/age_maximum.yaml +1 -0
  44. openfisca_france/parameters/prestations_sociales/education/bourses/enseignement_superieur/criteres_sociaux/montants.yaml +3 -1
  45. openfisca_france/parameters/prestations_sociales/education/bourses/enseignement_superieur/criteres_sociaux/nationalites_hors_eee.yaml +4 -0
  46. openfisca_france/parameters/prestations_sociales/education/bourses/enseignement_superieur/criteres_sociaux/seuil_ressources_etudiant_autonome.yaml +1 -0
  47. openfisca_france/parameters/prestations_sociales/prestations_etat_de_sante/invalidite/aah/travail_esat/plafond/seul.yaml +5 -5
  48. openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/rsa/rsa_cond/duree_min_titre_sejour/eee.yaml +2 -2
  49. openfisca_france/parameters/prestations_sociales/solidarite_insertion/minima_sociaux/rsa/rsa_cond/patrimoine/abattement_valeur_locative_immo_non_loue.yaml +1 -1
  50. openfisca_france/parameters/taxation_capital/impot_fortune_immobiliere_ifi_partir_2018/bareme.yaml +1 -1
  51. openfisca_france/parameters/taxation_capital/prelevements_sociaux/prelevements_solidarite/produits_de_placement.yaml +4 -1
  52. {openfisca_france-174.0.2.dist-info → openfisca_france-174.2.0.dist-info}/METADATA +11 -3
  53. {openfisca_france-174.0.2.dist-info → openfisca_france-174.2.0.dist-info}/RECORD +56 -56
  54. {openfisca_france-174.0.2.dist-info → openfisca_france-174.2.0.dist-info}/WHEEL +0 -0
  55. {openfisca_france-174.0.2.dist-info → openfisca_france-174.2.0.dist-info}/licenses/LICENSE.AGPL.txt +0 -0
  56. {openfisca_france-174.0.2.dist-info → openfisca_france-174.2.0.dist-info}/top_level.txt +0 -0
@@ -530,6 +530,155 @@ class ci_investissement_forestier(Variable):
530
530
 
531
531
  return ci_travaux + ci_cg_tot
532
532
 
533
+ def formula_2022_01_01(foyer_fiscal, period, parameters):
534
+ '''
535
+ Investissements forestiers pour 2022
536
+ Voir https://www.impots.gouv.fr/www2/fichiers/documentation/brochure/ir_2023/pdf_integral/Brochure-IR-2023.pdf page 277
537
+ - Comme pour les autres années, les cases sont attachés à une même année et "roulent"
538
+ '''
539
+ maries_ou_pacses = foyer_fiscal('maries_ou_pacses', period)
540
+
541
+ f7up = foyer_fiscal('f7up', period)
542
+ f7ut = foyer_fiscal('f7ut', period)
543
+
544
+ f7ua = foyer_fiscal('f7ua', period)
545
+ f7ub = foyer_fiscal('f7ub', period)
546
+ f7uq = foyer_fiscal('f7uq', period)
547
+ f7ui = foyer_fiscal('f7ui', period)
548
+
549
+ # Reports des années précédentes
550
+ f7tj = foyer_fiscal('f7tj', period)
551
+ f7tk = foyer_fiscal('f7tk', period)
552
+ f7tm = foyer_fiscal('f7tm', period)
553
+ f7to = foyer_fiscal('f7to', period)
554
+ f7tp = foyer_fiscal('f7tp', period)
555
+ f7tq = foyer_fiscal('f7tq', period)
556
+ f7tr = foyer_fiscal('f7tr', period)
557
+ f7ts = foyer_fiscal('f7ts', period)
558
+ f7vj = foyer_fiscal('f7vj', period)
559
+ f7tt = foyer_fiscal('f7tt', period)
560
+ f7vk = foyer_fiscal('f7vk', period)
561
+ f7tu = foyer_fiscal('f7tu', period)
562
+ f7vh = foyer_fiscal('f7vh', period)
563
+ f7tv = foyer_fiscal('f7tv', period)
564
+ f7vi = foyer_fiscal('f7vi', period)
565
+ f7tw = foyer_fiscal('f7tw', period)
566
+ f7vm = foyer_fiscal('f7vm', period)
567
+ f7ta = foyer_fiscal('f7ta', period)
568
+ f7vn = foyer_fiscal('f7vn', period)
569
+ f7tb = foyer_fiscal('f7tb', period)
570
+ f7vq = foyer_fiscal('f7vq', period)
571
+ f7te = foyer_fiscal('f7te', period)
572
+ f7vr = foyer_fiscal('f7vr', period)
573
+ f7tf = foyer_fiscal('f7tf', period)
574
+
575
+ P = parameters(period).impot_revenu.calcul_reductions_impots.investissement_forestier.depenses_investissement_forestier
576
+
577
+ # travaux année N
578
+ ci_trav_adh = min_(P.travaux.plafond * (maries_ou_pacses + 1), f7ua + f7ub + f7tk + f7to + f7tq + f7ts + f7vk + f7tu + f7vi + f7tw + f7vn + f7tb + f7vr + f7tf)
579
+ ci_trav = min_(P.travaux.plafond * (maries_ou_pacses + 1) - ci_trav_adh, f7up + f7ut + f7tj + f7tm + f7tp + f7tr + f7vj + f7tt + f7vh + f7tv + f7vm + f7ta + f7vq + f7te)
580
+
581
+ ci_travaux = P.travaux.taux_adhesion_org_producteurs * ci_trav_adh + P.travaux.taux * ci_trav
582
+
583
+ # contrat de gestion
584
+ ci_cg_adh = min_(P.plafond_cga * (maries_ou_pacses + 1), f7ui)
585
+ ci_cg = min_(P.plafond_cga * (maries_ou_pacses + 1) - ci_cg_adh, f7uq)
586
+
587
+ ci_cg_tot = P.travaux.taux_adhesion_org_producteurs * ci_cg_adh + P.travaux.taux * ci_cg
588
+
589
+ return ci_travaux + ci_cg_tot
590
+
591
+ def formula_2023_01_01(foyer_fiscal, period, parameters):
592
+ '''
593
+ Investissements forestiers pour 2023
594
+ Voir https://www.impots.gouv.fr/www2/fichiers/documentation/brochure/ir_2024/pdf_integral/Brochure-IR-2024.pdf page 24
595
+ - Fin du plafond de dépenses de contrat de gestion (CGA) de dépenses d'investissement forestier
596
+ - Comme pour les autres années, les cases sont attachés à une même année d'investissements et "roulent"
597
+ '''
598
+ maries_ou_pacses = foyer_fiscal('maries_ou_pacses', period)
599
+
600
+ f7up = foyer_fiscal('f7up', period)
601
+ f7ut = foyer_fiscal('f7ut', period)
602
+
603
+ # Reports des années précédentes
604
+ f7tm = foyer_fiscal('f7tm', period)
605
+ f7to = foyer_fiscal('f7to', period)
606
+ f7tp = foyer_fiscal('f7tp', period)
607
+ f7tq = foyer_fiscal('f7tq', period)
608
+ f7tr = foyer_fiscal('f7tr', period)
609
+ f7ts = foyer_fiscal('f7ts', period)
610
+ f7tt = foyer_fiscal('f7tt', period)
611
+ f7tu = foyer_fiscal('f7tu', period)
612
+ f7vh = foyer_fiscal('f7vh', period)
613
+ f7tv = foyer_fiscal('f7tv', period)
614
+ f7vi = foyer_fiscal('f7vi', period)
615
+ f7tw = foyer_fiscal('f7tw', period)
616
+ f7vm = foyer_fiscal('f7vm', period)
617
+ f7ta = foyer_fiscal('f7ta', period)
618
+ f7vn = foyer_fiscal('f7vn', period)
619
+ f7tb = foyer_fiscal('f7tb', period)
620
+ f7vq = foyer_fiscal('f7vq', period)
621
+ f7te = foyer_fiscal('f7te', period)
622
+ f7vr = foyer_fiscal('f7vr', period)
623
+ f7tf = foyer_fiscal('f7tf', period)
624
+ f7vs = foyer_fiscal('f7vs', period)
625
+ f7th = foyer_fiscal('f7th', period)
626
+ f7vu = foyer_fiscal('f7vu', period)
627
+ f7ti = foyer_fiscal('f7ti', period)
628
+
629
+ P = parameters(period).impot_revenu.calcul_reductions_impots.investissement_forestier.depenses_investissement_forestier
630
+
631
+ # travaux année N
632
+ ci_trav_adh = min_(P.travaux.plafond * (maries_ou_pacses + 1), f7to + f7tq + f7ts + f7tu + f7vi + f7tw + f7vn + f7tb + f7vr + f7tf + f7ti + f7vu)
633
+ ci_trav = min_(P.travaux.plafond * (maries_ou_pacses + 1) - ci_trav_adh, f7up + f7ut + f7tm + f7tp + f7tr + f7tt + f7vh + f7tv + f7vm + f7ta + f7vq + f7te + f7vs + f7th)
634
+
635
+ ci_travaux = P.travaux.taux_adhesion_org_producteurs * ci_trav_adh + P.travaux.taux * ci_trav
636
+
637
+ return ci_travaux
638
+
639
+ def formula_2024_01_01(foyer_fiscal, period, parameters):
640
+ '''
641
+ Investissements forestiers pour 2024
642
+ '''
643
+ maries_ou_pacses = foyer_fiscal('maries_ou_pacses', period)
644
+
645
+ f7up = foyer_fiscal('f7up', period)
646
+ f7ut = foyer_fiscal('f7ut', period)
647
+
648
+ # Reports des années précédentes
649
+ f7tp = foyer_fiscal('f7tp', period)
650
+ f7tq = foyer_fiscal('f7tq', period)
651
+ f7tr = foyer_fiscal('f7tr', period)
652
+ f7ts = foyer_fiscal('f7ts', period)
653
+ f7tt = foyer_fiscal('f7tt', period)
654
+ f7tu = foyer_fiscal('f7tu', period)
655
+ f7tv = foyer_fiscal('f7tv', period)
656
+ f7tw = foyer_fiscal('f7tw', period)
657
+ f7vm = foyer_fiscal('f7vm', period)
658
+ f7ta = foyer_fiscal('f7ta', period)
659
+ f7vn = foyer_fiscal('f7vn', period)
660
+ f7tb = foyer_fiscal('f7tb', period)
661
+ f7vq = foyer_fiscal('f7vq', period)
662
+ f7te = foyer_fiscal('f7te', period)
663
+ f7vr = foyer_fiscal('f7vr', period)
664
+ f7tf = foyer_fiscal('f7tf', period)
665
+ f7vs = foyer_fiscal('f7vs', period)
666
+ f7th = foyer_fiscal('f7th', period)
667
+ f7vu = foyer_fiscal('f7vu', period)
668
+ f7ti = foyer_fiscal('f7ti', period)
669
+ f7vv = foyer_fiscal('f7vv', period)
670
+ f7tj = foyer_fiscal('f7tj', period)
671
+
672
+ P = parameters(period).impot_revenu.calcul_reductions_impots.investissement_forestier.depenses_investissement_forestier
673
+
674
+ # travaux année N
675
+ ci_trav_adh = min_(P.travaux.plafond * (maries_ou_pacses + 1), f7tq + f7ts + f7tu + f7tw + f7vn + f7tb + f7vr + f7tf + f7ti + f7vu)
676
+ ci_trav = min_(P.travaux.plafond * (maries_ou_pacses + 1) - ci_trav_adh, f7up + f7ut + f7tp + f7tr + f7tt + f7tv + f7vm + f7ta + f7vq + f7te + f7vs + f7th + f7vv + f7tj)
677
+
678
+ ci_travaux = P.travaux.taux_adhesion_org_producteurs * ci_trav_adh + P.travaux.taux * ci_trav
679
+
680
+ return ci_travaux
681
+
533
682
 
534
683
  class acqgpl(Variable):
535
684
  value_type = float
@@ -1566,7 +1715,7 @@ class inthab(Variable):
1566
1715
  invalidite_conj = foyer_fiscal('caseF', period)
1567
1716
  nbpac_invalideG = foyer_fiscal('nbG', period)
1568
1717
  nbpac_invalideR = foyer_fiscal('nbR', period)
1569
- f7vu = foyer_fiscal('f7vu', period)
1718
+ f7vu_2014 = foyer_fiscal('f7vu_2014', period)
1570
1719
  f7vw = foyer_fiscal('f7vw', period)
1571
1720
  f7vv = foyer_fiscal('f7vv', period)
1572
1721
  f7vx = foyer_fiscal('f7vx', period)
@@ -1580,14 +1729,14 @@ class inthab(Variable):
1580
1729
  max1 = max_(max0 - f7vx, 0)
1581
1730
  max2 = max_(max1 - f7vy, 0)
1582
1731
  max3 = max_(max2 - f7vw, 0)
1583
- max4 = max_(max3 - f7vu, 0)
1732
+ max4 = max_(max3 - f7vu_2014, 0)
1584
1733
  max5 = max_(max4 - f7vz, 0)
1585
1734
 
1586
1735
  return (
1587
1736
  interets_emprunt_habitation_principale.cas_base.taux_applique_premiere_annuite_remboursement * min_(f7vx, max0)
1588
1737
  + interets_emprunt_habitation_principale.cas_base.taux_applique_premiere_annuite_remboursement * min_(f7vy, max1)
1589
1738
  + interets_emprunt_habitation_principale.logements_2010.taux_applique_premiere_annuite_remboursement * min_(f7vw, max2)
1590
- + interets_emprunt_habitation_principale.logements_2011.taux_applique_premiere_annuite_remboursement * min_(f7vu, max3)
1739
+ + interets_emprunt_habitation_principale.logements_2011.taux_applique_premiere_annuite_remboursement * min_(f7vu_2014, max3)
1591
1740
  + interets_emprunt_habitation_principale.cas_base.taux_2 * min_(f7vz, max4)
1592
1741
  + interets_emprunt_habitation_principale.logements_2010.taux_2 * min_(f7vv, max5)
1593
1742
  )
@@ -1605,7 +1754,7 @@ class inthab(Variable):
1605
1754
  nbpac_invalideR = foyer_fiscal('nbR', period)
1606
1755
  nbpac_invalideI = foyer_fiscal('nbI', period)
1607
1756
  f7vt = foyer_fiscal('f7vt', period)
1608
- f7vu = foyer_fiscal('f7vu', period)
1757
+ f7vu_2014 = foyer_fiscal('f7vu_2014', period)
1609
1758
  f7vv = foyer_fiscal('f7vv', period)
1610
1759
  f7vw = foyer_fiscal('f7vw', period)
1611
1760
  f7vx = foyer_fiscal('f7vx', period)
@@ -1619,7 +1768,7 @@ class inthab(Variable):
1619
1768
  max1 = max_(max0 - f7vx, 0)
1620
1769
  max2 = max_(max1 - f7vy, 0)
1621
1770
  max3 = max_(max2 - f7vw, 0)
1622
- max4 = max_(max3 - f7vu, 0)
1771
+ max4 = max_(max3 - f7vu_2014, 0)
1623
1772
  max5 = max_(max4 - f7vz, 0)
1624
1773
  max6 = max_(max5 - f7vv, 0)
1625
1774
 
@@ -1627,7 +1776,7 @@ class inthab(Variable):
1627
1776
  interets_emprunt_habitation_principale.cas_base.taux_applique_premiere_annuite_remboursement * min_(f7vx, max0)
1628
1777
  + interets_emprunt_habitation_principale.cas_base.taux_applique_premiere_annuite_remboursement * min_(f7vy, max1)
1629
1778
  + interets_emprunt_habitation_principale.logements_2010.taux_applique_premiere_annuite_remboursement * min_(f7vw, max2)
1630
- + interets_emprunt_habitation_principale.logements_2011.taux_applique_premiere_annuite_remboursement * min_(f7vu, max3)
1779
+ + interets_emprunt_habitation_principale.logements_2011.taux_applique_premiere_annuite_remboursement * min_(f7vu_2014, max3)
1631
1780
  + interets_emprunt_habitation_principale.cas_base.taux_2 * min_(f7vz, max4)
1632
1781
  + interets_emprunt_habitation_principale.logements_2010.taux_2 * min_(f7vv, max5)
1633
1782
  + interets_emprunt_habitation_principale.logements_2011.taux_2 * min_(f7vt, max6)
@@ -1646,7 +1795,7 @@ class inthab(Variable):
1646
1795
  nbpac_invalideR = foyer_fiscal('nbR', period)
1647
1796
  nbpac_invalideI = foyer_fiscal('nbI', period)
1648
1797
  f7vt = foyer_fiscal('f7vt', period)
1649
- f7vu = foyer_fiscal('f7vu', period)
1798
+ f7vu_2014 = foyer_fiscal('f7vu_2014', period)
1650
1799
  f7vv = foyer_fiscal('f7vv', period)
1651
1800
  f7vx = foyer_fiscal('f7vx', period)
1652
1801
  f7vz = foyer_fiscal('f7vz', period)
@@ -1657,13 +1806,13 @@ class inthab(Variable):
1657
1806
  # max1..max4 = plafonds après imputations successives (dans l'ordre décrit dans la législation) des intérêts éligibles au crédit d'impôt
1658
1807
  max0 = interets_emprunt_habitation_principale.plafond_base * (maries_ou_pacses + 1) * (1 + invalide) + nb_pac_majoration_plafond * interets_emprunt_habitation_principale.majoration_plafond_par_enfant_charge
1659
1808
  max1 = max_(max0 - f7vx, 0)
1660
- max2 = max_(max1 - f7vu, 0)
1809
+ max2 = max_(max1 - f7vu_2014, 0)
1661
1810
  max3 = max_(max2 - f7vz, 0)
1662
1811
  max4 = max_(max3 - f7vv, 0)
1663
1812
 
1664
1813
  return (
1665
1814
  interets_emprunt_habitation_principale.cas_base.taux_applique_premiere_annuite_remboursement * min_(f7vx, max0)
1666
- + interets_emprunt_habitation_principale.logements_2011.taux_applique_premiere_annuite_remboursement * min_(f7vu, max1)
1815
+ + interets_emprunt_habitation_principale.logements_2011.taux_applique_premiere_annuite_remboursement * min_(f7vu_2014, max1)
1667
1816
  + interets_emprunt_habitation_principale.cas_base.taux_2 * min_(f7vz, max2)
1668
1817
  + interets_emprunt_habitation_principale.logements_2010.taux_2 * min_(f7vv, max3)
1669
1818
  + interets_emprunt_habitation_principale.logements_2011.taux_2 * min_(f7vt, max4)
@@ -2089,14 +2238,14 @@ class quaenv(Variable):
2089
2238
  f7sp = foyer_fiscal('f7sp', period)
2090
2239
  f7sq = foyer_fiscal('f7sq_2015', period)
2091
2240
  f7sr = foyer_fiscal('f7sr_2015', period)
2092
- f7ss = foyer_fiscal('f7ss', period)
2241
+ f7ss = foyer_fiscal('f7ss_2015', period)
2093
2242
  f7tt = foyer_fiscal('f7tt_2012', period)
2094
2243
  f7tu = foyer_fiscal('f7tu_2012', period)
2095
2244
  f7tv = foyer_fiscal('f7tv_2012', period)
2096
2245
  f7tw = foyer_fiscal('f7tw_2012', period)
2097
2246
  f7tx = foyer_fiscal('f7tx_2012', period)
2098
2247
  f7ty = foyer_fiscal('f7ty_2012', period)
2099
- f7st = foyer_fiscal('f7st', period)
2248
+ f7st = foyer_fiscal('f7st_2015', period)
2100
2249
  f7su = foyer_fiscal('f7su', period)
2101
2250
  f7sv = foyer_fiscal('f7sv', period)
2102
2251
  f7sw = foyer_fiscal('f7sw', period)
@@ -2178,8 +2327,8 @@ class quaenv(Variable):
2178
2327
  f7sp = foyer_fiscal('f7sp', period)
2179
2328
  f7sq = foyer_fiscal('f7sq_2015', period)
2180
2329
  f7sr = foyer_fiscal('f7sr_2015', period)
2181
- f7ss = foyer_fiscal('f7ss', period)
2182
- f7st = foyer_fiscal('f7st', period)
2330
+ f7ss = foyer_fiscal('f7ss_2015', period)
2331
+ f7st = foyer_fiscal('f7st_2015', period)
2183
2332
  f7su = foyer_fiscal('f7su', period)
2184
2333
  f7sv = foyer_fiscal('f7sv', period)
2185
2334
  f7sw = foyer_fiscal('f7sw', period)
@@ -2262,8 +2411,8 @@ class quaenv(Variable):
2262
2411
  f7sp = foyer_fiscal('f7sp', period)
2263
2412
  f7sq = foyer_fiscal('f7sq_2015', period)
2264
2413
  f7sr = foyer_fiscal('f7sr_2015', period)
2265
- f7ss = foyer_fiscal('f7ss', period)
2266
- f7st = foyer_fiscal('f7st', period)
2414
+ f7ss = foyer_fiscal('f7ss_2015', period)
2415
+ f7st = foyer_fiscal('f7st_2015', period)
2267
2416
  f7sv = foyer_fiscal('f7sv', period)
2268
2417
  f7sw = foyer_fiscal('f7sw', period)
2269
2418
  f7tv = foyer_fiscal('f7tv_2012', period)
@@ -2394,8 +2543,8 @@ class quaenv(Variable):
2394
2543
  f7sp = foyer_fiscal('f7sp', period)
2395
2544
  f7sq = foyer_fiscal('f7sq_2015', period)
2396
2545
  f7sr = foyer_fiscal('f7sr_2015', period)
2397
- f7ss = foyer_fiscal('f7ss', period)
2398
- f7st = foyer_fiscal('f7st', period)
2546
+ f7ss = foyer_fiscal('f7ss_2015', period)
2547
+ f7st = foyer_fiscal('f7st_2015', period)
2399
2548
  f7su = foyer_fiscal('f7su', period)
2400
2549
  f7sv = foyer_fiscal('f7sv', period)
2401
2550
  f7sw = foyer_fiscal('f7sw', period)
@@ -2577,8 +2726,8 @@ class quaenv_bouquet(Variable):
2577
2726
  f7sp = foyer_fiscal('f7sp', period)
2578
2727
  f7sq = foyer_fiscal('f7sq_2015', period)
2579
2728
  f7sr = foyer_fiscal('f7sr_2015', period)
2580
- f7ss = foyer_fiscal('f7ss', period)
2581
- f7st = foyer_fiscal('f7st', period)
2729
+ f7ss = foyer_fiscal('f7ss_2015', period)
2730
+ f7st = foyer_fiscal('f7st_2015', period)
2582
2731
  f7ve = foyer_fiscal('f7ve', period)
2583
2732
  f7vf = foyer_fiscal('f7vf', period)
2584
2733
  f7vg = foyer_fiscal('f7vg', period)
@@ -2612,8 +2761,8 @@ class quaenv_bouquet(Variable):
2612
2761
  f7sp = foyer_fiscal('f7sp', period)
2613
2762
  f7sq = foyer_fiscal('f7sq_2015', period)
2614
2763
  f7sr = foyer_fiscal('f7sr_2015', period)
2615
- f7ss = foyer_fiscal('f7ss', period)
2616
- f7st = foyer_fiscal('f7st', period)
2764
+ f7ss = foyer_fiscal('f7ss_2015', period)
2765
+ f7st = foyer_fiscal('f7st_2015', period)
2617
2766
  f7vg = foyer_fiscal('f7vg', period)
2618
2767
  f7wc = foyer_fiscal('f7wc_2015', period)
2619
2768
  f7wh = foyer_fiscal('f7wh', period)
@@ -2654,8 +2803,8 @@ class quaenv_bouquet(Variable):
2654
2803
  f7sp = foyer_fiscal('f7sp', period)
2655
2804
  f7sq = foyer_fiscal('f7sq_2015', period)
2656
2805
  f7sr = foyer_fiscal('f7sr_2015', period)
2657
- f7ss = foyer_fiscal('f7ss', period)
2658
- f7st = foyer_fiscal('f7st', period)
2806
+ f7ss = foyer_fiscal('f7ss_2015', period)
2807
+ f7st = foyer_fiscal('f7st_2015', period)
2659
2808
  f7sv = foyer_fiscal('f7sv', period)
2660
2809
  f7sw = foyer_fiscal('f7sw', period)
2661
2810
  f7vg = foyer_fiscal('f7vg', period)
@@ -2706,8 +2855,8 @@ class quaenv_bouquet(Variable):
2706
2855
  f7sp = foyer_fiscal('f7sp', period)
2707
2856
  f7sq = foyer_fiscal('f7sq_2015', period)
2708
2857
  f7sr = foyer_fiscal('f7sr_2015', period)
2709
- f7ss = foyer_fiscal('f7ss', period)
2710
- f7st = foyer_fiscal('f7st', period)
2858
+ f7ss = foyer_fiscal('f7ss_2015', period)
2859
+ f7st = foyer_fiscal('f7st_2015', period)
2711
2860
  f7sv = foyer_fiscal('f7sv', period)
2712
2861
  f7sw = foyer_fiscal('f7sw', period)
2713
2862
  f7ta = foyer_fiscal('f7ta_2015', period)
@@ -46,8 +46,6 @@ class reductions_deplafonnees(Variable):
46
46
  'accueil_dans_etablissement_personnes_agees',
47
47
  'dfppce',
48
48
  'assvie',
49
- 'reduction_cotisations_syndicales',
50
- 'creaen',
51
49
  'interets_paiements_differes_agriculteurs',
52
50
  'mecena',
53
51
  'prestations_compensatoires',
@@ -482,6 +480,7 @@ class dfppce(Variable):
482
480
  P = parameters(period).impot_revenu.calcul_reductions_impots.dons
483
481
  plafond_reduction_don_coluche = parameters(period).impot_revenu.calcul_reductions_impots.dons.dons_coluche.plafond
484
482
  taux_donapd = parameters(period).impot_revenu.calcul_reductions_impots.dons.dons_coluche.taux
483
+ maries_ou_pacses = foyer_fiscal('maries_ou_pacses', period)
485
484
 
486
485
  red_7ud_7va = min_(plafond_reduction_don_coluche, f7va + f7ud) * taux_donapd
487
486
  report_f7va_f7ud = max_(0, f7va + f7ud - plafond_reduction_don_coluche)
@@ -489,7 +488,7 @@ class dfppce(Variable):
489
488
  red_7uj = min_(P.dons_cultuels.plafond_dons, f7uj_2022) * taux_donapd
490
489
  report_7uj = max_(0, f7uj_2022 - P.dons_cultuels.plafond_dons)
491
490
 
492
- dons_partipol = min_(P.dons_aux_partis_politiques.plafond_foyer, f7uh)
491
+ dons_partipol = min_(P.dons_aux_partis_politiques.plafond_seul * (1 + maries_ou_pacses), f7uh)
493
492
 
494
493
  base = f7uf + f7vc + f7xs + f7xt + f7xu + f7xw + f7xy + report_f7va_f7ud + report_7uj + dons_partipol
495
494
  max = P.plafond_dons * rni
@@ -517,6 +516,7 @@ class dfppce(Variable):
517
516
  P = parameters(period).impot_revenu.calcul_reductions_impots.dons
518
517
  plafond_reduction_don_coluche = parameters(period).impot_revenu.calcul_reductions_impots.dons.dons_coluche.plafond
519
518
  taux_donapd = parameters(period).impot_revenu.calcul_reductions_impots.dons.dons_coluche.taux
519
+ maries_ou_pacses = foyer_fiscal('maries_ou_pacses', period)
520
520
 
521
521
  red_7ud_7va = min_(plafond_reduction_don_coluche, f7va + f7ud) * taux_donapd
522
522
  report_f7va_f7ud = max_(0, f7va + f7ud - plafond_reduction_don_coluche)
@@ -524,7 +524,7 @@ class dfppce(Variable):
524
524
  red_7uj = min_(P.dons_patrimoine_religieux.plafond, f7uj) * taux_donapd
525
525
  report_7uj = max_(0, f7uj - P.dons_patrimoine_religieux.plafond)
526
526
 
527
- dons_partipol = min_(P.dons_aux_partis_politiques.plafond_foyer, f7uh)
527
+ dons_partipol = min_(P.dons_aux_partis_politiques.plafond_seul * (1 + maries_ou_pacses), f7uh)
528
528
 
529
529
  base = f7uf + f7vc + f7xs + f7xt + f7xu + f7xw + f7xy + report_f7va_f7ud + report_7uj + dons_partipol
530
530
  max = P.plafond_dons * rni
@@ -553,11 +553,12 @@ class dfppce(Variable):
553
553
  P = parameters(period).impot_revenu.calcul_reductions_impots.dons
554
554
  plafond_reduction_don_coluche = parameters(period).impot_revenu.calcul_reductions_impots.dons.dons_coluche.plafond
555
555
  taux_donapd = parameters(period).impot_revenu.calcul_reductions_impots.dons.dons_coluche.taux
556
+ maries_ou_pacses = foyer_fiscal('maries_ou_pacses', period)
556
557
 
557
558
  red_7ud_7va = min_(plafond_reduction_don_coluche, f7va + f7ud) * taux_donapd
558
559
  report_f7va_f7ud = max_(0, f7va + f7ud - plafond_reduction_don_coluche)
559
560
 
560
- dons_partipol = min_(P.dons_aux_partis_politiques.plafond_foyer, f7uh)
561
+ dons_partipol = min_(P.dons_aux_partis_politiques.plafond_seul * (1 + maries_ou_pacses), f7uh)
561
562
 
562
563
  base = f7uf + f7vc + f7xs + f7xt + f7xu + f7xw + f7xy + report_f7va_f7ud + dons_partipol
563
564
  max = P.plafond_dons * rni
@@ -134,7 +134,7 @@ class doment(Variable):
134
134
  f7ma = foyer_fiscal('f7ma_2012', period)
135
135
  f7mb = foyer_fiscal('f7mb_2012', period)
136
136
  f7mc = foyer_fiscal('f7mc_2012', period)
137
- f7mn = foyer_fiscal('f7mn', period)
137
+ f7mn = foyer_fiscal('f7mn_2012', period)
138
138
  f7oz = foyer_fiscal('f7oz_2011', period)
139
139
  f7pa = foyer_fiscal('f7pa_2012', period)
140
140
  f7pb = foyer_fiscal('f7pb_2012', period)
@@ -179,7 +179,7 @@ class doment(Variable):
179
179
  f7mb = foyer_fiscal('f7mb_2012', period)
180
180
  f7mc = foyer_fiscal('f7mc_2012', period)
181
181
  f7mm = foyer_fiscal('f7mm_2012', period)
182
- f7mn = foyer_fiscal('f7mn', period)
182
+ f7mn = foyer_fiscal('f7mn_2012', period)
183
183
  f7nu = foyer_fiscal('f7nu_2012', period)
184
184
  f7nv = foyer_fiscal('f7nv_2012', period)
185
185
  f7nw = foyer_fiscal('f7nw_2012', period)
@@ -3005,7 +3005,7 @@ class domsoc(Variable):
3005
3005
  '''
3006
3006
  f7qn = foyer_fiscal('f7qn_2012', period)
3007
3007
  f7qk = foyer_fiscal('f7qk_2012', period)
3008
- f7kg = foyer_fiscal('f7kg', period)
3008
+ f7kg = foyer_fiscal('f7kg_2012', period)
3009
3009
 
3010
3010
  return f7qn + f7qk + f7kg
3011
3011
 
@@ -3017,9 +3017,9 @@ class domsoc(Variable):
3017
3017
  f7qn = foyer_fiscal('f7qn_2012', period)
3018
3018
  f7qk = foyer_fiscal('f7qk_2012', period)
3019
3019
  f7qu = foyer_fiscal('f7qu_2012', period)
3020
- f7kg = foyer_fiscal('f7kg', period)
3021
- f7kh = foyer_fiscal('f7kh', period)
3022
- f7ki = foyer_fiscal('f7ki', period)
3020
+ f7kg = foyer_fiscal('f7kg_2012', period)
3021
+ f7kh = foyer_fiscal('f7kh_2012', period)
3022
+ f7ki = foyer_fiscal('f7ki_2012', period)
3023
3023
 
3024
3024
  return f7qn + f7qk + f7qu + f7kg + f7kh + f7ki
3025
3025
 
@@ -3031,9 +3031,9 @@ class domsoc(Variable):
3031
3031
  f7qn = foyer_fiscal('f7qn_2012', period)
3032
3032
  f7qk = foyer_fiscal('f7qk_2012', period)
3033
3033
  f7qu = foyer_fiscal('f7qu_2012', period)
3034
- f7kg = foyer_fiscal('f7kg', period)
3035
- f7kh = foyer_fiscal('f7kh', period)
3036
- f7ki = foyer_fiscal('f7ki', period)
3034
+ f7kg = foyer_fiscal('f7kg_2012', period)
3035
+ f7kh = foyer_fiscal('f7kh_2012', period)
3036
+ f7ki = foyer_fiscal('f7ki_2012', period)
3037
3037
  f7qj = foyer_fiscal('f7qj_2012', period)
3038
3038
  f7qs = foyer_fiscal('f7qs_2012', period)
3039
3039
  f7qw_2012 = foyer_fiscal('f7qw_2012', period)