Preview payslip
preview_payslipPrice a payslip for a saved employee without saving it: gross, deductions, net and each line, with PAYE, UIF and SDL priced. Send rows in payvalues to see a change before you save it with save_employee. It reads only; nothing is stored or posted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paydate | No | YYYY-MM-DD. The tax tables in force on this date price PAYE, UIF and SDL. Omitted, today. | |
| employee | Yes | The employee id. Their saved package, template and pay values price the slip. | |
| frequency | No | The pay cadence to price at. Omitted, monthly. | |
| payvalues | No | Rows put over the employee's saved pay values for this preview only, one per code. A sent row replaces the saved row for its code. Nothing is saved. |