Payroll integration

Keka to AFAS integration: Dutch employees from Keka in payroll

With an integration between Keka and AFAS Profit, new employees of the Dutch entity arrive from Keka in AFAS as an employee with contract and schedule, and leavers and salary changes follow with their date. Keka stays the group's HR system; AFAS runs payroll for the Dutch employees and payroll only completes the Dutch payroll tax details.

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

  • Official AFAS partner
  • ISO 27001 certified
  • Support after go-live included
KeSourceKekaHR records a new employee, a salary change or an approved exit in Keka for the Dutch entity
KoppelHetYour rules, set per field
AFAS Profit logoTargetAFAS Profit
  • Employee with personal details and address
  • Employment with start and end date
  • Schedule with hours per week
  • Salary with effective date

How it works

Design, platform and support in one place

For Keka 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
KeAFAS Profit logo
Detailed designWhat is transferred
  • Personeelsnummer (employeeNumber)→ Medewerker (EmId)
  • Voornaam, tussennaam, achternaam→ Voornaam, voorvoegsel en achternaam
  • Geboortedatum en geslacht→ Persoonsgegevens
  • Huidig adres→ Woonadres

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
HistoryKeka → 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 with Keka as HR platform for India and other countries and a Dutch BV paid in AFAS Profit now enter Dutch colleagues twice. Keka is set up around Indian pay concepts, so payroll has to work out per employee which amount is the gross monthly salary.

  1. HR creates the Dutch employee in Keka, in the group that belongs to the Dutch entity.
  2. An event trigger in Keka reports the change; KoppelHet then fetches the full profile.
  3. A new employee goes to AFAS through the onboarding process, with contract, schedule and department.
  4. A salary change goes to AFAS with the effective date from Keka, as a fixed monthly amount.
  5. An approved exit closes the contract in AFAS on the exit date from Keka.
Keka → KoppelHet → AFAS ProfitSOURCEKekaKekaTARGETAFAS ProfitKoppelHetmapping · logging · monitoringKeka → KoppelHet → AFAS ProfitSOURCEKekaKekaTARGETAFAS ProfitKoppelHetmapping · logging · monitoring
Out: Employee with personal details and address · Employment with start and end date · Schedule with hours per week · Salary with effective date · Department and job title

What to watch for with Keka 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

  • A salary record in Keka revolves around CTC, the total annual employer cost, with gross, net and separate pay components below it. AFAS wants a fixed monthly salary or hourly wage. KoppelHet only converts the agreed fixed component into a monthly amount and leaves CTC out of the integration.
  • Bank details in Keka are built for Indian banks, with IFSC code and account number and no IBAN field. For Dutch colleagues we record the IBAN in a custom field in Keka, or payroll completes it in AFAS.
  • The employee profile in Keka has no field for a Dutch citizen service number (BSN). A custom field in Keka can carry it; without that field KoppelHet starts the onboarding in AFAS without a BSN and payroll sees it as an open item.
  • Keka only states whether an employment is full-time or part-time, without hours per week. AFAS needs a number of hours for the schedule. We record that number per employee in a custom field in Keka, so AFAS gets the right schedule and part-time factor.
  • The Keka API allows fifty requests per minute and returns at most two hundred employees per page. KoppelHet therefore only requests employees changed since the previous round, and spreads the initial load of all Dutch employees over several minutes.
  • A resignation in Keka has a submission date, an exit status and an exit date. AFAS only gets an end date once the exit is approved. If HR withdraws the exit later, Keka reports that with its own event and KoppelHet removes the end date in AFAS again.
  • Keka reports a salary change with the old and the new amount, both effective dates and the currency. KoppelHet only passes changes in euros to AFAS; an amount in another currency becomes an alert to HR instead of a pay line.

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

Doesn't Keka run payroll itself?

Keka processes Indian payroll. For the Dutch entity AFAS stays the payroll system; Keka supplies the HR data.

What if Keka has no BSN or IBAN?

Then the employee arrives in AFAS without those details and payroll completes them. Prefer a single source? Then we add custom fields for them in Keka.

Technical details for IT

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

  • Keka is read through the Keka HRIS API (https://{company}.keka.com/api/v1) with an access token from login.keka.com/connect/token, based on client_id, client_secret, api_key and scope kekaapi. Employees through GET /hris/employees with lastModified, employmentStatus and employeeNumbers; salaries through GET /payroll/salaries (ctc, gross, earnings, effectiveFrom). Limit of fifty requests per minute (429 rateLimitExceeded), by default one hundred and at most two hundred rows per page. Testing is possible in the sandbox on kekademo.com.
  • Event triggers are set up by an administrator under Settings > Communications > Event Triggers with a webhook action. The POST contains employeeIdentifier, eventType and subDomain; EmployeeSalaryUpdated contains old and new amount, effective dates and currencyCode.
  • AFAS is written through the HrOnboarding UpdateConnector for new employees and KnEmployee (AfasContract, AfasTimeTable, AfasSalary, AfasBankInfo) for changes, in a dedicated app connector.

Which fields are transferred

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

Field in KekaField in AFAS ProfitNotes
Personeelsnummer (employeeNumber)Medewerker (EmId)Fixed key between both systems
Voornaam, tussennaam, achternaamVoornaam, voorvoegsel en achternaamSplit the name prefix
Geboortedatum en geslachtPersoonsgegevens
Huidig adresWoonadres
Indiensttredingsdatum (joiningDate)Begindatum contract
Exitdatum na goedkeuringEinddatum contract
Groep van de Nederlandse vestigingWerkgever in AFASThrough a lookup table
Vast salariscomponent met effectiveFromSalaris met ingangsdatum
Eigen veld voor BSN en IBANBSN en bankrekeningOnly if HR records them in Keka

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.