Storing the mapping for future use
In order to prevent the user re-entering mapping data on each upload it is a good idea to store the mapping for future use. It is advisable that the mapping is stored against the BrightPay organisationId/employerId. Storing against the organisationId/employerId will also help around the turn of the financial year.
Storing the default mapping against the organisationId/employerId makes sense as multiple users of the Timesheet application may process the data into BrightPay. Therefore, it is helpful to let a user load the last mapping (whether they set it up or not).
Below is an example of a mapping file:
The TimeSheetEmployeeId is the Timesheet Employee id
The BrightEmployeeId is the Employee.employeeId returned from the Payroll API
The TimeSheetHourlyRate is the Timesheet application’s hourly rate
The BrightHourlyRate is the HourlyRate.rateName returned from the Payroll API
Last updated