---
title: "Update a deduction"
method: PATCH
path: "/hris/{connection_id}/deduction/{id}"
tags: ["hris", "deduction"]
---

# Update a deduction

`PATCH /hris/{connection_id}/deduction/{id}`

## Path parameters

- `connection_id` string, required
- `id` string, required

## Query parameters

- `fields` string[]
- `raw` string

## Request body

- HrisDeduction — Employee-specific deduction/benefit enrolment.
  - `id` string
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `user_id` string
  - `company_id` string
  - `benefit_id` string
  - `amount` number
  - `type` 'FIXED' | 'PERCENTAGE'
  - `coverage_level` 'EMPLOYEE_ONLY' | 'EMPLOYEE_SPOUSE' | 'EMPLOYEE_CHILD' | 'EMPLOYEE_CHILDREN' | 'EMPLOYEE_FAMILY' | 'FAMILY' | 'OTHER'
  - `frequency` 'ONE_TIME' | 'DAY' | 'QUARTER' | 'YEAR' | 'HOUR' | 'MONTH' | 'WEEK'
  - `start_at` string, date-time
  - `end_at` string, date-time
  - `is_active` boolean
  - `notes` string
  - `raw` object

## Response `200`

Successful

- HrisDeduction — Employee-specific deduction/benefit enrolment.
  - `id` string
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `user_id` string
  - `company_id` string
  - `benefit_id` string
  - `amount` number
  - `type` 'FIXED' | 'PERCENTAGE'
  - `coverage_level` 'EMPLOYEE_ONLY' | 'EMPLOYEE_SPOUSE' | 'EMPLOYEE_CHILD' | 'EMPLOYEE_CHILDREN' | 'EMPLOYEE_FAMILY' | 'FAMILY' | 'OTHER'
  - `frequency` 'ONE_TIME' | 'DAY' | 'QUARTER' | 'YEAR' | 'HOUR' | 'MONTH' | 'WEEK'
  - `start_at` string, date-time
  - `end_at` string, date-time
  - `is_active` boolean
  - `notes` string
  - `raw` object

---

[API](https://skmtc.net/unified/apis/unified-to-api.md) · [All operations](https://skmtc.net/unified/apis/unified-to-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unified/unified-to-api/versions/1f72720916e4/schema)
