> For the complete documentation index, see [llms.txt](https://docs.receipthero.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.receipthero.io/partner-app-api/get-receipt.md).

# GET Receipt

Get full receipt by receipt id. Data formats are:

* Finvoice XML
* Finvoice PDF
* ReceiptHero JSON
* ReceiptHero PDF

### Request <a href="#request" id="request"></a>

#### Partner Receipt Retrieval

Retrieve a receipt after receiving a receipt notification through [Integration Flows](/partners/integration-flows.md#card-based-flow) or [Integration Flows](/partners/integration-flows.md#transaction-based-flow).

```http
GET /api/v1/receipts/<receipt_uuid>/<data_format>/
Host: api.dev.receipthero.io
Authorization: <PARTNER_API_KEY>
```

#### User-Authorized Receipt Retrieval

Retrieve a receipt on behalf of a user who has granted receipt read access via the OAuth2 authorization flow.

```http
GET /api/v1/receipts/<receipt_uuid>/<data_format>/
Host: api.dev.receipthero.io
RECEIPTHERO_APIKEY: <PARTNER_APP_API_KEY>
Authorization: Bearer <USERS_OAUTH_TOKEN>
```

| Parameter     | Value         | Explanationn                                        |
| ------------- | ------------- | --------------------------------------------------- |
| receipt\_uuid | uuid          | receipt UUID provided in receipts list endpoint     |
| data\_format  | finvoice\_xml | Receipt is returned in finvoice xml format          |
|               | finvoice\_pdf | Receipt is returned in rendered finvoice pdf format |
|               | hero\_json    | Receipt is returned in ReceiptHero JSON             |
|               | hero\_pdf     | Receipt is returned in rendered JSON pdf format     |

### Response <a href="#response" id="response"></a>

Response depends on requested data format


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.receipthero.io/partner-app-api/get-receipt.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
