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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| employees | No |