Skip to content

Update employee payroll config

PUT/payroll/employees/{id}

Updates an employee's payroll configuration, including basic salary, tax code, allowances, and deduction assignments.

Request

Path parameters

NameTypeRequiredDescription
idintegerYes

The numeric ID of the employee payroll config record.

Request body

Content type application/json (required).

FieldTypeRequiredDescription
basic_salarynumber (float)No

Monthly basic salary in the payroll currency.

tax_codestringNo

Tax profile code determining which PAYE band table applies.

allowance_idsarray of integerNo

IDs of allowance types to assign to this employee.

deduction_idsarray of integerNo

IDs of deduction types to assign to this employee.

Example

{
  "basic_salary": 4500.0,
  "tax_code": "GH_RESIDENT_STANDARD",
  "allowance_ids": [
    1,
    3
  ],
  "deduction_ids": [
    2
  ]
}

Responses

200 Employee payroll config updated

404 Employee config not found

Example request

curl -X PUT "https://{tenant}.faciotech.net/api/v1/payroll/employees/{id}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"basic_salary": 4500.0, "tax_code": "GH_RESIDENT_STANDARD", "allowance_ids": [1, 3], "deduction_ids": [2]}'
Loading