---
title: "Download invoice PDF"
method: GET
path: "/billing/history/{id}/pdf"
tags: ["Billing"]
---

# Download invoice PDF

`GET /billing/history/{id}/pdf`

Redirects to the invoice PDF for an order, generating the invoice first when none exists. An invoice needs a billing address; the receipt route does not.

## Path parameters

- `id` string, required — Order ID

## Other responses

- `302` — Redirect to Polar invoice PDF
- `400` — The order has no billing address, so no invoice can be issued
- `404` — Order not found
- `409` — The invoice is still being prepared

## Changes

- **2026-09-24** `14f92fdd491f` — 2 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `409`
- **2026-08-31** `fafe355d0698` — 1 info
  - the security scope `billing:read` was added to the endpoint's security scheme `bearerAuth`
- **2026-08-29** `4d10ec4266ee` — 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added

[Change history](https://skmtc.dev/rendobar/apis/rendobar-api/changes/billing/history/:id/pdf/get.md)

---

[API](https://skmtc.dev/rendobar/apis/rendobar-api.md) · [All operations](https://skmtc.dev/rendobar/apis/rendobar-api/llms.txt) · [OpenAPI document](https://skmtc.dev/rendobar/apis/rendobar-api/revisions/421a5a241a64?raw)
