年次有給休暇 — 付与日数と年5日の時季指定義務
judge_annual_leaveWorks out how many days of paid leave someone has been granted, and whether the employer still owes the five days it must direct.
労働基準法第39条 grants ten working days once six months of service are complete and attendance reaches eighty per cent of all working days, then adds one, two, four, six, eight and ten days in the years that follow. The ceiling everyone quotes as twenty is not in the article: it is the ten of the first grant plus the ten added from the sixth year.
Someone under thirty hours a week working four days or fewer takes a smaller table from 施行規則第24条の3. Thirty hours is where it turns — at or above it the ordinary grant applies no matter how few days are worked, and treating such a person as part-time under-grants them. Ask for both the weekly days and the weekly hours; one without the other cannot settle it.
Where ten or more days are granted, 第39条第7項 requires the employer to fix the timing of five of them within the year, and days the employee took of their own accord count toward it. A grant lapses two years after it is made (第115条), so one year carries over.
The attendance figure is a question about the workplace: leave for a work injury, maternity, childcare and paid leave already taken all count as attendance. Ask for a rate that has been worked out rather than dividing days present by days in the year. Without one the tool reports the eighty per cent test as not judged rather than assuming it passed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | Date to judge against, YYYY-MM-DD. Defaults to today. | |
| hired_on | Yes | Date of hire, YYYY-MM-DD. Grants fall six months later, then annually. | |
| days_taken | No | Days already taken in the current year, counted against the five the employer must direct. | |
| annual_days | No | 一年間の所定労働日数, in place of weekly_days. | |
| weekly_days | No | 週所定労働日数. | |
| weekly_hours | No | 週所定労働時間. Thirty or more takes the ordinary grant whatever the day count. | |
| attendance_rate | No | Attendance as a fraction of all working days, 0 to 1. Eighty per cent or more grants. |