Purpose of Tags Sync
Tags Sync exists to:- Remove the need to manually create or maintain Tags in Pleo
- Reflect the current structure of Accounting Dimensions in Pleo
- Enable consistent expense categorisation aligned with the Accounting System
- Keep accounting metadata synchronised between systems
Core Concept
Tags Sync is based on a direct mapping between systems:| Accounting System | Pleo |
|---|---|
| Accounting Dimension | Tag Group |
| Dimension Value | Tag |
What Happens in Pleo Once Synchronised
- Each Accounting Dimension becomes a Tag Group in Pleo
- Each Dimension Value becomes a Tag
- Each Tag belongs to exactly one Tag Group
- Bookkeepers use Tags to categorise expenses
- Tags are used in downstream export processes (outside of Tags Sync)
System Guarantees
These are invariant rules that always hold true regardless of implementation or sync frequency.| Guarantee | Description |
|---|---|
| Source of Truth | The Accounting System is the authoritative source of all Dimensions and Dimension Values |
| Structural Mapping | Dimensions map to Tag Groups, and Dimension Values map to Tags |
| Identity Model | Matching is performed using codes, not names |
| Case-Insensitive Matching | Code matching ignores case differences |
| Non-Destructive Behaviour | Tags and Tag Groups are never deleted; they are only archived when no longer present in the Accounting System |
| Idempotency | Re-running a sync produces the same final state without duplication |
Responsibility Model
Integrator Responsibilities
The integration is responsible for all synchronisation logic and API interaction.| Area | Responsibility |
|---|---|
| Connection | Connect to the Accounting System |
| Data Retrieval | Retrieve Dimensions and Dimension Values |
| Configuration | Manage which Dimensions are selected for synchronisation |
| Sync Execution | Execute reconciliation operations in Pleo via the Tags API |
| Scheduling | Define and execute sync schedule (including optional manual triggers) |
Pleo Responsibilities
Pleo provides storage, user experience, and downstream usage of Tags.| Area | Responsibility |
|---|---|
| Data Storage | Store Tag Groups and Tags |
| User Interface | Display Tags for expense categorisation |
| Expense Assignment | Allow users to assign Tags to expenses |
| Data Retention | Retain archived Tags and Tag Groups for historical consistency |
High-Level Process
Tags Sync runs in three steps:- Select Dimensions — configure which Accounting Dimensions to synchronise (first connection only)
- Sync Tag Groups with Dimensions — reconcile Tag Groups in Pleo with the selected Dimensions
- Sync Tags with Dimension Values — reconcile Tags within each Tag Group with the corresponding Dimension Values
Operational Model
Sync Direction
Tags Sync is one-way only:- The Accounting System is the source of truth
- The integration synchronises data from the Accounting System into Pleo
- Pleo does not modify Accounting System data
- Pleo data is only used for identity matching and reconciliation of existing entities, never as a source of truth for Dimensions or Dimension Values
Operational Constraints
These define how the integration must execute Tags Sync.| Constraint | Description |
|---|---|
| Scheduling Ownership | The integration is responsible for defining when sync runs occur, including optional manual triggers |
| Sync Execution | The integration is responsible for executing sync runs and applying all changes to Pleo via the API |
| Execution Model | Each sync run performs full reconciliation of Pleo against the Accounting System |
| Rate Limits | The integration must respect Accounting System API rate limits and adjust scheduling accordingly. See Pleo API rate limits. |
| Concurrency | Sync runs must not overlap; only one execution may run at a time |
Sync Lifecycle and Frequency
Tags Sync is executed periodically by the integration. Each sync run retrieves Accounting System state, reconciles Pleo against that state, and applies all required updates. Scheduling strategy, execution frequency, and optional manual triggers are implementation concerns handled by the integration.Dimension Selection
The integration controls which Accounting Dimensions participate in Tags Sync. Only selected Dimensions are synchronised into Pleo. Dimension selection determines:- which Dimensions are included in reconciliation
- which Tag Groups and Tags are maintained in Pleo
- which accounting structures become available for expense categorisation
Related Reading
- Integration Design — Tags Sync Overview
- Tags Sync Workflow Guide
- Connection and Authorisation Overview