Populate payrun
populate_payrunFill a pay run with a DRAFT payslip for each employee on its roster who has none yet; running it again skips those already there. Drafts post nothing to the ledger. A pay run that finalises itself on its pay date is refused.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "populate_payrun"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| employees | No |