Skip to main content
POST
Enrich Accounting Entry V2

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Include the token in the Authorization header as: Bearer <token>

Query Parameters

email
string

Email address of the Pleo user who made the purchase. Used as an optional matching parameter.

performed_at
string

ISO 8601 timestamp of when the purchase was authorised (i.e. when the transaction happened). Either performed_at or settled_at must be provided.

settled_at
string

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.

amount
integer<int64>
required

Transaction amount in minor units (e.g. 1500 represents €15.00).

currency
string
required

ISO 4217 currency code of the transaction (e.g. EUR, GBP, DKK).

card_last_four_digits
string
required

Last four digits of the Pleo card used for the transaction. Used as a matching parameter to identify the correct accounting entry.

merchant_name
string
required

Name of the merchant as it appears on the transaction.

Body

application/json

Request body containing receipts and optional tags

receipts
string[]
required

List of Base64 encoded ByteArray as string

Example:
tags
string<uuid>[]

List of Tags in UUID format

Example:

Response

No matching accounting entry found. The receipt has been stored in the Receipt Inbox for manual resolution.

data
object

The result of an enrichment request.