Payroll to finance

AFAS to Coupa integration: users with approval rights from AFAS, expenses back into the payroll run

With an integration between AFAS Profit and Coupa, every employee from AFAS is automatically a Coupa user, with employee number, manager and cost centre, and expense reports approved for payment in Coupa go to the next AFAS payroll run. A leaver becomes inactive in Coupa after the last working day, so no requests or approvals run in that name any more.

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 ProfitIn AFAS an employee starts, changes or leaves; in Coupa an expense report is approved for payment
KoppelHetYour rules, set per field
Coupa logoTargetCoupa
  • Users with employee number, login and email
  • Manager, cost centre and approval limits
  • Licence flag for expenses
  • Expense reports approved for payment

How it works

Design, platform and support in one place

For AFAS Profit and Coupa: 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 logoCoupa logo
Detailed designWhat is transferred
  • Medewerkernummer→ employee_number
  • E-mail werk→ login en email
  • Leidinggevende→ manager
  • Kostenplaats→ default_account

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 → Coupa
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 AFAS Profit and handle purchasing and expenses in Coupa maintain users and approvers in Coupa by hand. A change of manager in AFAS often reaches Coupa too late, so the wrong person approves, and approved expenses are retyped as a mutation in AFAS every month.

  1. A new employee in AFAS becomes a Coupa user with login, email, employee number, manager and default cost centre, and the expense licence.
  2. A different manager or cost centre in AFAS carries through to Coupa. After the last working day the integration sets the user to inactive.
  3. Up to the cut-off date of the payroll period KoppelHet fetches the expense reports approved for payment and not yet exported.
  4. Per employee the total goes to AFAS as a pay component, with the Coupa expense report number attached; the integration then marks the expense report in Coupa as exported.
AFAS Profit → KoppelHet → CoupaSOURCEAFAS ProfitTARGETCoupaKoppelHetmapping · logging · monitoringAFAS Profit → KoppelHet → CoupaSOURCEAFAS ProfitTARGETCoupaKoppelHetmapping · logging · monitoring
Out: Users with employee number, login and email · Manager, cost centre and approval limits · Licence flag for expenses · Expense reports approved for payment · Pay component for the expense reimbursement in AFAS
Back: Expense reports approved for payment go to AFAS as a pay component

What to watch for with AFAS Profit and Coupa

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 Coupa login and email are mandatory and unique, and the employee number is unique too. KoppelHet checks AFAS beforehand for duplicate work email or a reused number, so Coupa does not silently refuse a new employee.
  • Coupa works with licence flags per user, for expenses, purchasing, invoices and more. The integration only switches on the expense licence; anyone who also buys or approves invoices gets those rights through Coupa administration, so the integration hands out no licences nobody intended.
  • Approval limits sit on the user in Coupa, separately for expenses, requisitions and invoices. A job change in AFAS adjusts the expense limit through a table maintained by finance, so a promoted manager can approve the right amounts straight away.
  • Coupa sets per user through which channel expenses are paid; by default that is the ERP, but it can also be Coupa Pay. For payment through the AFAS payroll run the ERP channel must stay, otherwise Coupa pays itself and the employee receives the amount twice.
  • A user in Coupa can only be fetched through the API by its own Coupa ID. KoppelHet stores that ID with each AFAS employee as soon as the user is created, so a change or departure always lands on the right user.
  • Coupa allows fetching expense reports that are approved for payment and not yet exported. After processing in AFAS, KoppelHet marks them as exported, and the Coupa expense report number goes along as a reference with the pay component, as Coupa itself recommends.
  • If your organisation uses single sign-on for Coupa, the integration sets the login method to SAML with the SSO ID from the identity provider, instead of having a password invitation sent.

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 requisitions and invoices also go to AFAS?

No. Only employee expense reports run through payroll. Purchasing and invoices belong in the financial administration.

Who decides an employee's approval limit?

Finance, in a table per job or level. The integration applies the limit as soon as the job changes in AFAS.

Can cost centres also go from Coupa to AFAS?

That can be added later as an extension. In this integration AFAS is the source for an employee's default cost centre.

Technical details for IT

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

  • AFAS is read with a GetConnector on employees, employments and jobs, filtered on change date. Expense reimbursements go to AFAS through the UpdateConnector HrCompMut, as a pay component in the current period.
  • To Coupa through the Users API (POST /api/users, PUT /api/users/:id) with login, email, employee_number, firstname, lastname, manager, default_account, expense_user, expense_approval_limit, employee_payment_channel, authentication_method (saml) and sso_identifier, and active for departures.
  • Expense reports through GET /api/expense_reports?status=approved_for_payment&exported=false, then marked as exported. Statuses in Coupa include approved_for_payment, scheduled_for_payment and paid.

Which fields are transferred

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

Field in AFAS ProfitField in CoupaNotes
Medewerkernummeremployee_numberUnique in Coupa
E-mail werklogin en emailBoth mandatory and unique
Leidinggevendemanager
Kostenplaatsdefault_account
Functie of functieniveauexpense_approval_limitThrough a table finance maintains
Datum uit dienstactive = false
Vaste waardeexpense_user = true en employee_payment_channel = ERP
Totaal per declarant uit CoupaLooncomponent onkostenvergoeding (HrCompMut)With the Coupa expense report number as reference

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.