Skip to content

Commit

Permalink
Loi de finances 2025 (#181)
Browse files Browse the repository at this point in the history
* Update bareme IR

* Add CSS, pert d'emploi
  • Loading branch information
benjello authored Dec 18, 2024
1 parent aa225eb commit a854369
Show file tree
Hide file tree
Showing 10 changed files with 134 additions and 10 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

### 0.41.4 - [#181](https://github.com/openfisca/openfisca-tunisia/pull/181)

* Évolution du système socio-fiscal.
* Périodes concernées : après 2025-01-01
* Zones impactées : `impot_revenu`, `cotisations_sociales`.
* Détails :
- Nouveau barème de l'IR
- Nouveau taux de CSS
- Nouveau prélèvement (paramètres seulement dans RSNA) pour financer l'assurance perte d'emploi

### 0.41.3 - [#179](https://github.com/openfisca/openfisca-tunisia/pull/179)

* Évolution du système socio-fiscal.
Expand Down
37 changes: 37 additions & 0 deletions openfisca_tunisia/parameters/impot_revenu/bareme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,39 +16,76 @@ brackets:
value: 0.15
2017-01-01:
value: 0.26
2025-01-01:
value: 0.15
- threshold:
1990-01-01:
value: 5000
2017-01-01:
value: 20000
2025-01-01:
value: 10000
rate:
1990-01-01:
value: 0.2
2017-01-01:
value: 0.28
2025-01-01:
value: .25
- threshold:
1990-01-01:
value: 10000
2017-01-01:
value: 30000
2025-01-01:
value: 20000
rate:
1990-01-01:
value: 0.25
2017-01-01:
value: 0.32
2025-01-01:
value: .30
- threshold:
1990-01-01:
value: 20000
2017-01-01:
value: 50000
2025-01-01:
value: 30000
rate:
1990-01-01:
value: 0.3
2017-01-01:
value: 0.35
2025-01-01:
value: .33
- threshold:
2025-01-01:
value: 40000
rate:
2025-01-01:
value: .36
- threshold:
2025-01-01:
value: 50000
rate:
2025-01-01:
value: .38
- threshold:
2025-01-01:
value: 70000
rate:
2025-01-01:
value: .40
metadata:
reference:
2025-01-01:
- title: Loi 2024-48 du 9 décembre 2024 portant loi de finances pour 2025
href: https://facture-tunisie.com/411/fr/38/reglementations/principales-dispositions-du-projet-de-la-loi-de-finances-2025
2017-01-01:
href: http://doc-fiscale.finances.gov.tn/cimf-internet/page/document/fr/preview?path=/Loi%20de%20Finances/2017/Loi%20de%20finances%202017.pdf#page=4
rate_unit: /1
threshold_unit: currency
official_journal_date:
2025-01-01: '2024-12-10'
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
description: Contribution sociale de solidarité (barème salarié)
brackets:
- rate:
2025-01-01:
value: 0.005
2018-01-01:
value: 0.01
threshold:
Expand All @@ -10,10 +12,14 @@ metadata:
rate_unit: /1
threshold_unit: currency
reference:
2025-01-01:
- title: Loi 2024-48 du 9 décembre 2024 portant loi de finances pour 2025
href: https://facture-tunisie.com/411/fr/38/reglementations/principales-dispositions-du-projet-de-la-loi-de-finances-2025
2018-01-01:
- title: Article 53 de la loi n° 2017-66 du 18 décembre 2017, portant loi de finances pour l’année 2018
href: https://jibaya.tn/docs/loi-n-2017-66-du-18-decembre-2017-portant-loi-de-finances-pour-lannee-2018/
- title: Note commune 2018/01
href: https://jibaya.tn/docs/note-commune-numero-1-commentaire-des-dispositions-de-larticle-53-de-la-loi-n-2017-66-du-18-decembre-2017-portant-loi-de-finances-pour-lannee-2018-relatives-a-lins-2/
official_journal_date:
2025-01-01: '2024-12-10'
2018-01-01: "2017-12-19"
Original file line number Diff line number Diff line change
@@ -1 +1 @@
description: Patronales
description: Cotisations patronales
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
description: Cotisation employeur pour financer le fonds de gestion de perte d'emploi
brackets:
- threshold:
2025-01-01:
value: 0
rate:
2025-01-01:
value: 0.005
metadata:
short_label: Perte d'emploi
rate_unit: /1
threshold_unit: currency
reference:
2025-01-01:
- title: Loi 2024-48 du 9 décembre 2024 portant loi de finances pour 2025
href: https://facture-tunisie.com/411/fr/38/reglementations/principales-dispositions-du-projet-de-la-loi-de-finances-2025
official_journal_date:
2025-01-01: '2024-12-10'
Original file line number Diff line number Diff line change
@@ -1 +1 @@
description: Salariales
description: Cotisations salariales
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
description: Cotisation employeur pour financer le fonds de gestion de perte d'emploi
brackets:
- threshold:
2025-01-01:
value: 0
rate:
2025-01-01:
value: 0.005
metadata:
short_label: Perte d'emploi
rate_unit: /1
threshold_unit: currency
reference:
2025-01-01:
- title: Loi 2024-48 du 9 décembre 2024 portant loi de finances pour 2025
href: https://facture-tunisie.com/411/fr/38/reglementations/principales-dispositions-du-projet-de-la-loi-de-finances-2025
official_journal_date:
2025-01-01: '2024-12-10'
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ class revenus_fonciers(Variable):

def formula(foyer_fiscal, period):
foncier_reel_resultat_fiscal = foyer_fiscal.declarant_principal('foncier_reel_resultat_fiscal', period = period)
fon_forf_bati = foyer_fiscal('fon_forf_bati', period = period)
fon_forf_nbat = foyer_fiscal('fon_forf_nbat', period = period)
foncier_forfait_bati_resultat_fiscal = foyer_fiscal('foncier_forfait_bati_resultat_fiscal', period = period)
foncier_forfait_non_bati_resultat_fiscal = foyer_fiscal('foncier_forfait_non_bati_resultat_fiscal', period = period)
foncier_societes_personnes = foyer_fiscal.declarant_principal('foncier_societes_personnes', period = period)

return foncier_reel_resultat_fiscal + fon_forf_bati + fon_forf_nbat + foncier_societes_personnes
return foncier_reel_resultat_fiscal + foncier_forfait_bati_resultat_fiscal + foncier_forfait_non_bati_resultat_fiscal + foncier_societes_personnes


class fon_forf_bati(Variable):
class foncier_forfait_bati_resultat_fiscal(Variable):
value_type = float
entity = FoyerFiscal
label = 'Revenus fonciers net des immeubles bâtis'
Expand All @@ -43,7 +43,7 @@ def formula(foyer_fiscal, period, parameters):
)


