---
title: "Download Public Purchase Order Pdf"
method: GET
path: "/v2/public/purchase-orders/{purchase_order_id}/pdf"
tags: ["purchase-orders"]
---

# Download Public Purchase Order Pdf

`GET /v2/public/purchase-orders/{purchase_order_id}/pdf`

## Request

- Base URL: `https://api.sanka.com`
- URL: `https://api.sanka.com/v2/public/purchase-orders/{purchase_order_id}/pdf`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sankahq/apis/sanka-public-api/docs/v2/public/purchase-orders/:purchase_order_id/pdf/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `purchase_order_id` string, required

## Query parameters

- `external_id` string, nullable
- `template_id` string, nullable
- `template_select` string, nullable
- `language` string, nullable
- `workspace_id` string, nullable

## Headers

- `Accept-Language` string, nullable
- `X-Workspace-Code` string

## Response `200`

PDF document

## Other responses

- `401`: Error response
- `422`: Error response

## Changes

- **2026-07-06** `6ce94a6be72c`: 4 info
  - added the optional property `meta/pagination/next_cursor` to the response with the `401` status
  - added the optional property `meta/pagination/next_cursor` to the response with the `422` status
  - added the optional property `meta/toast` to the response with the `401` status
  - added the optional property `meta/toast` to the response with the `422` status
- **2026-06-10** `9099b22c3aae`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sankahq/apis/sanka-public-api/changes/v2/public/purchase-orders/:purchase_order_id/pdf/get.md)

---

[API](https://skmtc.dev/sankahq/apis/sanka-public-api.md) - [All operations](https://skmtc.dev/sankahq/apis/sanka-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sankahq/apis/sanka-public-api/revisions/16f03a9e3ab9?raw)
