Create Accrual PolicyAsk AIpost https://api.zeal.com/accrualPolicyBody ParamscompanyIDstringrequiredID of the companypolicy_codestringrequiredUnique code to assign to this policypolicy_typestringrequiredType of the accrual policy (accepts: pto, sick_leave, or custom)policy_namestringCustom name that can be assigned for the policypolicy_effective_datedateThe effective start date of the policyaccrual_rate_hoursfloatrequiredThe rate at which employees will accrue hoursaccrual_period_hoursfloatrequiredThe number of hours employees need to work to accrue accrual_rate_hoursimmediate_balancefloatThe initial or immediate hour balance of policyinclude_doubletimebooleanrequiredInclude if doubletime work is eligible for hour accrualtruefalseinclude_overtimebooleanrequiredInclude if overtime work is eligible for hour accrualtruefalseaccrual_waiting_periodfloatThe number of hours the employees need to work before they are eligible to begin accruing time for policyaccrual_capfloatThe maximum number of hours an employee can accrue within a policy year. Once this limit is reached, no additional hours will accrue until the next accrual period or rollover_date.rollover_capfloatThe maximum number of unused hours an employee is allowed to carry over from one policy year to the next on the specified rollover date.rollover_datedateRequired if user passes a value for rollover_cap or accrual_capbalance_capfloatThe maximum balance an employee is allowed to hold under this policyResponses 200200 400400Updated 4 months ago