---
title: "InvoicePdf"
method: GET
path: "/workspaces/{workspace_id}/invoices/{invoice_id}.pdf"
tags: ["subscription"]
---

# InvoicePdf

`GET /workspaces/{workspace_id}/invoices/{invoice_id}.pdf`

## Request

- Base URL: `https://localhost:8080/api/v9`
- URL: `https://localhost:8080/api/v9/workspaces/{workspace_id}/invoices/{invoice_id}.pdf`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/toggl/apis/toggl-api/docs/workspaces/:workspace_id/invoices/:invoice_id.pdf/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns an Invoice document in PDF form.

## Path parameters

- `workspace_id` integer, required
- `invoice_id` integer, required

## Response `200`

Invoice document in PDF form.

## Other responses

- `403`: Possible error messages: * Admin permissions required * Not authorized to access invoice {invoice\_id}
- `404`: No invoice found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/toggl/apis/toggl-api.md) - [All operations](https://skmtc.dev/toggl/apis/toggl-api/llms.txt) - [OpenAPI document](https://skmtc.dev/toggl/apis/toggl-api/revisions/3085aee16990?raw)
