---
title: "Get invoice URL for a payment"
method: GET
path: "/api/v1/billing/payments/{payment_id}/invoice"
tags: ["billing"]
---

# Get invoice URL for a payment

`GET /api/v1/billing/payments/{payment_id}/invoice`

Returns a URL to the order's invoice PDF. Polar generates invoices lazily: if one does not exist yet this triggers generation and responds 202, and the client should retry shortly.

## Path parameters

- `payment_id` string, uuid, required

## Response `200`

Invoice URL

- InvoiceResponse
  - `invoice_url` string, uri, required

## Other responses

- `202` — Invoice is being generated; retry shortly
- `401` — Unauthorized
- `403` — Insufficient role
- `404` — No such payment for this org
- `429` — Rate limited
- `502` — Provider error

---

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