# AFAS Software — Accounting API: overview

> Canonical URL: https://developers.apideck.com/apis/accounting/afas/overview

AFAS Software provides comprehensive business software solutions including ERP, HR, and payroll management for small to medium-sized businesses.
- Status: live
- Authentication: apiKey

- **sandbox available:** false
- **partnership portal name:** AFAS Partner Program
- **partnership required:** false
- **apideck credentials note:** Every consumer connects with their own AFAS environment name and App Connector token.
- **sandbox url:** https://connect.afas.nl/
- **responsibility matrix:**   - **area:** Enable Connector & Configure Vault
  - **apideck:** Docs provided
  - **customer:** ✓
  - **apideck:** Specifies required connectors
  - **consumer:** ✓ (AFAS Administrator)
  - **customer:** Share required connector list
  - **area:** Create App Connector in AFAS
  - **area:** Publish required GetConnectors & UpdateConnectors
  - **customer:** Share specifications
  - **consumer:** ✓
  - **apideck:** Connector specs provided
  - **area:** Generate Token & Provide Environment Name
  - **consumer:** ✓
  - **apideck:** Handles connection
  - **area:** Authorize Connection (Vault)
  - **consumer:** ✓ Enters environment name + token
  - **customer:** Implement Vault
  - **area:** Build via Unified API
  - **customer:** ✓
  - **apideck:** Maintains connector
  - **area:** Connection Sync
  - **apideck:** ✓ Polls via virtual webhooks
  - **customer:** ✓ Via Dashboard
  - **area:** Monitor Connections
  - **apideck:** Logs & alerts
  - **consumer:** ✓ Can revoke the token in AFAS
- **difficulty:** highly_complex
- **webhooks:** Virtual webhooks — polling-based created/updated events for 14 HRIS and accounting resource families (employees, customers, invoices, bills, and 10 more).
- **authentication note:** An AFAS App Connector token sent in the Authorization header, prefixed with AfasToken. Not OAuth.
- **partnership url:** https://partner.afas.nl/koppeling-registreren
- **apideck credentials available:** false
- **important to know:** One AFAS environment and token serves two unified APIs: HRIS (live) and Accounting (beta). Employees and departments are HRIS-only — those operations are disabled on the Accounting API — so which resources you get depends on the API you build against.
A connection can authorize and still return no data: each consumer's AFAS administrator must first publish the named GetConnectors (and UpdateConnectors for writes) to the App Connector. Credit notes, payments and aged debtors/creditors need one the tenant authors itself.
AFAS is retiring classic token authentication: tokens receive automatic end-dates on 15 February 2027 and stop working on 31 August 2027, when OAuth 2.1 replaces them. An administrator can also time-limit or revoke a token at any point, which silently breaks the connection.
- **supported resource categories:**   - **resources:** employees
departments
  - **name:** HRIS — People & Organization
  - **name:** Accounting — Company & Structure
  - **resources:** company-info
subsidiaries
locations
  - **resources:** customers
suppliers
  - **name:** Accounting — Contacts
  - **name:** Accounting — General Ledger
  - **resources:** ledger-accounts
journal-entries
tax-rates
tracking-categories
bank-accounts
  - **name:** Accounting — Sales & Receivables
  - **resources:** invoices
credit-notes
quotes
payments
aged-debtors
  - **name:** Accounting — Purchasing & Payables
  - **resources:** bills
purchase-orders
bill-payments
aged-creditors
  - **resources:** invoice-items
categories
  - **name:** Accounting — Products & Catalog
  - **name:** Accounting — Projects & Documents
  - **resources:** projects
attachments
- **difficulty reason:** Non-OAuth Token Auth + Multi-Step Per-Consumer App Connector Setup
- **account type required:** A licensed AFAS Profit or AFAS Online environment with the modules you need (HRM for HRIS; Financieel, Facturering and Inkoop for accounting).
- **environment notes:**   - **description:** For development and testing against non-production data. The environment name is the company number plus its type, e.g. 12345.resttest (Test) or 12345.restaccept (Acceptance), each with its own separately issued App Connector token.
  - **environment:** Test / Acceptance
  - **environment:** Production
  - **description:** For live consumer data. The environment name is the company number plus rest, e.g. 12345.rest, with its own App Connector token. A Test or Acceptance token cannot be used against a production environment.
- **sandbox note:** Every AFAS environment is licensed; customers clone a Test copy. AFAS Connect (connect.afas.nl) freely builds and tests connector calls.
- **rate limits:** No published per-minute or per-day limit — AFAS applies a fair-use policy.
- **consumer access level:** AFAS administrator, to create the App Connector and issue the token.
- **costs:** No separate API or connector fee — REST access is included in an AFAS Profit or AFAS Online license. No free trial for non-customers.
- **partnership note:** Certifying your integration through the optional Partner Program adds 1-2 AFAS test environments on the Accept platform.

## Supported resources

[Accounting data model](/guides/accounting-data-model.md)

