@leximpact/socio-fiscal-openfisca-json
Version:
JSON & YAML data extracted from OpenFisca-France with Indirect Taxation source code (parameters, variables, etc)
261 lines (260 loc) • 8.01 kB
JSON
{
"default_value": 0,
"definition_period": "month",
"description": {
"2021-07-27": [
{
"href": "https://www.urssaf.fr/portail/home/employeur/calculer-les-cotisations/les-taux-de-cotisations/la-cotisation-dallocations-famil.html",
"note": "Cette cotisation à la charge de l'employeur est destinée au financement des prestations versées par les caisses d'allocations familiales.",
"title": "Urssaf.fr"
}
]
},
"dtype": "float32",
"entity": "individu",
"file_path": "openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/cotisations_sociales/travail_prive.py",
"formulas": {
"0001-01-01": {
"ast": {
"args": {
"args": [
{
"arg": "individu",
"ast_class": "arg",
"col_offset": 12,
"end_col_offset": 20,
"end_lineno": 1,
"lineno": 1
},
{
"arg": "period",
"ast_class": "arg",
"col_offset": 22,
"end_col_offset": 28,
"end_lineno": 1,
"lineno": 1
},
{
"arg": "parameters",
"ast_class": "arg",
"col_offset": 30,
"end_col_offset": 40,
"end_lineno": 1,
"lineno": 1
}
],
"ast_class": "arguments",
"defaults": [],
"kw_defaults": [],
"kwonlyargs": [],
"posonlyargs": []
},
"ast_class": "FunctionDef",
"body": [
{
"ast_class": "Assign",
"col_offset": 4,
"end_col_offset": 44,
"end_lineno": 2,
"lineno": 2,
"targets": [
{
"ast_class": "Name",
"col_offset": 4,
"ctx": {
"ast_class": "Store"
},
"end_col_offset": 14,
"end_lineno": 2,
"id": "cotisation",
"lineno": 2
}
],
"value": {
"args": [
{
"ast_class": "Constant",
"col_offset": 26,
"end_col_offset": 35,
"end_lineno": 2,
"lineno": 2,
"value": "famille"
},
{
"ast_class": "Name",
"col_offset": 37,
"ctx": {
"ast_class": "Load"
},
"end_col_offset": 43,
"end_lineno": 2,
"id": "period",
"lineno": 2
}
],
"ast_class": "Call",
"col_offset": 17,
"end_col_offset": 44,
"end_lineno": 2,
"func": {
"ast_class": "Name",
"col_offset": 17,
"ctx": {
"ast_class": "Load"
},
"end_col_offset": 25,
"end_lineno": 2,
"id": "individu",
"lineno": 2
},
"keywords": [],
"lineno": 2
}
},
{
"ast_class": "Assign",
"col_offset": 4,
"end_col_offset": 81,
"end_lineno": 3,
"lineno": 3,
"targets": [
{
"ast_class": "Name",
"col_offset": 4,
"ctx": {
"ast_class": "Store"
},
"end_col_offset": 14,
"end_lineno": 3,
"id": "allegement",
"lineno": 3
}
],
"value": {
"args": [
{
"ast_class": "Constant",
"col_offset": 26,
"end_col_offset": 72,
"end_lineno": 3,
"lineno": 3,
"value": "allegement_cotisation_allocations_familiales"
},
{
"ast_class": "Name",
"col_offset": 74,
"ctx": {
"ast_class": "Load"
},
"end_col_offset": 80,
"end_lineno": 3,
"id": "period",
"lineno": 3
}
],
"ast_class": "Call",
"col_offset": 17,
"end_col_offset": 81,
"end_lineno": 3,
"func": {
"ast_class": "Name",
"col_offset": 17,
"ctx": {
"ast_class": "Load"
},
"end_col_offset": 25,
"end_lineno": 3,
"id": "individu",
"lineno": 3
},
"keywords": [],
"lineno": 3
}
},
{
"ast_class": "Return",
"col_offset": 4,
"end_col_offset": 34,
"end_lineno": 5,
"lineno": 5,
"value": {
"ast_class": "BinOp",
"col_offset": 11,
"end_col_offset": 34,
"end_lineno": 5,
"left": {
"ast_class": "Name",
"col_offset": 11,
"ctx": {
"ast_class": "Load"
},
"end_col_offset": 21,
"end_lineno": 5,
"id": "cotisation",
"lineno": 5
},
"lineno": 5,
"op": {
"ast_class": "Add"
},
"right": {
"ast_class": "Name",
"col_offset": 24,
"ctx": {
"ast_class": "Load"
},
"end_col_offset": 34,
"end_lineno": 5,
"id": "allegement",
"lineno": 5
}
}
}
],
"col_offset": 0,
"decorator_list": [],
"end_col_offset": 34,
"end_lineno": 5,
"lineno": 1,
"name": "formula"
},
"file_path": "openfisca_france/model/prelevements_obligatoires/prelevements_sociaux/cotisations_sociales/travail_prive.py",
"parameters": [
"prelevements_sociaux.cotisations_securite_sociale_regime_general.famille.employeur.famille",
"prelevements_sociaux.reductions_cotisations_sociales.allegement_cotisation_allocations_familiales"
],
"source_code": "def formula(individu, period, parameters):\n cotisation = individu('famille', period)\n allegement = individu('allegement_cotisation_allocations_familiales', period)\n\n return cotisation + allegement\n",
"start_line_number": 812,
"stop_line_number": 817,
"variables": [
"allegement_cotisation_allocations_familiales",
"famille"
]
}
},
"json_type": "number",
"label": "Cotisation d'allocations familiales après allègement",
"last_value_still_valid_on": "2024-01-15",
"name": "famille_net_allegement",
"reference": {
"2016-12-31": [
{
"href": "https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000038834567",
"title": "Article L241-6 du Code de la sécurité sociale"
}
]
},
"referring_variables": [
"cotisations_allegement_general",
"cotisations_employeur",
"cotisations_employeur_securite_sociale",
"exoneration_cotisations_employeur_professionnalisation",
"exoneration_cotisations_employeur_tode"
],
"set_input": "set_input_divide_by_period",
"short_label": "Cotis. alloc. familiales",
"start_line_number": 805,
"stop_line_number": 817,
"unit": "currency",
"value_type": "float"
}