Payroll to finance

AFAS to Unit4 integration: payroll journal posted in Unit4 ERP

With an integration between AFAS Profit and Unit4 ERP, the payroll journal lands in Unit4 automatically after every payroll period, on the right GL accounts, cost centres and projects. If an account is closed in Unit4, the integration holds the journal beforehand, so finance no longer has to chase a failed import.

Intake and design are free. The quote follows once the design is right.

  • Official AFAS partner
  • ISO 27001 certified
  • Support after go-live included
AFAS Profit logoSourceAFAS ProfitPayroll approves and journalises a period in AFAS
KoppelHetYour rules, set per field
Unit4 ERP logoTargetUnit4 ERP
  • Payroll journal per period
  • GL account and contra account
  • Cost centre and cost unit
  • Period and posting date

How it works

Design, platform and support in one place

For AFAS Profit and Unit4 ERP: a tailored integration, on our own platform, that we keep managing after go-live.

Design

Set per field before we build

Which data goes where, when, and what happens with exceptions. You approve the design; the quote follows from it.

More on how we work
AFAS Profit logoUnit4 ERP logo
Detailed designWhat is transferred
  • Rekening in de loonjournaalpost→ account
  • Kostenplaats→ accountingDimension (kostenplaats)
  • Kostendrager→ accountingDimension (project of kostendrager)
  • Bedrag debet en credit→ currencyAmount

Platform

Every run visible, every error reported

Per integration and per employee you see what was processed. If something goes wrong, you get an alert with the reason.

More about the platform
HistoryAFAS Profit → Unit4 ERP
Example
  • 09:003 changesOK
  • 08:00No changesOK
  • 05:00Alert with explanationResolved

Support

We keep it running

We handle vendor API changes. The people who built the integration also answer your questions.

Trust Center
ISO 27001
Support after go-liveOne team to turn to
  • 24/7 monitoring
  • API changes handled
  • Hosting in Amsterdam

The project

From first conversation to ongoing support

An integration starts from your HR process, not the API. We only build after you approve the design, and you choose the go-live moment.

The project in ten steps

  1. Step 1IntakeQuestions a consultant has prepared for your systems.
  2. Step 2Detailed designField by field what happens, with exceptions and test scenarios.
  3. Step 3Approval and quoteYou approve the design; the quote follows from it.
  4. Step 4Build and testOn our platform, then your acceptance test.
  5. Step 5Go-live and supportAt a moment you choose. After that we monitor it.

Organisations that rely on their integrations

What the integration does

Organisations with HRM and Payroll in AFAS Profit and finance and projects in Unit4 ERP rebuild the journal overview into an import file by hand after every payroll period. A wrong or closed account only comes to light when the import into Unit4 fails, sometimes days after the run.

  1. Payroll journalises the period in AFAS, as today.
  2. KoppelHet fetches the payroll journal and translates each AFAS account to the right Unit4 account, with cost centre and project or cost unit.
  3. Before posting, the integration checks in Unit4 whether every account is open in that period. If one line fails, the whole journal is held with an alert.
  4. The journal is in Unit4, posted directly or first staged for the familiar batch processing (GL07), so finance can still review it.
  5. In the KoppelHet platform you see the Unit4 posting number for each AFAS period.
AFAS Profit → KoppelHet → Unit4 ERPSOURCEAFAS ProfitTARGETUnit4 ERPKoppelHetmapping · logging · monitoringAFAS Profit → KoppelHet → Unit4 ERPSOURCEAFAS ProfitTARGETUnit4 ERPKoppelHetmapping · logging · monitoring
Out: Payroll journal per period · GL account and contra account · Cost centre and cost unit · Period and posting date · Employer and Unit4 company

What to watch for with AFAS Profit and Unit4 ERP

