Update deduction type
PUT/payroll/deductions/{id}
Updates an existing deduction type. Changes apply from the next payroll run.
Request
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | The numeric ID of the deduction type to update. |
Request body
Content type application/json (required).
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Max length: 180 |
calculation_method | string | Yes | One of: |
default_value | number (float) | Yes | |
is_statutory | boolean | No | Default: |
description | string | No |
Example
{
"default_value": 5.5
}
Responses
200 Deduction type updated
Example request
curl -X PUT "https://{tenant}.faciotech.net/api/v1/payroll/deductions/{id}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"default_value": 5.5}'