---
title: "Get invoice PDF"
method: GET
path: "/invoices/{id}/pdf"
tags: ["Invoices"]
---

# Get invoice PDF

`GET /invoices/{id}/pdf`

Use when delivering an invoice PDF to the customer (e.g. email attachment or download). Use url=true for a presigned URL instead of binary. Use force_generate=true to regenerate and re-upload the PDF even if one already exists in S3.

## Path parameters

- `id` string, required

## Query parameters

- `url` boolean
- `force_generate` boolean

## Response `200`

OK

## Other responses

- `400` — Invalid request
- `404` — Resource not found
- `500` — Server error

## Changes

- **2026-05-18** `f62d8a5fe7cf` — 6 warning
  - removed the optional property `details` from the response with the `400` status
  - removed the optional property `details` from the response with the `404` status
  - removed the optional property `details` from the response with the `500` status
  - added the new `too_many_requests` enum value to the `code` response property for the response status `400`
  - …2 more
- **2026-04-06** `4ded3711f401` — 6 warning, 12 info
  - removed the optional property `error` from the response with the `400` status
  - removed the optional property `error` from the response with the `404` status
  - removed the optional property `error` from the response with the `500` status
  - removed the optional property `success` from the response with the `400` status
  - …14 more
- **2026-04-04** `d1860fe0ee67` — 1 info
  - added the new optional `query` request parameter `force_generate`

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

---

[API](https://skmtc.dev/flexprice/apis/flexprice-api-2.md) · [All operations](https://skmtc.dev/flexprice/apis/flexprice-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/flexprice/flexprice-api-2/revisions/da8f268dc77d/schema)
