Compensation
Creates the compensation for an employee. A job needs to be created in order for a compensation to be defined.
Attributes
| Attribute | Required? | Default |
|---|---|---|
rate | Yes | |
payment_unit | Yes | |
effective_date | ||
flsa_status |
Sample JSON (only required attributes)
{
"idempotency_key": "bcfc9744-0ab3-4ef3-ab0d-e728255d659c",
"batch_action" : "create",
"batch": [
{
"entity_type": "employee",
"person": {
"external_id": "employee-abc-123",
"first_name": "Alice",
"last_name": "Smith"
},
"job": {
"title": "Software Engineer",
"hire_date": "2023-08-20"
},
"compensation": {
"rate": "160000.0",
"payment_unit": "Year"
}
}
]
}Sample JSON (all attributes)
{
"idempotency_key": "bcfc9744-0ab3-4ef3-ab0d-e728255d659c",
"batch_action" : "create",
"batch": [
{
"entity_type": "employee",
"person": {
"external_id": "employee-abc-123",
"first_name": "Alice",
"last_name": "Smith"
},
"job": {
"title": "Software Engineer",
"hire_date": "2023-08-20"
},
"compensation": {
"rate": "160000.0",
"payment_unit": "Year",
"effective_date": "2023-08-20",
"flsa_status": "Salaried Nonexempt"
}
}
]
}Check here to see how this looks in the context of a full batch example.
Updated 1 day ago