Enrich Accounting Entry
Enriches an existing Pleo card accounting entry by attaching one or more receipts and applying optional cost categorisation tags. Pleo identifies the matching entry using the transaction details provided as query parameters. Use this endpoint for all new implementations.
Authorizations
JWT Bearer token authentication. Include the token in the Authorization header as: Bearer <token>
Query Parameters
Email address of the Pleo user who made the purchase. Used as an optional matching parameter.
ISO 8601 timestamp of when the purchase was authorised (i.e. when the transaction happened). Either performed_at or settled_at must be provided.
ISO 8601 timestamp of when the purchase was settled (i.e. when the funds were transferred). Either performed_at or settled_at must be provided.
Transaction amount in minor units (e.g. 1500 represents €15.00).
ISO 4217 currency code of the transaction (e.g. EUR, GBP, DKK).
Last four digits of the Pleo card used for the transaction. Used as a matching parameter to identify the correct accounting entry.
Name of the merchant as it appears on the transaction.
Body
Request body containing receipts and optional tags
List of Base64 encoded ByteArray as string
[
"JVBERi0xLjQKJeLjz9MKMSAwIG9iago8PAovVHlwZSAvQ2F0YWxvZwo+PgplbmRvYmoK",
"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg=="
]List of Tags in UUID format
[
"ef6f10a1-e608-418b-99f1-08150a9ae129",
"c111b173-d9da-4117-ab70-8f4b8acf496d"
]Response
No matching accounting entry found. The receipt has been stored in the Receipt Inbox for manual resolution.
The result of an enrichment request.