Skip to main content
GET
/
v3
/
export-jobs
/
{jobId}
/
items
Get Export Job Items
curl --request GET \
  --url https://external.pleo.io/v3/export-jobs/{jobId}/items \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "accountingEntryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "exportJobId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "status": "pending",
      "exportedAt": "2023-11-07T05:31:56Z",
      "externalId": "<string>",
      "externalUrl": "<string>",
      "failureReason": "<string>",
      "failureReasonType": "receipt_upload_failure"
    }
  ],
  "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
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

jobId
string<uuid>
required

Enter the specific export job ID to retrieve details about the job items included in this export job.

Query Parameters

status
enum<string>

Enter a specific status to retrieve a list of export job items in the specific state.

StatusDescription
pendingThe export job item is selected for export, yet it is waiting to be exported.
in_progressThe export job item is currently being exported to the ERP/accounting system.
failedThe export job item could not be exported to the ERP/accounting system.
successfulThe export job item is successfully exported to the ERP/accounting system.
abandonedThe export job item could not be exported to the ERP/accounting system because the export job could not be completed.
Status of the export Item after being processed.
StatusDescription
pendingThe export job item is selected for export, yet it is waiting to be exported.
in_progressThe export job item is currently being exported to the ERP/accounting system.
failedThe export job item could not be exported to the ERP/accounting system.
successfulThe export job item is successfully exported to the ERP/accounting system.
abandonedThe export job item could not be exported to the ERP/accounting system because the export job could not be completed.
Available options:
pending,
in_progress,
failed,
successful,
abandoned
before
string

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

after
string

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

offset
integer<int64>

Offset of the page of data to return (cannot be used together with [before] or [after]).

limit
integer<int32>

The maximum amount of items to return.

sorting_keys
string[]

The keys to sort the results by.

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

Response

Export job items found.

data
object[]
required
pagination
object
required