Skip to main content
This page describes how data from the Accounting System is mapped to Pleo’s Chart of Accounts API during Chart of Accounts Sync. Data mapping ensures that Chart of Accounts entries from the AS are reflected accurately in Pleo’s Accounts.

Implementation

Accounts: Data Mapping

Map the following datapoints from AS accounts to Pleo Chart of Accounts API fields.
Pleo Chart of Accounts API FieldAS Account Datapoint
externalIdUnique long-lasting identifier of the account in the AS. This is the source of truth identifier used for matching.
codeThe user-facing account number of the Chart of Accounts entry. Displayed to users to help them identify and select the correct account.
nameName of the Chart of Accounts entry
taxCodeExternalIdThe identifier in the AS for the tax code associated with the account. Stored as a reference only. Pleo does not automatically link this to a Tax Code, apply it to expenses, or update any category’s default tax code.
archived: falseUse when creating new active Accounts or unarchiving existing Accounts
archived: trueUse when archiving Accounts that no longer have a matching active account in the AS

Matching Field

Accounts are matched to their AS counterparts using the externalId field on both ends. The externalId is a stable, long-lasting identifier assigned by the Accounting System. It does not change when an account’s name or code is updated, making it reliable for matching across sync runs.

What Comes Next?