> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chift.eu/llms.txt
> Use this file to discover all available pages before exploring further.

# AFAS

# 🚨 PREREQUISITES

* Have an AFAS login with all admin rights listed in the above screenshot.

<img src="https://mintcdn.com/chift/vFP6kbuJx-Hf0o8M/images/help/afas/afas-1.png?fit=max&auto=format&n=vFP6kbuJx-Hf0o8M&q=85&s=ac2093c3d5f76776c7b5c7a3ce3b5fa4" alt="image.png" width="1051" height="1197" data-path="images/help/afas/afas-1.png" />

* Have the zip file downloaded on your computer and unzipped.

[AFAS\_GetConnectors\_15122025.zip](/images/help/afas/1765813797282-AFAS_GetConnectors_15122025.zip)

* AFAS settings :

Make sure the “Verbijzonderingen” is activated :

<img src="https://mintcdn.com/chift/vFP6kbuJx-Hf0o8M/images/help/afas/afas-3.png?fit=max&auto=format&n=vFP6kbuJx-Hf0o8M&q=85&s=0d3f7015763adcd4bffd5f0f1eb9874a" alt="imageAFAS.png" width="1600" height="684" data-path="images/help/afas/afas-3.png" />

To make use of the AFAS autoNumber logic :

Make sure the following boxes are filled in :

<img src="https://mintcdn.com/chift/vFP6kbuJx-Hf0o8M/images/help/afas/afas-4.png?fit=max&auto=format&n=vFP6kbuJx-Hf0o8M&q=85&s=aac6bf9c553d6c1076ecdaa54e877a4e" alt="imageAFAS2.png" width="1600" height="787" data-path="images/help/afas/afas-4.png" />

Specify that autonumbering is activated for the debtors and creditors :

<img src="https://mintcdn.com/chift/vFP6kbuJx-Hf0o8M/images/help/afas/afas-5.png?fit=max&auto=format&n=vFP6kbuJx-Hf0o8M&q=85&s=2da352f2c5aa42aa51208fd6536df1ca" alt="image.png" width="1600" height="854" data-path="images/help/afas/afas-5.png" />

&

<img src="https://mintcdn.com/chift/vFP6kbuJx-Hf0o8M/images/help/afas/afas-6.png?fit=max&auto=format&n=vFP6kbuJx-Hf0o8M&q=85&s=6f7b93b5f66f73910f7530bd5e516cd7" alt="image.png" width="1600" height="919" data-path="images/help/afas/afas-6.png" />

# 💪 PREPARATION

### Step 1 : Creating a Chift App :

