Having issues with the Exact Online Integration for Magento 2? This page covers the most common problems and how to fix them. Whether your invoices aren't syncing, the OAuth2 connection is failing, or VAT codes are causing errors, you'll find the relevant solution here. Start with the quick diagnostics section to narrow things down before jumping to a specific issue. Most problems come down to one of three things: a misconfigured connection, missing tax rate mappings, or cron not running. The debug tools and logs built into the module will tell you exactly what's going wrong.
Quick Diagnostics
Work through these steps first before diving into specific issues:
- Verify the module is enabled: Stores → Configuration → Accounting → Exact Online — Enabled should be Yes
- Check the connection is active: OAuth2 authorized, division populated, Connection Enabled set to Yes
- Confirm automation is on: Stores → Configuration → Accounting → General — Enabled should be Yes
- Review sync logs: Accounting → Synchronisation Logs — look for recent errors
- Run the Self Test: Stores → Configuration → Accounting → Exact Online → Debug — click Run Self Test
- Check the error log:
var/log/exact-error.log
Connection Issues
Issue: OAuth2 Authorization Fails
Symptoms:
- Clicking Connect to Exact Online opens a window that shows an error
- Connection does not complete, company/division remain empty
Solution:
- Make sure popup blockers are not preventing the OAuth2 window from opening
- Verify you're using an Exact Online account with API access
- If the authorization window opens but fails, try clearing your browser cache and cookies for Exact Online
- Check
var/log/exact-error.logfor specific error details - Retry the connection — Exact Online's API can occasionally be slow to respond
Issue: Token Expired / Connection Lost
Symptoms:
- Syncs start failing with authentication errors
- Previously working connection no longer responds
Solution:
- Go to Stores → Configuration → Accounting → Exact Online → Connection
- Click Connect to Exact Online to re-authorize
- After re-authorization, click Import Info to refresh data
- Click Save Config
The OAuth2 token should refresh automatically, but in rare cases it can expire if Exact Online revokes access or the token storage is corrupted.
Issue: Import Info Fails
Symptoms:
- Clicking Import Info shows an error
- Ledger account, VAT code, and journal dropdowns remain empty
Solution:
- Confirm the connection is enabled and company/division are populated
- Make sure the OAuth2 authorization is valid (try Check Credentials if available)
- Check
var/log/exact-error.logfor the specific error message - If the API returns a timeout, try again — Exact Online's API occasionally has slow responses
Synchronization Issues
Issue: Invoices Not Syncing
Symptoms:
- Invoices appear in Accounting → Data → Invoices but status stays Pending indefinitely
Solution:
- Verify Magento cron is running — check
var/log/cron.logor ask your hosting provider - Confirm automation is enabled: Stores → Configuration → Accounting → General
- Go to Accounting → Synchronisation Logs and check for error entries
- As a one-off, select the invoice in the grid and use the manual sync action
Issue: Sync Fails with VAT Error
Symptoms:
- Invoice gets stuck in an error state
- Error message referencing VAT code or tax percentage
Solution:
- Go to Accounting → Configuration → Tax Rate Mapping
- Make sure every Magento tax rule has an Exact Online VAT code assigned
- Check the Advanced Settings for fallback tax class configuration
- If you are using OSS, see the OSS Issues section below
Prevention:
- After adding new Magento tax rules, always update Tax Rate Mapping before invoices are created
Issue: Wrong Ledger Used
Symptoms:
- Entry syncs successfully but lands in the wrong ledger account in Exact Online
Solution:
- Go to Stores → Configuration → Accounting → Exact Online → Ledger Accounts and verify the default ledger assignments
- If advanced ledger mapping is enabled, check those rules — a more specific rule may be overriding the default
- Check if the product has a product-level ledger override set via the
accounting_exact_ledger_accountattribute
Issue: Wrong Journal
Symptoms:
- Entries appear in the wrong journal in Exact Online
Solution:
- Go to Stores → Configuration → Accounting → Exact Online → Synchronization
- Verify the Journal dropdown is set to the correct journal (typically
70for Verkoopboek) - If you recently changed journals, only new entries will use the updated journal — existing synced entries are not affected
OSS Issues
Issue: OSS Not Applied
Symptoms:
- EU orders are using standard domestic VAT instead of the OSS rate for the destination country
Solution:
- Go to Stores → Configuration → Accounting → Exact Online → One Stop Shop
- Set OSS to Enabled
- Check the Country Mapping table — each EU destination country must be mapped to the correct Exact Online OSS VAT code
- Verify the order's shipping destination country has a mapping entry
Issue: OSS VAT Code Not Found
Symptoms:
- An OSS invoice fails to sync with a VAT code error
Solution:
- Verify the OSS VAT code exists in your Exact Online administration
- Click Import Info to refresh available VAT codes in Magento
- Update the Country Mapping to use the correct code
- Retry the failed invoice
Issue: OSS Applied to B2B Orders
Symptoms:
- Business customers with a VAT exemption (reverse charge) are getting OSS treatment instead
Solution: OSS detection is based on whether the order has a tax percentage greater than 0%. B2B EU orders with 0% tax (reverse charge) are handled by the intra-community logic automatically. Verify that the order in Magento actually has 0% tax applied — if a B2B customer is being charged tax, the issue is in Magento's tax rules, not the Exact Online module.
Ledger Issues
Issue: No Ledgers in Dropdown
Symptoms:
- Ledger account dropdowns are empty in the Ledger Accounts section
Solution:
- Go to Stores → Configuration → Accounting → Exact Online → Connection
- Click Import Info to pull ledger accounts from Exact Online
- If still empty after import: verify OAuth2 connection, enabled state, and division
- Check
var/log/exact-error.logfor import errors
Cost Center Issues
Issue: Cost Center Not Applied
Symptoms:
- Entries sync but without cost center data
Solution:
- Verify Use Cost Centers is set to Yes in the Ledger Accounts section
- Check that default cost centers are assigned for each line type
- If using per-product cost centers, verify the
accounting_exact_cost_centerattribute is filled on the product - Click Import Info to ensure cost centers are imported from Exact Online
Customer Issues
Issue: Duplicate Customers in Exact Online
Symptoms:
- The same customer appears multiple times in Exact Online
Solution: This is intentional. Customer matching uses a combination of customer ID, country, and VAT number. When any of these change — for example a business customer moves from NL to DE — a new customer record is created. This ensures correct tax reporting per customer/country combination. If you are seeing duplicates you do not expect, check whether the customer's country or VAT number changed between orders.
Performance Issues
Issue: Sync Taking Too Long
Symptoms:
- Sync queue is growing faster than it is processed
- Invoices are delayed significantly
Solution:
- Increase the cron frequency to process smaller batches more often
- Failed syncs are retried automatically up to 3 times before being marked as failed
- Check
var/log/exact-error.logfor API timeout errors — if Exact Online's API is slow, retries will compound the delay - Review whether a large backlog of failed invoices is clogging the queue
- Exact Online has API rate limits — if you're hitting them, increase the sync interval
Debug Mode
Use debug mode to capture full API request and response data when troubleshooting a specific sync failure.
How to enable:
- Go to Stores → Configuration → Accounting → Exact Online → Debug & Logging
- Set Debug Mode to Yes
- Click Save Config
- Reproduce the issue (trigger a sync for the affected invoice)
- Check the logs:
var/log/exact-debug.log— full API request and response payloadsvar/log/exact-error.log— errors (always logged, regardless of debug mode)
Tip: Disable debug mode after you have captured what you need. In production it generates significant log volume.
Need More Help?
Documentation:
- All Help Articles - Complete documentation overview
Support:
- Contact Support - Get help from our team
For a complete overview of features and configuration options, see Magento 2 Exact Online integration.
