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

2017 rates fix : Fillon & maladie employeur #684

Merged
merged 6 commits into from
Feb 16, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog


## 13.1.5

* Fix 2017 rates and test them:
- réduction générale sur les bas salaires (fillon) had a minor difference (we used the 2016 provisionnal value)
- maladie MMID employeur had not been updated

## 13.1.4

* Fix AGS value in cotsoc.xml. v10.0.1's fix was ineffective.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ class allegement_fillon(DatedVariable):
column = FloatCol
entity = Individu
label = u"Allègement de charges employeur sur les bas et moyens salaires (dit allègement Fillon)"
url = u"https://www.service-public.fr/professionnels-entreprises/vosdroits/F24542"

# Attention : cet allègement a des règles de cumul spécifiques

Expand All @@ -327,7 +328,7 @@ def function(self, simulation, period):
def compute_allegement_fillon(simulation, period):
"""
Exonération Fillon
http://www.securite-sociale.fr/comprendre/dossiers/exocotisations/exoenvigueur/fillon.htm
https://www.service-public.fr/professionnels-entreprises/vosdroits/F24542
"""
assiette = simulation.calculate_add('assiette_allegement', period)
smic_proratise = simulation.calculate_add('smic_proratise', period)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,7 @@ class mmid_employeur(Variable):
column = FloatCol
entity = Individu
label = u"Cotisation maladie (employeur)"
url = u"https://www.urssaf.fr/portail/home/employeur/calculer-les-cotisations/les-taux-de-cotisations/la-cotisation-maladie---maternit.html"

def function(self, simulation, period):
period = period.start.period(u'month').offset('first-of')
Expand Down
10 changes: 5 additions & 5 deletions openfisca_france/param/param.xml
Original file line number Diff line number Diff line change
Expand Up @@ -939,15 +939,15 @@
<VALUE deb="2005-07-01" fin="2016-12-31" valeur="1.6" />
</CODE>
<CODE code="tx_max" description="Taux maximum (plus de 20 salariés)" format="percent">
<VALUE deb="2018-01-01" fuzzy="true" valeur=".2850" />
<VALUE deb="2017-01-01" fin="2017-12-31" valeur=".2850" />
<VALUE deb="2018-01-01" fuzzy="true" valeur=".2849" />
<VALUE deb="2017-01-01" fin="2017-12-31" valeur=".2849" />
<VALUE deb="2016-01-01" fin="2016-12-31" valeur=".2842" />
<VALUE deb="2015-01-01" fin="2015-12-31" valeur=".2835" />
<VALUE deb="2005-07-01" fin="2014-12-31" valeur=".26" />
</CODE>
<CODE code="tx_max2" description="Taux maximum (moins de 20 salariés)" format="percent">
<VALUE deb="2018-01-01" fuzzy="true" valeur=".2810" />
<VALUE deb="2017-01-01" fin="2017-12-31" valeur=".2810" />
<VALUE deb="2018-01-01" fuzzy="true" valeur=".2809" />
<VALUE deb="2017-01-01" fin="2017-12-31" valeur=".2809" />
<VALUE deb="2016-01-01" fin="2016-12-31" valeur=".2802" />
<VALUE deb="2015-01-01" fin="2015-12-31" valeur=".2795" />
<VALUE deb="2007-07-01" fin="2014-12-31" valeur=".281" />
Expand Down Expand Up @@ -1579,7 +1579,7 @@
<VALUE deb="1992-07-01" fin="2014-12-31" valeur="0" />
</SEUIL>
<TAUX>
<VALUE deb="2017-01-01" fuzzy="true" valeur="0.1284" />
<VALUE deb="2017-01-01" fuzzy="true" valeur="0.1289" />
<VALUE deb="2016-01-01" fin="2016-12-31" valeur="0.1284" />
<VALUE deb="1992-07-01" fin="2015-12-31" valeur="0.128" />
</TAUX>
Expand Down
2 changes: 1 addition & 1 deletion openfisca_france/parameters/cotsoc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@
<VALUE deb="1992-07-01" fin="2014-12-31" valeur="0" />
</SEUIL>
<TAUX>
<VALUE deb="2017-01-01" fuzzy="true" valeur="0.1284" />
<VALUE deb="2017-01-01" fuzzy="true" valeur="0.1289" />
<VALUE deb="2016-01-01" fin="2016-12-31" valeur="0.1284" />
<VALUE deb="1992-07-01" fin="2015-12-31" valeur="0.128" />
</TAUX>
Expand Down
7 changes: 4 additions & 3 deletions openfisca_france/parameters/prelevements_sociaux.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2215,7 +2215,8 @@
<VALUE deb="1967-10-01" fuzzy="true" valeur="0" />
</SEUIL>
<TAUX>
<VALUE deb="2016-01-01" fuzzy="true" valeur="0.1284" />
<VALUE deb="2017-01-01" fuzzy="true" valeur="0.1289" />
<VALUE deb="2016-01-01" fin="2016-12-31" valeur="0.1284" />
<VALUE deb="1992-01-01" fin="2015-12-31" valeur="0.128" />
<VALUE deb="1984-01-01" fin="1991-12-31" valeur="0.126" />
<VALUE deb="1981-11-01" fin="1983-12-31" valeur="0.08" />
Expand Down Expand Up @@ -2529,13 +2530,13 @@
</CODE>
<NODE code="reduction_maximale" origin="ipp">
<CODE code="entreprises_de_20_salaries_et_plus" origin="ipp">
<VALUE deb="2017-01-01" fuzzy="true" valeur="0.2847" />
<VALUE deb="2017-01-01" fuzzy="true" valeur="0.2849" />
<VALUE deb="2016-01-01" fin="2016-12-31" valeur="0.2842" />
<VALUE deb="2015-01-01" fin="2015-12-31" valeur="0.2835" />
<VALUE deb="2005-07-01" fin="2014-12-31" valeur="0.26" />
</CODE>
<CODE code="entreprises_de_moins_de_20_salaries" origin="ipp">
<VALUE deb="2017-01-01" fuzzy="true" valeur="0.2807" />
<VALUE deb="2017-01-01" fuzzy="true" valeur="0.2809" />
<VALUE deb="2016-01-01" fin="2016-12-31" valeur="0.2802" />
<VALUE deb="2015-01-01" fin="2015-12-31" valeur="0.2795" />
<VALUE deb="2007-07-01" fin="2014-12-31" valeur="0.281" />
Expand Down
8 changes: 8 additions & 0 deletions openfisca_france/tests/formulas/maladie_mmid_employeur.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
- period: "2017-02"
name:
Cotisation maladie MMID employeur
relative_error_margin: 0.001
input_variables:
salaire_de_base: 2300
output_variables:
mmid_employeur: -.1289 * 2300
15 changes: 15 additions & 0 deletions openfisca_france/tests/formulas/reduction_generale-fillon.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
- period: "2017-01"
name: Base
relative_error_margin: 0.001
input_variables:
allegement_fillon_mode_recouvrement: 1
effectif_entreprise: 1
salaire_de_base: 1500
output_variables:
allegement_fillon: >
1500 *
(
(.2809 / .6)
*
(1.6 * ( 17763.20 / (1500 * 12)) - 1)
)
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name = 'OpenFisca-France',
version = '13.1.4',
version = '13.1.5',
author = 'OpenFisca Team',
author_email = 'contact@openfisca.fr',
classifiers = [
Expand Down