Payroll to finance

Dynamics 365 and AFAS integration: cost centres to HR, payroll journal to the ERP

With an integration between Microsoft Dynamics 365 and AFAS Profit, cost centres and projects from Dynamics reach AFAS automatically, and the payroll journal is ready in Dynamics 365 after every payroll period. HR in AFAS only picks cost centres that exist in the group ERP, and finance no longer retypes a journal file.

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

  • Official AFAS partner
  • ISO 27001 certified
  • Support after go-live included
Microsoft Dynamics 365 logoSourceMicrosoft Dynamics 365Finance adds a cost centre or project in Dynamics; for the journal payroll approves a period in AFAS
KoppelHetYour rules, set per field
AFAS Profit logoTargetAFAS Profit
  • Cost centres and projects from Dynamics
  • Employer cost centres and cost units in AFAS
  • Payroll journal per period (back)
  • GL accounts

How it works

Design, platform and support in one place

For Microsoft Dynamics 365 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
Microsoft Dynamics 365 logoAFAS Profit logo
Detailed designWhat is transferred
  • dimensionValue.code→ Kostenplaats (HrCostCentre)
  • dimensionValue.displayName→ Omschrijving kostenplaats
  • Dimensie project→ Kostendrager (HrCostCarrier)
  • Rekening in de loonjournaalpost→ accountNumber

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
HistoryMicrosoft Dynamics 365 → 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

International organisations that book everything in Microsoft Dynamics 365 and run Dutch payroll in AFAS Profit, without AFAS Finance, add dimensions in Dynamics without payroll knowing. After every period a journal file goes to finance by email, and finance enters it into Dynamics by hand.

  1. The controller adds a cost centre or project in Dynamics 365 for the Dutch branch.
  2. It then appears at the employer in AFAS, so HR can assign it to employees.
  3. After every payroll period KoppelHet fetches the payroll journal from AFAS.
  4. The AFAS accounts are translated to the Dynamics ledger, with cost centre and project on every line.
  5. The journal is staged as a draft in Dynamics. Finance posts it after review, or KoppelHet posts it directly if agreed.
Microsoft Dynamics 365 → KoppelHet → AFAS ProfitSOURCEMicrosoft Dynamics 365TARGETAFAS ProfitKoppelHetmapping · logging · monitoringMicrosoft Dynamics 365 → KoppelHet → AFAS ProfitSOURCEMicrosoft Dynamics 365TARGETAFAS ProfitKoppelHetmapping · logging · monitoring
Out: Cost centres and projects from Dynamics · Employer cost centres and cost units in AFAS · GL accounts · Legal entity
Back: Payroll journal per payroll period · Split over cost centre and project

What to watch for with Microsoft Dynamics 365 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 AFAS the payroll cost centres belong to the employer. They are separate from the financial cost centres in AFAS Finance, which is not needed as long as the books are kept in Dynamics.
  • Through the integration Business Central does not show whether a cost centre is blocked. KoppelHet recognises closed cost centres through a separate list or an extra page you open up in Business Central.
  • Business Central expects one signed amount per journal line, AFAS keeps debit and credit apart. KoppelHet converts and checks that the journal balances to zero.
  • With Dynamics 365 Finance the payroll journal lands in the standard journal tables. For a journal at cost centre level that is enough; for very large volumes Microsoft advises a separate import route.
  • In Dynamics 365 Finance it must be set once how another system supplies account and cost centre together. We arrange this at the start with your Dynamics administrator.
  • AFAS no longer supports its old exports for external accounting packages. The integration replaces that export file with a direct posting in Dynamics.
  • Dynamics 365 is often the ERP of the whole group, AFAS only of the Dutch entity. KoppelHet only fetches the cost centres that apply to that entity, so AFAS does not receive cost centres from other countries.

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 this work with Business Central and with Dynamics 365 Finance?

Yes. The process is the same for both; only the connection on the Dynamics side differs.

Does the integration post the journal straight away?

Not by default. The journal is staged and finance posts it after review. If finance prefers, KoppelHet posts it.

What if HR in AFAS uses a cost centre that does not exist in Dynamics?

Then the integration holds the journal and reports which code is missing. Because cost centres come from Dynamics, this only happens with codes HR added in AFAS itself.

Can we reuse an existing Microsoft app for the integration?

Preferably not. We ask for dedicated access with only the rights the integration needs, so you can revoke it separately.

Technical details for IT

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

  • Business Central is read and written through the standard API (dimensionValue, read-only, without blocked status; journalLine with dimensionSetLines and one signed amount).
  • Dynamics 365 Finance through the OData entities LedgerJournalHeader and LedgerJournalLine. Microsoft recommends the General journal entity through Data management for high volumes. The ledger dimension format for integrating applications must be configured.
  • AFAS is written through the HrCostCentre and HrCostCarrier UpdateConnectors; the payroll journal is read with a dedicated GetConnector.
  • Access to Dynamics through a dedicated app registration in Microsoft Entra ID with only the required API permissions.

Which fields are transferred

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

Field in Microsoft Dynamics 365Field in AFAS ProfitNotes
dimensionValue.codeKostenplaats (HrCostCentre)Per employer in AFAS
dimensionValue.displayNameOmschrijving kostenplaats
Dimensie projectKostendrager (HrCostCarrier)Only when projects are needed in payroll
Rekening in de loonjournaalpostaccountNumberThrough a lookup table to the Dynamics ledger
Kostenplaats in de loonjournaalpostdimensionSetLines (kostenplaats)
Kostendrager in de loonjournaalpostdimensionSetLines (project)
Debet en creditamountBusiness Central has one signed amount; credit becomes negative
Periode en jaarpostingDateLast day of the payroll period, unless finance prefers otherwise
WerkgeverCompany of juridische entiteitFixed mapping per employer

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.