Employee compensation

As you might already know, an employee profile is an account of the employee. Additionally, to employee attributes, such as first and last name, hire date etc, there are separate records for employee position and salary.
To keep the historic order of employee promotions, salary reviews and other changes, we suggest you add a new record instead of updating the existing field.

  • Employee salary created
  • Employee salary updated

Employee salary created

Employee salary created webhook will be triggered immediately whenever a new salary record will be added to any employee: active or terminated (inactive).

{
  "action": "employee_salary_create",
  "data": {
    "id": 80093,
    "attributes": {
      "effective_on": "2022-09-21",
      "amount": "45000.0",
      "per": "month",
      "currency_code": "UAH",
      "comment": ""
    },
    "employee": {
      "id": 133710,
      "employee_number": "IT-1029",
      "first_name": "Volodymyr",
      "last_name": "Markovich",
      "email": "[email protected]"
    },
    "meta": {
      "created_at": "2022-09-21T15:59:57.173+01:00",
      "updated_at": "2022-09-21T15:59:57.173+01:00"
    }
  }
}

Employee salary updated

Employee salary updated webhook will be triggered immediately whenever an existing salary record will be edited for any employee: active or terminated (inactive).

{
  "action": "employee_salary_update",
  "data": {
    "id": 80093,
    "attributes": {
      "effective_on": "2022-09-21",
      "amount": "48000.0",
      "per": "month",
      "currency_code": "UAH",
      "comment": ""
    },
    "employee": {
      "id": 133710,
      "employee_number": "IT-1029",
      "first_name": "Volodymyr",
      "last_name": "Markovich",
      "email": "[email protected]"
    },
    "meta": {
      "created_at": "2022-09-21T15:59:57.173+01:00",
      "updated_at": "2022-09-21T16:02:15.919+01:00"
    }
  }
}