Create Accrual Policy

Body Params
string
required

ID of the company

string
required

Unique code to assign to this policy

string
required

Type of the accrual policy (accepts: pto, sick_leave, or custom)

string

Custom name that can be assigned for the policy

date

The effective start date of the policy

float
required

The rate at which employees will accrue hours

float
required

The number of hours employees need to work to accrue accrual_rate_hours

float

The initial or immediate hour balance of policy

boolean
required

Include if doubletime work is eligible for hour accrual

boolean
required

Include if overtime work is eligible for hour accrual

float

The number of hours the employees need to work before they are eligible to begin accruing time for policy

float

The 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.

float

The maximum number of unused hours an employee is allowed to carry over from one policy year to the next on the specified rollover date.

date

Required if user passes a value for rollover_cap or accrual_cap

float

The maximum balance an employee is allowed to hold under this policy

Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json