Implementation
- Chart of Accounts Sync Workflow Guide: workflow context and sequencing
- How to Sync Accounts: API usage and step-by-step instructions
Matching Rules
- Matching is performed using the
externalIdfield on both ends. - The
externalIdis the long-lasting identifier of the account in the Accounting System. - Name and code are not used for matching, only
externalIdis used.
Sync Process
1. Fetch Active Accounts from the AS
Retrieve all active accounts from the Accounting System’s Chart of Accounts. Only active accounts are used for reconciliation. Inactive, blocked, or archived accounts in the AS are not synced into Pleo.2. Fetch Accounts from Pleo
Retrieve both active and archived Accounts from Pleo for the connected company. Including archived Accounts allows unarchiving rather than creating duplicates if an account becomes active in the AS again.3. Match Accounts by externalId
For every active AS account, attempt to find a matching Account in Pleo using theexternalId field on both ends.
externalId found, Account is active in Pleo, details match
The AS account is active and the matching Pleo Account is also active with the same name and code. No action required.externalId found, Account is active in Pleo, details differ
The AS account is active and the matching Pleo Account is also active, but the name or code differs. Update the Account’s name and code to match the AS.externalId found, Account is archived in Pleo
The AS account is active but the matching Pleo Account is archived. Unarchive the Account and update its name and code if they differ from the AS.externalId not found
The AS account is active but no matching Pleo Account exists. Create a new Account with the account’s name, code, and externalId.4. Archive Unmatched Accounts
Pleo Accounts that are active but have no matching active AS account must be archived. This covers accounts that were previously present in the AS but have since been deactivated, blocked, or removed.Default Tax Code Reference
If the Accounting System has a default tax code per account, that identifier can be stored in Pleo via thetaxCodeExternalId field on the Account.
This is a reference only. Pleo does not automatically link it to a Tax Code in Pleo, apply it to expenses, or update the default tax code on any category mapped to the account. Partners can read this field back and use it to inform their own logic if needed.
What Comes Next?
Related Reading
- How to Sync Accounts
- Chart of Accounts Sync Workflow Guide
- Platform Capabilities: Chart of Accounts Sync