curl --request GET \
--url https://external.pleo.io/v3/export-items \
--header 'Authorization: Bearer <token>'{
"data": [
{
"_links": {
"web": {
"exportItem": "https://example.com"
},
"mobile": {
"exportItem": "https://example.com"
},
"api": {
"exportItem": "https://example.com"
}
},
"accountingEntryId": "00000000-0000-0000-0000-000000000000",
"accountingEntryLines": [
{
"accountingEntryLineId": "00000000-0000-0000-0000-000000000000",
"lineAmount": {
"inSupplierCurrency": {
"currency": "UNDEFINED",
"value": 123
},
"inWalletCurrency": {
"currency": "UNDEFINED",
"value": 123
}
},
"netAmount": {
"inSupplierCurrency": {
"currency": "UNDEFINED",
"value": 123
},
"inWalletCurrency": {
"currency": "UNDEFINED",
"value": 123
}
},
"account": {
"id": "00000000-0000-0000-0000-000000000000",
"name": "Meals and Entertainment",
"code": "<string>",
"identifier": "<string>"
},
"tags": [
{
"code": "<string>",
"groupCode": "<string>",
"id": "00000000-0000-0000-0000-000000000000"
}
],
"tax": {
"amount": {
"inSupplierCurrency": {
"currency": "UNDEFINED",
"value": 123
},
"inWalletCurrency": {
"currency": "UNDEFINED",
"value": 123
}
},
"id": "00000000-0000-0000-0000-000000000000",
"rate": 0.2,
"type": "inclusive",
"code": "<string>"
}
}
],
"additionalInformation": {
"reconciliationId": "<string>",
"attendees": [
"<string>"
],
"invoiceInformation": {
"invoiceDate": "2023-11-07T05:31:56Z",
"invoiceNumber": "<string>",
"status": "pending_approval",
"dueDate": "2023-11-07T05:31:56Z",
"paymentDate": "2023-11-07T05:31:56Z",
"supplierBankAccount": {
"bankName": "<string>",
"country": "DK",
"accountNumber": "<string>",
"bankCode": "<string>",
"bic": "<string>",
"iban": "<string>"
}
},
"reconciledEntries": [
"<string>"
]
},
"amount": {
"inSupplierCurrency": {
"currency": "UNDEFINED",
"value": 123
},
"inWalletCurrency": {
"currency": "UNDEFINED",
"value": 123
}
},
"companyId": "00000000-0000-0000-0000-000000000000",
"date": "2023-11-07T05:31:56Z",
"type": "card_purchase",
"bookkeeping": {
"method": "none"
},
"contraAccount": {
"id": "00000000-0000-0000-0000-000000000000",
"name": "Pleo GBP Account",
"code": "<string>",
"identifier": "<string>"
},
"files": [
{
"size": 2084,
"type": "application/pdf",
"url": "https://file.url"
}
],
"note": "<string>",
"servicePeriod": {
"from": "2025-01-01T00:00:00Z",
"to": "2025-01-31T00:00:00Z"
},
"subType": "reimbursement_to_employee_refund",
"supplier": {
"account": "<string>",
"categoryCode": "5999",
"code": "<string>",
"country": "DK",
"name": "GOOGLE*ADS8693645259",
"taxIdentifier": "<string>"
},
"team": {
"id": "00000000-0000-0000-0000-000000000000",
"name": "Marketing",
"code": "<string>"
},
"user": {
"id": "00000000-0000-0000-0000-000000000000",
"name": "John Doe",
"code": "<string>"
},
"vendor": {
"defaultCurrency": "DKK",
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Pleo",
"code": "<string>",
"country": "DK",
"externalId": "<string>",
"registrationNumber": "<string>",
"taxRegistrationNumber": "<string>"
}
}
],
"pagination": {
"currentRequestPagination": {
"parameters": {},
"after": "<string>",
"before": "<string>",
"limit": 123,
"offset": 123,
"sortingKeys": [
"<string>"
],
"sortingOrder": [
"ASC"
]
},
"hasNextPage": true,
"hasPreviousPage": true,
"endCursor": "<string>",
"startCursor": "<string>",
"total": 123
}
}An export item = an accounting entry transformed into an exportable entry. The accounting and bookkeeping information is collected from an accounting entry to form an export item.
• A request to this endpoint retrieves a list of export items selected for export.
• Please note that you can retrieve a list of export items only from pending and in_progress export jobs.
curl --request GET \
--url https://external.pleo.io/v3/export-items \
--header 'Authorization: Bearer <token>'{
"data": [
{
"_links": {
"web": {
"exportItem": "https://example.com"
},
"mobile": {
"exportItem": "https://example.com"
},
"api": {
"exportItem": "https://example.com"
}
},
"accountingEntryId": "00000000-0000-0000-0000-000000000000",
"accountingEntryLines": [
{
"accountingEntryLineId": "00000000-0000-0000-0000-000000000000",
"lineAmount": {
"inSupplierCurrency": {
"currency": "UNDEFINED",
"value": 123
},
"inWalletCurrency": {
"currency": "UNDEFINED",
"value": 123
}
},
"netAmount": {
"inSupplierCurrency": {
"currency": "UNDEFINED",
"value": 123
},
"inWalletCurrency": {
"currency": "UNDEFINED",
"value": 123
}
},
"account": {
"id": "00000000-0000-0000-0000-000000000000",
"name": "Meals and Entertainment",
"code": "<string>",
"identifier": "<string>"
},
"tags": [
{
"code": "<string>",
"groupCode": "<string>",
"id": "00000000-0000-0000-0000-000000000000"
}
],
"tax": {
"amount": {
"inSupplierCurrency": {
"currency": "UNDEFINED",
"value": 123
},
"inWalletCurrency": {
"currency": "UNDEFINED",
"value": 123
}
},
"id": "00000000-0000-0000-0000-000000000000",
"rate": 0.2,
"type": "inclusive",
"code": "<string>"
}
}
],
"additionalInformation": {
"reconciliationId": "<string>",
"attendees": [
"<string>"
],
"invoiceInformation": {
"invoiceDate": "2023-11-07T05:31:56Z",
"invoiceNumber": "<string>",
"status": "pending_approval",
"dueDate": "2023-11-07T05:31:56Z",
"paymentDate": "2023-11-07T05:31:56Z",
"supplierBankAccount": {
"bankName": "<string>",
"country": "DK",
"accountNumber": "<string>",
"bankCode": "<string>",
"bic": "<string>",
"iban": "<string>"
}
},
"reconciledEntries": [
"<string>"
]
},
"amount": {
"inSupplierCurrency": {
"currency": "UNDEFINED",
"value": 123
},
"inWalletCurrency": {
"currency": "UNDEFINED",
"value": 123
}
},
"companyId": "00000000-0000-0000-0000-000000000000",
"date": "2023-11-07T05:31:56Z",
"type": "card_purchase",
"bookkeeping": {
"method": "none"
},
"contraAccount": {
"id": "00000000-0000-0000-0000-000000000000",
"name": "Pleo GBP Account",
"code": "<string>",
"identifier": "<string>"
},
"files": [
{
"size": 2084,
"type": "application/pdf",
"url": "https://file.url"
}
],
"note": "<string>",
"servicePeriod": {
"from": "2025-01-01T00:00:00Z",
"to": "2025-01-31T00:00:00Z"
},
"subType": "reimbursement_to_employee_refund",
"supplier": {
"account": "<string>",
"categoryCode": "5999",
"code": "<string>",
"country": "DK",
"name": "GOOGLE*ADS8693645259",
"taxIdentifier": "<string>"
},
"team": {
"id": "00000000-0000-0000-0000-000000000000",
"name": "Marketing",
"code": "<string>"
},
"user": {
"id": "00000000-0000-0000-0000-000000000000",
"name": "John Doe",
"code": "<string>"
},
"vendor": {
"defaultCurrency": "DKK",
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Pleo",
"code": "<string>",
"country": "DK",
"externalId": "<string>",
"registrationNumber": "<string>",
"taxRegistrationNumber": "<string>"
}
}
],
"pagination": {
"currentRequestPagination": {
"parameters": {},
"after": "<string>",
"before": "<string>",
"limit": 123,
"offset": 123,
"sortingKeys": [
"<string>"
],
"sortingOrder": [
"ASC"
]
},
"hasNextPage": true,
"hasPreviousPage": true,
"endCursor": "<string>",
"startCursor": "<string>",
"total": 123
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The Export Job ID in which the accounting entries have been included for export.
Lower bound of the page of data to return (cannot be used together with [after] or [offset]).
Upper bound of the page of data to return (cannot be used together with [before] or [offset]).
Offset of the page of data to return (cannot be used together with [before] or [after]).
The maximum amount of items to return.
The keys to sort the results by.
The order to sort the results by. Must be the same length as [sortingKeys]; one order per key.
ASC, ASC_NULLS_FIRST, ASC_NULLS_LAST, DESC, DESC_NULLS_FIRST, DESC_NULLS_LAST Was this page helpful?