Skip to content

Exporting the payroll file

Produce the file your payroll system loads to apply the cycle’s pay changes. You need the System Admin or Total Rewards Admin , and a cycle with a — see Finalizing a cycle, and what locks.

The cycle’s Payroll tab opens once the cycle is finalized; until then it is greyed out, because there is nothing final to hand off.

Open the cycle and choose the Payroll tab. Before you export, it shows:

  • Approved changes: the number of lines the file will carry.
  • New base — changed employees: the annual base pay of the employees in the file after their increases, and how much it went up.
  • Effective date: the cycle’s pay effective date, which is on every line.

These figures are worked out the same way as the file, so what you read here is what you get.

The Payroll tab of a finalized cycle, showing Approved changes, New base for the changed employees and the Effective date, an Export CSV button, and an Export history section with no exports yet

  1. Select Export CSV.
  2. A message confirms the file is being generated, and a row appears under Export history.
  3. When the row reads Ready, select CSV on it to download the file.

Each row in Export history shows when it was exported, who requested it, its status (Queued, Generating, Ready or Failed), the number of rows, the total increase and the effective date. Every export is kept: exporting again creates a new file and leaves the earlier ones downloadable. Each export and each download is recorded on the — see Reviewing the audit trail.

The Export history table with one export marked Ready, showing when it was exported, who requested it, the number of rows, the total increase, the effective date and a CSV download link

The file is a CSV with a header row, and every value is in quotes. It has one line per approved change: an employee whose base pay changed, who was granted a bonus, or whose approved proposes a promotion — a title or grade change — even with no pay change of its own. An employee with none of those is left out. Lines are in the same order every time you export.

Money is in whole currency units with the currency’s usual decimal places, such as 85000.00 for US dollars, not cents. merit_amount and promotion_amount are the amounts the manager planned, whether they typed them or typed percentages that were priced to them, and together they make up increase_amount. The columns, in order:

ColumnWhat it holds
employee_idMitratech Comp’s own identifier for the employee.
external_employee_idYour HR or payroll system’s identifier for the employee, when one is on record. Blank when there is none.
given_nameFirst name.
family_nameLast name.
work_emailWork email address.
pay_currencyThe three-letter code of the currency the employee is paid in, such as USD.
current_base_salaryAnnual base pay before the change.
new_base_salaryAnnual base pay after the change.
increase_amountThe change in annual base pay. Negative for a decrease.
increase_pctThe change in base pay as a percentage, such as 3.5 for 3.5%.
bonusThe bonus granted, as an amount. 0.00 when none was granted. A bonus is paid on top of base pay and is not part of new_base_salary, increase_amount or increase_pct.
new_grade_codeThe grade the employee moves to with a promotion. Blank when their grade does not change.
pay_effective_dateThe cycle’s pay effective date, as YYYY-MM-DD. The same on every line.
new_titleThe title the employee moves to with a promotion. Blank when their title does not change, including when a promotion moved their grade or pay but not their title.
merit_amountThe part of increase_amount that is merit, as an amount. 0.00 when there is no merit.
promotion_amountThe part of increase_amount that is the promotion, as an amount. 0.00 when there is no promotion.

The column names and their order stay the same from cycle to cycle, so you can map them in your payroll system once. A new column is only ever added at the end, which is why merit_amount and promotion_amount follow new_title.

When the effective date is close or has passed

Section titled “When the effective date is close or has passed”

If the pay effective date is within two weeks, or has already passed, and nothing has been exported for the cycle yet, the tab warns you. The warning never stops you exporting, and it goes once an export exists. Your payroll system computes any resulting back pay from the rate and the effective date on each line.

A cycle can be finalized without a pay effective date, but it cannot be handed to payroll. Export CSV stays unavailable, and the tab reads Not ready to hand off: “This cycle has no pay effective date, so payroll cannot be told when the changes take effect.”

The date cannot be added afterwards: it is fixed when the cycle launches. Set the Pay effective date before you launch — see Setting a timeline.

If the cycle finalized with no approved pay changes, bonuses or promotions, the tab says there are no changes to hand off, and Export CSV stays unavailable.