Save payroll settings
save_payroll_settingsChange this business's payroll settings, the country pack's settings and the jurisdiction that get_payroll_setup lists. Send only the settings to change. The first call saves nothing and answers the changes; call again with confirm true after the user approves them. Finalised payslips, closed periods and existing drafts keep their figures; only payslips created or re-populated after the change use the new settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Omitted, nothing is saved: the answer lists each change for the user to approve. Send true after the user approves. | |
| settings | No | Setting id to value, ids as get_payroll_setup lists them under settings. Only the ids you send change. A null value removes the stored value, and the pack default applies. | |
| jurisdiction | No | A code from get_payroll_setup jurisdiction.options. "$delete" clears it. Omitted, it stays. |