payroll

Create Payroll Event

post/companies/{company_id}/payroll/events

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/events
  • Auth: none declared

Path parameters

company_idstring required

Headers

authorizationstring nullable

Cookies

access_tokenstring nullable

Request body

employee_idstring required
event_type'hire' | 'exit' | 'unpaid_leave' | 'sickness' | 'accident' | 'military_service' | 'maternity' | 'paternity' | 'birth' | 'other' required

One employee lifecycle/absence event on payroll_event.

The allowance types (sickness / accident / military_service / maternity / paternity) may carry a per-calendar-day Taggeld/EO amount that the "events" run-input provider turns into 1060/1061/1070 lines; hire/exit/unpaid_leave/birth/other never emit lines — they drive the warning-severity payroll_event_unhandled run check instead.

date_fromstring date required
date_tostring date nullable
daily_allowance_wage_type_codestring nullable
eo_payment_route'via_employer' | 'direct_to_person'
insurer_case_numberstring nullable
notestring nullable

Response

Successful Response

idstring required
employee_idstring required
event_type'hire' | 'exit' | 'unpaid_leave' | 'sickness' | 'accident' | 'military_service' | 'maternity' | 'paternity' | 'birth' | 'other' required

One employee lifecycle/absence event on payroll_event.

The allowance types (sickness / accident / military_service / maternity / paternity) may carry a per-calendar-day Taggeld/EO amount that the "events" run-input provider turns into 1060/1061/1070 lines; hire/exit/unpaid_leave/birth/other never emit lines — they drive the warning-severity payroll_event_unhandled run check instead.

date_fromstring date required
date_tostring date nullable required
daily_allowance_amountstring nullable required
daily_allowance_wage_type_codestring nullable required
allowance_percentstring nullable required
eo_payment_route'via_employer' | 'direct_to_person' required
insurer_case_numberstring nullable required
notestring nullable required
created_atstring date-time required
updated_atstring date-time required
default_wage_type_codestring nullable

Changes

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