OpenFisca-France 169.13.2__py3-none-any.whl → 169.14.1__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 (14) hide show
  1. {OpenFisca_France-169.13.2.dist-info → OpenFisca_France-169.14.1.dist-info}/METADATA +1 -1
  2. {OpenFisca_France-169.13.2.dist-info → OpenFisca_France-169.14.1.dist-info}/RECORD +14 -14
  3. openfisca_france/model/prelevements_obligatoires/impot_revenu/ir.py +52 -22
  4. openfisca_france/model/prelevements_obligatoires/impot_revenu/prelevements_forfaitaires/ir_prelevement_forfaitaire_unique.py +2 -2
  5. openfisca_france/parameters/prelevements_sociaux/pss/plafond_securite_sociale_annuel.yaml +9 -1
  6. openfisca_france/parameters/prelevements_sociaux/pss/plafond_securite_sociale_mensuel.yaml +7 -1
  7. openfisca_france/parameters/prestations_sociales/prestations_familiales/education_presence_parentale/ars/ars_plaf/plafond_ressources.yaml +9 -1
  8. openfisca_france/parameters/prestations_sociales/prestations_familiales/petite_enfance/paje/paje_plaf/ne_adopte_apres_04_2018/taux_partiel/biactifs_parents_isoles.yaml +9 -1
  9. openfisca_france/parameters/prestations_sociales/prestations_familiales/petite_enfance/paje/paje_plaf/ne_adopte_apres_04_2018/taux_partiel/plafond_ressources_0_enfant.yaml +9 -1
  10. openfisca_france/parameters/prestations_sociales/prestations_familiales/petite_enfance/paje/paje_plaf/ne_adopte_apres_04_2018/taux_plein/biactifs_parents_isoles.yaml +9 -1
  11. openfisca_france/parameters/prestations_sociales/prestations_familiales/petite_enfance/paje/paje_plaf/ne_adopte_apres_04_2018/taux_plein/plafond_ressources_0_enfant.yaml +9 -1
  12. {OpenFisca_France-169.13.2.dist-info → OpenFisca_France-169.14.1.dist-info}/LICENSE.AGPL.txt +0 -0
  13. {OpenFisca_France-169.13.2.dist-info → OpenFisca_France-169.14.1.dist-info}/WHEEL +0 -0
  14. {OpenFisca_France-169.13.2.dist-info → OpenFisca_France-169.14.1.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: OpenFisca-France
3
- Version: 169.13.2
3
+ Version: 169.14.1
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
@@ -38,14 +38,14 @@ openfisca_france/model/prelevements_obligatoires/isf.py,sha256=u0qlU4lDXSYDETupu
38
38
  openfisca_france/model/prelevements_obligatoires/impot_revenu/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
39
39
  openfisca_france/model/prelevements_obligatoires/impot_revenu/charges_deductibles.py,sha256=dXVJgd_dlJHxvgF_5JMWp9KBv-ovX4ubo43a32jTYG8,28152
40
40
  openfisca_france/model/prelevements_obligatoires/impot_revenu/credits_impot.py,sha256=d5gk7S7wgGI2VEYA6sStSwkivpo1-EBxAxWKR-EHMKA,128524
41
- openfisca_france/model/prelevements_obligatoires/impot_revenu/ir.py,sha256=BScPmjWjPUiPtTAJHuWuAyfPwpnW45B2ZoDpR7I5ej8,184050
41
+ openfisca_france/model/prelevements_obligatoires/impot_revenu/ir.py,sha256=AnIVbA5FT53PWuI8CGx26Qdv083pIchj7HFi74lgqEE,185583
42
42
  openfisca_france/model/prelevements_obligatoires/impot_revenu/plus_values_immobilieres.py,sha256=5gNB5ntU9I9XVeKhYyq94miM4Uv72HruO1Nu_jIPkn4,4754
43
43
  openfisca_france/model/prelevements_obligatoires/impot_revenu/reductions_impot_deplafonnees.py,sha256=pp4ykXm-_Tpp4AtYjop5fpGgjzXtTttmolFQBg-ma2E,34347
44
44
  openfisca_france/model/prelevements_obligatoires/impot_revenu/reductions_impot_iom.py,sha256=Q8hoXmUfuQLqzWA0S1CIaP3M7fAVcKtBVkoj3xJiae0,139248
45
45
  openfisca_france/model/prelevements_obligatoires/impot_revenu/reductions_impot_plafonnees.py,sha256=iGPE1pMYSkicuBqB9njkriUYRhZVk5SuCEM-8cnjf7M,245299
46
46
  openfisca_france/model/prelevements_obligatoires/impot_revenu/variables_reductions_credits.py,sha256=TPkhSfmuCb3AdM4itjJot8BGs35oYMLY0n7se1L1nkE,419356
47
47
  openfisca_france/model/prelevements_obligatoires/impot_revenu/prelevements_forfaitaires/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
48
- openfisca_france/model/prelevements_obligatoires/impot_revenu/prelevements_forfaitaires/ir_prelevement_forfaitaire_unique.py,sha256=jSCz_pL1vFvUh6X87sH5XDMvAw1KsqR_TA48QcsZk9M,17647
48
+ openfisca_france/model/prelevements_obligatoires/impot_revenu/prelevements_forfaitaires/ir_prelevement_forfaitaire_unique.py,sha256=bxTd15KUtkSIZS0PgUHx51HNpxEBA7bXIBrF8yulJxg,17645
49
49
  openfisca_france/model/prelevements_obligatoires/impot_revenu/prelevements_forfaitaires/prelevement_forfaitaire_liberatoire.py,sha256=Mnk13IZXhGrtFzqoBCf6P8N1tSrPXWAc7GK0w-AYCzk,6666
50
50
  openfisca_france/model/prelevements_obligatoires/impot_revenu/prelevements_forfaitaires/variables_communes.py,sha256=dMoooLKDnaHj2GtbmiXFMAQiPAkwow2MU18eDC63TD0,630
51
51
  openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -1818,9 +1818,9 @@ openfisca_france/parameters/prelevements_sociaux/professions_liberales/ret_pl/as
1818
1818
  openfisca_france/parameters/prelevements_sociaux/professions_liberales/ret_pl/assurance_vieillesse/sous_1_pss.yaml,sha256=2qnQvYIUY_hX4azHSOhvr6tg2oASxLlsn2H63ejiKb0,503
1819
1819
  openfisca_france/parameters/prelevements_sociaux/professions_liberales/ret_pl/assurance_vieillesse/sous_5_pss.yaml,sha256=ynRRDO3Ka6V9PmeoyTi-bS-9fTFkLYkH8wWqaKaoC48,894
1820
1820
  openfisca_france/parameters/prelevements_sociaux/pss/index.yaml,sha256=wdwGzu5GStMyyYU6MiHQtOpr4VjTOm1idSQRctzgSQM,1072
1821
- openfisca_france/parameters/prelevements_sociaux/pss/plafond_securite_sociale_annuel.yaml,sha256=Q082iVJG8WPEmSRdABSffBSFNIiQkFsCfmi0Oy4cKGI,14691
1821
+ openfisca_france/parameters/prelevements_sociaux/pss/plafond_securite_sociale_annuel.yaml,sha256=9s0HRQKyxe5Ld_n4hEdudHpNUN0eOmWa7KIIIEVogFY,14982
1822
1822
  openfisca_france/parameters/prelevements_sociaux/pss/plafond_securite_sociale_horaire.yaml,sha256=-EhiXTmvjY-rJOGv2q0qZZ2cmHgmHhUGuB6-W4g_nLs,2679
1823
- openfisca_france/parameters/prelevements_sociaux/pss/plafond_securite_sociale_mensuel.yaml,sha256=J07hi0wUtpihYXdYUrokv_Cz2CPjb049BA7tqGyBJso,16902
1823
+ openfisca_france/parameters/prelevements_sociaux/pss/plafond_securite_sociale_mensuel.yaml,sha256=GdtY3X5rOEZC2bdgBAB0hROvG9FJbEMK2KEj8rEKpno,17085
1824
1824
  openfisca_france/parameters/prelevements_sociaux/reductions_cotisations_sociales/index.yaml,sha256=4HcKii7fkQV_r2NfpfymUyTcd5lG1Fsd4vkBIT7aGOk,386
1825
1825
  openfisca_france/parameters/prelevements_sociaux/reductions_cotisations_sociales/agricole/index.yaml,sha256=IeUFH4IjLAFjAtGz6hTKRs_VnoiM8vZxEiOZGScB2m4,209
1826
1826
  openfisca_france/parameters/prelevements_sociaux/reductions_cotisations_sociales/agricole/tode/index.yaml,sha256=arM16FQrgeiShniQDPGKjvr0Vx4pDzblG8J5GK6Bp_o,283
@@ -2915,7 +2915,7 @@ openfisca_france/parameters/prestations_sociales/prestations_familiales/educatio
2915
2915
  openfisca_france/parameters/prestations_sociales/prestations_familiales/education_presence_parentale/ars/ars_maj/taux_majoration_exceptionnelle.yaml,sha256=zjK6Lorw-LkOPt9hqFiuSTwrb7eptx_SusbG2KItcLg,525
2916
2916
  openfisca_france/parameters/prestations_sociales/prestations_familiales/education_presence_parentale/ars/ars_plaf/index.yaml,sha256=G6AYAjvatBhcP6RR7EpT39X957IleJoGdEe1B2HKCCo,382
2917
2917
  openfisca_france/parameters/prestations_sociales/prestations_familiales/education_presence_parentale/ars/ars_plaf/majoration_par_enf_supp.yaml,sha256=yLqdi8szSBcmRQ-zMLGv7_Zc1T94pVE7x50ifME2Pks,1825
2918
- openfisca_france/parameters/prestations_sociales/prestations_familiales/education_presence_parentale/ars/ars_plaf/plafond_ressources.yaml,sha256=ye7sZzhv4U-n4emPUzOTP_TDMnDEQkwA6VuLGnsyUkQ,5757
2918
+ openfisca_france/parameters/prestations_sociales/prestations_familiales/education_presence_parentale/ars/ars_plaf/plafond_ressources.yaml,sha256=mr8O6qdmqbbpN35bOMyXoTGbvuD1kaUnRwmqMx4LTng,6091
2919
2919
  openfisca_france/parameters/prestations_sociales/prestations_familiales/education_presence_parentale/asf/index.yaml,sha256=bPVKLg3HEqhkso-rDatP6M9pixpQa41H5tQah-RQ5Ok,373
2920
2920
  openfisca_france/parameters/prestations_sociales/prestations_familiales/education_presence_parentale/asf/seuil.yaml,sha256=QCujK4KDQ0KeurGzC7U89meSsrbUlsgraHLgf1QJXrg,347
2921
2921
  openfisca_france/parameters/prestations_sociales/prestations_familiales/education_presence_parentale/asf/montant_asf/index.yaml,sha256=fSBDXNJMYn8n2z5EShGvtZycYb7_UiYmO4V1jObK4Q8,246
@@ -3063,12 +3063,12 @@ openfisca_france/parameters/prestations_sociales/prestations_familiales/petite_e
3063
3063
  openfisca_france/parameters/prestations_sociales/prestations_familiales/petite_enfance/paje/paje_plaf/ne_adopte_apres_04_2018/majorations_enfants/index.yaml,sha256=5AJgQh4verTm6JfSn4OQ8r_uUPzlqT7ZIgB3htOb2b4,564
3064
3064
  openfisca_france/parameters/prestations_sociales/prestations_familiales/petite_enfance/paje/paje_plaf/ne_adopte_apres_04_2018/majorations_enfants/premier_2eme_enfant.yaml,sha256=DLj9HbyzBPzGQ_w8PDbC2Rne2w-WeRGGJ7xuXF15aCU,2399
3065
3065
  openfisca_france/parameters/prestations_sociales/prestations_familiales/petite_enfance/paje/paje_plaf/ne_adopte_apres_04_2018/majorations_enfants/troisieme_plus_enfant.yaml,sha256=bwYzOx7ih3wRC2dVXlhY6ABNXr0X3utUhiP90VZB-6o,2418
3066
- openfisca_france/parameters/prestations_sociales/prestations_familiales/petite_enfance/paje/paje_plaf/ne_adopte_apres_04_2018/taux_partiel/biactifs_parents_isoles.yaml,sha256=wb4vWhzS28qh9oJQTwBWs5QjIRIDREgc35HbLIPRxRI,3598
3066
+ openfisca_france/parameters/prestations_sociales/prestations_familiales/petite_enfance/paje/paje_plaf/ne_adopte_apres_04_2018/taux_partiel/biactifs_parents_isoles.yaml,sha256=TPCxkZ3FnP2bNEOcKmUz9aVzRG3u7K1cM85v29gKBlA,3951
3067
3067
  openfisca_france/parameters/prestations_sociales/prestations_familiales/petite_enfance/paje/paje_plaf/ne_adopte_apres_04_2018/taux_partiel/index.yaml,sha256=9bG4RY4zXV8DvFXpx5ZcaRDGd-huWGflWO8Gbbj3K24,438
3068
- openfisca_france/parameters/prestations_sociales/prestations_familiales/petite_enfance/paje/paje_plaf/ne_adopte_apres_04_2018/taux_partiel/plafond_ressources_0_enfant.yaml,sha256=nbH1s7FcGfGidTZKLX0Ubq2djI55YVNpbMr-1NzTXTo,3544
3069
- openfisca_france/parameters/prestations_sociales/prestations_familiales/petite_enfance/paje/paje_plaf/ne_adopte_apres_04_2018/taux_plein/biactifs_parents_isoles.yaml,sha256=Jrsfpob4shPgfEuA2VGykqAmKDJKhScvXmyr2E5Jvbk,3564
3068
+ openfisca_france/parameters/prestations_sociales/prestations_familiales/petite_enfance/paje/paje_plaf/ne_adopte_apres_04_2018/taux_partiel/plafond_ressources_0_enfant.yaml,sha256=fA_cm3zqjo-STN0rDKM9eQI8Ws3I71tHM9F6fXZj-tg,3898
3069
+ openfisca_france/parameters/prestations_sociales/prestations_familiales/petite_enfance/paje/paje_plaf/ne_adopte_apres_04_2018/taux_plein/biactifs_parents_isoles.yaml,sha256=anv69wdfGHvMsYUJtSWaDOFT5C1yfmmtx5PiYndVH90,3899
3070
3070
  openfisca_france/parameters/prestations_sociales/prestations_familiales/petite_enfance/paje/paje_plaf/ne_adopte_apres_04_2018/taux_plein/index.yaml,sha256=dUFRjcQXzjaiPoDZsk3SS9QSV4WPpxs8yNkJOxz5ZBA,398
3071
- openfisca_france/parameters/prestations_sociales/prestations_familiales/petite_enfance/paje/paje_plaf/ne_adopte_apres_04_2018/taux_plein/plafond_ressources_0_enfant.yaml,sha256=LcomYAGZ7IiQVeeBYRBJF4jxdxHgbmB5nRkgTWlOFSE,3517
3071
+ openfisca_france/parameters/prestations_sociales/prestations_familiales/petite_enfance/paje/paje_plaf/ne_adopte_apres_04_2018/taux_plein/plafond_ressources_0_enfant.yaml,sha256=3b7VbeuLPRdHhF5wN6cvHOhLGjZqImfSFagh61nb0hw,3853
3072
3072
  openfisca_france/parameters/prestations_sociales/prestations_familiales/petite_enfance/paje/paje_plaf/ne_adopte_avant_04_2014/biactifs_parents_isoles.yaml,sha256=fRucM0ppdgMcesi7BiIdfnD8ThkORxO5yRd6rWeQfpo,2638
3073
3073
  openfisca_france/parameters/prestations_sociales/prestations_familiales/petite_enfance/paje/paje_plaf/ne_adopte_avant_04_2014/index.yaml,sha256=VAucJnFd_lk1jvbGAuYU7jFdRIr9kII4LfS32BltMvw,354
3074
3074
  openfisca_france/parameters/prestations_sociales/prestations_familiales/petite_enfance/paje/paje_plaf/ne_adopte_avant_04_2014/plafond_ressources_0_enfant.yaml,sha256=xih7iZiJNEuViJPNx35xEwXa39nWLTpfYILIFbOxRU8,2642
@@ -4036,8 +4036,8 @@ openfisca_france/scripts/performance/measure_spiral_performances.py,sha256=cQIxE
4036
4036
  openfisca_france/scripts/performance/measure_tests_performance.py,sha256=HYgSJy-OMZay2AZt6ztntgdUbW_RL2xMr-iHcK-zoVY,1869
4037
4037
  openfisca_france/situation_examples/__init__.py,sha256=BTRmrqk9lsjfhtPXsYcsWqXFEYyFpgLcxNs6oJsy8zk,262
4038
4038
  openfisca_france/situation_examples/couple.json,sha256=Ot1x4wl3IS-2-10X3V7ZUokkOMXi96s-xK7A0gNvRF4,862
4039
- OpenFisca_France-169.13.2.dist-info/LICENSE.AGPL.txt,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
4040
- OpenFisca_France-169.13.2.dist-info/METADATA,sha256=sszJ5k-geYf3JkeIIvPc-YPXY6L87vDzYTUqDjyb1kc,20831
4041
- OpenFisca_France-169.13.2.dist-info/WHEEL,sha256=A3WOREP4zgxI0fKrHUG8DC8013e3dK3n7a6HDbcEIwE,91
4042
- OpenFisca_France-169.13.2.dist-info/top_level.txt,sha256=1LbD6QJWehKGIcjtaJ45tbQOSDiFEXOlIdgWRI_jaHU,17
4043
- OpenFisca_France-169.13.2.dist-info/RECORD,,
4039
+ OpenFisca_France-169.14.1.dist-info/LICENSE.AGPL.txt,sha256=2N5ReRelkdqkR9a-KP-y-shmcD5P62XoYiG-miLTAzo,34519
4040
+ OpenFisca_France-169.14.1.dist-info/METADATA,sha256=lXci4J565UKxyFwWMItCXydUUweHS6cCubwYnJl5qcI,20831
4041
+ OpenFisca_France-169.14.1.dist-info/WHEEL,sha256=A3WOREP4zgxI0fKrHUG8DC8013e3dK3n7a6HDbcEIwE,91
4042
+ OpenFisca_France-169.14.1.dist-info/top_level.txt,sha256=1LbD6QJWehKGIcjtaJ45tbQOSDiFEXOlIdgWRI_jaHU,17
4043
+ OpenFisca_France-169.14.1.dist-info/RECORD,,
@@ -2299,10 +2299,10 @@ class contribution_exceptionnelle_hauts_revenus(Variable):
2299
2299
  # TODO: Gérer le II.-1 du lissage interannuel ? (problème de non recours)
2300
2300
 
2301
2301
 
2302
- class impot_revenu_restant_a_payer(Variable):
2302
+ class impot_revenu_avant_seuils_mise_recouvrement(Variable):
2303
2303
  value_type = float
2304
2304
  entity = FoyerFiscal
2305
- label = 'Impôt sur le revenu des personnes physiques restant à payer, après prise en compte des éventuels acomptes'
2305
+ label = 'Impôt sur le revenu des personnes physiques restant à payer, après prise en compte des éventuels acomptes et avant application des seuils de mise en recouvrement'
2306
2306
  reference = 'https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000041464766'
2307
2307
  definition_period = YEAR
2308
2308
 
@@ -2311,33 +2311,63 @@ class impot_revenu_restant_a_payer(Variable):
2311
2311
  Montant après seuil de recouvrement (hors ppe)
2312
2312
  NB : ce montant l'impôt correspond à une notion administrative :
2313
2313
  dans certains cas, il existe des prélèvements à la source faisant
2314
- office d'acomptes d'impôt sur le revenu (cf. variable acomptes_ir). Ces acomptes sont comptabilisés
2315
- dans la feuille d'impôt comme des crédits d'impôt, mais correspondent économiquement à des montants d'impôt dus.
2316
- Le prélèvement forfaitaire libératoire a déjà été payé il ne doit donc pas être compté dans l'impôt restant à payer.
2317
- En revanche, il compte dans le calcul du seuil de recouvrement.
2314
+ office d'acomptes d'impôt sur le revenu (cf. variable acomptes_ir). Ces acomptes sont comptabilisés dans la feuille d'impôt comme des crédits d'impôt, mais correspondent économiquement à des montants d'impôt dus.
2318
2315
  '''
2319
2316
  iai = foyer_fiscal('iai', period)
2320
2317
  credits_impot = foyer_fiscal('credits_impot', period)
2321
2318
  acomptes_ir = foyer_fiscal('acomptes_ir', period)
2322
- contribution_exceptionnelle_hauts_revenus = foyer_fiscal('contribution_exceptionnelle_hauts_revenus', period)
2323
- prelevement_forfaitaire_unique_ir = foyer_fiscal('prelevement_forfaitaire_unique_ir', period)
2324
- prelevement_forfaitaire_liberatoire = foyer_fiscal('prelevement_forfaitaire_liberatoire', period)
2319
+ cehr = foyer_fiscal('contribution_exceptionnelle_hauts_revenus', period)
2320
+ pfu = foyer_fiscal('prelevement_forfaitaire_unique_ir', period)
2321
+
2322
+ return -(iai + cehr + pfu - credits_impot - acomptes_ir)
2323
+
2324
+
2325
+ class correction_ir_seuils_recouvrement(Variable):
2326
+ value_type = float
2327
+ entity = FoyerFiscal
2328
+ label = 'Montant de la correction de l´impôt sur le revenu par application des seuils de mise en recouvrement'
2329
+ reference = 'https://bofip.impots.gouv.fr/bofip/2496-PGP.html/identifiant%3DBOI-IR-LIQ-20-20-40-20180704#Franchise_pour_les_impositi_14'
2330
+ definition_period = YEAR
2331
+
2332
+ def formula(foyer_fiscal, period, parameters):
2333
+ iai = foyer_fiscal('iai', period)
2334
+ credits_impot = foyer_fiscal('credits_impot', period)
2335
+ acomptes_ir = foyer_fiscal('acomptes_ir', period)
2336
+ cehr = foyer_fiscal('contribution_exceptionnelle_hauts_revenus', period)
2337
+ pfu = foyer_fiscal('prelevement_forfaitaire_unique_ir', period)
2338
+ pfl = foyer_fiscal('prelevement_forfaitaire_liberatoire', period)
2339
+ impots_avant_seuils_mise_recouvrement = foyer_fiscal('impot_revenu_avant_seuils_mise_recouvrement', period)
2340
+ '''
2341
+ Le prélèvement forfaitaire libératoire a déjà été payé il ne doit donc pas être compté dans l'impôt restant à payer.
2342
+ En revanche, il compte dans le calcul du seuil de recouvrement.
2343
+ '''
2325
2344
  parameters_recouvrement = parameters(period).impot_revenu.calcul_impot_revenu.recouvrement
2345
+ seuil_avant_imputations = parameters_recouvrement.min_avant_credits_impots
2346
+ seuil_apres_imputations = parameters_recouvrement.min_apres_credits_impots
2326
2347
 
2327
- pre_result = iai - credits_impot - acomptes_ir + contribution_exceptionnelle_hauts_revenus - prelevement_forfaitaire_unique_ir - prelevement_forfaitaire_liberatoire
2328
- result = iai - credits_impot - acomptes_ir + contribution_exceptionnelle_hauts_revenus - prelevement_forfaitaire_unique_ir
2329
- impots_totaux_avant_imputations = iai + contribution_exceptionnelle_hauts_revenus - prelevement_forfaitaire_unique_ir - prelevement_forfaitaire_liberatoire
2348
+ impots_totaux_avant_imputations = iai + cehr + pfu - pfl
2349
+ impots_totaux_apres_imputations = iai + cehr + pfu - pfl - credits_impot - acomptes_ir
2330
2350
 
2331
- return (
2332
- (impots_totaux_avant_imputations > parameters_recouvrement.min_avant_credits_impots) * (
2333
- ((pre_result <= 0) + (pre_result >= parameters_recouvrement.min_apres_credits_impots))
2334
- * (- result)
2335
- )
2336
- + (impots_totaux_avant_imputations <= parameters_recouvrement.min_avant_credits_impots) * (
2337
- (pre_result < 0)
2338
- * (-result)
2339
- )
2340
- )
2351
+ condition_1 = (impots_totaux_avant_imputations <= seuil_avant_imputations) * (impots_totaux_apres_imputations > 0)
2352
+ condition_2 = (impots_totaux_avant_imputations > seuil_avant_imputations) * (impots_totaux_apres_imputations > 0) * (impots_totaux_apres_imputations <= seuil_apres_imputations)
2353
+
2354
+ condition_correction_seuils_mise_recouvrement = (condition_1 | condition_2)
2355
+
2356
+ return condition_correction_seuils_mise_recouvrement * impots_avant_seuils_mise_recouvrement
2357
+
2358
+
2359
+ class impot_revenu_restant_a_payer(Variable):
2360
+ value_type = float
2361
+ entity = FoyerFiscal
2362
+ label = 'Impôt sur le revenu des personnes physiques restant à payer, après prise en compte des éventuels acomptes et des seuils de mise en recouvrement'
2363
+ reference = 'https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000041464766'
2364
+ definition_period = YEAR
2365
+
2366
+ def formula(foyer_fiscal, period, parameters):
2367
+ impots_avant_seuils_recouvrement = foyer_fiscal('impot_revenu_avant_seuils_mise_recouvrement', period)
2368
+ correction_seuils_recouvrement = foyer_fiscal('correction_ir_seuils_recouvrement', period)
2369
+
2370
+ return (impots_avant_seuils_recouvrement - correction_seuils_recouvrement)
2341
2371
 
2342
2372
 
2343
2373
  class foyer_impose(Variable):
@@ -255,7 +255,7 @@ class prelevement_forfaitaire_unique_ir_hors_assurance_vie(Variable):
255
255
  + plus_values_prelevement_forfaitaire_unique_ir
256
256
  )
257
257
 
258
- return -assiette_pfu_hors_assurance_vie * P.taux_prelevement_forfaitaire_rev_capital_eligibles_pfu_interets_dividendes_etc
258
+ return assiette_pfu_hors_assurance_vie * P.taux_prelevement_forfaitaire_rev_capital_eligibles_pfu_interets_dividendes_etc
259
259
 
260
260
 
261
261
  class prelevement_forfaitaire_unique_ir_sur_assurance_vie(Variable):
@@ -290,7 +290,7 @@ class prelevement_forfaitaire_unique_ir_sur_assurance_vie(Variable):
290
290
  + (max_(f2ww - abattement_residuel2, 0) * parameters_taux)
291
291
  )
292
292
 
293
- return -pfu_ir_sur_assurance_vie
293
+ return pfu_ir_sur_assurance_vie
294
294
 
295
295
 
296
296
  class prelevement_forfaitaire_unique_ir(Variable):
@@ -172,9 +172,11 @@ values:
172
172
  value: 43992
173
173
  2024-01-01:
174
174
  value: 46368
175
+ 2025-01-01:
176
+ value: 47100
175
177
  metadata:
176
178
  short_label: Annuel
177
- last_value_still_valid_on: "2024-01-05"
179
+ last_value_still_valid_on: "2025-01-07"
178
180
  label_en: Social security yearly ceiling
179
181
  ipp_csv_id: pss_a
180
182
  unit: currency
@@ -390,6 +392,11 @@ metadata:
390
392
  2024-01-01:
391
393
  title: Arrêté du 19/12/2023
392
394
  href: https://www.legifrance.gouv.fr/jorf/id/JORFARTI000048708695#JORFARTI000048708695
395
+ 2025-01-01:
396
+ - title: Arrêté du 19/12/2024
397
+ href: https://www.legifrance.gouv.fr/jorf/id/JORFTEXT000050854392
398
+ - title: Site de l'URSSAF
399
+ href: https://www.urssaf.fr/portail/home/taux-et-baremes/plafonds.html
393
400
  official_journal_date:
394
401
  1938-07-01: "1938-06-15"
395
402
  1946-10-01: "1946-10-08"
@@ -469,6 +476,7 @@ metadata:
469
476
  2022-01-01: "2021-12-18"
470
477
  2023-01-01: "2022-12-16"
471
478
  2024-01-01: "2023-12-29"
479
+ 2025-01-01: "2024-12-29"
472
480
  notes:
473
481
  1930-07-01:
474
482
  - title: Voir référence sur Gallica.bnf.fr
@@ -188,9 +188,11 @@ values:
188
188
  value: 3666
189
189
  2024-01-01:
190
190
  value: 3864
191
+ 2025-01-01:
192
+ value: 3925
191
193
  metadata:
192
194
  short_label: Plafond mensuel
193
- last_value_still_valid_on: "2024-01-05"
195
+ last_value_still_valid_on: "2025-01-07"
194
196
  label_en: Social security monthly ceiling
195
197
  ipp_csv_id: pss_m
196
198
  unit: currency
@@ -435,6 +437,9 @@ metadata:
435
437
  2024-01-01:
436
438
  title: Arrêté du 19/12/2023
437
439
  href: https://www.legifrance.gouv.fr/jorf/id/JORFARTI000048708695#JORFARTI000048708695
440
+ 2025-01-01:
441
+ title: Arrêté du 19/12/2024
442
+ href: https://www.legifrance.gouv.fr/jorf/id/JORFTEXT000050854392
438
443
  official_journal_date:
439
444
  1946-07-01: "1945-10-06"
440
445
  1946-10-01: "1946-10-08"
@@ -529,6 +534,7 @@ metadata:
529
534
  2022-01-01: "2021-12-18"
530
535
  2023-01-01: "2022-12-16"
531
536
  2024-01-01: "2023-12-29"
537
+ 2025-01-01: "2024-12-29"
532
538
  notes:
533
539
  1930-07-01:
534
540
  - title: Voir référence sur Gallica.bnf.fr
@@ -58,9 +58,11 @@ values:
58
58
  value: 19827
59
59
  2024-01-01:
60
60
  value: 20878
61
+ 2025-01-01:
62
+ value: 21880
61
63
  metadata:
62
64
  short_label: Base du plafond de ressources
63
- last_value_still_valid_on: "2024-01-26"
65
+ last_value_still_valid_on: "2025-01-07"
64
66
  label_en: "Back-to-school allowance (ARS): Thresholds for means-testing"
65
67
  ipp_csv_id: plaf_ars_0enf
66
68
  unit: currency
@@ -140,6 +142,11 @@ metadata:
140
142
  href: https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000037951022
141
143
  - title: Arrêté du 22/12/2023, art. 3
142
144
  href: https://www.legifrance.gouv.fr/jorf/id/JORFTEXT000048680633
145
+ 2025-01-01:
146
+ - title: Article L543-1 du Code de la sécurité sociale
147
+ href: https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000037951022
148
+ - title: Arrêté du 20/12/2024, art. 3
149
+ href: https://www.legifrance.gouv.fr/jorf/id/JORFTEXT000050842452
143
150
  official_journal_date:
144
151
  1978-07-13: "1985-12-21"
145
152
  1997-07-01: "1997-05-27"
@@ -164,6 +171,7 @@ metadata:
164
171
  2022-01-01: "2021-12-28"
165
172
  2023-01-01: "2022-12-24"
166
173
  2024-01-01: "2023-12-28"
174
+ 2025-01-01: "2024-12-27"
167
175
  notes:
168
176
  1978-07-13:
169
177
  - title: "Plafond: 2,130 fois le salaire minimum de croissance prévu à l'article L 141-4 du code du travail en vigueur au 01/07 de l'année de référence, majoré de 30% à partir du premier enfant, par enfant à charge"
@@ -16,9 +16,11 @@ values:
16
16
  value: 10625
17
17
  2024-01-01:
18
18
  value: 11188
19
+ 2025-01-01:
20
+ value: 11725
19
21
  metadata:
20
22
  short_label: Majoration pour couple avec deux revenus ou parent isolé
21
- last_value_still_valid_on: "2024-01-26"
23
+ last_value_still_valid_on: "2025-01-07"
22
24
  label_en: Increase for couple with two incomes or single parent
23
25
  ipp_csv_id: maj_plaf_paje_bi_pn_pa_abpartiel_a_partir_20180401
24
26
  unit: currency
@@ -55,6 +57,11 @@ metadata:
55
57
  href: https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000042685543
56
58
  - title: Arrêté du 22/12/2023, art. 1
57
59
  href: https://www.legifrance.gouv.fr/jorf/id/JORFTEXT000048680633
60
+ 2025-01-01:
61
+ - title: Article L. 531-2 du code de la sécurité sociale, dernier alinéa
62
+ href: https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000042685543
63
+ - title: Arrêté du 20/12/2024, art. 1
64
+ href: https://www.legifrance.gouv.fr/jorf/id/JORFTEXT000050842452
58
65
  official_journal_date:
59
66
  2004-01-01: "2004-01-01"
60
67
  2018-04-01: 2018-04-28; 2018-05-05; 2017-12-31
@@ -64,6 +71,7 @@ metadata:
64
71
  2022-01-01: "2021-12-28"
65
72
  2023-01-01: "2022-12-24"
66
73
  2024-01-01: "2023-12-28"
74
+ 2025-01-01: "2024-12-27"
67
75
  notes:
68
76
  2004-01-01:
69
77
  - title: "Création de la PAJE. Mais entrée en vigueur progressive : de janvier 2004 à décembre 2006 inclus (cf. art. 60, VIII de la loi 2003-1199)"
@@ -16,9 +16,11 @@ values:
16
16
  value: 26432
17
17
  2024-01-01:
18
18
  value: 27833
19
+ 2025-01-01:
20
+ value: 29169
19
21
  metadata:
20
22
  short_label: Base du plafond de ressources
21
- last_value_still_valid_on: "2024-01-26"
23
+ last_value_still_valid_on: "2025-01-07"
22
24
  label_en: Resource ceiling base
23
25
  ipp_csv_id: plaf_paje_0enf_pn_pa_abpartiel_a_partir_20180401
24
26
  unit: currency
@@ -55,6 +57,11 @@ metadata:
55
57
  href: https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000042685543
56
58
  - title: Arrêté du 22/12/2023, art. 1
57
59
  href: https://www.legifrance.gouv.fr/jorf/id/JORFTEXT000048680633
60
+ 2025-01-01:
61
+ - title: Article L. 531-2 du code de la sécurité sociale, dernier alinéa
62
+ href: https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000042685543
63
+ - title : Arrêté du 20/12/2024, art. 1
64
+ href: https://www.legifrance.gouv.fr/jorf/id/JORFTEXT000050842452
58
65
  official_journal_date:
59
66
  2004-01-01: "2004-01-01"
60
67
  2018-04-01: 2018-04-28; 2018-05-05; 2017-12-31
@@ -64,6 +71,7 @@ metadata:
64
71
  2022-01-01: "2021-12-28"
65
72
  2023-01-01: "2022-12-24"
66
73
  2024-01-01: "2023-12-28"
74
+ 2025-01-01: "2024-12-27"
67
75
  notes:
68
76
  2004-01-01:
69
77
  - title: "Création de la PAJE. Mais entrée en vigueur progressive : de janvier 2004 à décembre 2006 inclus (cf. art. 60, VIII de la loi 2003-1199)"
@@ -16,9 +16,11 @@ values:
16
16
  value: 8892
17
17
  2024-01-01:
18
18
  value: 9363
19
+ 2025-01-01:
20
+ value: 9812
19
21
  metadata:
20
22
  short_label: Majoration pour couple avec deux revenus ou parent isolé
21
- last_value_still_valid_on: "2024-01-26"
23
+ last_value_still_valid_on: "2025-01-07"
22
24
  label_en: Increase for couple with two incomes or single parent
23
25
  ipp_csv_id: maj_plaf_paje_bi_abplein_a_partir_20180401
24
26
  unit: currency
@@ -55,6 +57,11 @@ metadata:
55
57
  href: https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000036393143
56
58
  - title: Arrêté du 22/12/2023, art. 1
57
59
  href: https://www.legifrance.gouv.fr/jorf/id/JORFTEXT000048680633
60
+ 2025-01-01:
61
+ - title: Article L. 531-3 du code de la sécurité sociale
62
+ href: https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000036393143
63
+ - title: Arrêté du 20/12/2024, art. 1
64
+ href: https://www.legifrance.gouv.fr/jorf/id/JORFTEXT000050842452
58
65
  official_journal_date:
59
66
  2004-01-01: "2004-01-01"
60
67
  2018-04-01: 2018-04-28; 2018-05-05; 2017-12-31
@@ -64,6 +71,7 @@ metadata:
64
71
  2022-01-01: "2021-12-28"
65
72
  2023-01-01: "2022-12-24"
66
73
  2024-01-01: "2023-12-28"
74
+ 2025-01-01: "2024-12-27"
67
75
  notes:
68
76
  2004-01-01:
69
77
  - title: "Création de la PAJE. Mais entrée en vigueur progressive : de janvier 2004 à décembre 2006 inclus (cf. art. 60, VIII de la loi 2003-1199)"
@@ -16,9 +16,11 @@ values:
16
16
  value: 22123
17
17
  2024-01-01:
18
18
  value: 23296
19
+ 2025-01-01:
20
+ value: 24414
19
21
  metadata:
20
22
  short_label: Base du plafond de ressources
21
- last_value_still_valid_on: "2024-01-26"
23
+ last_value_still_valid_on: "2025-01-07"
22
24
  label_en: Resource ceiling base
23
25
  ipp_csv_id: plaf_paje_0enf_abplein_a_partir_20180401
24
26
  unit: currency
@@ -55,6 +57,11 @@ metadata:
55
57
  href: https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000036393143
56
58
  - title: Arrêté du 22/12/2023, art. 1
57
59
  href: https://www.legifrance.gouv.fr/jorf/id/JORFTEXT000048680633
60
+ 2025-01-01:
61
+ - title: Article L. 531-3 du code de la sécurité sociale
62
+ href: https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000036393143
63
+ - title: Arrêté du 20/12/2024, art. 1
64
+ href: https://www.legifrance.gouv.fr/jorf/id/JORFTEXT000050842452
58
65
  official_journal_date:
59
66
  2004-01-01: "2004-01-01"
60
67
  2018-04-01: 2018-04-28; 2018-05-05; 2017-12-31
@@ -64,6 +71,7 @@ metadata:
64
71
  2022-01-01: "2021-12-28"
65
72
  2023-01-01: "2022-12-24"
66
73
  2024-01-01: "2023-12-28"
74
+ 2025-01-01: "2024-12-27"
67
75
  notes:
68
76
  2004-01-01:
69
77
  - title: "Création de la PAJE. Mais entrée en vigueur progressive : de janvier 2004 à décembre 2006 inclus (cf. art. 60, VIII de la loi 2003-1199)"