payroll

Cancel Payment Batch

Cancel a generated batch (blocked once the run is paid).

post/companies/{company_id}/payroll/payment-batches/{batch_id}/cancel

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

Path parameters

company_idstring required
batch_idstring required

Headers

authorizationstring nullable

Cookies

access_tokenstring 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.