Integration

AFAS King integration

Your order handling in King receives the customers and sales orders from AFAS Profit, including contacts and lines. You don't need to enter addresses and order lines again.

1 flow available
From €54.98 per month
Set up yourself or let us do it
AFAS
AFAS
King
King
Sales orders
Flows

What can you connect between AFAS and King?

We group the data that can be exchanged into flows. Add one flow or combine several; you pay per flow per month.

Sales orders

€54.98per month

Sales orders from AFAS Profit arrive in King with lines and delivery address. The customer follows the same customer rules; a missing item or unknown VAT code stops the order.

  • Starts from the order's creation date
  • Statuses already processed are skipped
  • Price on the line includes VAT
  • Splitting per warehouse is a choice
AFASKing€54.98per month
Try now for free

If you keep customers and orders in AFAS Profit and process them in King, you enter the same data twice. First the customer with address and contact person, then every order line with item number and VAT code. This repeats for every new customer and every new order. Only when King drops the order do you find out that the email address was missing or the item didn't exist yet.

The flow runs only towards King. Customers changed in AFAS Profit go along with their invoice address, delivery address and contacts. Sales orders travel with customer details, order lines and the delivery address. Nothing goes back to AFAS: no items, no stock and no shipments. The unit price on the line includes VAT.

You set yourself whether organisations, contact persons only, or both go along, which start date applies, and how many records a run picks up. A customer that King already knows stays untouched until you switch on updating; name, invoice address and delivery address you switch on separately. For orders, you choose statuses that haven't been passed on before. Item numbers and VAT codes you prepare in King in advance, otherwise the order stops.

In practice

What this integration solves

1

Customer after a new relationship

An employee adds an organisation in AFAS, with name, email and invoice address. The scheduled run passes that customer on to King. If the company doesn't exist there yet, the customer is created there and the person becomes a contact of that company.

2

Sales order to fulfilment

The order is in AFAS, with item lines, quantities and a delivery address. King receives it as a sales order. The payment method from AFAS becomes the payment term and the shipping method becomes the delivery term, so the warehouse can continue without copying the lines.

3

Lines from two warehouses

The order lines belong to two different warehouses. If you switch splitting on, King creates a separate order per warehouse and adds the warehouse code with a dash after the reference. If you leave splitting off, only the lines of the warehouse on the last line stay on the order.

How do you set up the AFAS King integration?

  1. 1Create a free APIcenter account.
  2. 2Add AFAS and King in the wizard and authorise both.
  3. 3Choose the flows you need and check the settings.
  4. 4Test with a few records in the activity log and switch the integration on.

Set it up yourself

Create a free account, start the wizard and follow the manuals per application.

  • Access to the APIcenter dashboard
  • Manuals and videos per application
  • Choose the data you want to synchronise
from €1,995.00

Installation package

Our onboarding team sets up your integration and makes sure the basics work perfectly.

  • Installation by APIcenter experts
  • Authorisation of both applications
  • Configuration of your first flow
  • Video call to walk you through it

Frequently asked questions

What goes from AFAS to King, and in what form?

Customers and sales orders go from AFAS Profit to King; the reverse direction does not exist. In King the relationship appears as a customer, with invoice address, delivery address and contacts. The order appears with lines, the order number as reference and both addresses. Products, stock levels and shipments are not part of this integration.

What if the customer or item doesn't exist in King yet?

If the customer doesn't exist yet, it is created provided there is an email address. If that address is missing, or a contact has no email, the customer doesn't go along. An order without lines also fails. Every item number must already exist in King, and the VAT code must be an existing code, not a percentage. For shipping costs, payment costs or commission you may set a fixed number that is not looked up as an item.

How often does the integration run, and which records count?

You set yourself how often the run starts. Customers count as soon as their change date falls after the previous run. Sales orders count from the creation date you set, up to the maximum per run. An order whose status has already been processed stays out of the next run. Fetching one order again is possible via the order number.

How does King recognise an existing customer or order?

King looks up the customer by number or by email address. For a company it then checks the email address of a contact and finally the CoC number. Only with updating switched on are details overwritten; otherwise the existing customer stays as it is. You set name, invoice address and delivery address each separately. Whether an order with a number King already has is updated, the integration does not describe.

What should I watch for with warehouses and discounts?

Multiple warehouses on one order require a choice. With splitting, one order is created per warehouse; the reference gets a dash and the warehouse code. Without splitting, only the lines of the warehouse on the last line go along, so keep one warehouse per order in that case. A maximum of two discounts per line go along, either as a percentage or as an amount. Further discounts are dropped.

Connect AFAS and King today

Create a free account and set up your integration with the wizard, or order the installation package in your dashboard.