Prerequisites
Before you begin:- You’ve fetched the export item payload data
- You’ve completed:
- You’re familiar with the Integration Design for posting behaviour
Steps
1. Read Posting Configuration
The Export API does not provide posting behaviour. If posting behaviour is required, it must be defined as an integration configuration.2. Apply Posting Behaviour
When creating accounting entries, apply the configured posting mode:3. Map to Accounting System Status
Accounting Systems may represent posting status differently. Common equivalents:- draft vs posted
- approved vs unapproved
- saved vs committed
4. Apply Default Behaviour
If posting configuration is missing or cannot be determined:5. Create Entry and Capture Result
Once posting behaviour has been applied, the integration must create the accounting entry in the Accounting System.- success (entry created)
- failure (entry rejected)
- capture the error message from the Accounting System
Result
After completing this step:- Posting behaviour has been applied (draft or finalised)
- The accounting entry has been created in the Accounting System
- The success or failure status of the operation has been captured
- Any error messages are available for downstream handling
What Comes Next?
At this point, AS/ERP processing is complete for the current Export Item. Repeat the AS/ERP processing steps for all remaining Export Items and capture the success or failure result for each item immediately. This reduces the risk of data inconsistency in scenarios such as connection loss or partial failures. Reporting Export Item statuses back to Pleo (next step) must be performed in batches of up to 100 items per API request.this how-to is part of: