---
title: "Download the invoice as a PDF file"
method: GET
path: "/v1/purchaseinvoices/download/{id}"
tags: ["PurchaseInvoices"]
---

# Download the invoice as a PDF file

`GET /v1/purchaseinvoices/download/{id}`

## Request

- Base URL: `https://api.altoviz.com`
- URL: `https://api.altoviz.com/v1/purchaseinvoices/download/{id}`
- Auth: none required
- TypeScript: <https://skmtc.dev/altoviz/apis/altoviz-api/docs/v1/purchaseinvoices/download/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` integer, required

## Response `200`

OK

- string, binary

## Other responses

- `404`: Not Found

---

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