All about AFAS

AFAS: Get stock from AFAS

Get stock from AFAS and keep the stock in your webshop or marketplace up to date, also with several warehouses.

Updated November 9, 2026

This flow gets the stock of your articles from AFAS and sends it to another application, such as a webshop or marketplace. AFAS is leading for the stock.

How it works

  • APIcenter gets the hard stock (harde voorraad) from AFAS, including the changes.
  • Example: you have 100 of product X in stock. APIcenter sends 100 to the target application. When you sell 10, APIcenter sends 90. The same happens when new stock comes in.
  • APIcenter gets the stock per warehouse (magazijn) and location, with the actual, reserved and economic stock. Which stock value is used, you set in the connection and integration settings.
  • Several stock locations are supported. If the target application does not support them, the stock is added up. You can change this with the stock location settings.

What you need first

  • The products exist in the target application, for example through Get products from AFAS. APIcenter sends the stock per article, with its article number and barcode.
  • The stock connector (ApiCenter_StockItem) is added to the App connector. Like the product connector, it can have a hard filter: replace the placeholder free field with your own field, or remove it. See Connect AFAS to APIcenter.

Tips

A stock correction in AFAS, for example after a warehouse count, does not count as a change. Do you want to send all stock again? Set the date of this flow back in time. APIcenter then goes through all articles again.

You find all settings for this flow below, each with its own explanation.

Settings

The settings you see in the dashboard, with what each one does.

Use administration mapping table

General flow setting

Notifications frequency

Notifications

Receive Notifications

Notifications

Amount to process

Run behaviour

Last execution time

Run behaviour

Offset

Run behaviour

Run at specific times

Run behaviour

The date and time from which the flow retrieves records from AFAS, based on their modification date: for example articles, debtors, price lists, stock, payments or shipments that changed after this moment. APIcenter moves this date forward automatically after each run, so the next run continues where the last one stopped. Set it back in time to send records again, for example all stock after a stock count, because AFAS does not register a stock correction as a change. For AFAS the default is 1 January 2025.

Use page size

Run behaviour

Still need help?

Ask the support assistant in your dashboard or create a support ticket.

Go to support