---
title: "Get invoice PDF URL"
method: GET
path: "/payment/v1/invoices/{invoiceId}/pdf"
tags: ["Billing"]
---

# Get invoice PDF URL

`GET /payment/v1/invoices/{invoiceId}/pdf`

Returns a Stripe-hosted PDF URL for the invoice. The URL is
short-lived; fetch fresh when you need to hand it to a user.

Requesting an invoice that does not belong to the caller's
organization returns 404 (not 403), so a foreign invoice ID cannot
be confirmed to exist.

## Path parameters

- `invoiceId` string, required

## Response `200`

Stripe-hosted PDF URL for the invoice.

- BillingInvoicePdfResponse
  - `success` boolean, required
  - `data` object, required
    - `pdfUrl` string, uri, required — Stripe-hosted URL to the invoice PDF. Short-lived; refetch when you need to hand it to a user.

## Other responses

- `401` — Unauthorized access
- `404` — Invoice not found, or does not belong to the caller's organization.

---

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