Go to [AFAS Online Login](https://idp.afasonline.com/Account/Login?) and log in with your AFAS credentials.

⚠ **Important:** Use a Citrix session (not Citrix in the browser). You won’t be able to copy the credentials later. ⚠

<img src="https://mintcdn.com/chift/vFP6kbuJx-Hf0o8M/images/help/afas/afas-7.png?fit=max&auto=format&n=vFP6kbuJx-Hf0o8M&q=85&s=2b60fa98b8f704465ee4e81f77d2ec9b" alt="image.png" width="1600" height="801" data-path="images/help/afas/afas-7.png" />

Navigate to the **General** page and open **App connector**.

Create a new App connector.

<img src="https://mintcdn.com/chift/vFP6kbuJx-Hf0o8M/images/help/afas/afas-8.png?fit=max&auto=format&n=vFP6kbuJx-Hf0o8M&q=85&s=44996ecd5323aa3dc0fc89ed2d794244" alt="image.png" width="1600" height="717" data-path="images/help/afas/afas-8.png" />

Configure the App connector as shown in the following screenshot:

<img src="https://mintcdn.com/chift/vFP6kbuJx-Hf0o8M/images/help/afas/afas-9.png?fit=max&auto=format&n=vFP6kbuJx-Hf0o8M&q=85&s=1f13ed78bbb952f84ad71acf12524c57" alt="image.png" width="1600" height="1216" data-path="images/help/afas/afas-9.png" />

### Step 2: Add the Chift GetConnectors to your App

Use the import functionality to add the file below:

[AFAS\_GetConnectors\_15122025.zip](/images/help/afas/1765813857584-AFAS_GetConnectors_15122025.zip)

(download it and import it as illustrated in the screenshot below )

<img src="https://mintcdn.com/chift/vFP6kbuJx-Hf0o8M/images/help/afas/afas-11.png?fit=max&auto=format&n=vFP6kbuJx-Hf0o8M&q=85&s=97d4421e3e9f3ca85c9f6cbe0f907691" alt="image.png" width="1180" height="628" data-path="images/help/afas/afas-11.png" />

1 - Save the zip file locally and extract it to a folder.

<img src="https://mintcdn.com/chift/vFP6kbuJx-Hf0o8M/images/help/afas/afas-12.png?fit=max&auto=format&n=vFP6kbuJx-Hf0o8M&q=85&s=5d00b817c8b654e8834684895657b151" alt="image.png" width="1600" height="789" data-path="images/help/afas/afas-12.png" />

2- Select this folder from your machine and click **Finish**.

<img src="https://mintcdn.com/chift/vFP6kbuJx-Hf0o8M/images/help/afas/afas-13.png?fit=max&auto=format&n=vFP6kbuJx-Hf0o8M&q=85&s=e8e8b7a5a2ab97509496eb159df87084" alt="image.png" width="1600" height="655" data-path="images/help/afas/afas-13.png" />

After accepting the warning message, AFAS will import the GetConnectors. Once done, select **Next** :

<img src="https://mintcdn.com/chift/vFP6kbuJx-Hf0o8M/images/help/afas/afas-14.png?fit=max&auto=format&n=vFP6kbuJx-Hf0o8M&q=85&s=345d3c861482b16fd78615e01df05513" alt="image.png" width="1600" height="946" data-path="images/help/afas/afas-14.png" />

### Step 3: Add the UpdateConnectors

<img src="https://mintcdn.com/chift/vFP6kbuJx-Hf0o8M/images/help/afas/afas-15.png?fit=max&auto=format&n=vFP6kbuJx-Hf0o8M&q=85&s=e32ccbd9a7793667abc580448a866ef3" alt="image.png" width="1090" height="574" data-path="images/help/afas/afas-15.png" />

Use the search bar to find and add the following UpdateConnectors:

* Inkooprelatie organisatie - KnPurchaseRelationOrg
* Inkooprelatie persoon - KnPurchaseRealationPer
* Verkoopsrelatie organisatie - KnSalesRelationOrg
* Verkoopsrelatie persoon - KnSalesRelationPer
* Financiële mutaties - FiEntries
* Code verbijzondering - KnDimCode

<img src="https://mintcdn.com/chift/vFP6kbuJx-Hf0o8M/images/help/afas/afas-16.png?fit=max&auto=format&n=vFP6kbuJx-Hf0o8M&q=85&s=c952fce8be9afc1ff1b485b3359a6dd3" alt="image.png" width="1600" height="814" data-path="images/help/afas/afas-16.png" />

Check the boxes for each connector, click **Finish**, then click **New** to continue adding all connectors.

Once all UpdateConnectors are added, click **Next**.

<img src="https://mintcdn.com/chift/vFP6kbuJx-Hf0o8M/images/help/afas/afas-17.png?fit=max&auto=format&n=vFP6kbuJx-Hf0o8M&q=85&s=93f5d1d2a48b5e2688fd6125f5d9296c" alt="image.png" width="1570" height="1480" data-path="images/help/afas/afas-17.png" />

Click “Finish”

⚠ **Important:** Make sure to select all the GetConnectors and UpdateConnectors specified in the documentation. Even if a connector seems irrelevant to your use case, the integration will not work unless all connectors are activated. ⚠

### Step 4: Save your API token

**AFAS will display the API token after completing the connector setup.**\
Save it securely, as you will need to fill it in during the activation of the connection described in the next section.

<img src="https://mintcdn.com/chift/vFP6kbuJx-Hf0o8M/images/help/afas/afas-18.png?fit=max&auto=format&n=vFP6kbuJx-Hf0o8M&q=85&s=cbad045e29f74e03cc9e9d45edbbd6c4" alt="image.png" width="1600" height="1114" data-path="images/help/afas/afas-18.png" />

This Chift App requires the "Algemeen - Adminstraties" authorisation filter. You can check this by going to the Authorisation tool, and finding the authorisation group that was automatically created as part of the App Connector process on the left hand side of the screen. When selected, find the authorisation filters in the "Authorisiation" tab and activate the relevant Administraties(folders), you want to use as part of the integration. In the example picture, only the Administratie 1 will be part of the scope.

<img src="https://mintcdn.com/chift/vFP6kbuJx-Hf0o8M/images/help/afas/afas-19.png?fit=max&auto=format&n=vFP6kbuJx-Hf0o8M&q=85&s=b394958cdc70ab6031de79d1c14b482f" alt="image.png" width="1600" height="1349" data-path="images/help/afas/afas-19.png" />

# ⚡️ CONNECTION

## ❶ CONNECT

<img src="https://mintcdn.com/chift/vFP6kbuJx-Hf0o8M/images/help/afas/afas-20.png?fit=max&auto=format&n=vFP6kbuJx-Hf0o8M&q=85&s=e51fe5e0a1c027776cf8ffb56cfee1d8" alt="image.png" width="1102" height="1558" data-path="images/help/afas/afas-20.png" />

### 1) Company ID :

<img src="https://mintcdn.com/chift/vFP6kbuJx-Hf0o8M/images/help/afas/afas-21.png?fit=max&auto=format&n=vFP6kbuJx-Hf0o8M&q=85&s=7bd45153845ecd55baef608e49cf4f9d" alt="image.png" width="1070" height="249" data-path="images/help/afas/afas-21.png" />

***a) In the url :***

