> ## Documentation Index
> Fetch the complete documentation index at: https://developers.pleo.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Overview of the legacy Receipt API deprecation. Use it to choose between the Export API (v3), for receipts during an export, and the Accounting Entries API, for receipts outside an Export Job. It links to both guides.

The Pleo Receipt API has been deprecated. Choose a migration path based on your use case.

> **Use this page to answer:**

### Which API replaces the legacy Receipt API?

It depends on whether you run an export.

* If you book expenses in an Accounting System, use the Export API (v3). It provides receipts as attachments on Export Items.
* To get receipts outside an Export Job, use the Accounting Entries API.

The Export API (v3) is not a standalone receipt lookup. To choose, see the [Legacy Receipt API Overview](https://developers.pleo.io/deprecation/legacy-receipt-api/overview.md).

> This page is the starting point for the legacy Receipt API deprecation. It does not hold the migration steps. Go to the guide that matches the use case:
>
> * [Migrate to the Export API (v3)](https://developers.pleo.io/deprecation/legacy-receipt-api/migrate-to-export-api.md): receipts during an export.
> * [Migrate to the Accounting Entries API](https://developers.pleo.io/deprecation/legacy-receipt-api/migrate-to-accounting-entries-api.md): reading receipts outside an export.

> **Sources for the Export API:**
>
> * OpenAPI reference: the endpoint pages under the [Export API Overview](https://developers.pleo.io/reference/export-api/export-api-overview.md). Use the v3 pages for new work. The [Export API Workflow](https://developers.pleo.io/reference/export-api/export-api-workflow.md) explains the order of the calls.
> * Attachments: [Attachments](https://developers.pleo.io/docs/current/platform/exports/attachments.md) explains the receipt file limits.
> * How-tos, all under `/docs/current/how-tos/accounting-integrations/`: [How to Detect and Start Export Jobs for Processing](https://developers.pleo.io/docs/current/how-tos/accounting-integrations/how-to-detect-and-start-export-jobs-for-as-erp-processing.md), [How to Retrieve Export Job Items for Processing](https://developers.pleo.io/docs/current/how-tos/accounting-integrations/how-to-retrieve-export-job-items-for-as-erp-processing.md), [How to Fetch Export Item Data for Processing](https://developers.pleo.io/docs/current/how-tos/accounting-integrations/how-to-fetch-export-item-data-for-as-erp-processing.md), [How to Transfer Attachments](https://developers.pleo.io/docs/current/how-tos/accounting-integrations/how-to-transfer-attachments-for-as-erp-processing.md), [How to Update Export Items](https://developers.pleo.io/docs/current/how-tos/accounting-integrations/how-to-update-export-items-for-as-erp-processing.md) and [How to Update & Complete the Export Job](https://developers.pleo.io/docs/current/how-tos/accounting-integrations/how-to-update-and-complete-export-job-for-as-erp-processing.md).
> * If a how-to and the reference disagree, trust the how-to. How-tos record tested behaviour.

> **Sources for the Accounting Entries API:**
>
> * OpenAPI reference: the endpoint pages under the [Accounting Entries API Overview](https://developers.pleo.io/reference/accounting-entries/accounting-entry-overview.md). Use them for paths, parameters and required fields.
> * How-tos: none yet.

Note

The Export API (v3) is not a standalone receipt lookup. It only returns receipts as attachments on Export Items. You can only fetch Export Items while the Export Job is `pending` or `in_progress`. Use the Export API (v3) only if you run the full export workflow.

> [card] [Migrate to the Export API (v3)](https://developers.pleo.io/deprecation/legacy-receipt-api/migrate-to-export-api.md)
>
> For integrations that book expenses in an Accounting System. You get the receipts as attachments on Export Items, as part of the export process. You can only get them while the Export Job is `pending` or `in_progress`.

> [card] [Migrate to the Accounting Entries API](https://developers.pleo.io/deprecation/legacy-receipt-api/migrate-to-accounting-entries-api.md)
>
> For integrations that get receipts outside an Export Job. You can search the receipts of many Accounting Entries in one request, or list the receipts of one Accounting Entry.
