---
title: "Download an invoice."
method: GET
path: "/api/v1/billing/invoices/{invoiceId}/download"
tags: ["Billing"]
---

# Download an invoice.

`GET /api/v1/billing/invoices/{invoiceId}/download`

## Request

- Base URL: `https://app.customgpt.ai`
- URL: `https://app.customgpt.ai/api/v1/billing/invoices/{invoiceId}/download`
- Auth: HTTP bearer

Returns the Stripe-hosted PDF for the specified invoice. The invoice ID must belong to your account.

## Path parameters

- `invoiceId` integer, required

## Other responses

- `302`: Redirect to the Stripe-hosted PDF for this invoice. Follow the `Location` header to download the file.
- `401`: API Token is either missing or invalid
- `404`: Invoice not found
- `500`: Internal Server Error

## Changes

- **2026-11-03** `77aab4354382`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/poll-the-people/apis/customgpt-ai/changes/api/v1/billing/invoices/:invoiceId/download/get.md)

---

[API](https://skmtc.dev/poll-the-people/apis/customgpt-ai.md) - [All operations](https://skmtc.dev/poll-the-people/apis/customgpt-ai/llms.txt) - [OpenAPI document](https://skmtc.dev/poll-the-people/apis/customgpt-ai/revisions/77aab4354382?raw)