<img src="https://mintcdn.com/chift/vFP6kbuJx-Hf0o8M/images/help/afas/afas-22.png?fit=max&auto=format&n=vFP6kbuJx-Hf0o8M&q=85&s=a31e62f586d2e9ab90eaa10467101557" alt="image.png" width="806" height="68" data-path="images/help/afas/afas-22.png" />

**b) At the top-right corner** of your screen.

⚠ **Note:** The organization number consists of **numbers only**. For example, in this case it is `36480`, **not** `O36480AA`.

<img src="https://mintcdn.com/chift/vFP6kbuJx-Hf0o8M/images/help/afas/afas-23.png?fit=max&auto=format&n=vFP6kbuJx-Hf0o8M&q=85&s=74bfce15b5d8098e49b41c1051209e4b" alt="image.png" width="506" height="129" data-path="images/help/afas/afas-23.png" />

### 2) API Token :

<img src="https://mintcdn.com/chift/vFP6kbuJx-Hf0o8M/images/help/afas/afas-24.png?fit=max&auto=format&n=vFP6kbuJx-Hf0o8M&q=85&s=0ffe02a861526fcee905f4d14eb4b476" alt="image.png" width="1071" height="249" data-path="images/help/afas/afas-24.png" />

Paste the API token you saved during the preparation phase (**Step 4: Save your API token**).

⚠ **Important:** Make sure you paste the token exactly as saved.

## ❷ Configure

<img src="https://mintcdn.com/chift/vFP6kbuJx-Hf0o8M/images/help/afas/afas-25.png?fit=max&auto=format&n=vFP6kbuJx-Hf0o8M&q=85&s=8ca4eb787c9d2caccf6371c5d0bdab5a" alt="image.png" width="1098" height="1244" data-path="images/help/afas/afas-25.png" />

**Default Payment Terms**

Select the default payment terms for the creation of **customers** and **vendors**.

**Administrative ID**

ℹ *If this field is not displayed on the other side, you can ignore it.*

Select the **administrative ID** you want to connect to.\
This option is used when you need to connect to a **specific administrative ID** (for example, a particular accounting folder).

**Default Analytic Plan**

ℹ *If this field is not displayed on the other side, you can ignore it.*

Select the **Allocation Axis** used by default.

Submit! Congratulations ! 🎉
