ERP & HRM App Connector (REST/SOAP) GetConnector + UpdateConnector

Custom AFAS integration development

Appfront builds custom AFAS integrations via the official App Connector. Pass webshop orders on to AFAS sales invoices, synchronise debtors and the general ledger, and expose HRM and Payroll data to your own portal, with no manual exports and no double entry.

What is an AFAS integration?

AFAS Profit is the most widely used Dutch ERP suite for SMEs and mid-sized organisations. A single system for accounting, HRM, Payroll, CRM and order management. But no business works in isolation: your webshop, customer portal, time tracking or warehouse software needs the same data, and also generates changes of its own that belong in AFAS.

An AFAS integration connects Profit to your other systems via the App Connector. GetConnectors read debtors, sales invoices, items, employees or payroll changes. UpdateConnectors write new orders, invoices, time entries or personnel changes back. We build these integrations to production-grade standards, so your administration always stays in sync without your team having to export or retype anything by hand.

Webshop → AFAS sales invoices

We write orders from WooCommerce, Shopify, Magento or a custom headless shop directly to the FbSales UpdateConnector. Debtors are created or matched on their KvK number, and invoices automatically get the correct general ledger and VAT scheme.

HRM sync with an onboarding portal

New employees from your ATS or your own HR portal end up in AFAS HRM via HrEmployee. Leave, contract changes and job changes flow in both directions, so Profit remains the source of truth for payroll processing.

Customer portal reads AFAS data

A customer portal where end customers view their invoices, contracts or service history reads live from AFAS via scoped GetConnectors. Data minimisation and caching deliver performance without putting load on the AFAS environment.

How we build your AFAS integration

An AFAS integration stands or falls with correctly configured GetConnectors, a clean UpdateConnector design and a robust integration layer that handles errors and rate limits gracefully. Our approach covers all three.

1

Scope and connector design

We map out which data flows you need and which AFAS entities they involve (sales invoices, debtors, items, employees). For each flow, we determine whether a GetConnector, an UpdateConnector or both are needed, and with which fields and filters.

2

App Connector registration

Together with your AFAS consultant, we register an App Connector in your Profit environment, activate the right GetConnectors and UpdateConnectors, set up IP whitelisting and generate the token. We store that token in a secret manager with rotation.

3

Integration layer and error handling

An initial backfill plus incremental sync via scheduled jobs or webhooks from your source system. Retries with exponential backoff, idempotent processing, an audit log and dashboards on failed mutations, so AFAS validation errors are immediately visible.

4

Acceptance and go-live

Testing in your AFAS test environment against a production data sample, UAT with your administrator, a phased go-live and monitoring of throughput, token refresh and AFAS response codes. After go-live, we remain responsible for smooth, uninterrupted operation.

What can an AFAS integration do for you?

AFAS Profit is broad, and so is the App Connector. We use the endpoints relevant to your situation without making the integration unnecessarily broad.

Automate sales invoices

Orders from your webshop, point-of-sale system or B2B portal are created directly in AFAS via the UpdateConnector FbSales, including the correct general ledger account, VAT code and debtor match on Chamber of Commerce (KvK) number.

Debtor and relationship sync

Two-way synchronisation of debtors, creditors and contacts with KnOrganisation and KnPerson. The master of truth is configurable per field, with deduplication on KvK number or VAT ID.

General ledger and journal entries

We write specific memorial entries or journal mutations from your own financial application to AFAS via FiMutation, with correct cost centre and cost carrier allocation.

HRM and payroll integration

Synchronise employees, contracts, leave and salary components between AFAS HRM/Payroll and your HR portal, ATS or staff app via HrEmployee and related UpdateConnectors.

Projects and time tracking

Push projects, project phases and time entries to AFAS for invoicing and post-calculation. Integration with external time-tracking or planning software, with no export-imports.

Expose items and stock

Read item mutations, prices and stock levels via GetConnectors and make them available in real time in your webshop or B2B portal. Webhooks for stock thresholds, so stock errors never arise.

Who do we build AFAS integrations for?

AFAS Profit is the backbone of thousands of Dutch SMEs. Our clients usually share a clear pattern: Profit as the master administration and another application as the frontend.

E-commerce and B2B webshops

SME brands and wholesalers who want their webshop to talk to AFAS for debtor management, invoicing and stock. Shopify, WooCommerce and Magento as well as headless commerce and custom B2B portals.

Business services

Consultancy, agency and installation companies with project administration, time tracking and invoicing in Profit. Integration with your own planning tools, ticketing systems or client portals.

HR and recruitment departments

Organisations that use AFAS HRM and Payroll and want to integrate their onboarding, ATS or employee portal. From creating new employees to leave sync and manager self-service.

Wholesale and logistics SMEs

