Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ipp 2 : Update taxation des revenus du capital dans IR #908

Merged

Conversation

claireleroy
Copy link
Contributor

@claireleroy claireleroy commented Feb 19, 2018

Les modifications de cette PR sont comparées à la branche ipp-update-charges-deductibles (#907)

  • Évolution du système socio-fiscal.
  • Périodes concernées : à partir du 01/01/2008 (mais surtout à partir du changement législatif du 01/01/2013)
  • Zones impactées :
  • openfisca_france/model/prelevements_obligatoires/impot_revenu/ir.py.
  • openfisca_france/model/revenus/capital
  • openfisca_france/reforms/allocations_familiales_imposables.py
  • Détails :
    • A partir de 2013, une partie des plus-values est taxé au barème alors qu'avant elles étaient taxées forfaitairement => correction de la formule de l'IR
    • Les plus-values et revenus du capital (taxées forfaitairement ou au barème ou éxonérées) doivent entrer en compte dans le calcul du RFR => correction de la formule du RFR
    • Correction d'un des taux forfaitaires

Ces changements :

  • Impactent l'API publique d'OpenFisca France (par exemple renommage ou suppression de variables).
  • Ajoutent une fonctionnalité (par exemple ajout d'une variable).
  • Corrigent ou améliorent un calcul déjà existant.

CHANGELOG.md Outdated
@@ -1,5 +1,29 @@
# Changelog

### 20.0.10 [#908](https://github.com/openfisca/openfisca-france/pull/908)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

20.3 --> changement mineur

CHANGELOG.md Outdated
* Évolution du système socio-fiscal.
* Périodes concernées : 2009 - 2016
* Détails :
- A partir de 2013, une partie des plus-values est taxé au barème alors qu'avant elles étaient taxées forfaitairement => correction de la formule de l'IR
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Une fomulation type :

- Correction de la formule de l'IR : A partir de 2013, une partie des plus-values est taxé au barème alors qu'avant elles étaient taxées forfaitairement. 

Ne serait-elle pas plus claire ?

CHANGELOG.md Outdated
* Périodes concernées : 2009 - 2016
* Détails :
- A partir de 2013, une partie des plus-values est taxé au barème alors qu'avant elles étaient taxées forfaitairement => correction de la formule de l'IR
- Les plus-values et revenus du capital (taxées forfaitairement ou au barème ou éxonérées) doivent entrer en compte dans le calcul du RFR => correction de la formule du RFR
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

idem

f3vl = foyer_fiscal('f3vl', period)
f3vm = foyer_fiscal('f3vm', period)
f3vp = foyer_fiscal('f3vp', period)
f3vt = foyer_fiscal('f3vt', period)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Est-ce que ce serait plus clair pour les personnes qui ne connaissent pas très bien les formules, d'indiquer par un commentaire (type # Repport année précédente les lignes qui diffèrent entre deux version de la même formule quand la structure est très similaire ?

@@ -1634,23 +1685,23 @@ def formula(foyer_fiscal, period, parameters):
f3vg -> rev_cat_pv -> ... -> rni
'''
rni = foyer_fiscal('rni', period)
f3va_i = foyer_fiscal.members('f3va', period)
f3vi_i = foyer_fiscal.members('f3vi', period)
abatnet_retraite_dirigeant_pme = foyer_fiscal('abatnet_retraite_dirigeant_pme', period)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

abattement_retraite_dirigeant_pme ne serait-il pas plus clair que abatnet_retraite_dirigeant_pme?

end = '2014-12-31'
definition_period = YEAR

class abatnet_retraite_dirigeant_pme(Variable):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

abattement_net_retraite_dirigeant_pme ne serait-il pas plus explicite que abatnet_retraite_dirigeant_pme?

class abatnet_retraite_dirigeant_pme(Variable):
value_type = int
unit = 'currency'
entity = FoyerFiscal
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Serait-il possible d'ajouter une référence à cette variable ?


return f3va - f3vb

class abatnet_duree_detention(Variable):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

abattement_net_duree_detention ne serait-il pas plus explicite que abatnet_duree_detention?

value_type = int
unit = 'currency'
entity = FoyerFiscal
label = u"Abattement net pour durée de détention"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Serait-il possible d'ajouter une référence à cette variable ?

setup.py Outdated
@@ -7,7 +7,7 @@

setup(
name = 'OpenFisca-France',
version = '20.0.7',
version = '20.0.10',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version mineure --> 20.3

@Anna-Livia
Copy link
Contributor

Il faut ajouter des tests (2). Si cela n'est pas possible tout de suite, il faut créer une issue pour qu'on garde une trace.

CHANGELOG.md Outdated
* Périodes concernées : 2009 - 2016
* Détails :
- A partir de 2013, une partie des plus-values est taxé au barème alors qu'avant elles étaient taxées forfaitairement => correction de la formule de l'IR
- Les plus-values et revenus du capital (taxées forfaitairement ou au barème ou éxonérées) doivent entrer en compte dans le calcul du RFR => correction de la formule du RFR
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ajouter la création de nouvelles variables avec leur noms

Claire Leroy and others added 19 commits March 9, 2018 09:07
…household tax deduction on financial profit and loss)
(1) - Capital losses only compensate capital gain (do not count in RFR)
(2) - 3VD taxed at 18% in 2011 not 19%
(3) - rpns_pvce was counted twice in rfr
(1) - Capital losses only compensate capital gain (do not count in RFR)
(2) - 3VD taxed at 18% in 2011 not 19%
Capital loss only compensate capital gains.
Net capital loss is only reported because it can compensate future capital gains within 10 years
…ues hormis celle taxées au barème (et entrant donc dans le RNI)
@Anna-Livia Anna-Livia force-pushed the ipp-update-revenus-du-capital branch from 0f8e2af to 6b4350e Compare March 9, 2018 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants