Notes:The target audience of this API are developer partners and third-party service providers with which Pleo customers perform transactions.
Enrichment API Workflow
The process begins with identification of the corresponding accounting entry in Pleo and this is done through checking the parameters sent in a request to the Enrichment API. The enrichment request includes transaction and spender information:-
Transaction Filters (to identify the relevant transaction):
- Spender user email: Matched with a registered Pleo user (mandatory).
- Transaction value: Includes amount and currency in which the transaction is performed (mandatory).
- Transaction merchant name (mandatory).
- Transaction date (mandatory).
- Last four digits of the card: Matched with a Pleo card (optional).
-
Enrichment Data (Additional transaction information):
- Receipt image: (mandatory).
- Company tags: Tags API (optional).
Process:
- Pleo validates the size and the format of the enrichment data.
- Maps the parameters with the records stored in Pleo to identify a similar transaction.
Note: If no match is found, the receipt is stored as a Draft in the Receipt Inbox for the user to review.
Receipt Status Responses:
UPLOADED: Successfully matched and updated a single transaction with the receipt.ADDED_TO_RECEIPT_INBOX: Could not match but stored the receipt for access.UNRESOLVED: Failed to process the request; the receipt was discarded.