- **downstream id:** profit-employers-company-info
- **status:** live
- **downstream name:** Profit Employers Company Info
- **id:** company-info
- **name:** Company Info
- **custom field support:** false
- **downstream id:** profit-employees
- **name:** Employees
- **custom field support:** true
- **status:** beta
- **downstream name:** Profit Employees
- **id:** employees
- **id:** departments
- **downstream name:** Profit Organization Units
- **custom field support:** false
- **name:** Departments
- **downstream id:** profit-organization-units
- **status:** live
- **downstream id:** profit-debtors
- **id:** customers
- **status:** live
- **downstream name:** Profit Debtors
- **name:** Customers
- **custom field support:** false
- **downstream name:** Profit Creditors
- **downstream id:** profit-creditors
- **custom field support:** false
- **name:** Suppliers
- **status:** live
- **id:** suppliers
- **downstream id:** profit-financial-accounts
- **status:** live
- **id:** ledger-accounts
- **custom field support:** false
- **name:** Ledger Accounts
- **downstream name:** Profit Financial Accounts
- **custom field support:** true
- **downstream name:** Profit Vat Codes
- **downstream id:** profit-vat-codes
- **id:** tax-rates
- **name:** Tax Rates
- **status:** live
- **downstream name:** Profit Transactions
- **downstream id:** profit-transactions
- **custom field support:** false
- **id:** journal-entries
- **name:** Journal Entries
- **status:** live
- **id:** journals
- **name:** Journals
- **downstream id:** profit-journals
- **downstream name:** Profit Journals
- **status:** beta
- **custom field support:** false
- **downstream id:** profit-sales-invoices
- **name:** Invoices
- **downstream name:** Profit Sales Invoices
- **status:** live
- **custom field support:** false
- **id:** invoices
- **id:** bills
- **name:** Bills
- **downstream name:** Profit Purchase Invoices
- **status:** live
- **custom field support:** false
- **downstream id:** profit-purchase-invoices
- **status:** live
- **id:** credit-notes
- **downstream id:** profit-credit-notes
- **custom field support:** false
- **downstream name:** Profit Credit Notes
- **name:** Credit Notes
- **name:** Payments
- **downstream id:** profit-payments
- **status:** live
- **id:** payments
- **custom field support:** false
- **downstream name:** Profit Payments
- **status:** live
- **downstream id:** profit-bill-payments
- **custom field support:** false
- **downstream name:** Profit Bill Payments
- **id:** bill-payments
- **name:** Bill Payments
- **downstream id:** profit-items
- **id:** invoice-items
- **custom field support:** false
- **downstream name:** Profit Items
- **status:** live
- **name:** Invoice Items
- **status:** live
- **downstream name:** Profit Employers
- **name:** Subsidiaries
- **custom field support:** false
- **id:** subsidiaries
- **downstream id:** profit-employers
- **downstream name:** Profit Projects
- **status:** beta
- **custom field support:** false
- **name:** Projects
- **downstream id:** profit-projects
- **id:** projects
- **downstream name:** Profit Bank Accounts
- **custom field support:** false
- **id:** bank-accounts
- **status:** beta
- **downstream id:** profit-bank-accounts
- **name:** Bank Accounts
- **name:** Tracking Categories
- **downstream name:** Profit Dim Ax1
- **status:** live
- **custom field support:** false
- **id:** tracking-categories
- **downstream id:** profit-dim-ax1
- **downstream name:** Profit Open Items Debtors
- **id:** aged-debtors
- **status:** beta
- **custom field support:** false
- **downstream id:** profit-open-items-debtors
- **name:** Aged Debtors
- **downstream name:** Profit Open Items Creditors
- **status:** beta
- **custom field support:** false
- **id:** aged-creditors
- **downstream id:** profit-open-items-creditors
- **name:** Aged Creditors
- **downstream id:** profit-purchase-orders
- **id:** purchase-orders
- **downstream name:** Profit Purchase Orders
- **name:** Purchase Orders
- **status:** live
- **custom field support:** false
- **status:** beta
- **downstream id:** profit-sales-quotes
- **custom field support:** false
- **id:** quotes
- **name:** Quotes
- **downstream name:** Profit Sales Quotes
- **name:** Locations
- **downstream name:** Profit Warehouses
- **custom field support:** false
- **id:** locations
- **downstream id:** profit-warehouses
- **status:** live
- **id:** categories
- **name:** Categories
- **custom field support:** false
- **downstream id:** profit-item-categories
- **status:** beta
- **downstream name:** Profit Item Categories
- **downstream id:** profit-attached-documents
- **downstream name:** Profit Attached Documents
- **status:** live
- **name:** Attachments
- **id:** attachments
- **custom field support:** false

An omitted operation list does not establish operation support. Verify the selected operation in the coverage matrix.

[API reference](https://developers.apideck.com/apis/accounting/reference.md) · [Coverage matrix](https://developers.apideck.com/apis/accounting/coverage)
