payroll

Update Payroll Employee

patch/companies/{company_id}/payroll/employees/{employee_id}

Request

  • Base URL: https://app.zeno-works.ch (the document declares no server; this is the origin it was published from)
  • URL: https://app.zeno-works.ch/companies/{company_id}/payroll/employees/{employee_id}
  • Auth: none declared

Path parameters

company_idstring required
employee_idstring required

Headers

authorizationstring nullable

Cookies

access_tokenstring nullable

Request body

ahv_numberstring nullable
birthdatestring date nullable
emailstring nullable
sex'male' | 'female'

AHV/Swissdec registers are M/F only.

streetstring nullable
postal_codestring nullable
townstring nullable
countrystring nullable
nationalitystring nullable
work_permit'none' | 'b' | 'c' | 'g' | 'l' | 'f' | 'n' | 'ci' | 'other'

Work-permit category; none = Swiss citizen (no permit needed).

marital_status'single' | 'married' | 'divorced' | 'widowed' | 'separated' | 'registered_partnership' | 'dissolved_partnership'
marital_status_valid_fromstring date nullable
spouse_has_incomeboolean nullable
church_taxboolean nullable
residence_cantonstring nullable
residence_municipality_bfsinteger nullable
residence_municipality_namestring nullable
workplace_cantonstring nullable
qst_cantonstring nullable
qst_tariff_codestring nullable
employment_startstring date nullable
employment_endstring date nullable
department_dimension_value_idstring nullable
employee_nostring nullable
display_namestring nullable
status'active' | 'inactive'
qst_liableboolean nullable
other_employmentboolean nullable
reasonstring nullable

Response

Successful Response

idstring required
employee_nostring required
display_namestring required
status'active' | 'inactive' required
counterparty_idstring nullable
employment_startstring date nullable
employment_endstring date nullable
department_dimension_value_idstring nullable
ahv_numberstring nullable
birthdatestring date nullable
emailstring nullable
sex'male' | 'female'

AHV/Swissdec registers are M/F only.

streetstring nullable
postal_codestring nullable
townstring nullable
countrystring nullable
nationalitystring nullable
work_permit'none' | 'b' | 'c' | 'g' | 'l' | 'f' | 'n' | 'ci' | 'other'

Work-permit category; none = Swiss citizen (no permit needed).

marital_status'single' | 'married' | 'divorced' | 'widowed' | 'separated' | 'registered_partnership' | 'dissolved_partnership'
marital_status_valid_fromstring date nullable
spouse_has_incomeboolean nullable
church_taxboolean nullable
residence_cantonstring nullable
residence_municipality_bfsinteger nullable
residence_municipality_namestring nullable
workplace_cantonstring nullable
qst_liableboolean required
qst_cantonstring nullable
qst_tariff_codestring nullable
other_employmentboolean required
ahv_pensioner_allowance_waivedboolean nullable
readinessstring[]
ibanstring nullable

Changes

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