bookkeeping.method field provided by Pleo.
Prerequisites
Before you begin:- You’re familiar with the Export Lifecycle
- You’re familiar with the Integration Design for Determining the Bookkeeping Method
- You’ve fetched the export item payload data
Example Export Item Payload (Journal Entry)
Example Export Item Payload (Journal Entry)
Steps
1. Read the Bookkeeping Method
The bookkeeping method is provided directly in the Export Item:2. Determine the Workflow
Map the bookkeeping method to the correct processing workflow:| Method | Workflow |
|---|---|
journal | Journal Entry Handling |
accounts_payable | Accounts Payable Handling |
none | Default to Journal Entry workflow |
null | Legacy Support |
3. Route the Export Item
Based on the resolved method:- If
journal→ process using the Journal Entry workflow - If
accounts_payable→ process using the Accounts Payable workflow - If
none→ treat asjournal
Example Pseudo
4. Delegate to the Accounting Workflow
Once the workflow has been determined, proceed to the corresponding Integration Design article to implement the accounting logic:- If
journal→ follow Journal Entry Handling - If
accounts_payable→ follow Accounts Payable Handling
Result
After completing these steps, each Export Item is routed into the correct downstream accounting processing workflow.What Comes Next?
this how-to is part of: