---
title: "Get invoice download URL"
method: GET
path: "/subscriptions/invoices/{invoiceId}/url"
tags: ["Subscriptions"]
---

# Get invoice download URL

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

Returns a URL that can be used to download the invoice PDF directly from the payment provider.

## Path parameters

- `invoiceId` string, uuid, required

## Response `200`

When request is successful. Returns an 'InvoiceDownloadUrl' object.

- InvoiceDownloadUrl
  - `url` string, nullable — A URL to a downloadable PDF of the invoice from the payment provider.

## 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 retrieving the invoice URL.

---

[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/versions/197984da9b42/schema)
