Luna HR Docs

Payroll Export

Each pay period, whoever runs your payroll needs to know what changed: who joined, who left, whose pay moved, what extra to pay, who was off, what to reimburse, and whose details changed. Admin > Payroll Export gathers that for any period you choose and downloads it as CSV files.

Luna HR doesn't run payroll. It holds what people are paid (from each person's Pay tab) and how leave is paid (from each leave type's policy), but it works out no tax or deductions and holds no tax code or bank details. The export hands over the facts; your payroll system or bureau applies its own rules to them.

Running an export

  1. Go to Admin > Payroll Export
  2. Check the first day and last day of the pay period. The page opens on the period after your last download — the next month if you last downloaded a whole month — so a monthly run picks up where it left off. This month, Last month and After last download fill the dates in for you. A period can be up to 93 days
  3. Look through the tabs to check what will be sent
  4. Click Download all, or download a single list from its tab

Each list is a separate file named after the list and the period, for example payroll-absences-2026-08-01-to-2026-08-31.csv. Empty lists are skipped. Dates are written in your company's date format (Admin > Company Details), and amounts with two decimal places and no thousands separators.

Only administrators can open the page. Every download is recorded in the Activity Log with who took which lists for which period, because the files contain pay, National Insurance numbers, dates of birth, home addresses and sickness absence.

What is in each list

Every row starts with the employee number, the payroll reference from the employee's record, and their name.

| List | Who or what is in it | Also includes | |---|---|---| | Starters | Everyone whose start date falls in the period | Date of birth, gender, NI number, address, email, employment and contract type, FTE, working pattern and weekly hours, job title, department, pay | | Leavers | Everyone whose leaving date falls in the period | What was decided about untaken holiday during offboarding, and the number of days | | Pay changes | Pay rates that take effect in the period, or were entered in it | The date it applies from, the date it was entered, the new pay and the pay it replaces, the reason | | One-off payments | Bonuses, commission, overtime and other payments whose pay date falls in the period | Type, amount, description | | Absences | Agreed leave that overlaps the period | Leave type, first and last day, half days, days in the period, total days, fit note, pay during the leave, unpaid days in the period | | Expenses | Claims marked as paid by Payroll in the period | Claim title and reference, amount, currency, date marked paid, payment reference | | Changes | Changes to FTE, working pattern, employment type, contract type, job title, department, name, home address or NI number made in the period | The date, and what it changed from and to |

Starters

The preview shows what payroll will still need for each starter — NI number, date of birth, address or pay — if it isn't on their record yet. Someone who is still completing onboarding will often be missing some of these until they finish.

Pay is the rate that applies on their start date, from their Pay tab. A starter's first rate is on this list rather than on Pay changes.

Pay changes

A rate is listed when it takes effect in the period, and also when it was entered in the period with an earlier date — a backdated pay rise is exactly what payroll needs to hear about, since it means back pay. Each row shows the pay it replaces. Rates are entered on the employee's Pay tab (Employee Management).

One-off payments

Entered on the employee's Pay tab with the pay date they belong to. A payment is listed in the period that contains its pay date.

Absences

Only leave that has been approved is included. Pending, rejected and cancelled requests are not.

Days in period counts the working days of the absence that fall inside the dates you chose, using that person's own working pattern and bank holidays. An absence from Thursday 27 August to Friday 4 September 2026 is two days in an August export (the Thursday and Friday; Monday the 31st is a bank holiday) and four in September — never counted twice, never missed. The file also says whether an absence started before the period or continues after it.

Pay during leave comes from the leave type's policy: Full pay, Unpaid, Statutory pay (your payroll works out SSP, SMP and the like), or Not set if nobody has said. Unpaid days in period repeats the days in the period for unpaid leave and is 0 otherwise.

Choose which leave types to include with the tick boxes above the list. To begin with, types that are not taken from an allowance — sickness, unpaid, compassionate and parental leave — are ticked, and annual leave and time in lieu are not, since payroll rarely needs them. Your choice is remembered in your browser.

Expenses

A claim appears here when it has been marked as paid with the payment method Payroll (on the expense payments screen), on a day inside the period. Claims paid by bank transfer or petty cash are not payroll's to pay and are left out.

Changes

This list covers the changes Luna records one by one: FTE, working pattern, employment type, contract type, job title, department, name, home address and NI number — whether an administrator, the employee on their own profile, or the onboarding wizard made them.

A name change shows the old and new name. For an address or NI number, To is what the record holds when you run the export; the activity log notes that it changed but doesn't keep the old value. Starters' details are left out of this list, since the starters list already has them.

Tips

  • Run the export after the last approval for the period has been made, so that late sickness absences are in it
  • Set Pay during this leave on each leave type's policy, so the absences list says which days are unpaid
  • If you re-run a period, the rows come out in the same order (by surname), so two files can be compared line by line
  • Set each person's Payroll reference on their employee record so that rows match your payroll system's own employee IDs
  • Employee Management — where pay, payroll references, NI numbers and working patterns are set
  • Policies — pay during leave, per leave type
  • Leave — leave types and approvals
  • Expenses — marking claims as paid
  • Integrations — sending expenses to Sage Accounting or FreeAgent