---
title: "Download invoice PDF"
method: GET
path: "/subscriptions/invoices/{invoiceId}/download"
tags: ["Subscriptions"]
---

# Download invoice PDF

`GET /subscriptions/invoices/{invoiceId}/download`

Streams the invoice PDF retrieved from the payment provider as an attachment.

## Path parameters

- `invoiceId` string, uuid, required

## Response `200`

When request is successful. Returns the invoice PDF.

## Other responses

- `404` — When the subscription or invoice does not exist, or the invoice has no PDF available (for example, draft invoices).
- `500` — When an error occurs while downloading the invoice.

---

[API](https://skmtc.net/smokeball/apis/api.md) · [All operations](https://skmtc.net/smokeball/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smokeball/api/revisions/197984da9b42/schema)
