calculate_leave_days
Calculate French paid leave accruals: 2.5 days per month, up to 25 days annually. Input employment start date and months worked to get accrued days, max annual days, and months needed to reach cap.
Instructions
Calculate French paid leave (congés payés): 2.5 days/month, max 25 working days/year. Returns: {accrual_per_month, accrued_days, capped_at_max, max_annual_days, days_to_max, months_to_max}. See list_bundles for related 'temps-rh' calculators.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_date | Yes | YYYY-MM-DD — Employment start date | |
| months_worked | Yes | Months worked in the reference period (1-12) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Computed result. Object whose fields depend on the tool (e.g. {tax, marginal_rate, brackets} for tax tools, {volume_l, gallons} for volume tools). | |
| formula | No | Human-readable formula or method used (e.g. "I=P·r·t", "Magnus formula"). | |
| source | No | Authoritative source for the rule or formula (e.g. "Article 197 CGI", "NF DTU 21"). | |
| reference_url | No | Link to a calcul2 page documenting the calculation in detail. |