Update Accrual PolicyAsk AIpatch https://api.zeal.com/accrualPolicyBody ParamscompanyIDstringrequiredID of the companypolicy_codestringrequiredUnique code assigned to the policypolicy_typestringType of the accrual policy (accepts: pto, sick_leave, or custom)policy_effective_datedateThe effective start date of the policyaccrual_rate_hoursfloatThe rate at which employees will accrue hoursaccrual_period_hoursfloatThe number of hours employees need to work to accrue accrual_rate_hoursimmediate_balancefloatThe initial or immediate hour balance of policyinclude_doubletimebooleanInclude if doubletime work is eligible for hour accrualtruetruefalseinclude_overtimebooleanInclude if overtime work is eligible for hour accrualtruetruefalseaccrual_waiting_periodfloatThe number of hours the employees need to work before they are eligible to begin accruing time for policyaccrual_capfloatMax hours an employee can accrue in one calendar yearrollover_capfloatMax hours an employee can rollover from one year to the next year, on specified rollover daterollover_datedateRequired if user passes a value for rollover_cappolicy_statusstringThe status of the policy (accepts live or terminated)include_flatbooleanInclude if flat earning component is eligible for accrualtruefalsebalance_capfloatThe maximum balance an employee is allowed to hold under this policyResponses 200200 400400Updated 8 months ago