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

@@ -501,6 +501,39 @@ class dfppce(Variable):
501
501
 
502
502
  return red_7ud_7va + red_7uj + P.taux_reduction * min_(base, max)
503
503
 
504
+ def formula_2026_01_01(foyer_fiscal, period, parameters):
505
+ '''
506
+ Dons versés à d’autres organismes d’intérêt général,
507
+ aux associations d’utilité publique, aux candidats aux élections (2021)
508
+ 2026-01-01 : On retire la réduction exceptionnelle pour les dons aux patrimoines religieux,
509
+ voir Article 30 de la LF 2024 : https://www.legifrance.gouv.fr/jorf/article_jo/JORFARTI000048727383
510
+ '''
511
+ rni = foyer_fiscal('rni', period)
512
+ f7uf = foyer_fiscal('f7uf', period)
513
+ f7uh = foyer_fiscal('f7uh', period)
514
+ f7xs = foyer_fiscal('f7xs', period)
515
+ f7xt = foyer_fiscal('f7xt', period)
516
+ f7xu = foyer_fiscal('f7xu', period)
517
+ f7xw = foyer_fiscal('f7xw', period)
518
+ f7xy = foyer_fiscal('f7xy', period)
519
+ f7va = foyer_fiscal('f7va', period)
520
+ f7ud = foyer_fiscal('f7ud', period)
521
+ f7vc = foyer_fiscal('f7vc', period)
522
+
523
+ P = parameters(period).impot_revenu.calcul_reductions_impots.dons
524
+ plafond_reduction_don_coluche = parameters(period).impot_revenu.calcul_reductions_impots.dons.dons_coluche.plafond
525
+ taux_donapd = parameters(period).impot_revenu.calcul_reductions_impots.dons.dons_coluche.taux
526
+
527
+ red_7ud_7va = min_(plafond_reduction_don_coluche, f7va + f7ud) * taux_donapd
528
+ report_f7va_f7ud = max_(0, f7va + f7ud - plafond_reduction_don_coluche)
529
+
530
+ dons_partipol = min_(P.dons_aux_partis_politiques.plafond_foyer, f7uh)
531
+
532
+ base = f7uf + f7vc + f7xs + f7xt + f7xu + f7xw + f7xy + report_f7va_f7ud + dons_partipol
533
+ max = P.plafond_dons * rni
534
+
535
+ return red_7ud_7va + P.taux_reduction * min_(base, max)
536
+
504
537
 
505
538
  class reduction_enfants_scolarises(Variable):
506
539
  value_type = float
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: OpenFisca-France
3
- Version: 170.0.2
3
+ Version: 170.1.0
4
4
  Summary: OpenFisca Rules as Code model for France.
5
5
  Author-email: OpenFisca Team <contact@openfisca.fr>
6
6
  Project-URL: Homepage, https://github.com/openfisca/openfisca-france
@@ -42,7 +42,7 @@ openfisca_france/model/prelevements_obligatoires/impot_revenu/contribution_diffe
42
42
  openfisca_france/model/prelevements_obligatoires/impot_revenu/credits_impot.py,sha256=d5gk7S7wgGI2VEYA6sStSwkivpo1-EBxAxWKR-EHMKA,128524
43
43
  openfisca_france/model/prelevements_obligatoires/impot_revenu/ir.py,sha256=KUX7PStqlLoBUA9F47Vod63N0NmOOi654W63CdWs5xw,185948
44
44
  openfisca_france/model/prelevements_obligatoires/impot_revenu/plus_values_immobilieres.py,sha256=5gNB5ntU9I9XVeKhYyq94miM4Uv72HruO1Nu_jIPkn4,4754
45
- openfisca_france/model/prelevements_obligatoires/impot_revenu/reductions_impot_deplafonnees.py,sha256=jeI1NDgGvC7IAWW2f_yx200yUBgOZ8vaa0lTQg-JMgY,36056
45
+ openfisca_france/model/prelevements_obligatoires/impot_revenu/reductions_impot_deplafonnees.py,sha256=Q5n19DJ-u2TA6VaxFX6y72XRsBp-fdj1uFvymncWvIc,37737
46
46
  openfisca_france/model/prelevements_obligatoires/impot_revenu/reductions_impot_iom.py,sha256=Q8hoXmUfuQLqzWA0S1CIaP3M7fAVcKtBVkoj3xJiae0,139248
47
47
  openfisca_france/model/prelevements_obligatoires/impot_revenu/reductions_impot_plafonnees.py,sha256=iGPE1pMYSkicuBqB9njkriUYRhZVk5SuCEM-8cnjf7M,245299
48
48
  openfisca_france/model/prelevements_obligatoires/impot_revenu/variables_reductions_credits.py,sha256=hZuvPjDst-3YSK4FxWlzYmcFeCyjEV7ephQ_kjWPL4U,420680
@@ -4130,8 +4130,8 @@ openfisca_france/scripts/performance/measure_spiral_performances.py,sha256=cQIxE
4130
4130
  openfisca_france/scripts/performance/measure_tests_performance.py,sha256=HYgSJy-OMZay2AZt6ztntgdUbW_RL2xMr-iHcK-zoVY,1869
4131
4131
  openfisca_france/situation_examples/__init__.py,sha256=BTRmrqk9lsjfhtPXsYcsWqXFEYyFpgLcxNs6oJsy8zk,262
4132
4132
  openfisca_france/situation_examples/couple.json,sha256=Ot1x4wl3IS-2-10X3V7ZUokkOMXi96s-xK7A0gNvRF4,862
4133
- openfisca_france-170.0.2.dist-info/licenses/LICENSE.AGPL.txt,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
4134
- openfisca_france-170.0.2.dist-info/METADATA,sha256=-rWwS06uKMx7U46FNyzE7TGrPeUgfmWV0SAYPofTFcE,20852
4135
- openfisca_france-170.0.2.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
4136
- openfisca_france-170.0.2.dist-info/top_level.txt,sha256=1LbD6QJWehKGIcjtaJ45tbQOSDiFEXOlIdgWRI_jaHU,17
4137
- openfisca_france-170.0.2.dist-info/RECORD,,
4133
+ openfisca_france-170.1.0.dist-info/licenses/LICENSE.AGPL.txt,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
4134
+ openfisca_france-170.1.0.dist-info/METADATA,sha256=IMH8M04x4lXNobg1w4BzK38pSvrPvt_eBzVTicTZm6U,20852
4135
+ openfisca_france-170.1.0.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
4136
+ openfisca_france-170.1.0.dist-info/top_level.txt,sha256=1LbD6QJWehKGIcjtaJ45tbQOSDiFEXOlIdgWRI_jaHU,17
4137
+ openfisca_france-170.1.0.dist-info/RECORD,,