class fon_forf_nbat(Variable):
class foncier_forfait_non_bati_resultat_fiscal(Variable):
value_type = float
entity = FoyerFiscal
label = 'Revenus fonciers net des terrains non bâtis'
Expand Down
39 changes: 37 additions & 2 deletions openfisca_tunisia/variables/revenus/remplacement/retraite.py
Original file line number Diff line number Diff line change
@@ -1,22 +1,57 @@
from openfisca_tunisia.variables.base import *


# Pensions de retraite
# Pensions

class pension(Variable):

class pension_de_retraite(Variable):
value_type = float
label = 'Pension'
entity = Individu
definition_period = MONTH
set_input = set_input_divide_by_period


class pension_orphelin(Variable):
value_type = float
label = 'Pension'
entity = Individu
definition_period = MONTH
set_input = set_input_divide_by_period


class pension_d_invalidite(Variable):
value_type = float
label = 'Pension'
entity = Individu
definition_period = MONTH
set_input = set_input_divide_by_period


class pension(Variable):
value_type = float
label = 'Pension'
entity = Individu
definition_period = YEAR
set_input = set_input_divide_by_period

def formula(individu, period):
return (
individu('pension_de_retraite', period, options = [ADD])
+ individu('pension_d_invalidite', period, options = [ADD])
+ individu('pension_orphelin', period, options = [ADD])
)


class revenu_assimile_pension(Variable):
value_type = float
label = 'Revenus assimilés à des pensions (pensions et rentes viagères)'
entity = Individu
definition_period = YEAR

def formula_2025_01(individu, period):
return individu('pension_de_retraite', period, options = [ADD])

def formula(individu, period):
return individu('pension', period, options = [ADD])

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "OpenFisca-Tunisia"
version = "0.41.3"
version = "0.41.4"
description = "OpenFisca Rules as Code model for Tunisia."
readme = "README.md"
keywords = ["microsimulation", "tax", "benefit", "rac", "rules-as-code", "tunisia"]
Expand Down

0 comments on commit a854369

Please sign in to comment.