v1

latestOpenAPI 3.1.02026-07-241642423.7 KB

Create an earning rate

post/earning_rates

Request body

amountstring required
periodstring required

May be hourly, annually, or piece

employeestring required
namestring
workweek_hoursnumber float

Number of hours the employee works per week, most commonly for salaried employees

Response

201

idstring
amountstring
periodstring

May be hourly, annually, or piece

employeestring
companystring

ID of the company that this earning rate relates to (via the employee).

namestring
workweek_hoursnumber float
activeboolean
metadataobject

Example response

{
  "id": "rte_aOSqW0QTKcE1iVU1C5",
  "amount": "50000.00",
  "period": "annually",
  "employee": "emp_aslkj192j3laksdj",
  "company": "com_omSihPyKgr68wxFQ0xTn",
  "name": "Dishwasher Weekend Rate",
  "workweek_hours": 40,
  "active": true,
  "metadata": {}
}