---
title: "Fetch and store a tradable receipt from the SII"
method: GET
path: "/v1/erp/tradables/get_pdf"
tags: ["Tradable"]
---

# Fetch and store a tradable receipt from the SII

`GET /v1/erp/tradables/get_pdf`

## Request

- Base URL: `https://api.cardda.com`
- URL: `https://api.cardda.com/v1/erp/tradables/get_pdf`
- Auth: HTTP bearer

Downloads the receipt/PDF for a tradable from the SII and stores it on the record, then
returns the tradable. The target tradable is selected by the `id` query parameter (this
is a collection route). Accessible to company admins and members of the tradable's
company.

## Query parameters

- `id` string, uuid, required

## Parameters

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

## Response `200`

The tradable, after the receipt was fetched and stored.

## Other responses

- `400`: Bad Request — could not download/store the receipt.
- `401`: Unauthorized
- `404`: Not Found — tradable not found, or the SII PDF was not found.
- `500`: Internal Server Error — an error occurred while retrieving the SII PDF.

---

[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)
