hris
deduction

Retrieve a deduction

get/hris/{connection_id}/deduction/{id}

Request

  • Base URL: http://api.unified.to
  • URL: http://api.unified.to/hris/{connection_id}/deduction/{id}
  • Auth: API key in header authorization

Path parameters

connection_idstring required

ID of the connection

idstring required

ID of the Deduction

Query parameters

fieldsstring[]

Fields to return

rawstring

Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar

Response

Successful

idstring
created_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

updated_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

user_idstring

employee ID (reference to HrisEmployee)

company_idstring

(reference to HrisCompany)

benefit_idstring
amountnumber

percentage or absolute amount (employee's portion)

type'FIXED' | 'PERCENTAGE'
coverage_level'EMPLOYEE_ONLY' | 'EMPLOYEE_SPOUSE' | 'EMPLOYEE_CHILD' | 'EMPLOYEE_CHILDREN' | 'EMPLOYEE_FAMILY' | 'FAMILY' | 'OTHER'

Level selected by employee (e.g. "FAMILY", "EMPLOYEE_ONLY", or other)

frequency'ONE_TIME' | 'DAY' | 'QUARTER' | 'YEAR' | 'HOUR' | 'MONTH' | 'WEEK' | 'BIWEEKLY' | 'SEMIMONTHLY'

Frequency for this deduction (should always be set, matches IHrisBenefit.frequency)

start_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

end_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

is_activeboolean
notesstring
employer_amountnumber

percentage or absolute amount (employer's portion/match)

employer_type'PERCENTAGE' | 'FIXED'
max_amountnumber

annual maximum employee amount (always money)

paycode_idstring

the hris_paycode (deduction code) this deduction uses

garnishment_type'CHILD_SUPPORT' | 'TAX_LEVY' | 'STUDENT_LOAN' | 'CREDITOR' | 'BANKRUPTCY' | 'OTHER'

set when this deduction is a court-ordered garnishment

rawunknown

Changes

No recorded changes to this operation across all 1 revision of this API.