Save payslip template
save_payslip_templateCreate or update a payslip template: a named line set of earnings, deductions and contributions with each line's kind, rate, quantity, amount and formula. Omit id to create; pass an id to update that template. On update, lines is the full set. A template is master data: it changes future payslips only and posts nothing to the ledger.
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_payslip_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No | ||
| lines | No | The full set of lines. It replaces the stored set; send the id of every line you keep. | |
| notes | No | ||
| archived | No | ||
| statutory | No | ||
| showcredits | No | true prints employer credit lines (ETI) on the payslip PDF, outside net pay. Off by default. |