Save payroll settings
save_payroll_settingsChange this business's payroll settings, the country pack's settings, the jurisdiction and the PAYE method 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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "save_payroll_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. | |
| payemethod | No | How PAYE is worked out: "ytd" (year to date) or "period" (per period). get_payroll_setup lists the choices under payemethod.options. The move to "ytd" is one-way. | |
| jurisdiction | No | A code from get_payroll_setup jurisdiction.options. "$delete" clears it. Omitted, it stays. |