ReconSmiths Developers Your API keys

Staff and payroll

For a system that knows who works and when - rostering, time clocks, field apps - while ReconSmiths runs the payroll.

Employees

PUT /v1/employees/{externalRef} creates or updates one person under your id. It is a PUT because you name the person: sending it again is the same person. null leaves a field alone, so a system that does not hold salaries never zeroes them.

Hours

PUT /v1/employees/{externalRef}/hours/{periodRef} sends one person's hours for one pay period, day by day. Sending the same period again replaces it (a correction). Once a posted pay run covers any of its days, it is refused with 409.

Leave

You wantCall
The kinds of leave the company hasGET /v1/leave-types
What a person has leftGET /v1/employees/{externalRef}/leave
Record approved leavePOST /v1/employees/{externalRef}/leave
Withdraw an approvalPOST /v1/employees/{externalRef}/leave/{leaveRef}/reverse

You own the request and the approval; ReconSmiths records what was taken. Send the number of days: ReconSmiths does not know your working week or public holidays. Balances are worked out each time from accrual, adjustments and leave taken.

Payslips

GET /v1/employees/{externalRef}/payslips lists a person's issued payslips; GET /v1/payslips/{id}/file is the PDF. Only issued ones: a draft pay run has no payslip.

This page as plain text: staff-and-payroll.md