- Export Items are fetched
- Pre-validation has passed
- Accounts Mapping has been resolved
Implementation
See the corresponding how-to article for API usage and step-by-step instructions:Mapping Order (Implementation Flow)
Integrations should apply mappings in the following order:- Mandatory datapoints (always required)
- Invoice datapoints (invoice-related items only)
- Optional datapoints (system-dependent)
- Apply VAT handling rules
Mandatory Datapoints
Mandatory datapoints represent the minimum information required for reconciliation and accounting accuracy.Required Data
- Expense GL Account (Category)
- Expense amount (wallet currency, derived from line amounts)
- Accounting Dimensions (Tags)
- Tax Code
- Expense Date
- Reconciliation ID
- Reconciled Entries (reimbursements)
- Consolidated Description
- Vendor (Accounts Payable only)
- Attendees Information
Mandatory Datapoint Mapping (Pleo → AS)
Entry-Level Mapping
Accounts Payable Only (Entry-Level)
Line-Level Mapping
Invoice Datapoint Mapping
Invoice datapoints extend mandatory mappings with supplier invoice information.Rules
invoice→ use Supplier currencyinvoice_payment→ use Wallet currency- Provide exchange rate if required by the Accounting System
Optional Datapoints
Optional datapoints improve reporting but must never replace mandatory data.Examples
- Internal document number
- Net and tax amounts
- Team dimensions
- Export job date
Optional Datapoint Mapping
VAT Handling
VAT handling depends on Accounting System capabilities.Default Behaviour
The Accounting System calculates VAT using:- line amounts
- tax codes
When to Send VAT Amounts
Only send VAT values if the Accounting System:- cannot calculate tax automatically, or
- requires explicit VAT posting
- If AS calculates VAT → do NOT send VAT amount
- If AS cannot calculate VAT → send VAT from Pleo
Upstream Dependencies
- Export Job has been started (status = in_progress)
- Fetch Export Item Data (data layer)
- Bookkeeping method resolved
- Accounts Mapping – determines which GL accounts are debited and credited
Downstream Dependencies
- Attachment Handling – links receipts and supporting documentation
- Accounting Periods – assigns entries to the correct accounting period
- Posting Behaviour – determines whether entries are created as drafts or finalised
- Export Item status update – updates outcome of Export Item (
successfulorfailed) - Export Job status update – updates outcome of Export Job (
completed,completed_with_errorsorfailed)