---
title: "Download the invoice PDF by hosted slug (public)"
method: GET
path: "/v1/invoices/by_slug/{slug}/pdf"
tags: ["Hosted Invoice Page"]
---

# Download the invoice PDF by hosted slug (public)

`GET /v1/invoices/by_slug/{slug}/pdf`

Renders the invoice as a PDF and streams it inline, for the hosted page's Download PDF button. Unauthenticated: the unguessable slug is the capability.

## Path parameters

- `slug` string, required

## Response `200`

The rendered PDF bytes, streamed inline

## Other responses

- `404` — Not Found
- `500` — Internal Server Error

---

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