Represents a custom earning rate for an employee, which can be used while creating payroll items through the API.
For more details about how to use earning rates, refer to the Earnings Guide.
{
"id": "rte_aOSqW0QTKcE1iVU1C5",
"amount": "50000.00",
"period": "annually",
"employee": "emp_aslkj192j3laksdj",
"name": "Dishwasher Weekend Rate",
"workweek_hours": 40.0,
"active": true,
"metadata": {}
}id string | Unique identifier for the earning rate. |
amount | The amount to pay the employee per period. This value cannot be changed after the Earning Rate is created. |
period | The time frame to spread the amount over. May be |
employee | ID of the employee that this earning rate relates to. |
name | Human-readable name identifying the earning rate. |
| Number of hours the employee works per week, most commonly for salaried employees. Used when determining the effective hourly rate for |
active | Flag to filter out earning rates that are no longer in use. |
metadata | Additional loosely structured information to associate with the earning rate. |
