Skip to content

Payroll export

View as Markdown

HR › Payroll export downloads a CSV of everything that takes effect in a month: joiners, leavers, and job, employment and pay changes, including corrections. It’s for HR admins: the page and the download need the export permission on employees.

The payroll export page: buttons to download last month, this month so far and pay changes only, and the list of leavers

There’s one row per changed field. Here is November 2026 in a workspace with example data, trimmed:

record_id,record,effective_date,event,group,reason,field,field_label,before,after,kind,retro,recorded_at
cmx6o4f1k00f4lp9xt1rfyvll,Lucas Ferreira,2026-11-01,change,job,promotion,job_title,Job title,Engineering Manager,Senior Engineering Manager,change,false,2026-12-02T21:59:25.661Z
cmx6o4f1k00f4lp9xt1rfyvll,Lucas Ferreira,2026-11-01,change,pay,"Promotion salary keyed as 125,500; the offer letter says 152,000",salary,Salary,125000,152000,correction,false,2026-12-02T21:59:25.829Z
cmx6o4jgt00iplp9xrqdfm510,Wei Zhang,2026-11-01,change,pay,market_adjustment,salary,Salary,64000,70000,change,false,2026-12-02T21:59:25.288Z
cmx6o4igq00hylp9xm7ebvkmi,Felix Braun,2026-11-15,change,employment,leave_of_absence,employment_status,Status,active,on_leave,change,false,2026-12-02T21:59:26.313Z
cmx6o4grh00gglp9x21ova3rt,Ines Duarte,2026-11-17,start,employment,hire,employment_status,Status,,active,create,false,2026-12-02T21:59:03.394Z
Column Meaning
effective_date The day the change takes effect
event start for a joiner (the record’s first version), change for anything later
group, reason The dated group (job, employment, pay) and the reason given; for a correction, its reason text
field, before, after The field and its value before and after
kind create, change or correction
retro, recorded_at Whether the change was back-dated, and when it was recorded

A leaver is a change row on employment_status to terminated, with the end date.

The buttons on the page download last month, this month so far, or last month’s pay changes only. For any month, or any range, call the API:

Terminal window
curl -s "https://app.ligament.ai/api/records/hr_employee/effective-events?period=2026-11&format=csv" -H "authorization: Bearer ***"
curl -s "https://app.ligament.ai/api/records/hr_employee/effective-events?from=2026-11-01&to=2026-11-15&group=pay&format=csv" -H "authorization: Bearer ***"

period is a month (2026-11), @this_month or @last_month. group and reason filter the rows; leave out format=csv for JSON. Without the export permission on employees the call returns 403.

A change recorded after you exported a month, but taking effect inside it (a late correction, say), isn’t in the next month’s file. Find those in the record’s history, or in the changes feed (/api/records/hr_employee/changes?recordedSince=…), and see Locked periods to stop changes reaching back into a month that’s been paid.