Skip to content
AWANhris
Guide menu

Export the payroll journal for your ERP

This page explains how to make a journal file from a payroll run and download it to upload to your ERP.

When to use it

After a payroll run is approved, usually at the same time as you make the bank file. The journal goes to the ERP as a file. Sending it directly through an API is not available yet.

Before the first export, every pay component needs a GL account. You map them in GL account mapping.

Steps

  1. Open the payroll run, then select Pay out.
  2. Select Payroll journal.
  3. Read the status at the top:
    • Balanced: total debits equal total credits, and the journal can be exported
    • Export blocked: some lines have no GL account, or some components in the company's catalogue are not mapped
  4. If it says Export blocked, select Open the GL mapping, map the missing accounts, then come back to this page.
  5. Check Total debit, Total credit, Difference and Lines.
  6. If your ERP needs a particular column order or separator, select File layout. Set the Columns and Separator, then select Save layout. This setting applies to that company.
  7. Select Export CSV, then confirm.
  8. Under Exports, select Download to download the file.

What happens next

You see "Journal exported". The export row shows the version, the number of lines, who exported it and when. Every export and every download is recorded in the activity log.

The Pay out page also shows the journal status under Journal to the ERP, for example Exported … with the name of the person who exported it, or Not exported yet.

How the journal is built

  • The journal is made from the stored results of the payroll run, not from the latest pay data.
  • Earnings and employer contributions go on the debit side, in the employee's cost centre on the last day of the period.
  • Deductions, tax, employer contributions and net pay go on the credit side, at company level.
  • Lines are grouped by cost centre. The company's own lines are at the bottom.
  • If an employee's cost is split across several cost centres, for example 60% and 40%, each line is split by those percentages. Any rounding difference goes to the largest share, so debits still equal credits.

Good to know

  • Exporting the same run with the same content gives the same file. The app does not make a second file.
  • The file uses a general CSV format, version 1. Formats for specific ERPs, such as SAP, are not available yet.
  • A new component added to the catalogue after the last mapping blocks the next export until it is mapped. This keeps lines out of the wrong account.
  • An employee's cost split cannot be changed on screen yet. Splits already stored are still used.

If something goes wrong

  • "… lines have no GL account, so debits and credits differ by …": some lines have no account. Map them first with Open the GL mapping.
  • "… components in the company's pay catalogue have no GL account.": some components in the company's catalogue are not mapped.
  • The Export CSV button does not show: the journal is not Balanced yet, or you opened the page on a phone.

Phone, tablet and computer

Exports and mapping need a computer. On a phone, the Pay out page shows only the journal status, with the note "Mapping and exports need a computer."