Skip to main content
GET
Get all receipts of an accounting entry.

Authorizations

Authorization
string
header
required

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

Path Parameters

accountingEntryId
string<uuid>
required

Query Parameters

source
enum<string>[]

Only return Receipts with the given source. Useful for fetching a list of receipts uploaded via particular sources.

APP_SHARE: The receipt was uploaded via the share to Pleo mobile app function. BOLT: The receipt was retrieved from Bolt mobile app. CAMERA: The receipt was uploaded via the camera in the Pleo mobile app. CASHBACK: The receipt was generated by the Cashback feature. EMAIL_FETCHING: The receipt was automatically fetched via Pleo Fetch. EMAIL_FETCHING_BATCHED: The receipt was automatically fetch via Pleo Fetch in a batch. EMAIL_FORWARDING: The receipt was forwarded to Pleo via email. GENERATED_RECEIPT: The receipt was generated by internal systems. LOST_RECEIPT: The receipt was generated by the Lost Receipt feature. ROGER: The receipt was automatically fetched via the Roger integration STOREBOX: The receipt was uploaded via the Storebox integration. STRIPE: The receipt was uploaded via the Stripe integration. TRAVELPERK: The receipt was uploaded via the TravelPerk integration. USER: The receipt was uploaded by the user.

Available options:
APP_SHARE,
BOLT,
CAMERA,
CASHBACK,
EMAIL_FETCHING,
EMAIL_FETCHING_BATCHED,
EMAIL_FORWARDING,
GENERATED_RECEIPT,
LOST_RECEIPT,
ROGER,
STOREBOX,
STRIPE,
TRAVELPERK,
USER
file_type
enum<string>

Return all receipts with the presigned URL generated for the given file type. Used for fetching receipts with a presigned URL other than the default (ORIGINAL). ORIGINAL: The original file as it was uploaded. THUMBNAIL: Representation of the original file in a small image. PREVIEW: Display of the original file in a concise format.

Available options:
EMBED,
ORIGINAL,
THUMBNAIL,
PREVIEW
before
string

Lower bound of the page of data to return (cannot be used together with [after])

after
string

Upper bound of the page of data to return (cannot be used together with [before])

limit
integer<int32>
default:10

The maximum amount of items to return. Never returns more than 100 items

Required range: 1 <= x <= 100
sorting_order
enum<string>[]

The order to sort the results by. Must be the same length as [sortingKeys]; one order per key.

Available options:
ASC,
ASC_NULLS_FIRST,
ASC_NULLS_LAST,
DESC,
DESC_NULLS_FIRST,
DESC_NULLS_LAST
sorting_keys
enum<string>[]

The keys to sort the results by

Available options:
createdAt,
id,
size

Response

default - application/json;charset=UTF-8

default response

data
object[]
required
pagination
object
required