Update allowance type
PUT/payroll/allowances/{id}
Updates an existing allowance type's name, calculation method, or taxability. Changes apply to the next payroll run calculation for employees assigned this type.
Request
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | The numeric ID of the allowance 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_taxable | boolean | No | Default: |
description | string | No |
Example
{
"default_value": 250.0
}
Responses
200 Allowance type updated
404 Allowance type not found
Example request
curl -X PUT "https://{tenant}.faciotech.net/api/v1/payroll/allowances/{id}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"default_value": 250.0}'