Payroll integration

Unit4 to AFAS integration: employees from Unit4 ERP to payroll in AFAS Profit

With an integration between Unit4 ERP and AFAS Profit, employees managed by HR in Unit4 reach AFAS automatically with employment, job and cost centre, ready for payroll. A new employee starts the hiring workflow in AFAS and an end date in Unit4 closes the contract in AFAS.

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

  • Official AFAS partner
  • ISO 27001 certified
  • Support after go-live included
Unit4 ERP logoSourceUnit4 ERPHR records a new employee, a new or changed employment, a different cost centre or an end date in Unit4
KoppelHetYour rules, set per field
AFAS Profit logoTargetAFAS Profit
  • Employee with name and address
  • Employment per position with start and end date
  • Cost centre and department per period
  • Cost centres per employer

How it works

Design, platform and support in one place

For Unit4 ERP and AFAS Profit: 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
Unit4 ERP logoAFAS Profit logo
Detailed designWhat is transferred
  • personId→ Medewerker (EmId)
  • nameInformation.firstName / surname→ Voornaam en achternaam
  • contactPoints.address→ Adres
  • employments.startDate→ Begindatum contract

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
HistoryUnit4 ERP → AFAS Profit
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 that manage finance, projects and staff in Unit4 ERP and run payroll in AFAS Profit enter every new employee and every change of employment or cost centre twice. Without an integration the cost centres in AFAS fall behind those in Unit4, and the payroll journal comes back with codes finance does not know.

  1. HR records a new employee in Unit4 with employment and cost centre.
  2. KoppelHet picks up the employee and starts the hiring workflow in AFAS at the right employer.
  3. Payroll adds salary, collective agreement, payroll tax credit and bank account in AFAS and completes the workflow.
  4. A new cost centre or a different position in Unit4 goes to AFAS with its effective date.
  5. An end date on the employment in Unit4 sets the end date on the AFAS contract.
Unit4 ERP → KoppelHet → AFAS ProfitSOURCEUnit4 ERPTARGETAFAS ProfitKoppelHetmapping · logging · monitoringUnit4 ERP → KoppelHet → AFAS ProfitSOURCEUnit4 ERPTARGETAFAS ProfitKoppelHetmapping · logging · monitoring
Out: Employee with name and address · Employment per position with start and end date · Cost centre and department per period · Cost centres per employer · End of employment

What to watch for with Unit4 ERP and AFAS Profit

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

  • In Unit4 cost centre and department hang as relations on the employee, each with its own start and end date. KoppelHet sets a change in AFAS with that date, so payroll costs land on the new cost centre from the right month.
  • Which Unit4 relation is the cost centre and which the department differs per setup. At the start we record that per relation, along with the mapping of Unit4 positions to AFAS functions.
  • A cost centre that is new in Unit4 does not yet exist at the employer in AFAS. KoppelHet creates it there first and only then assigns the employee, so AFAS does not reject the change.
  • Deleting in Unit4 is a soft delete that sets the status to terminated. KoppelHet treats that as an end of employment and never deletes an employee in AFAS, because the payroll history must stay.
  • The Unit4 employee holds payment details for expenses, but the public documentation shows no bank account for salary and no payroll tax data. Payroll fills those in AFAS, and the integration does not overwrite them.
  • The AFAS payroll journal often goes back to the Unit4 ledger afterwards. Because the cost centres in AFAS come from Unit4, the codes in that journal always match.

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

Does the payroll journal go back to Unit4 as well?

That is a separate integration from AFAS to Unit4, which we also build. Start with the employees; the journal can follow later as an extension.

What if salary is in Unit4 after all?

Then we look at the start where it is held, for example in a flexi-field, and include it. Otherwise AFAS stays the source for salary.

Does this work if Unit4 only sends a foreign entity to AFAS?

Yes. The integration only takes the employees of the Unit4 companies that belong to an employer in AFAS.

Technical details for IT

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

  • Unit4 ERPx is read through the Employees API (GET /v1/employees/{personId} with includeHistory and includeRelatedValues; employments per positionId with startDate and endDate; relatedValues with relationId, relatedValue, dateFrom and dateTo; flexi-fields as customFieldGroups) and the Attribute Values API for the cost centres.
  • To AFAS through the HrOnboarding (new employee), KnEmployee (contract, job, cost centre, end date) and HrCostCentre (cost centres per employer) UpdateConnectors, with a dedicated app connector and OAuth; the classic token expires on 31 August 2027.

Which fields are transferred

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

Field in Unit4 ERPField in AFAS ProfitNotes
personIdMedewerker (EmId)
nameInformation.firstName / surnameVoornaam en achternaam
contactPoints.addressAdres
employments.startDateBegindatum contract
employments.positionIdFunctieThrough a lookup from Unit4 positions to AFAS functions
relatedValues (kostenplaats) met dateFromKostenplaats met ingangsdatumWhich relation holds the cost centre differs per setup
relatedValues (afdeling)Organisatorische eenheid
employments.endDateEinddatum contract

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.