Leave, absence and time

Loket to Shiftbase integration: contracts, work patterns and leave balances, also across several employers

KoppelHet builds an integration between Loket and Shiftbase that puts employees and contracts from Loket into Shiftbase within fifteen minutes, with the hours from the work pattern. Leave balances from Loket come along daily, and several employers with the same employee numbers do not get mixed up.

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

  • ISO 27001 certified
  • Data in Amsterdam
  • Support after go-live included
Loket logoSourceLoketAn employer's version number in Loket has increased since the previous run, or it is time for the daily balances
KoppelHetYour rules, set per field
ShTargetShiftbase
  • Employee with employer and employee number
  • Contract with hours per day from the work pattern
  • Contract type: fixed hours or hourly
  • Leave balance per leave type from Loket

How it works

Design, platform and support in one place

For Loket and Shiftbase: 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
Loket logoSh
Detailed designWhat is transferred
  • employer + employeeNumber→ Personeelsnummer in Shiftbase
  • employee (naam)→ Medewerker (naam)
  • organizationalEntity.department→ Contractafdeling
  • workinghours.workPattern (oddWeeks, evenWeeks)→ Contracturen per dag

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
HistoryLoket → Shiftbase
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 run payroll in Loket and schedule in Shiftbase do not want to maintain employees, contracts and balances twice. A work pattern that alternates per week does not fit the contract hours per day, and with several employers in Loket employee numbers clash.

  1. Every fifteen minutes KoppelHet asks Loket which employers have a higher version number.
  2. Only for those employers KoppelHet reads employments and working hours, and puts employees and contracts in Shiftbase.
  3. A new working hours record in Loket becomes a new contract in Shiftbase from the same date.
  4. Daily, KoppelHet puts the leave balance from Loket per leave type in Shiftbase.
Loket → KoppelHet → ShiftbaseSOURCELoketTARGETShiftbaseShiftbaseKoppelHetmapping · logging · monitoringLoket → KoppelHet → ShiftbaseSOURCELoketTARGETShiftbaseShiftbaseKoppelHetmapping · logging · monitoring
Out: Employee with employer and employee number · Contract with hours per day from the work pattern · Contract type: fixed hours or hourly · Leave balance per leave type from Loket

What to watch for with Loket and Shiftbase

  • Loket has no webhooks, but keeps a version number per employer that rises with every change to an employment's fixed data. KoppelHet only requests that number and then only reads the employers where something changed. A change is in Shiftbase within fifteen minutes.
  • Loket can record a two-week work pattern, with different hours in even and odd weeks. A Shiftbase contract only has contract hours per day. KoppelHet converts the pattern into hours per working day over two weeks, so plus and minus hours in Shiftbase do not count the wrong way every week.
  • In Loket a new working hours record automatically ends the previous one on the day before. In Shiftbase an edited contract also changes all past hours within that contract period. KoppelHet therefore never edits an existing Shiftbase contract, but closes it and opens a new contract on the start date from Loket.
  • Shiftbase only knows hourly or fixed hours per contract. Loket records the type of flexible contract and the average weekly hours for zero-hour and min-max contracts. KoppelHet uses those fields to set a flexible worker as hourly in Shiftbase, so Shiftbase does not build up minus hours for them.
  • In Loket the employee number is only unique within an employer. When several employers share one Shiftbase environment, KoppelHet makes the number unique in Shiftbase with a fixed code per employer, so two colleagues with number 1001 at different employers do not merge.
  • Loket gives a balance per leave type per employment and year, with the remainder from last year and the expiry date. If the leave policy in Loket leads, KoppelHet puts that balance in Shiftbase daily, so employees see the same in the app as on their payslip.

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 · Basic

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

Can employees request leave in Shiftbase?

Yes. Writing approved leave to Loket can be added later as an extension; in Loket a leave request can only be submitted through the API by the employee.

Technical details for IT

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

  • Loket through the REST API with OAuth 2.0. Changes through GET /v2/providers/employers/lastmodifiedversionnumbers with a filter on lastModifiedVersionNumber (fixed data only, no variable data). Working hours through GET /v2/providers/employers/employees/employments/{employmentId}/workinghours (startDate, workPattern with oddWeeks and evenWeeks, averageHoursPerWeek, flexibleHoursContract, aggregatedHoursPerWeek). Balances through GET /v2/providers/employers/{employerId}/leavebalances (year, leaveType, balancePreviousYear, accrual, usageTotal, balance, expires).
  • Shiftbase through the Shiftbase API (JSON) with an API token for the Public API, for employees, contracts and absence. Endpoint details on developer.shiftbase.com.

Which fields are transferred

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

Field in LoketField in ShiftbaseNotes
employer + employeeNumberPersoneelsnummer in ShiftbaseUnique across all employers
employee (naam)Medewerker (naam)
organizationalEntity.departmentContractafdeling
workinghours.workPattern (oddWeeks, evenWeeks)Contracturen per dag
workinghours.startDateNieuw contract vanaf die datum
flexibleHoursContract / averageHoursPerWeekContracttype uurloner of vaste uren
leavebalances (balance per leaveType)Verlofsaldo per verlofsoort

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.