Skip to content

Commit

Permalink
Ajout de tests sur la taxation du capital
Browse files Browse the repository at this point in the history
Merge pull request #1834 from openfisca/ajout_tests_capital
  • Loading branch information
benoit-cty authored Apr 7, 2022
2 parents cb258a3 + c341e2e commit c7f5f0f
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
# Changelog

### 116.2.1 [#1834](https://github.com/openfisca/openfisca-france/pull/1834)
* Amélioration technique.
* Périodes concernées : À partir de 2018
* Zones impactées : `tests/formulas/taxation_capital.yaml`
* Détails :
- Ajoute un cas de concernant la taxation de l'assurance vie.

## 116.2.0 [#1832](https://github.com/openfisca/openfisca-france/pull/1832)
* Changement mineur.
* Périodes concernées : à partir du 01/06/2009
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setup(
name = "OpenFisca-France",
version = "116.2.0",
version = "116.2.1",
author = "OpenFisca Team",
author_email = "contact@openfisca.fr",
classifiers = [
Expand Down
20 changes: 20 additions & 0 deletions tests/formulas/taxation_capital.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
- name: "Assurance-vie : Revenus capital nets de prélèvements sociaux"
period: 2022
input:
f2zz: 155000
statut_marital: "celibataire"
output:
# Revenus capital nets de prélèvements sociaux (9.2% CSG + 0.5% CRDS + 7.5% Prélèv. solidarité) = 17.2%
revenus_nets_du_capital: 155_000 * (1 - (0.092 + 0.005 + 0.075))

- name: Assurance-vie - Prélèv. forfaitaire unique (PFU) hors prélèvements sociaux
period: 2022
input:
f2zz:
2021: 155000 # Revenu N-1 pour ne pas avoir de RSA
2022: 155000
output:
# Prélèv. forfaitaire unique (PFU) hors prélèvements sociaux 155000 - 12,8% = 19 840 €
prelevement_forfaitaire_unique_ir_sur_assurance_vie: 155_000 * (- 0.128)
# revenu_disponible = 155 000€ - "flat tax" de 30% (PFU 12.8% + revenus_nets_du_capital 17.2%)
revenu_disponible: 155_000 * (1 - (0.092 + 0.005 + 0.075 + 0.128))

0 comments on commit c7f5f0f

Please sign in to comment.