Integration

AFAS Xero integration

Products from Xero appear in AFAS Profit, an invoice becomes an order or booking there, and what you sell in AFAS arrives in Xero as a sales invoice.

2 flows available
From €29.98 per month
Set up yourself or let us do it
AFAS
AFAS
Xero
Xero
ProductsSales orders
Flows

What can you connect between AFAS and Xero?

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

Products

€29.98per month

Changed products from Xero appear in AFAS, with code, description and sales price. If the code already exists, the product is updated, so nobody has to retype the catalogue.

  • Products one way only, Xero to AFAS
  • Recognised by product code
  • Product group, unit and VAT required
  • An empty date stops the flow
AFASXero€29.98per month
Try now for free

Sales orders

€44.98per month

An invoice in Xero becomes an order or booking in AFAS, and sales from AFAS become a sales invoice in Xero. You choose the form, without retyping the lines.

  • Sales orders in both directions
  • In AFAS also quote or booking
  • In Xero invoice or quote
  • Existing document not created again
AFASXero€44.98per month
Try now for free

If you invoice in Xero and track your sales in AFAS Profit, you often enter the same product and the same order twice. A product code or an order reference then differs, and the administration waits until someone has checked the lines. That double entry disappears. Products from Xero become products in AFAS. An invoice from Xero arrives there as an order, quote, direct invoice or booking. What you sell in AFAS becomes a sales invoice, purchase invoice or quote in Xero.

The product flow runs only towards AFAS. Changed products are recognised by product code; AFAS creates the product or updates an existing code. Sales orders run in both directions. A Xero invoice takes along the number, contact, date, currency and amounts, and lands in the form you choose for AFAS. The other way round, order lines, the debtor and the delivery address come across from AFAS. There is no separate customer flow: the debtor belongs to the order.

You decide whether a Xero invoice becomes an order, quote, pre-calculation, direct invoice, financial transaction or forecast in AFAS. Towards Xero you choose a sales invoice, purchase invoice or quote. An invoice that has already been processed is skipped by the integration, unless that combination of statuses is new. An order number that already exists in AFAS is not created again. In Xero, the same applies to a document with the same order reference, and a customer already recorded there by email stays unchanged.

In practice

What this integration solves

1

Putting a Xero invoice into AFAS

Your administration has an invoice in Xero and wants it in AFAS as a sales order or financial transaction. The number, contact, date and amounts come along. If the order number already exists, nothing is created again. A line without an existing product stops that order, so get your products right first.

2

Taking over a product from Xero

A product has changed in Xero and should have the same code and sales price in AFAS. Changes since the stored date are included, and that date then moves forward. AFAS updates a known code or creates a product of the standard type. Without a product group, unit or VAT setting, it fails.

3

Turning an order into an invoice in Xero

The sale is complete in AFAS and your bookkeeper wants a sales invoice in Xero. Lines, debtor and delivery address come along. On the order reference, an existing document is skipped. The debtor is searched for in Xero by email and is only created if missing. If they already exist, they stay unchanged.

How do you set up the AFAS Xero integration?

  1. 1Create a free APIcenter account.
  2. 2Add AFAS and Xero 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 moves in which direction, and what form does it arrive in?

Products travel only from Xero to AFAS and arrive by product code, with description, unit, VAT and sales price. Sales orders run in both directions. An invoice from Xero becomes an order, quote, pre-calculation, direct invoice, financial transaction or forecast in AFAS. Sales from AFAS land in Xero as a sales invoice by default; a purchase invoice or quote is also possible. There is no separate customer flow.

What if the product, customer or order does not exist yet?

A product from Xero that is missing in AFAS is created new, provided the product code, product group, unit and VAT setting are present and those values exist in AFAS. For an order sent to AFAS, every product on the line must already exist, otherwise that order stops. In Xero, email, first name and last name are required; a missing customer is created. An order that already exists under its reference is not created again.

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

Sales orders from AFAS are picked up automatically, at an interval you choose yourself, from the creation date you set. Each run has a maximum, and only records with statuses not yet processed are included. Products from Xero count from the stored date, which moves forward to the latest product and is set to 1 January 2026 by default. An empty date fails. An invoice from Xero that has already been sent is not counted again.

How are existing records recognised, and are they overwritten?

The product code is the key: if it exists in AFAS, the product is updated. An order in AFAS is recognised by order number, or by reference when there is no number, and is not created again. In Xero, an invoice is searched for by order reference and a quote by number; an existing document stays in place. The customer in Xero is recognised by email and is not updated. In AFAS, the debtor number is checked first, then the email address.

Is an existing customer updated in Xero?

No. Xero searches for the customer by email address and leaves a customer it finds unchanged, even if the name or address in AFAS is different. If the customer is missing, it is created; without a name, the first name becomes the customer name. For a quote in Xero, no payments come along. Those only belong to an invoice, and the ledger account for them must already exist. Without finalising, Xero sends no status.

Connect AFAS and Xero today

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