payroll

Create Payment Batch

Generate + persist the run's salary pain.001. 409 when an open batch exists / the run is not posted; 422 listing ALL ineligible employees.

post/companies/{company_id}/payroll/runs/{run_id}/payment-batches

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/runs/{run_id}/payment-batches
  • Auth: none declared

Path parameters

company_idstring required
run_idstring required

Headers

authorizationstring nullable

Cookies

access_tokenstring nullable

Request body

debtor_bank_account_idstring required
execution_datestring date nullable

Response

Successful Response

idstring required
payroll_run_idstring required
status'generated' | 'cancelled' required

Salary payment batch lifecycle (payroll SP7): at most one generated batch per run (partial unique index); regeneration goes through cancel.

debtor_bank_account_idstring required
execution_datestring date required
msg_idstring required
nb_of_txsinteger required
ctrl_sumstring required
filenamestring required
created_atstring date-time required
created_bystring nullable
cancelled_atstring date-time nullable

Changes

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