Finalise payslips
finalise_payslipsFinalise payslips by id, so each posts its journal to the books. Sends no email and files no returns. Without confirm true it changes nothing and answers reason confirm-required with what it would post; ask the user, then call again with confirm true. A payslip dated in a locked period, or on a pay run that finalises itself on its pay date, is refused. A missing or another business's id refuses the whole batch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| confirm | No | Send true only after the user has agreed to the change the refusal described. |