[
    {
        "metadata": {},
        "data": [
            {
                "calculationOrder": 0,
                "code": "HS010",
                "comment": "pour les temps partiel\nCe sont les heures au dela du contrat et des 10% mais limite à 1/3 du contrat en cas de dépassement du contrat",
                "concise": "HR COMP 125",
                "customFieldValues": [
                    {
                        "label": "MODE_DECOMPTE",
                        "value": "1"
                    },
                    {
                        "label": "TYPE_GESTION",
                        "value": "2"
                    }
                ],
                "formulaLines": [
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "CUSTOM_FIELD",
                                "value": "QUOTITE"
                            },
                            "operator": "GREATER_OR_EQUAL",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "100"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "END"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "BT015 TEMPS TRAVAILLE HEBDO (CENT)"
                            },
                            "operator": "LOWER_OR_EQUAL",
                            "secondOperand": {
                                "operandItem": "CUSTOM_FIELD",
                                "value": "H_SEM"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "END"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS003 DEPASSEMENT HEBDO"
                            },
                            "operator": "MINUS",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-1 VARIABLE-1"
                            },
                            "secondOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS005 HRES COMPLEMENTAIRES"
                            },
                            "type": "CALCULATION"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "CUSTOM_FIELD",
                                "value": "H_SEM"
                            },
                            "operator": "DIVIDE",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-2 VARIABLE-2"
                            },
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "3"
                            },
                            "type": "CALCULATION"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "VARIABLE",
                                "value": "V-1 VARIABLE-1"
                            },
                            "operator": "GREATER",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "0"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "VARIABLE",
                                "value": "V-1 VARIABLE-1"
                            },
                            "operator": "MIN",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-5 RESULTAT"
                            },
                            "secondOperand": {
                                "operandItem": "VARIABLE",
                                "value": "V-2 VARIABLE-2"
                            },
                            "type": "THEN"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    }
                ],
                "isActive": true,
                "label": "Hres Comp 125%",
                "payrollData": {
                    "payrollCode": null,
                    "wageType": null
                },
                "period": {
                    "calculationFrequency": "DAILY",
                    "calendarCode": null,
                    "cycleCode": null,
                    "dailyEvaluation": false,
                    "endPeriod": "00,00",
                    "firstEndTimeSlot": null,
                    "firstStartTimeSlot": null,
                    "secondEndTimeSlot": null,
                    "secondStartTimeSlot": null,
                    "startDateCycle": null,
                    "startPeriod": "00,00",
                    "timeSlotCalculation": false
                },
                "right": null,
                "saveResult": true,
                "schedule": {
                    "dayTypes": [
                        "WORKED",
                        "UNWORKED",
                        "NOT_OPEN",
                        "HOLIDAY",
                        "EXCEPTIONAL_HOLIDAY",
                        "OFF"
                    ],
                    "days": [
                        "SUNDAY"
                    ],
                    "maxTimeSlot": 1,
                    "resourcePresence": "INDIFFERENT",
                    "scheduleTypes": [
                        "DAY",
                        "NIGHT",
                        "REST",
                        "HALF_DAY_MORNING",
                        "HALF_DAY_AFTERNOON"
                    ],
                    "useDayFilter": true
                },
                "timeGroups": [
                    "G0"
                ],
                "type": "PREVISIONAL",
                "validityEndDate": null,
                "validityStartDate": null
            },
            {
                "calculationOrder": 0,
                "code": "HS060",
                "comment": "1 si la saisie dépasse le droit a récupérer\n2 si 0K",
                "concise": null,
                "customFieldValues": [
                    {
                        "label": "MODE_DECOMPTE",
                        "value": "1"
                    },
                    {
                        "label": "TYPE_GESTION",
                        "value": "2"
                    }
                ],
                "formulaLines": [
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS050 SAISIE HRES A RECUPERER"
                            },
                            "operator": "GREATER",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "0"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS050 SAISIE HRES A RECUPERER"
                            },
                            "operator": "GREATER",
                            "secondOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS003 DEPASSEMENT HEBDO"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "CONSTANT",
                                "value": "1"
                            },
                            "operator": "UNKNOWN",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-5 RESULTAT"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "THEN"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "CONSTANT",
                                "value": "2"
                            },
                            "operator": "UNKNOWN",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-5 RESULTAT"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "OTHERWISE"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    }
                ],
                "isActive": true,
                "label": "Statut saisie AREC",
                "payrollData": {
                    "payrollCode": null,
                    "wageType": null
                },
                "period": {
                    "calculationFrequency": "DAILY",
                    "calendarCode": null,
                    "cycleCode": null,
                    "dailyEvaluation": false,
                    "endPeriod": "00,00",
                    "firstEndTimeSlot": null,
                    "firstStartTimeSlot": null,
                    "secondEndTimeSlot": null,
                    "secondStartTimeSlot": null,
                    "startDateCycle": null,
                    "startPeriod": "00,00",
                    "timeSlotCalculation": false
                },
                "right": null,
                "saveResult": true,
                "schedule": {
                    "dayTypes": [
                        "WORKED",
                        "UNWORKED",
                        "NOT_OPEN",
                        "HOLIDAY",
                        "EXCEPTIONAL_HOLIDAY",
                        "OFF"
                    ],
                    "days": [
                        "SUNDAY"
                    ],
                    "maxTimeSlot": 1,
                    "resourcePresence": "INDIFFERENT",
                    "scheduleTypes": [
                        "DAY",
                        "NIGHT",
                        "REST",
                        "HALF_DAY_MORNING",
                        "HALF_DAY_AFTERNOON"
                    ],
                    "useDayFilter": true
                },
                "timeGroups": [
                    "G0"
                ],
                "type": "PREVISIONAL",
                "validityEndDate": null,
                "validityStartDate": null
            },
            {
                "calculationOrder": 0,
                "code": "HS110",
                "comment": "Calcul des hres A récupérer émanant du compteur des H compt125%",
                "concise": "A REC C125",
                "customFieldValues": [
                    {
                        "label": "MODE_DECOMPTE",
                        "value": "1"
                    },
                    {
                        "label": "TYPE_GESTION",
                        "value": "2"
                    }
                ],
                "formulaLines": [
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS050 SAISIE HRES A RECUPERER"
                            },
                            "operator": "LOWER_OR_EQUAL",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "0"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS060 STATUT SAISIE AREC"
                            },
                            "operator": "EQUAL",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "1"
                            },
                            "type": "OR"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "END"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS050 SAISIE HRES A RECUPERER"
                            },
                            "operator": "MINUS",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-1 VARIABLE-1"
                            },
                            "secondOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS100 HRES A REC 150"
                            },
                            "type": "CALCULATION"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "VARIABLE",
                                "value": "V-1 VARIABLE-1"
                            },
                            "operator": "MINUS",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-1 VARIABLE-1"
                            },
                            "secondOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS105 HRES A REC 125"
                            },
                            "type": "CALCULATION"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "VARIABLE",
                                "value": "V-1 VARIABLE-1"
                            },
                            "operator": "MIN",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-5 RESULTAT"
                            },
                            "secondOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS010 HRES COMP 125%"
                            },
                            "type": "CALCULATION"
                        }
                    }
                ],
                "isActive": true,
                "label": "Hres A Rec Compt 125",
                "payrollData": {
                    "payrollCode": null,
                    "wageType": null
                },
                "period": {
                    "calculationFrequency": "DAILY",
                    "calendarCode": null,
                    "cycleCode": null,
                    "dailyEvaluation": false,
                    "endPeriod": "00,00",
                    "firstEndTimeSlot": null,
                    "firstStartTimeSlot": null,
                    "secondEndTimeSlot": null,
                    "secondStartTimeSlot": null,
                    "startDateCycle": null,
                    "startPeriod": "00,00",
                    "timeSlotCalculation": false
                },
                "right": null,
                "saveResult": true,
                "schedule": {
                    "dayTypes": [
                        "WORKED",
                        "UNWORKED",
                        "NOT_OPEN",
                        "HOLIDAY",
                        "EXCEPTIONAL_HOLIDAY",
                        "OFF"
                    ],
                    "days": [
                        "SUNDAY"
                    ],
                    "maxTimeSlot": 1,
                    "resourcePresence": "INDIFFERENT",
                    "scheduleTypes": [
                        "DAY",
                        "NIGHT",
                        "REST",
                        "HALF_DAY_MORNING",
                        "HALF_DAY_AFTERNOON"
                    ],
                    "useDayFilter": true
                },
                "timeGroups": [
                    "G0"
                ],
                "type": "PREVISIONAL",
                "validityEndDate": null,
                "validityStartDate": null
            },
            {
                "calculationOrder": 0,
                "code": "HS150",
                "comment": "Alimentation du droit récupération avec les majorations",
                "concise": "HRES A RECU",
                "customFieldValues": [
                    {
                        "label": "MODE_DECOMPTE",
                        "value": "1"
                    },
                    {
                        "label": "TYPE_GESTION",
                        "value": "2"
                    }
                ],
                "formulaLines": [
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS100 HRES A REC 150"
                            },
                            "operator": "MULTIPLY",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-1 VARIABLE-1"
                            },
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "1.5"
                            },
                            "type": "CALCULATION"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS105 HRES A REC 125"
                            },
                            "operator": "MULTIPLY",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-2 VARIABLE-2"
                            },
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "1.25"
                            },
                            "type": "CALCULATION"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS110 HRES A REC COMPT 125"
                            },
                            "operator": "MULTIPLY",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-3 VARIABLE-3"
                            },
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "1.25"
                            },
                            "type": "CALCULATION"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS115 HRES A REC COMP 110"
                            },
                            "operator": "MULTIPLY",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-4 VARIABLE-4"
                            },
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "1.1"
                            },
                            "type": "CALCULATION"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "VARIABLE",
                                "value": "V-1 VARIABLE-1"
                            },
                            "operator": "PLUS",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-5 RESULTAT"
                            },
                            "secondOperand": {
                                "operandItem": "VARIABLE",
                                "value": "V-2 VARIABLE-2"
                            },
                            "type": "CALCULATION"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "VARIABLE",
                                "value": "V-5 RESULTAT"
                            },
                            "operator": "PLUS",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-5 RESULTAT"
                            },
                            "secondOperand": {
                                "operandItem": "VARIABLE",
                                "value": "V-3 VARIABLE-3"
                            },
                            "type": "CALCULATION"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "VARIABLE",
                                "value": "V-5 RESULTAT"
                            },
                            "operator": "PLUS",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-5 RESULTAT"
                            },
                            "secondOperand": {
                                "operandItem": "VARIABLE",
                                "value": "V-4 VARIABLE-4"
                            },
                            "type": "CALCULATION"
                        }
                    }
                ],
                "isActive": true,
                "label": "Alim récupération",
                "payrollData": {
                    "payrollCode": null,
                    "wageType": null
                },
                "period": {
                    "calculationFrequency": "DAILY",
                    "calendarCode": null,
                    "cycleCode": null,
                    "dailyEvaluation": false,
                    "endPeriod": "00,00",
                    "firstEndTimeSlot": null,
                    "firstStartTimeSlot": null,
                    "secondEndTimeSlot": null,
                    "secondStartTimeSlot": null,
                    "startDateCycle": null,
                    "startPeriod": "00,00",
                    "timeSlotCalculation": false
                },
                "right": {
                    "code": "DRECU",
                    "createIfNotExist": true,
                    "creationDateOption": "RIGHT_SETTINGS",
                    "customDate": "01/01",
                    "financialYear": 0,
                    "operation": "ADD_RIGHT"
                },
                "saveResult": true,
                "schedule": {
                    "dayTypes": [
                        "WORKED",
                        "UNWORKED",
                        "NOT_OPEN",
                        "HOLIDAY",
                        "EXCEPTIONAL_HOLIDAY",
                        "OFF"
                    ],
                    "days": [
                        "SUNDAY"
                    ],
                    "maxTimeSlot": 1,
                    "resourcePresence": "INDIFFERENT",
                    "scheduleTypes": [
                        "DAY",
                        "NIGHT",
                        "REST",
                        "HALF_DAY_MORNING",
                        "HALF_DAY_AFTERNOON"
                    ],
                    "useDayFilter": true
                },
                "timeGroups": [
                    "G0"
                ],
                "type": "PREVISIONAL",
                "validityEndDate": null,
                "validityStartDate": null
            },
            {
                "calculationOrder": 0,
                "code": "HS100",
                "comment": "Calcul des hres A récupérer émanant du compteur des 150%",
                "concise": "A REC 150",
                "customFieldValues": [
                    {
                        "label": "MODE_DECOMPTE",
                        "value": "1"
                    },
                    {
                        "label": "TYPE_GESTION",
                        "value": "2"
                    }
                ],
                "formulaLines": [
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS050 SAISIE HRES A RECUPERER"
                            },
                            "operator": "LOWER_OR_EQUAL",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "0"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS060 STATUT SAISIE AREC"
                            },
                            "operator": "EQUAL",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "1"
                            },
                            "type": "OR"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "END"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS050 SAISIE HRES A RECUPERER"
                            },
                            "operator": "MIN",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-5 RESULTAT"
                            },
                            "secondOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS020 HRES 150%"
                            },
                            "type": "CALCULATION"
                        }
                    }
                ],
                "isActive": true,
                "label": "Hres A Rec 150",
                "payrollData": {
                    "payrollCode": null,
                    "wageType": null
                },
                "period": {
                    "calculationFrequency": "DAILY",
                    "calendarCode": null,
                    "cycleCode": null,
                    "dailyEvaluation": false,
                    "endPeriod": "00,00",
                    "firstEndTimeSlot": null,
                    "firstStartTimeSlot": null,
                    "secondEndTimeSlot": null,
                    "secondStartTimeSlot": null,
                    "startDateCycle": null,
                    "startPeriod": "00,00",
                    "timeSlotCalculation": false
                },
                "right": null,
                "saveResult": true,
                "schedule": {
                    "dayTypes": [
                        "WORKED",
                        "UNWORKED",
                        "NOT_OPEN",
                        "HOLIDAY",
                        "EXCEPTIONAL_HOLIDAY",
                        "OFF"
                    ],
                    "days": [
                        "SUNDAY"
                    ],
                    "maxTimeSlot": 1,
                    "resourcePresence": "INDIFFERENT",
                    "scheduleTypes": [
                        "DAY",
                        "NIGHT",
                        "REST",
                        "HALF_DAY_MORNING",
                        "HALF_DAY_AFTERNOON"
                    ],
                    "useDayFilter": true
                },
                "timeGroups": [
                    "G0"
                ],
                "type": "PREVISIONAL",
                "validityEndDate": null,
                "validityStartDate": null
            },
            {
                "calculationOrder": 0,
                "code": "HS020",
                "comment": "pour les temps plein\nCe sont les heures au déla de 43h en cas de dépassement du contrat",
                "concise": "HS 150",
                "customFieldValues": [
                    {
                        "label": "MODE_DECOMPTE",
                        "value": "1"
                    },
                    {
                        "label": "TYPE_GESTION",
                        "value": "2"
                    }
                ],
                "formulaLines": [
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "CUSTOM_FIELD",
                                "value": "QUOTITE"
                            },
                            "operator": "LOWER",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "100"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "END"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "BT015 TEMPS TRAVAILLE HEBDO (CENT)"
                            },
                            "operator": "LOWER_OR_EQUAL",
                            "secondOperand": {
                                "operandItem": "CUSTOM_FIELD",
                                "value": "H_SEM"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "END"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "BT015 TEMPS TRAVAILLE HEBDO (CENT)"
                            },
                            "operator": "GREATER",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "43"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "BT015 TEMPS TRAVAILLE HEBDO (CENT)"
                            },
                            "operator": "MINUS",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-5 RESULTAT"
                            },
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "43"
                            },
                            "type": "CALCULATION"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    }
                ],
                "isActive": true,
                "label": "Hres 150%",
                "payrollData": {
                    "payrollCode": null,
                    "wageType": null
                },
                "period": {
                    "calculationFrequency": "DAILY",
                    "calendarCode": null,
                    "cycleCode": null,
                    "dailyEvaluation": false,
                    "endPeriod": "00,00",
                    "firstEndTimeSlot": null,
                    "firstStartTimeSlot": null,
                    "secondEndTimeSlot": null,
                    "secondStartTimeSlot": null,
                    "startDateCycle": null,
                    "startPeriod": "00,00",
                    "timeSlotCalculation": false
                },
                "right": null,
                "saveResult": true,
                "schedule": {
                    "dayTypes": [
                        "WORKED",
                        "UNWORKED",
                        "NOT_OPEN",
                        "HOLIDAY",
                        "EXCEPTIONAL_HOLIDAY",
                        "OFF"
                    ],
                    "days": [
                        "SUNDAY"
                    ],
                    "maxTimeSlot": 1,
                    "resourcePresence": "INDIFFERENT",
                    "scheduleTypes": [
                        "DAY",
                        "NIGHT",
                        "REST",
                        "HALF_DAY_MORNING",
                        "HALF_DAY_AFTERNOON"
                    ],
                    "useDayFilter": true
                },
                "timeGroups": [
                    "G0"
                ],
                "type": "PREVISIONAL",
                "validityEndDate": null,
                "validityStartDate": null
            },
            {
                "calculationOrder": 0,
                "code": "HS015",
                "comment": "pour les temps plein\nCe sont les heures entre le contrat et 43h en cas de dépassement du contrat",
                "concise": "HS 125",
                "customFieldValues": [
                    {
                        "label": "MODE_DECOMPTE",
                        "value": "1"
                    },
                    {
                        "label": "TYPE_GESTION",
                        "value": "2"
                    }
                ],
                "formulaLines": [
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "CUSTOM_FIELD",
                                "value": "QUOTITE"
                            },
                            "operator": "LOWER",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "100"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "END"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "BT015 TEMPS TRAVAILLE HEBDO (CENT)"
                            },
                            "operator": "LOWER_OR_EQUAL",
                            "secondOperand": {
                                "operandItem": "CUSTOM_FIELD",
                                "value": "H_SEM"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "END"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "BT015 TEMPS TRAVAILLE HEBDO (CENT)"
                            },
                            "operator": "GREATER",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "43"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "CONSTANT",
                                "value": "43"
                            },
                            "operator": "UNKNOWN",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-1 VARIABLE-1"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "CALCULATION"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "BT015 TEMPS TRAVAILLE HEBDO (CENT)"
                            },
                            "operator": "UNKNOWN",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-1 VARIABLE-1"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "OTHERWISE"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "VARIABLE",
                                "value": "V-1 VARIABLE-1"
                            },
                            "operator": "MINUS",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-5 RESULTAT"
                            },
                            "secondOperand": {
                                "operandItem": "CUSTOM_FIELD",
                                "value": "H_SEM"
                            },
                            "type": "CALCULATION"
                        }
                    }
                ],
                "isActive": true,
                "label": "Hres 125%",
                "payrollData": {
                    "payrollCode": null,
                    "wageType": null
                },
                "period": {
                    "calculationFrequency": "DAILY",
                    "calendarCode": null,
                    "cycleCode": null,
                    "dailyEvaluation": false,
                    "endPeriod": "00,00",
                    "firstEndTimeSlot": null,
                    "firstStartTimeSlot": null,
                    "secondEndTimeSlot": null,
                    "secondStartTimeSlot": null,
                    "startDateCycle": null,
                    "startPeriod": "00,00",
                    "timeSlotCalculation": false
                },
                "right": null,
                "saveResult": true,
                "schedule": {
                    "dayTypes": [
                        "WORKED",
                        "UNWORKED",
                        "NOT_OPEN",
                        "HOLIDAY",
                        "EXCEPTIONAL_HOLIDAY",
                        "OFF"
                    ],
                    "days": [
                        "SUNDAY"
                    ],
                    "maxTimeSlot": 1,
                    "resourcePresence": "INDIFFERENT",
                    "scheduleTypes": [
                        "DAY",
                        "NIGHT",
                        "REST",
                        "HALF_DAY_MORNING",
                        "HALF_DAY_AFTERNOON"
                    ],
                    "useDayFilter": true
                },
                "timeGroups": [
                    "G0"
                ],
                "type": "PREVISIONAL",
                "validityEndDate": null,
                "validityStartDate": null
            },
            {
                "calculationOrder": 0,
                "code": "HS115",
                "comment": "Calcul des hres A récupérer émanant du compteur des H compt110%",
                "concise": "A REC C110",
                "customFieldValues": [
                    {
                        "label": "MODE_DECOMPTE",
                        "value": "1"
                    },
                    {
                        "label": "TYPE_GESTION",
                        "value": "2"
                    }
                ],
                "formulaLines": [
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS050 SAISIE HRES A RECUPERER"
                            },
                            "operator": "LOWER_OR_EQUAL",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "0"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS060 STATUT SAISIE AREC"
                            },
                            "operator": "EQUAL",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "1"
                            },
                            "type": "OR"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "END"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS050 SAISIE HRES A RECUPERER"
                            },
                            "operator": "MINUS",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-1 VARIABLE-1"
                            },
                            "secondOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS100 HRES A REC 150"
                            },
                            "type": "CALCULATION"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "VARIABLE",
                                "value": "V-1 VARIABLE-1"
                            },
                            "operator": "MINUS",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-1 VARIABLE-1"
                            },
                            "secondOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS105 HRES A REC 125"
                            },
                            "type": "CALCULATION"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "VARIABLE",
                                "value": "V-1 VARIABLE-1"
                            },
                            "operator": "MINUS",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-1 VARIABLE-1"
                            },
                            "secondOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS110 HRES A REC COMPT 125"
                            },
                            "type": "CALCULATION"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "VARIABLE",
                                "value": "V-1 VARIABLE-1"
                            },
                            "operator": "MIN",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-5 RESULTAT"
                            },
                            "secondOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS005 HRES COMPLEMENTAIRES"
                            },
                            "type": "CALCULATION"
                        }
                    }
                ],
                "isActive": true,
                "label": "Hres A Rec Comp 110",
                "payrollData": {
                    "payrollCode": null,
                    "wageType": null
                },
                "period": {
                    "calculationFrequency": "DAILY",
                    "calendarCode": null,
                    "cycleCode": null,
                    "dailyEvaluation": false,
                    "endPeriod": "00,00",
                    "firstEndTimeSlot": null,
                    "firstStartTimeSlot": null,
                    "secondEndTimeSlot": null,
                    "secondStartTimeSlot": null,
                    "startDateCycle": null,
                    "startPeriod": "00,00",
                    "timeSlotCalculation": false
                },
                "right": null,
                "saveResult": true,
                "schedule": {
                    "dayTypes": [
                        "WORKED",
                        "UNWORKED",
                        "NOT_OPEN",
                        "HOLIDAY",
                        "EXCEPTIONAL_HOLIDAY",
                        "OFF"
                    ],
                    "days": [
                        "SUNDAY"
                    ],
                    "maxTimeSlot": 1,
                    "resourcePresence": "INDIFFERENT",
                    "scheduleTypes": [
                        "DAY",
                        "NIGHT",
                        "REST",
                        "HALF_DAY_MORNING",
                        "HALF_DAY_AFTERNOON"
                    ],
                    "useDayFilter": true
                },
                "timeGroups": [
                    "G0"
                ],
                "type": "PREVISIONAL",
                "validityEndDate": null,
                "validityStartDate": null
            },
            {
                "calculationOrder": 0,
                "code": "HS160",
                "comment": "Alimentation des compteurs A payer\nHS calculée mois ce qui est partie en recup",
                "concise": "HS PAYE 150",
                "customFieldValues": [
                    {
                        "label": "MODE_DECOMPTE",
                        "value": "1"
                    },
                    {
                        "label": "TYPE_GESTION",
                        "value": "2"
                    }
                ],
                "formulaLines": [
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS020 HRES 150%"
                            },
                            "operator": "MINUS",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-5 RESULTAT"
                            },
                            "secondOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS100 HRES A REC 150"
                            },
                            "type": "CALCULATION"
                        }
                    }
                ],
                "isActive": true,
                "label": "HS à Payer 150%",
                "payrollData": {
                    "payrollCode": null,
                    "wageType": null
                },
                "period": {
                    "calculationFrequency": "DAILY",
                    "calendarCode": null,
                    "cycleCode": null,
                    "dailyEvaluation": false,
                    "endPeriod": "00,00",
                    "firstEndTimeSlot": null,
                    "firstStartTimeSlot": null,
                    "secondEndTimeSlot": null,
                    "secondStartTimeSlot": null,
                    "startDateCycle": null,
                    "startPeriod": "00,00",
                    "timeSlotCalculation": false
                },
                "right": null,
                "saveResult": true,
                "schedule": {
                    "dayTypes": [
                        "WORKED",
                        "UNWORKED",
                        "NOT_OPEN",
                        "HOLIDAY",
                        "EXCEPTIONAL_HOLIDAY",
                        "OFF"
                    ],
                    "days": [
                        "SUNDAY"
                    ],
                    "maxTimeSlot": 1,
                    "resourcePresence": "INDIFFERENT",
                    "scheduleTypes": [
                        "DAY",
                        "NIGHT",
                        "REST",
                        "HALF_DAY_MORNING",
                        "HALF_DAY_AFTERNOON"
                    ],
                    "useDayFilter": true
                },
                "timeGroups": [
                    "G0"
                ],
                "type": "PREVISIONAL",
                "validityEndDate": null,
                "validityStartDate": null
            },
            {
                "calculationOrder": 0,
                "code": "HS000",
                "comment": null,
                "concise": null,
                "customFieldValues": null,
                "formulaLines": null,
                "isActive": true,
                "label": "*** Calcul HS ***",
                "payrollData": {
                    "payrollCode": null,
                    "wageType": null
                },
                "period": {
                    "calculationFrequency": "DAILY",
                    "calendarCode": null,
                    "cycleCode": null,
                    "dailyEvaluation": false,
                    "endPeriod": "00,00",
                    "firstEndTimeSlot": null,
                    "firstStartTimeSlot": null,
                    "secondEndTimeSlot": null,
                    "secondStartTimeSlot": null,
                    "startDateCycle": null,
                    "startPeriod": "00,00",
                    "timeSlotCalculation": false
                },
                "right": null,
                "saveResult": true,
                "schedule": {
                    "dayTypes": null,
                    "days": null,
                    "maxTimeSlot": 1,
                    "resourcePresence": null,
                    "scheduleTypes": null,
                    "useDayFilter": false
                },
                "timeGroups": [
                    "G0"
                ],
                "type": "PREVISIONAL",
                "validityEndDate": null,
                "validityStartDate": null
            },
            {
                "calculationOrder": 0,
                "code": "HS005",
                "comment": "pour les temps partiel\nCe sont les heures au dela due contrat mais limité à 10% du contrat",
                "concise": "HRE COMPT",
                "customFieldValues": [
                    {
                        "label": "MODE_DECOMPTE",
                        "value": "1"
                    },
                    {
                        "label": "TYPE_GESTION",
                        "value": "2"
                    }
                ],
                "formulaLines": [
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "CUSTOM_FIELD",
                                "value": "QUOTITE"
                            },
                            "operator": "GREATER_OR_EQUAL",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "100"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "END"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "BT015 TEMPS TRAVAILLE HEBDO (CENT)"
                            },
                            "operator": "LOWER_OR_EQUAL",
                            "secondOperand": {
                                "operandItem": "CUSTOM_FIELD",
                                "value": "H_CONTRAT"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "END"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    },
                    {
                        "instruction": {
                            "comment": "LIMITE 10% DU CONTRAT",
                            "type": "COMMENT"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "CUSTOM_FIELD",
                                "value": "H_SEM"
                            },
                            "operator": "MULTIPLY",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-2 VARIABLE-2"
                            },
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "0.1"
                            },
                            "type": "CALCULATION"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "VARIABLE",
                                "value": "V-2 VARIABLE-2"
                            },
                            "operator": "MIN",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-5 RESULTAT"
                            },
                            "secondOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS003 DEPASSEMENT HEBDO"
                            },
                            "type": "CALCULATION"
                        }
                    }
                ],
                "isActive": true,
                "label": "Hres complémentaires",
                "payrollData": {
                    "payrollCode": null,
                    "wageType": null
                },
                "period": {
                    "calculationFrequency": "DAILY",
                    "calendarCode": null,
                    "cycleCode": null,
                    "dailyEvaluation": false,
                    "endPeriod": "00,00",
                    "firstEndTimeSlot": null,
                    "firstStartTimeSlot": null,
                    "secondEndTimeSlot": null,
                    "secondStartTimeSlot": null,
                    "startDateCycle": null,
                    "startPeriod": "00,00",
                    "timeSlotCalculation": false
                },
                "right": null,
                "saveResult": true,
                "schedule": {
                    "dayTypes": [
                        "WORKED",
                        "UNWORKED",
                        "NOT_OPEN",
                        "HOLIDAY",
                        "EXCEPTIONAL_HOLIDAY",
                        "OFF"
                    ],
                    "days": [
                        "SUNDAY"
                    ],
                    "maxTimeSlot": 1,
                    "resourcePresence": "INDIFFERENT",
                    "scheduleTypes": [
                        "DAY",
                        "NIGHT",
                        "REST",
                        "HALF_DAY_MORNING",
                        "HALF_DAY_AFTERNOON"
                    ],
                    "useDayFilter": true
                },
                "timeGroups": [
                    "G0"
                ],
                "type": "PREVISIONAL",
                "validityEndDate": null,
                "validityStartDate": null
            },
            {
                "calculationOrder": 0,
                "code": "HS050",
                "comment": "Saisie des heures à récuperer",
                "concise": "H A REC",
                "customFieldValues": [
                    {
                        "label": "MODE_DECOMPTE",
                        "value": "1"
                    },
                    {
                        "label": "TYPE_GESTION",
                        "value": "2"
                    }
                ],
                "formulaLines": null,
                "isActive": true,
                "label": "Saisie Hres à Récuperer",
                "payrollData": {
                    "payrollCode": null,
                    "wageType": null
                },
                "period": {
                    "calculationFrequency": "DAILY",
                    "calendarCode": null,
                    "cycleCode": null,
                    "dailyEvaluation": false,
                    "endPeriod": "00,00",
                    "firstEndTimeSlot": null,
                    "firstStartTimeSlot": null,
                    "secondEndTimeSlot": null,
                    "secondStartTimeSlot": null,
                    "startDateCycle": null,
                    "startPeriod": "00,00",
                    "timeSlotCalculation": false
                },
                "right": null,
                "saveResult": true,
                "schedule": {
                    "dayTypes": [
                        "WORKED",
                        "UNWORKED",
                        "NOT_OPEN",
                        "HOLIDAY",
                        "EXCEPTIONAL_HOLIDAY",
                        "OFF"
                    ],
                    "days": [
                        "SUNDAY"
                    ],
                    "maxTimeSlot": 1,
                    "resourcePresence": "INDIFFERENT",
                    "scheduleTypes": [
                        "DAY",
                        "NIGHT",
                        "REST",
                        "HALF_DAY_MORNING",
                        "HALF_DAY_AFTERNOON"
                    ],
                    "useDayFilter": true
                },
                "timeGroups": [
                    "G0"
                ],
                "type": "PREVISIONAL",
                "validityEndDate": null,
                "validityStartDate": null
            },
            {
                "calculationOrder": 0,
                "code": "HS003",
                "comment": null,
                "concise": "DEP SEM",
                "customFieldValues": [
                    {
                        "label": "MODE_DECOMPTE",
                        "value": "1"
                    },
                    {
                        "label": "TYPE_GESTION",
                        "value": "2"
                    }
                ],
                "formulaLines": [
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "BT015 TEMPS TRAVAILLE HEBDO (CENT)"
                            },
                            "operator": "MINUS",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-5 RESULTAT"
                            },
                            "secondOperand": {
                                "operandItem": "CUSTOM_FIELD",
                                "value": "H_SEM"
                            },
                            "type": "CALCULATION"
                        }
                    }
                ],
                "isActive": true,
                "label": "Dépassement Hebdo",
                "payrollData": {
                    "payrollCode": null,
                    "wageType": null
                },
                "period": {
                    "calculationFrequency": "DAILY",
                    "calendarCode": null,
                    "cycleCode": null,
                    "dailyEvaluation": false,
                    "endPeriod": "00,00",
                    "firstEndTimeSlot": null,
                    "firstStartTimeSlot": null,
                    "secondEndTimeSlot": null,
                    "secondStartTimeSlot": null,
                    "startDateCycle": null,
                    "startPeriod": "00,00",
                    "timeSlotCalculation": false
                },
                "right": null,
                "saveResult": true,
                "schedule": {
                    "dayTypes": [
                        "WORKED",
                        "UNWORKED",
                        "NOT_OPEN",
                        "HOLIDAY",
                        "EXCEPTIONAL_HOLIDAY",
                        "OFF"
                    ],
                    "days": [
                        "SUNDAY"
                    ],
                    "maxTimeSlot": 1,
                    "resourcePresence": "INDIFFERENT",
                    "scheduleTypes": [
                        "DAY",
                        "NIGHT",
                        "REST",
                        "HALF_DAY_MORNING",
                        "HALF_DAY_AFTERNOON"
                    ],
                    "useDayFilter": true
                },
                "timeGroups": [
                    "G0"
                ],
                "type": "PREVISIONAL",
                "validityEndDate": null,
                "validityStartDate": null
            },
            {
                "calculationOrder": 0,
                "code": "HS105",
                "comment": "Calcul des hres A récupérer émanant du compteur des 125%",
                "concise": "A REC 125",
                "customFieldValues": [
                    {
                        "label": "MODE_DECOMPTE",
                        "value": "1"
                    },
                    {
                        "label": "TYPE_GESTION",
                        "value": "2"
                    }
                ],
                "formulaLines": [
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS050 SAISIE HRES A RECUPERER"
                            },
                            "operator": "LOWER_OR_EQUAL",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "0"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS060 STATUT SAISIE AREC"
                            },
                            "operator": "EQUAL",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "1"
                            },
                            "type": "OR"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "END"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS050 SAISIE HRES A RECUPERER"
                            },
                            "operator": "MINUS",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-1 VARIABLE-1"
                            },
                            "secondOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS100 HRES A REC 150"
                            },
                            "type": "CALCULATION"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "VARIABLE",
                                "value": "V-1 VARIABLE-1"
                            },
                            "operator": "MIN",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-5 RESULTAT"
                            },
                            "secondOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS015 HRES 125%"
                            },
                            "type": "CALCULATION"
                        }
                    }
                ],
                "isActive": true,
                "label": "Hres A Rec 125",
                "payrollData": {
                    "payrollCode": null,
                    "wageType": null
                },
                "period": {
                    "calculationFrequency": "DAILY",
                    "calendarCode": null,
                    "cycleCode": null,
                    "dailyEvaluation": false,
                    "endPeriod": "00,00",
                    "firstEndTimeSlot": null,
                    "firstStartTimeSlot": null,
                    "secondEndTimeSlot": null,
                    "secondStartTimeSlot": null,
                    "startDateCycle": null,
                    "startPeriod": "00,00",
                    "timeSlotCalculation": false
                },
                "right": null,
                "saveResult": true,
                "schedule": {
                    "dayTypes": [
                        "WORKED",
                        "UNWORKED",
                        "NOT_OPEN",
                        "HOLIDAY",
                        "EXCEPTIONAL_HOLIDAY",
                        "OFF"
                    ],
                    "days": [
                        "SUNDAY"
                    ],
                    "maxTimeSlot": 1,
                    "resourcePresence": "INDIFFERENT",
                    "scheduleTypes": [
                        "DAY",
                        "NIGHT",
                        "REST",
                        "HALF_DAY_MORNING",
                        "HALF_DAY_AFTERNOON"
                    ],
                    "useDayFilter": true
                },
                "timeGroups": [
                    "G0"
                ],
                "type": "PREVISIONAL",
                "validityEndDate": null,
                "validityStartDate": null
            },
            {
                "calculationOrder": 0,
                "code": "HS165",
                "comment": "Alimentation des compteurs A payer\nHS calculée mois ce qui est partie en recup",
                "concise": "HS PAYE 125",
                "customFieldValues": [
                    {
                        "label": "MODE_DECOMPTE",
                        "value": "1"
                    },
                    {
                        "label": "TYPE_GESTION",
                        "value": "2"
                    }
                ],
                "formulaLines": [
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS015 HRES 125%"
                            },
                            "operator": "MINUS",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-5 RESULTAT"
                            },
                            "secondOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS105 HRES A REC 125"
                            },
                            "type": "CALCULATION"
                        }
                    }
                ],
                "isActive": true,
                "label": "HS à Payer 125%",
                "payrollData": {
                    "payrollCode": null,
                    "wageType": null
                },
                "period": {
                    "calculationFrequency": "DAILY",
                    "calendarCode": null,
                    "cycleCode": null,
                    "dailyEvaluation": false,
                    "endPeriod": "00,00",
                    "firstEndTimeSlot": null,
                    "firstStartTimeSlot": null,
                    "secondEndTimeSlot": null,
                    "secondStartTimeSlot": null,
                    "startDateCycle": null,
                    "startPeriod": "00,00",
                    "timeSlotCalculation": false
                },
                "right": null,
                "saveResult": true,
                "schedule": {
                    "dayTypes": [
                        "WORKED",
                        "UNWORKED",
                        "NOT_OPEN",
                        "HOLIDAY",
                        "EXCEPTIONAL_HOLIDAY",
                        "OFF"
                    ],
                    "days": [
                        "SUNDAY"
                    ],
                    "maxTimeSlot": 1,
                    "resourcePresence": "INDIFFERENT",
                    "scheduleTypes": [
                        "DAY",
                        "NIGHT",
                        "REST",
                        "HALF_DAY_MORNING",
                        "HALF_DAY_AFTERNOON"
                    ],
                    "useDayFilter": true
                },
                "timeGroups": [
                    "G0"
                ],
                "type": "PREVISIONAL",
                "validityEndDate": null,
                "validityStartDate": null
            },
            {
                "calculationOrder": 0,
                "code": "HS170",
                "comment": "Alimentation des compteurs A payer\nHS calculée mois ce qui est partie en recup",
                "concise": "HC PAYE 125",
                "customFieldValues": [
                    {
                        "label": "MODE_DECOMPTE",
                        "value": "1"
                    },
                    {
                        "label": "TYPE_GESTION",
                        "value": "2"
                    }
                ],
                "formulaLines": [
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS010 HRES COMP 125%"
                            },
                            "operator": "MINUS",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-5 RESULTAT"
                            },
                            "secondOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS110 HRES A REC COMPT 125"
                            },
                            "type": "CALCULATION"
                        }
                    }
                ],
                "isActive": true,
                "label": "H Comp A Payer 125%",
                "payrollData": {
                    "payrollCode": null,
                    "wageType": null
                },
                "period": {
                    "calculationFrequency": "DAILY",
                    "calendarCode": null,
                    "cycleCode": null,
                    "dailyEvaluation": false,
                    "endPeriod": "00,00",
                    "firstEndTimeSlot": null,
                    "firstStartTimeSlot": null,
                    "secondEndTimeSlot": null,
                    "secondStartTimeSlot": null,
                    "startDateCycle": null,
                    "startPeriod": "00,00",
                    "timeSlotCalculation": false
                },
                "right": null,
                "saveResult": true,
                "schedule": {
                    "dayTypes": [
                        "WORKED",
                        "UNWORKED",
                        "NOT_OPEN",
                        "HOLIDAY",
                        "EXCEPTIONAL_HOLIDAY",
                        "OFF"
                    ],
                    "days": [
                        "SUNDAY"
                    ],
                    "maxTimeSlot": 1,
                    "resourcePresence": "INDIFFERENT",
                    "scheduleTypes": [
                        "DAY",
                        "NIGHT",
                        "REST",
                        "HALF_DAY_MORNING",
                        "HALF_DAY_AFTERNOON"
                    ],
                    "useDayFilter": true
                },
                "timeGroups": [
                    "G0"
                ],
                "type": "PREVISIONAL",
                "validityEndDate": null,
                "validityStartDate": null
            },
            {
                "calculationOrder": 0,
                "code": "HS180",
                "comment": "Alimentation des compteurs A payer\nHS calculée mois ce qui est partie en recup",
                "concise": "HC PAYE 110",
                "customFieldValues": [
                    {
                        "label": "MODE_DECOMPTE",
                        "value": "1"
                    },
                    {
                        "label": "TYPE_GESTION",
                        "value": "2"
                    }
                ],
                "formulaLines": [
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS005 HRES COMPLEMENTAIRES"
                            },
                            "operator": "MINUS",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-5 RESULTAT"
                            },
                            "secondOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS115 HRES A REC COMP 110"
                            },
                            "type": "CALCULATION"
                        }
                    }
                ],
                "isActive": true,
                "label": "H Comp A Payer 110%",
                "payrollData": {
                    "payrollCode": null,
                    "wageType": null
                },
                "period": {
                    "calculationFrequency": "DAILY",
                    "calendarCode": null,
                    "cycleCode": null,
                    "dailyEvaluation": false,
                    "endPeriod": "00,00",
                    "firstEndTimeSlot": null,
                    "firstStartTimeSlot": null,
                    "secondEndTimeSlot": null,
                    "secondStartTimeSlot": null,
                    "startDateCycle": null,
                    "startPeriod": "00,00",
                    "timeSlotCalculation": false
                },
                "right": null,
                "saveResult": true,
                "schedule": {
                    "dayTypes": [
                        "WORKED",
                        "UNWORKED",
                        "NOT_OPEN",
                        "HOLIDAY",
                        "EXCEPTIONAL_HOLIDAY",
                        "OFF"
                    ],
                    "days": [
                        "SUNDAY"
                    ],
                    "maxTimeSlot": 1,
                    "resourcePresence": "INDIFFERENT",
                    "scheduleTypes": [
                        "DAY",
                        "NIGHT",
                        "REST",
                        "HALF_DAY_MORNING",
                        "HALF_DAY_AFTERNOON"
                    ],
                    "useDayFilter": true
                },
                "timeGroups": [
                    "G0"
                ],
                "type": "PREVISIONAL",
                "validityEndDate": null,
                "validityStartDate": null
            },
            {
                "calculationOrder": 0,
                "code": "HS030",
                "comment": "Saisie des heures à récuperer",
                "concise": null,
                "customFieldValues": [
                    {
                        "label": "MODE_DECOMPTE",
                        "value": "1"
                    },
                    {
                        "label": "TYPE_GESTION",
                        "value": "2"
                    }
                ],
                "formulaLines": [
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS003 DEPASSEMENT HEBDO"
                            },
                            "operator": "GREATER",
                            "secondOperand": {
                                "operandItem": "CONSTANT",
                                "value": "0"
                            },
                            "type": "IF"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "CONSTANT",
                                "value": "1"
                            },
                            "operator": "UNKNOWN",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-5 RESULTAT"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "CALCULATION"
                        }
                    },
                    {
                        "instruction": {
                            "enabled": true,
                            "type": "ENDIF"
                        }
                    }
                ],
                "isActive": true,
                "label": "Flag Recup A Saisir",
                "payrollData": {
                    "payrollCode": null,
                    "wageType": null
                },
                "period": {
                    "calculationFrequency": "DAILY",
                    "calendarCode": null,
                    "cycleCode": null,
                    "dailyEvaluation": false,
                    "endPeriod": "00,00",
                    "firstEndTimeSlot": null,
                    "firstStartTimeSlot": null,
                    "secondEndTimeSlot": null,
                    "secondStartTimeSlot": null,
                    "startDateCycle": null,
                    "startPeriod": "00,00",
                    "timeSlotCalculation": false
                },
                "right": null,
                "saveResult": true,
                "schedule": {
                    "dayTypes": [
                        "WORKED",
                        "UNWORKED",
                        "NOT_OPEN",
                        "HOLIDAY",
                        "EXCEPTIONAL_HOLIDAY",
                        "OFF"
                    ],
                    "days": [
                        "SUNDAY"
                    ],
                    "maxTimeSlot": 1,
                    "resourcePresence": "INDIFFERENT",
                    "scheduleTypes": [
                        "DAY",
                        "NIGHT",
                        "REST",
                        "HALF_DAY_MORNING",
                        "HALF_DAY_AFTERNOON"
                    ],
                    "useDayFilter": true
                },
                "timeGroups": [
                    "G0"
                ],
                "type": "PREVISIONAL",
                "validityEndDate": null,
                "validityStartDate": null
            },
            {
                "calculationOrder": 0,
                "code": "HS004",
                "comment": null,
                "concise": null,
                "customFieldValues": [
                    {
                        "label": "MODE_DECOMPTE",
                        "value": "1"
                    },
                    {
                        "label": "TYPE_GESTION",
                        "value": "2"
                    }
                ],
                "formulaLines": [
                    {
                        "instruction": {
                            "enabled": true,
                            "firstOperand": {
                                "operandItem": "COUNTER",
                                "value": "HS003 DEPASSEMENT HEBDO"
                            },
                            "operator": "CVH",
                            "result": {
                                "item": "VARIABLE",
                                "timeSlot": 0,
                                "value": "V-5 RESULTAT"
                            },
                            "secondOperand": {
                                "operandItem": "UNKNOWN",
                                "value": null
                            },
                            "type": "CALCULATION"
                        }
                    }
                ],
                "isActive": true,
                "label": "Dépassement hebdo (min)",
                "payrollData": {
                    "payrollCode": null,
                    "wageType": null
                },
                "period": {
                    "calculationFrequency": "DAILY",
                    "calendarCode": null,
                    "cycleCode": null,
                    "dailyEvaluation": false,
                    "endPeriod": "00,00",
                    "firstEndTimeSlot": null,
                    "firstStartTimeSlot": null,
                    "secondEndTimeSlot": null,
                    "secondStartTimeSlot": null,
                    "startDateCycle": null,
                    "startPeriod": "00,00",
                    "timeSlotCalculation": false
                },
                "right": null,
                "saveResult": true,
                "schedule": {
                    "dayTypes": [
                        "WORKED",
                        "UNWORKED",
                        "NOT_OPEN",
                        "HOLIDAY",
                        "EXCEPTIONAL_HOLIDAY",
                        "OFF"
                    ],
                    "days": [
                        "SUNDAY"
                    ],
                    "maxTimeSlot": 1,
                    "resourcePresence": "INDIFFERENT",
                    "scheduleTypes": [
                        "DAY",
                        "NIGHT",
                        "REST",
                        "HALF_DAY_MORNING",
                        "HALF_DAY_AFTERNOON"
                    ],
                    "useDayFilter": true
                },
                "timeGroups": [
                    "G0"
                ],
                "type": "PREVISIONAL",
                "validityEndDate": null,
                "validityStartDate": null
            }
        ]
    }
]