mirror of
https://github.com/betagouv/mon-entreprise
synced 2025-03-11 06:25:05 +00:00
feat(auto-entrepreneur): met à jour les taux de cotisation des auto-entrepreneurs au 1er juillet 2024 #3010
This commit is contained in:
parent
2645b49b56
commit
8d04dbb650
6 changed files with 70 additions and 70 deletions
|
@ -496,7 +496,7 @@ exports[`e2e test mon-entreprise api > Test evaluate micro entreprise 2`] = `
|
|||
"établissement . commune . département",
|
||||
"établissement . commune . département . outre-mer",
|
||||
],
|
||||
"nodeValue": 8946.000000000002,
|
||||
"nodeValue": 9786.000000000002,
|
||||
"unit": {
|
||||
"denominators": [
|
||||
"an",
|
||||
|
@ -528,7 +528,7 @@ exports[`e2e test mon-entreprise api > Test evaluate micro entreprise 2`] = `
|
|||
"établissement . commune . département",
|
||||
"établissement . commune . département . outre-mer",
|
||||
],
|
||||
"nodeValue": 31585,
|
||||
"nodeValue": 30745,
|
||||
"unit": {
|
||||
"denominators": [
|
||||
"an",
|
||||
|
|
|
@ -162,19 +162,13 @@ describe('e2e test mon-entreprise api', () => {
|
|||
})
|
||||
|
||||
it('Test json mal formaté', async () => {
|
||||
await expect(
|
||||
chai
|
||||
.request(server)
|
||||
.post('/api/v1/evaluate')
|
||||
.set('Content-Type', 'application/json')
|
||||
.send('{ x: bad json }')
|
||||
.then((res) => {
|
||||
expect(res.status).toMatchInlineSnapshot('400')
|
||||
const response = await chai
|
||||
.request(server)
|
||||
.post('/api/v1/evaluate')
|
||||
.set('Content-Type', 'application/json')
|
||||
.send('{ x: bad json }')
|
||||
|
||||
return res.text
|
||||
})
|
||||
).resolves.toMatchInlineSnapshot(
|
||||
'"Unexpected token x in JSON at position 2"'
|
||||
)
|
||||
expect(response.status).toBe(400)
|
||||
expect(response.text.includes('in JSON at position 2')).toEqual(true)
|
||||
})
|
||||
})
|
||||
|
|
|
@ -294,6 +294,8 @@ dirigeant . auto-entrepreneur . cotisations et contributions . cotisations:
|
|||
avec:
|
||||
taux:
|
||||
variations:
|
||||
- si: date >= 07/2024
|
||||
alors: 23.1%
|
||||
- si: date >= 10/2022
|
||||
alors: 21.1%
|
||||
- sinon: 22%
|
||||
|
@ -368,7 +370,11 @@ dirigeant . auto-entrepreneur . cotisations et contributions . cotisations:
|
|||
- entreprise . chiffre d'affaires
|
||||
- taux
|
||||
|
||||
cotisations CIPAV . taux: 21.2%
|
||||
cotisations CIPAV . taux:
|
||||
variations:
|
||||
- si: date >= 07/2024
|
||||
alors: 23.2%
|
||||
- sinon: 21.2%
|
||||
|
||||
taux prestation de service:
|
||||
déprécié: oui
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
date: 06/01/2024
|
||||
date: 01/07/2024
|
||||
période: oui
|
||||
période . jours ouvrés moyen par mois:
|
||||
formule: 21 jour ouvré/mois
|
||||
|
|
|
@ -136,7 +136,7 @@ dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . ré
|
|||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BIC: 177
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BIC . taux: 21
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BNC: 0
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BNC . taux: 21
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BNC . taux: 23
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . vente restauration hébergement: 103
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . vente restauration hébergement . taux: 12
|
||||
dirigeant . auto-entrepreneur . revenu net: 16630
|
||||
|
@ -148,21 +148,21 @@ Notifications affichées : entreprise . TVA . franchise de TVA . notification"
|
|||
|
||||
exports[`calculate simulations-auto-entrepreneur > activité mixte 2`] = `
|
||||
"dirigeant . auto-entrepreneur . chiffre d'affaires: 20000
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions: 306
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations: 303
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . autres contributions: 106
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . invalidité-décès: 12
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . maladie-maternité: 15
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions: 328
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations: 325
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . autres contributions: 114
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . invalidité-décès: 13
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . maladie-maternité: 16
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . retraite complémentaire: 11
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . retraite de base: 159
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . retraite de base: 171
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BIC: 0
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BIC . taux: 21
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BNC: 234
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BNC . taux: 21
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BNC: 257
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BNC . taux: 23
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . vente restauration hébergement: 68
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . vente restauration hébergement . taux: 12
|
||||
dirigeant . auto-entrepreneur . revenu net: 16333
|
||||
dirigeant . auto-entrepreneur . revenu net . après impôt: 16333
|
||||
dirigeant . auto-entrepreneur . revenu net: 16067
|
||||
dirigeant . auto-entrepreneur . revenu net . après impôt: 16067
|
||||
dirigeant . rémunération . impôt: 0
|
||||
|
||||
Notifications affichées : entreprise . TVA . franchise de TVA . notification"
|
||||
|
@ -180,7 +180,7 @@ dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . ré
|
|||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BIC: 177
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BIC . taux: 21
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BNC: 0
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BNC . taux: 21
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BNC . taux: 23
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . vente restauration hébergement: 103
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . vente restauration hébergement . taux: 12
|
||||
dirigeant . auto-entrepreneur . revenu net: 16518
|
||||
|
@ -192,17 +192,17 @@ Notifications affichées : entreprise . TVA . franchise de TVA . notification"
|
|||
|
||||
exports[`calculate simulations-auto-entrepreneur > activité mixte 4`] = `
|
||||
"dirigeant . auto-entrepreneur . chiffre d'affaires: undefined
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions: 689
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations: 683
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . autres contributions: 215
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . invalidité-décès: 23
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . maladie-maternité: 52
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions: 705
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations: 700
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . autres contributions: 221
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . invalidité-décès: 24
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . maladie-maternité: 53
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . retraite complémentaire: 84
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . retraite de base: 310
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . retraite de base: 319
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BIC: 353
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BIC . taux: 21
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BNC: 176
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BNC . taux: 21
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BNC: 193
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BNC . taux: 23
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . vente restauration hébergement: 154
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . vente restauration hébergement . taux: 12
|
||||
dirigeant . auto-entrepreneur . revenu net: undefined
|
||||
|
@ -212,21 +212,21 @@ dirigeant . rémunération . impôt: 670"
|
|||
|
||||
exports[`calculate simulations-auto-entrepreneur > activités 1`] = `
|
||||
"dirigeant . auto-entrepreneur . chiffre d'affaires: 20000
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions: 355
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations: 352
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . autres contributions: 128
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . invalidité-décès: 14
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . maladie-maternité: 14
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions: 388
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations: 385
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . autres contributions: 141
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . invalidité-décès: 16
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . maladie-maternité: 15
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . retraite complémentaire: 0
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . retraite de base: 195
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . retraite de base: 214
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BIC: null
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BIC . taux: null
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BNC: 352
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BNC . taux: 21
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BNC: 385
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BNC . taux: 23
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . vente restauration hébergement: null
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . vente restauration hébergement . taux: null
|
||||
dirigeant . auto-entrepreneur . revenu net: 15740
|
||||
dirigeant . auto-entrepreneur . revenu net . après impôt: 15740
|
||||
dirigeant . auto-entrepreneur . revenu net: 15340
|
||||
dirigeant . auto-entrepreneur . revenu net . après impôt: 15340
|
||||
dirigeant . rémunération . impôt: 0
|
||||
|
||||
Notifications affichées : entreprise . TVA . franchise de TVA . notification"
|
||||
|
@ -234,21 +234,21 @@ Notifications affichées : entreprise . TVA . franchise de TVA . notification"
|
|||
|
||||
exports[`calculate simulations-auto-entrepreneur > activités 2`] = `
|
||||
"dirigeant . auto-entrepreneur . chiffre d'affaires: 20000
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions: 357
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations: 4240
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . autres contributions: 128
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . invalidité-décès: 14
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . maladie-maternité: 14
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions: 390
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations: 4640
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . autres contributions: 141
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . invalidité-décès: 16
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . maladie-maternité: 15
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . retraite complémentaire: 0
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . retraite de base: 195
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . retraite de base: 214
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BIC: null
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BIC . taux: null
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BNC: 352
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BNC . taux: 21
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BNC: 385
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BNC . taux: 23
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . vente restauration hébergement: null
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . vente restauration hébergement . taux: null
|
||||
dirigeant . auto-entrepreneur . revenu net: 15720
|
||||
dirigeant . auto-entrepreneur . revenu net . après impôt: 15720
|
||||
dirigeant . auto-entrepreneur . revenu net: 15320
|
||||
dirigeant . auto-entrepreneur . revenu net . après impôt: 15320
|
||||
dirigeant . rémunération . impôt: 0
|
||||
|
||||
Notifications affichées : entreprise . TVA . franchise de TVA . notification"
|
||||
|
@ -387,23 +387,23 @@ Notifications affichées : entreprise . TVA . franchise de TVA . notification"
|
|||
`;
|
||||
|
||||
exports[`calculate simulations-auto-entrepreneur > impôt sur le revenu 1`] = `
|
||||
"dirigeant . auto-entrepreneur . chiffre d'affaires: 31766
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions: 564
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations: 559
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . autres contributions: 204
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . invalidité-décès: 23
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . maladie-maternité: 22
|
||||
"dirigeant . auto-entrepreneur . chiffre d'affaires: 32595
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions: 633
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations: 627
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . autres contributions: 229
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . invalidité-décès: 26
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . maladie-maternité: 24
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . retraite complémentaire: 0
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . retraite de base: 310
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . répartition . retraite de base: 348
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BIC: null
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BIC . taux: null
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BNC: 559
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BNC . taux: 21
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BNC: 627
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . service BNC . taux: 23
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . vente restauration hébergement: null
|
||||
dirigeant . auto-entrepreneur . cotisations et contributions . cotisations . vente restauration hébergement . taux: null
|
||||
dirigeant . auto-entrepreneur . revenu net: 25000
|
||||
dirigeant . auto-entrepreneur . revenu net . après impôt: 24301
|
||||
dirigeant . rémunération . impôt: 699
|
||||
dirigeant . auto-entrepreneur . revenu net . après impôt: 24283
|
||||
dirigeant . rémunération . impôt: 717
|
||||
|
||||
Notifications affichées : entreprise . TVA . franchise de TVA . notification"
|
||||
`;
|
||||
|
|
|
@ -261,8 +261,8 @@ Notifications affichées : entreprise . TVA . franchise de TVA . notification"
|
|||
`;
|
||||
|
||||
exports[`calculate comparateur-statuts > profession libérale non reglementée 1`] = `
|
||||
"dirigeant . rémunération . net: 32220
|
||||
dirigeant . rémunération . net . après impôt: 27054
|
||||
"dirigeant . rémunération . net: 31020
|
||||
dirigeant . rémunération . net . après impôt: 25854
|
||||
entreprise . activité . nature . libérale . réglementée: false
|
||||
protection sociale . invalidité et décès . accidents du travail et maladies professionnelles . rente décès: null
|
||||
protection sociale . invalidité et décès . accidents du travail et maladies professionnelles . rente incapacité: null
|
||||
|
|
Loading…
Add table
Reference in a new issue