Help Center
Find detailed guides and information for all RosterMates features
Crystal Payroll Setup
RosterMates connects straight to Crystal Payroll, so there are no files to download or upload. When you export from the Summary page, RosterMates sends each day's approved hours, leave and allowances into Crystal's timesheet import. It can also bring employees' leave balances back from Crystal. The setup is done once; after that, each pay run is one export from RosterMates and one click of Data Import in Crystal.
- Where: Settings β API's β Crystal Payroll card (connect and export options). Summary page β Export β Crystal (each pay run). Leave page β Sync Leave Balances (leave balances).
- Who can use it: connecting and disconnecting needs API's settings (only the business owner can give this to a role) and Review Summary. Exporting needs Review Summary. Syncing leave balances needs Accept Leave Requests (to open the Leave page) and Review Summary.
- Plans: Payroll and Complete.
- Help page: Crystal Payroll Setup
- Full step-by-step guide: How to use Crystal Payroll with RosterMates
Each location connects to Crystal on its own.
The RosterMates team will set up the whole Crystal Payroll connection and match every employee for you, at no cost, if you give us access to your Crystal account. Book a free setup call and pick a time that suits you. You can also read this as a full step-by-step guide.
The free setup call is also offered on the Crystal Payroll card in Settings β API's (at the bottom of its guide), in the Crystal export window on the Summary page, and in the full Crystal guide.
Crystal keeps API access separate from the login you use to run pays, so there's a one-off setup on Crystal's side first. The Crystal Payroll card has the same steps under Get your Crystal API access (it folds away once you're connected).
- Create a Crystal API login: sign up at api.crystalsoftware.nz (https://api.crystalsoftware.nz/). Crystal emails the login details.
- Give it access to your company: sign in to the API portal and open Permission β Create. Enter the API login's email as the User Email, choose All Permissions, tick the terms and click Save & Send Email.
- Turn on Staff IDs in Crystal: go to Company Settings β Payroll Settings β Advanced Settings, tick Enable Employee Staff ID and save.
Crystal Payroll support, for problems on Crystal's side: 09 480 0123.
- In RosterMates, go to Settings β API's and open Crystal Payroll.
- Choose the export options (below). You can change them any time, there or in the export window.
- Click Connect Crystal Payroll. Crystal's sign-in opens in a pop-up window. Sign in with the API login, not your everyday payroll login.
The card then shows Connected and when the session expires.
- If nothing opens, your browser blocked the pop-up: "Please allow popups for this site to connect to Crystal Payroll."
- Finish signing in within 10 minutes, or you'll see "Authorization state expired or invalid. Please try again."
Export options
The switches save as soon as you change them, and they're the same on the card and in the export window.
- Send positions as job pay rates (off to start): worked hours are typed with the RosterMates position name, so Crystal applies that job's rate. Off means everything goes as Normal hours. Position names must exist as pay items in Crystal.
- Send areas as departments (off to start): each worked row carries the RosterMates area as the Crystal department. Off means no department is sent.
- Send allowances (on to start): approved timesheet allowances go as one zero-hour row per allowance type per pay period. Off means hours only, and you key allowances into Crystal by hand.
- In Crystal, go to Employee Settings β Employee Details and find each employee's Staff ID.
- In RosterMates, go to Manage and select the employee.
- Open the Employment tab, scroll down to Banking Details, and type their Staff ID into Payroll Employee ID exactly as Crystal shows it, including leading zeros (0041, not 41).
Repeat for every employee paid through Crystal.
- In RosterMates, approve the pay period's timesheets.
- Go to Summary and set the dates to exactly the pay period you're running in Crystal.
- Click Export, choose Crystal, and click Export.
- Check the options in the Crystal window, then click Export Timesheets.
- In Crystal, select Process a Pay in the sidebar, then Time & Income under it.
- Check that the current period in the top right corner is the same date range you exported.
- Click Data Import. The hours, leave and allowances pull through.
- Check the pays in Crystal, then process the pay run as usual.
Before it sends anything, RosterMates checks everyone with approved hours against Crystal:
- If everyone matches, the export goes straight away.
- If anyone doesn't, an Employee Mapping Warning lists them, and you can fix their Payroll Employee ID or press Export Anyway.
- If Crystal sends back no Staff IDs at all, the warning is titled Staff IDs Not Verified.
Afterwards you see Export Successful, or Exported with Warnings with how many were sent and failed and a list of Failed entries. A Please check list names anything to add in Crystal by hand.
To fix a mistake, correct it in RosterMates, export the same dates again, and click Data Import again. Exporting the same dates replaces everything RosterMates sent for those dates.
- Make sure Crystal is connected (the session lasts about an hour; see How the connection works).
- On the Leave page, click Sync Leave Balances.
- Check the preview: each employee, their Staff ID, the leave type and the balance from Crystal. Refresh fetches it again.
- Click Sync Balances to RosterMate.
What happens:
- Each matching employee's balance in RosterMates is set to Crystal's figure. It replaces the balance; it doesn't add to it.
- RosterMates takes annual, sick, alternative holiday and family violence leave balances, matched by Payroll Employee ID.
- When the team last checked (June 2026), Crystal's connection only sent annual and sick leave. Keep alternative holiday and family violence balances up to date in RosterMates yourself.
- Day-based balances are turned into hours (or back) at 8 hours a day.
- Each change is recorded in the leave history, for example "Set to 40 hours by a Crystal Payroll sync (was 32)".
- The results show each row as β synced, β no match (no employee with that Payroll Employee ID) or β skipped, and how many were updated and skipped.
- Only staff at this location who aren't archived and have a Payroll Employee ID are synced.
Sync again whenever RosterMates should catch up.
Everything sent comes from approved timesheets and approved leave for the dates you export.
- Hours: approved hours go as worked hours on each day: Normal hours, or under the position's job pay rate if Send positions as job pay rates is on.
- Departments: the area goes as the Crystal department on each worked row, if Send areas as departments is on.
- Leave: approved leave goes as the matching Crystal leave type:
- Annual β Annual Leave
- Sick β Sick Leave
- Alternative β Alternative Leave
- Bereavement β Bereavement Leave
- Family Violence β Family Violence Leave
- Parental β Parental Leave
- Leave Without Pay, and any day marked without pay β Unpaid Leave
- ACC β ACC Paid Leave
- Study, Jury, Military and Special β Other Paid Leave
- Volunteers Leave has no Crystal leave type, so it isn't sent. The export lists it with its hours, to enter in Crystal by hand.
- Allowances: see How allowances work below.
- Public holidays: only the hours worked go. Crystal works out holiday pay and alternative holidays itself.
- Notes on timesheets aren't sent.
- Each allowance type goes as one zero-hour row per pay period, with its units, rate and amount.
- Crystal matches allowances by name, so the allowance's payroll code in RosterMates (or its name, if it has no code) must match the allowance in Crystal.
- The row goes on a day the employee has no hours or leave, starting from the last day of the period and working back. Each allowance type needs its own free day.
- If every day in the period is taken, it isn't sent, and the export says which allowance to key into Crystal by hand.
- Allowances on days that aren't approved yet aren't sent, and the export says how many were held back.
- With Send allowances off, the export says allowances weren't sent.
Crystal's import has no way for RosterMates to say that a day was a public holiday, whether it was an otherwise working day for the employee, or whether an alternative holiday is owed. So RosterMates sends the hours worked, and Crystal works out public holiday pay, Mondayisation and alternative holidays from the work patterns set up in Crystal.
So the public holiday table on the RosterMates timesheet isn't needed for Crystal: Crystal can't receive it. Around a public holiday:
- Keep work patterns up to date in Crystal. They decide who gets paid for the day off and who earns an alternative holiday. Check public holiday pays in Crystal before processing them.
- Keep RosterMates' alternative holiday balances right. Crystal's alternative holidays don't come back with Sync Leave Balances, so fill in the public holiday table in RosterMates if you want its alternative holiday balances to stay right. See Holidays.
- Salaried staff: set them up as salaried in RosterMates too (Employment tab β Paid by: Salary, with a salary above $0). RosterMates then sends only their leave and allowances, because Crystal pays the salary; otherwise their worked hours would go to Crystal too and could be paid on top. Anything else that changes their pay goes on the Please check list to add in Crystal: public holidays worked, alternative holidays earned, overtime set in Pay with RosterMate, and pay lines added by hand.
- Job pay rates: with Send positions as job pay rates on, each worked row uses the RosterMates position name, and Crystal looks for a pay item with exactly that name. Set up a matching pay item in Crystal for every position used, or leave the switch off.
- Crystal gives RosterMates a session, not a lasting connection. It lasts as long as Crystal allows (about an hour), then you sign in again with the API login.
- While the session is live, the card shows Connected β session expires and the time. After that it shows Not connected, and the Sync Leave Balances button on the Leave page is hidden until you connect again.
- On the Summary page, an expired session opens the Crystal sign-in by itself: "Your Crystal Payroll session expired. Please sign in again."
- On the Leave page, an expired session shows "Your Crystal Payroll session has expired. Please reconnect in Settings > Payroll." That means Settings β API's β Crystal Payroll.
- Disconnect on the card ends it: "You will need to reconnect to export timesheets or sync leave."
- An employee isn't matched: their Payroll Employee ID doesn't exactly match their Crystal Staff ID. Check leading zeros.
- Nothing appears after Data Import: the current period in Crystal's Time & Income doesn't match the dates you exported.
- Rows for a position are rejected: the position name isn't a pay item in Crystal. Add it, or turn off Send positions as job pay rates.
- An allowance is missing: its payroll code (or name) doesn't match the allowance in Crystal, there was no free day in the period for it, or its day wasn't approved yet.
- Some leave is missing: it's Volunteers Leave, which Crystal has no type for. Enter it in Crystal by hand.
- "Session expired" or a reconnect message: sign in again in Settings β API's β Crystal Payroll with the API login.
- Public holiday pay looks wrong: check the employee's work pattern in Crystal. Crystal decides public holiday pay from it, not from RosterMates.
- Alternative holiday or family violence balances didn't update: Crystal didn't send them. Set them in RosterMates.
Still stuck? Book a free setup call and the team will go through it with you.
- RosterMates doesn't send anything to Crystal when timesheets are approved. It only sends when you export from Summary.
- Crystal's import can't take public holiday information, the public holiday table, or alternative holidays earned.
- Volunteers Leave can't be sent.
- Timesheet notes aren't sent.
- An allowance can't share a day with hours or leave, so each allowance type needs a free day in the period.
- The connection doesn't stay signed in: Crystal's session lasts about an hour.
- Crystal's connection sent only annual and sick leave balances when the team last checked (June 2026), so alternative holiday and family violence balances don't come back.
Do I need to download a file for Crystal?
No. RosterMates sends the hours straight to Crystal. In Crystal you click Data Import.
Does it send hours as soon as I approve timesheets?
No. It sends when you click Export on the Summary page and choose Crystal.
I exported the wrong dates. What do I do?
Fix it in RosterMates, export the right dates again, and click Data Import in Crystal again. Exporting the same dates replaces what was sent.
Why does it keep asking me to sign in to Crystal?
Crystal's session lasts about an hour. Sign in again with the API login.
Which login do I use to connect?
The Crystal API login from api.crystalsoftware.nz, not the login you run pays with.
Can Crystal send my leave balances to RosterMates by itself?
No. Click Sync Leave Balances on the Leave page whenever you want them updated.
Why didn't alternative holidays come across from Crystal?
When the team last checked, Crystal's connection only sent annual and sick leave. Set alternative holiday balances in RosterMates.
Do I fill in the public holiday table for Crystal?
Crystal can't receive it. Fill it in only if you want RosterMates' own alternative holiday balances to stay right.
Can I pay different rates for different positions?
Yes. Turn on Send positions as job pay rates and set up a pay item in Crystal named exactly like each position.
Can I see wages by department in Crystal?
Yes. Turn on Send areas as departments, and each worked row carries the area as the Crystal department.
What happens to salaried staff?
Only their leave and allowances are sent, as long as they're set as salaried in RosterMates. See How salaried staff and job pay rates work.
Why was an employee left out?
Their Payroll Employee ID doesn't match their Crystal Staff ID. Check leading zeros.
- Staff ID, employee number, payroll ID = Payroll Employee ID in RosterMates, Staff ID in Crystal
- import, pull in the hours = Crystal's Data Import
- push to Crystal, send to Crystal = Export β Crystal on the Summary page
- API login, API user = the Crystal login made at api.crystalsoftware.nz
- job rate, pay item = Send positions as job pay rates
- department, cost centre = Send areas as departments
- leave sync, balance sync = Sync Leave Balances
- LWOP, unpaid leave = Leave Without Pay (sent as Unpaid Leave)
- stat day, stat holiday = public holiday
- day in lieu, lieu day = alternative holiday