Payroll export

Export leave with pay codes from Rotaleave for payroll — Generic CSV, Xero or QuickBooks formats, with unmapped-code warnings.

Updated 8 November 2026

The Payroll tab in Reports turns a pay period’s leave into a coded CSV your payroll software can digest. It’s admin-only, and it only appears once an admin has switched on Payroll export under Settings → Organisation → Features.

Map your pay codes first

Each leave type needs a pay code. Under Settings → Leave → Leave types, scroll to the Payroll codes section (it shows once Payroll export is on). Pick your payroll system — Generic CSV, Xero or QuickBooks — and give every leave type a code, a description and a paid flag, then Save each row. Codes are kept separately for each payroll system. Anything left unmapped is exported with the code UNMAPPED; the table flags it with a ⚠ and the CSV has an Unmapped? column, so nothing slips through silently.

The Payroll codes section of the Leave types page with Generic CSV chosen: a pay code, description and Paid tick for each leave type, and Working from home marked unmapped.

Run the export

On Reports → Payroll:

  1. Set the From/To dates for your pay period and any department or team filter. Once overtime is switched on, a Pay period picker appears: its ‹ Previous and Next › buttons step through your pay periods (set under Settings → Leave), the tab opens on the last complete one, and you can still type any dates.
  2. Pick the Payroll system.
  3. Review the table — one row per person per leave type: pay code, description, whether it’s paid, days, hours and the number of bookings. A warning banner counts any rows using an unmapped pay code, with a Set pay codes shortcut to fix them.
  4. Click Download CSV. The file is named with your From and To dates, and adds a category (leave, sickness or unpaid) and an unmapped flag for each row.

The Payroll tab in Reports: a row for each person and pay code with description, paid, days, hours, worked hours and bookings.

What it is — and isn’t

The page says it plainly: “Feeds your payroll’s SSP/pay calculation; it is not a replacement for it.” Only approved leave is included, never pending, declined or cancelled bookings. Rotaleave gives payroll clean, coded absence data; statutory pay maths stays in your payroll system. The export holds hours and days only, with one exception: if an admin has chosen a £ overtime rate (see below), it carries an Overtime £ figure (and a Night £ figure if night uplift is on). Otherwise it carries no pay rates or money amounts. The Worked hrs (period total) column shows each employee’s total paid hours from approved timesheets: the rota’d hours for each shift unless a manager chose to pay the clocked hours (see What gets paid), when clock-in is switched on for your organisation (it normally is; Settings → Organisation → Features → Clock-in & timesheets). Each week counts in the period that contains its first day (with overtime on and Round to full weeks off, hours are split by day instead, so only the days inside the period count), the total appears once per employee (on their first row), and someone who worked but took no leave gets a row with blank leave columns. With clock-in off the column shows ”— (pending clock-in)”, and an employee with no approved time shows ”— (no approved time)”. For one week at a time, a line per person, admins and managers can also use Download payroll on the Timesheets page.

Overtime columns

If an admin has switched on overtime (Settings → Rota & attendance → Overtime) and clock-in is on, the tab gains extra columns after Worked hrs (period total), and the CSV carries them too:

  • Basic hrs: Worked hrs minus overtime hours and night hours. Worked hrs itself is unchanged and still includes overtime hours, so pay Basic hrs at the normal rate and the overtime columns at their own rates.
  • Overtime ×1.5 hrs, Overtime ×2 hrs and so on: one column for each overtime rate in use.
  • Overtime paid hrs (when overtime is rated as extra time) or Overtime £ (when it is rated in £). rate missing appears instead of a £ figure when the person has no pay rate for the day.
  • With Night shift uplift on: Night ×1.25 hrs and so on, one column for each night rate in use, then Night paid hrs (extra time) or Night £ (in £). Each hour is in one column only, so Basic hrs, the Night … hrs columns and the Overtime … hrs columns add up to Worked hrs (the “paid hrs” columns don’t).

Like Worked hrs, these are per-person figures shown once on the person’s first row, so do not add them up down the column, and someone with no approved time shows ”— (no approved time)” rather than 0.00 (a blank cell in the CSV). The CSV uses plain-text headers, Overtime x1.5 hrs, Overtime pay GBP and Night pay GBP, with amounts as plain numbers such as 36.00. A week only counts once its timesheet is approved. If a week is approved after you exported its pay period, its hours and overtime show up the next time you export that period, not in the following one. Full rules are in Overtime.

TOIL earned

If any approved week in the pay period is under TOIL rules (see TOIL from timesheets), the tab gains a TOIL earned (hours) column after the overtime columns. It appears even if nobody worked extra hours in those weeks, in which case every row shows 0.00. In the CSV it is TOIL earned hrs. Like the other per-person figures, it appears once on the person’s first row. It has a value on every person’s row, including 0.00 for people who earned none, so a mixed export lines up.

TOIL hours are not paid hours, so no hour is counted twice: Basic hrs, the Night … hrs columns, the Overtime … hrs columns and TOIL earned add up to Worked hrs.

Each week is read under the rules it was approved with. If one department pays overtime and another takes TOIL, each person’s hours land in the right columns, and a later change to a department’s rules does not move hours in weeks that were already approved. The exception is switching how overtime is rated between × and £, which reads earlier weeks under the rules as they are now (see Overtime). See Department rules.

Not using Rotaleave yet?

Rota and annual leave, planned together. Free for teams of 10 or fewer.

Start free

Was this page helpful?