Skip to content

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

NameTypeRequiredDescription
idintegerYes

The numeric ID of the allowance type to update.

Request body

Content type application/json (required).

FieldTypeRequiredDescription
namestringYes

Max length: 180

calculation_methodstringYes

One of: "fixed", "percentage"

default_valuenumber (float)Yes
is_taxablebooleanNo

Default: true

descriptionstringNo

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}'
Loading