Accounts Mapping determines which ledger (GL) accounts are used when creating accounting entries. This step converts Export Item data into debit and credit postings in your Accounting System.Documentation Index
Fetch the complete documentation index at: https://developers.pleo.io/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before you begin:- You’ve fetched the Export Item Payload Data
- You’ve determined the Bookkeeping Method
- You’re familiar with the Integration Design for Determining the Accounts Mapping
Relevant Export Item Fields
Example Export Item Payload (Journal Entry)
Example Export Item Payload (Journal Entry)
Expense Account (line-level)
Contra Account
Bookkeeping Method
Vendor
Steps
1. Determine Mapping Strategy
Mapping depends on:bookkeeping.method- Export Item
type / subType - availability of
vendor - configured mapping rules
2. Apply Expense Account Mapping
For all cases:- The expense (debit) side comes from:
3. Select Counter Account
Case A — Journal Entries
If:- Counter account typically comes from:
- wallet
- bank
- clearing accounts
Case B — Accounts Payable
If:- Attempt vendor match:
- Apply fallback:
4. Apply Expense Type Rules (if applicable)
Depending on Export Item type:card_purchase→ contra account (wallet/bank)invoice→ AP accountwallet_topup→ configured mapping accounts
5. Validate Mapping
Before posting:- Account exists in Accounting System
- Mapping is configured
- Currency is compatible
- mark Export Item as failed
- return clear failure reason
Results
After completing this step:- Each Export Item has:
- a mapped expense (debit) account
- a mapped counter (credit) account
- Entries are balanced and ready for posting
What Comes Next?
this how-to is part of: