Save employee
save_employeeCreate or update a payroll employee: name, number, contact and identity details, role, department, employments and standing package. Omit id to create; pass an id to update that employee. An update that ends the employee's employment (a new end date with no employment starting the next day) files their tax certificates; a status change, a re-sent end date or a create files nothing. Writes no payslip and posts nothing to the ledger.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| city | No | ||
| name | No | ||
| role | No | ||
| No | |||
| notes | No | ||
| number | No | ||
| suburb | No | ||
| address | No | ||
| country | No | ||
| starred | No | ||
| address2 | No | ||
| archived | No | ||
| idnumber | No | ||
| birthdate | No | ||
| taxnumber | No | ||
| department | No | ||
| postalcode | No | ||
| employments | No | ||
| packagekind | No | How the package is paid. annual, monthly and weekly: packageamount is the pay for that period and packagequantity is not sent. hourly and daily: packageamount is the RATE per hour or day and packagequantity is the normal hours or days per week. "$delete" clears it. | |
| jurisdiction | No | The employee's jurisdiction id within the business's payroll pack, when the pack has more than one. | |
| contactnumber | No | ||
| packageamount | No | The package amount; see packagekind. "$delete" clears it. | |
| packagequantity | No | Normal hours or days per week, for an hourly or daily package only. "$delete" clears it. | |
| paysliptemplate | No | The id of the payslip template whose lines this employee's payslips start from. |