---
title: "Download a tradable receipt"
method: GET
path: "/v1/erp/tradables/{id}/receipt"
tags: ["Tradable"]
---

# Download a tradable receipt

`GET /v1/erp/tradables/{id}/receipt`

## Request

- Base URL: `https://api.cardda.com`
- URL: `https://api.cardda.com/v1/erp/tradables/{id}/receipt`
- Auth: HTTP bearer

Downloads the receipt file attached to a tradable (payable/receivable) as an attachment.
Returns a JSON message if the tradable has no receipt attached.

Accessible to company admins and members of the tradable's company.

## Parameters

- `#/paths/~1v1~1erp~1payouts~1rules/get/parameters/0` (unresolved $ref)
- `#/paths/~1v1~1erp~1payouts~1rules~1%7Bid%7D/get/parameters/1` (unresolved $ref)

## Response `200`

The receipt file (content type per the stored attachment). If no receipt is attached,
a JSON body `{"message": "tradable does not have a receipt attached"}` is returned.

## Other responses

- `401`: Unauthorized
- `404`: Tradable not found

---

[API](https://skmtc.dev/cardda/apis/erp-api.md) - [All operations](https://skmtc.dev/cardda/apis/erp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cardda/apis/erp-api/revisions/0730ed26bc3c?raw)
