calculate_leave_cost
Calculate the leave days required for a date range, excluding weekends and public holidays and factoring in half days, part-time schedules, and local holiday settings.
Instructions
Leave days needed to be away from start to end (inclusive).
Accounts for weekends, public holidays inside the trip, and any half days, part-time pattern or local-holiday settings in the ledger's profile.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| start | Yes | ||
| ledger | No | ||
| region | No | ||
| country | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||