Note The AFAS Profit classic token expires on 31 August 2027. An integration that still uses it has to move to OAuth before that date. Source

  • Unit4 can tell in advance whether an account is open in a company and period. KoppelHet checks this for every account in the journal, so a closed account is caught before posting rather than at import.
  • A single posting in Unit4 may have at most 500 lines. If the payroll journal is larger, KoppelHet stages it for the GL07 batch processing in Unit4.
  • AFAS keeps debit and credit separate in the payroll journal, Unit4 expects one signed amount. The integration converts and checks that the journal balances to zero per period.
  • In AFAS the account in the payroll journal can be extended with cost centre or cost unit codes. We split those apart again, as Unit4 wants cost centre and project as separate elements next to the account.
  • AFAS no longer supports its old exports for external accounting packages. Anyone with a custom export to Unit4 so far depends on bespoke work; this integration replaces that.
  • Unit4 works with monthly periods. An AFAS period that does not match a calendar month, such as a four-week period, is posted by agreement in the Unit4 period of its end date.

How we build and run it

  • The integration runs on the KoppelHet platform, hosted in a data centre in the EU.
  • Every sync and every error is visible in the functional log; on an error your administrator is notified.
  • A change that cannot go through is not half-applied but queued for another attempt.
  • KoppelHet is ISO 27001 certified. Data travels encrypted and stays on the platform no longer than needed.
  • After go-live we manage the integration and adjust it when your process changes.
  • The integration fits next to your existing integration layer. Only the fields in the design are transferred; the platform keeps no register of its own.

Implementation, architecture and compliance

Implementation and price

This is not an app you switch on. We build the integration for your organisation on our platform, with building blocks we reuse on every project. So it is custom work that does not start from scratch.

A consultant prepares the intake and analyses both systems. We then record the mapping and exceptions field by field, test in the test or acceptance environment and go live at a moment you choose. Costs are a one-off amount for the setup and a monthly amount for platform, monitoring and support.

Price indication · Complex

Leave your work email and we will email you the price indication for this integration.

We only use your address to follow up on your question about this integration.

Frequently asked questions

Do cost centres also go from Unit4 to AFAS?

We can add that to the same integration, so HR in AFAS only picks cost centres finance knows in Unit4.

What if an account is closed in Unit4?

Then the integration holds the whole journal and reports which account it is. There is never a half-posted journal.

We run Unit4 ERP on-premise. Is that possible?

What is described here applies to Unit4 ERPx in the cloud. For an on-premise version we look at which import option exists, and a small KoppelHet program runs inside your network.

Who decides whether the journal is posted directly?

Finance. Through the batch route the journal is staged in GL07 first, and finance can still review it there.

Technical details for IT

For those who want to know how it works under the hood: APIs, fields and sources used.

  • The payroll journal is read from AFAS through a dedicated GetConnector.
  • Unit4 ERPx is written through the Financial Transactions API (at most 500 lines, immediate validation) or the Financial Transaction Batch API for the GL07 import process.
  • Unit4 ERPx has a separate API call to check whether an account can be posted in a company and period.
  • Cost centre and project go to accountingDimension fields; the period in year-month form (for example 202609); externalReference holds period and employer.
  • Cost centres from Unit4 to AFAS can go through the UpdateConnector for employer cost centres.

Which fields are transferred

The key fields. The full mapping is agreed per customer.

Field in AFAS ProfitField in Unit4 ERPNotes
Rekening in de loonjournaalpostaccountThrough a lookup table between both charts of accounts
KostenplaatsaccountingDimension (kostenplaats)Which dimension differs per Unit4 setup
KostendrageraccountingDimension (project of kostendrager)
Bedrag debet en creditcurrencyAmountOne signed amount; credit negative
Periode en jaarperiodIn year-month form, for example 202609
Einddatum periodetransactionDate
WerkgevercompanyIdFixed mapping per employer
Periode en werkgeverexternalReferenceMakes the posting traceable to AFAS

Related

Want to talk your integration through?

Tell us which systems you use. In a 30-minute call you hear what is possible, what you arrange yourself and how we start. We begin with the smallest integration that works.

Integrations built for Hogan Lovells, Tentoo and Evondos Group, among others.

You talk to Marcel, Mike, Dylan or Melvin, not a call centre.