Skip to main content
This guide is for partners who used the Expenses API to build custom export integrations to accounting systems. If you were fetching expense data for other workflows, see Migrate to the Accounting Entries API instead.

New to the Export API?

Export Workflow Guide

End-to-end walkthrough of the Export API integration model.

Integration Design

Rules and requirements for each part of an export integration.

Connect Pleo to a Custom API Integration

How to connect Pleo to route exports to your custom integration.

API Scopes

Required scopes: export-jobs:write, export-jobs:read, export-items:read.

OAuth Guide

End-to-end OAuth 2.0 workflow guide for Pleo integrations.

OAuth with Postman

How to configure Postman to authenticate using OAuth and call the Pleo API.

Standalone API Key Guide

End-to-end guide for authenticating with standalone API keys.

Standalone API Keys with Postman

How to make API calls using standalone API keys in Postman.

What Changes in Your Integration

The table below gives a quick overview of how each step maps from the Expenses API to the Export API. The following sections cover each change in detail.

Detecting New Exports

Before:
After: Listen for the v1.export.job-created webhook event.

Starting a Job

Before: Not applicable. After: Create a started event to claim the job before processing.

Fetching Export Items

Before:
After:

Processing Export Items

Before: At integration’s discretion. After: Pleo provides integration design guidelines and a dedicated workflow guide covering bookkeeping methods, accounts mapping, data mapping, attachments, and posting behaviour.

Updating Item Status

Before:
After: Update individual items with granular statuses (in_progress, successful, failed, or abandoned).

Completing the Export

Before:
After: Update item statuses to their final state, then create a completed event.

Data Model Changes

The table below maps fields from the Expense model to their equivalents in the Export Item model.
  • : field is not available in the Export Item model
  • * : data is the same but represented differently. See the Export Item API reference for details.
  • ** : resolved entity relationship: the associated data is included directly, removing the need for additional API calls