Wholesalers and distribution companies with stock and order processing in AFAS who want to connect a warehouse system, EDI integration or webshop, with sub-minute sync on orders and stock.

Our technical approach

The AFAS App Connector is powerful but comes with clear requirements. We build the integration to production-grade standards, using defensive patterns that guard against typical AFAS pitfalls.

The token is a Base64-encoded XML envelope containing the environment number, userId and token string. We store it encrypted in AWS Secrets Manager or HashiCorp Vault, with periodic rotation. Every API call goes through a client wrapper with an IP whitelisting check, TLS, retry with exponential backoff and rate-limit-aware throttling. AFAS Profit has no officially stated hard limit, but it is sensitive to spikes during bulk uploads.

We catch errors from UpdateConnectors (e.g. an invalid VAT code, a non-existent general ledger account, a debtor deduplication conflict) with structured error parsing. Every failed mutation goes to a dead-letter queue with audit information, so your administrator knows exactly which record failed which validation. Everything is logged in a searchable audit table for 24 months.

Tech stack

AFAS App Connector (REST/SOAP) GetConnectors (SQL over Profit) UpdateConnectors (FbSales, HrEmployee, KnSubject, FiMutation) Base64 token authentication IP whitelisting Node.js / Python / .NET / PHP Queue workers (BullMQ / RabbitMQ) PostgreSQL / MySQL for audit AWS Secrets Manager / Vault Dead-letter queue & replay

Why Appfront for your AFAS integration?

An AFAS integration is not a one-off project. Once it goes live, it is business-critical: a faltering FbSales flow means unbooked revenue. We build for 24/7 production, not for the happy path.

  • Senior experience with the App Connector, GetConnectors and UpdateConnectors
  • Collaboration with your AFAS consultant to align on scope
  • Idempotent processing and dead-letter queues
  • Data minimisation per GetConnector (only the fields you need)
  • Rate-limit-aware client with exponential backoff
  • Testing in your AFAS test environment before go-live
  • Monitoring, alerting and an audit log for 24 months

Security and compliance

AFAS contains personal data on your employees and customers, plus financially sensitive data. Our integration is designed so that your GDPR obligations are not put at risk and auditors get no unpleasant surprises.

Tokens are stored encrypted in a secret manager with a rotation policy, not in code or environment files. We enable IP whitelisting wherever possible, so the App Connector can only be accessed from trusted sources. We scope GetConnectors strictly to the fields your integration really needs: no reading out the full employee table when only job title and start date are required. For HRM integrations, we provide a technical description for your record of processing activities and support DPIAs.

  • Tokens encrypted with automatic rotation
  • IP whitelisting for App Connector access
  • TLS for all API traffic
  • Scoped GetConnectors (data minimisation)
  • Audit log per mutation for 24 months
  • Support with your record of processing activities and DPIA
  • Data processing agreement on request

Frequently asked questions about AFAS integrations

A technical integration between AFAS Profit and another system (web shop, CRM, portal) via the official App Connector. GetConnectors read data (debtors, invoices, HRM), while UpdateConnectors write mutations back.

A REST/SOAP layer that lets external software communicate with Profit. In AFAS you register an App Connector and link GetConnectors and UpdateConnectors. Authentication uses a Base64-encoded token envelope in the Authorization header.

A GetConnector reads data from AFAS (an SQL-like query with an ID). An UpdateConnector writes data to AFAS according to a fixed schema (FbSales, HrEmployee, KnSubject). AFAS validates the input and returns error details in case of deviations.

Yes, and it's a common request. Orders from WooCommerce, Shopify, Magento or a custom shop are created directly in AFAS via FbSales. Conversely, we retrieve products and stock via a GetConnector. Debtors are matched on KvK number.

Yes. Same infrastructure. New employees via HrEmployee, leave/changes via KnSubject, payroll data via a scoped GetConnector. Extra attention to IP whitelisting and encryption because of the personal data involved.

Go custom for your own invoice numbering, non-standard VAT logic, linked project administration, multiple AFAS environments or integration with a customer portal/B2B app. A standard connector is enough for simple WooCommerce/Magento integrations.

Simple one-way integration: 2-4 weeks. Bidirectional with multiple UpdateConnectors, HR or a customer portal: 4-10 weeks. You will often need an AFAS consultant on your side for connector configuration and permissions.

Ready to build your AFAS integration?

Tell us which systems you want to connect to AFAS Profit. Within a week we will give you a concrete connector scope, an architecture proposal and an indicative price: well-founded, no vague outlines.

Current context (April 2026)

According to Statistics Netherlands (CBS), Dutch SMEs are increasingly using cloud accounting packages with API integrations to web shops and CRM systems — a trend that has accelerated over the past 5 years.

Source: CBS — ICT use in businesses (www.cbs.nl)

Edit content