---
title: "Download a purchase order PDF"
method: GET
path: "/v1/erp/payouts/purchase_orders/{id}/pdf"
tags: ["Purchase Order"]
---

# Download a purchase order PDF

`GET /v1/erp/payouts/purchase_orders/{id}/pdf`

Generates and returns the purchase order as a PDF attachment. Only approved purchase
orders can be downloaded; otherwise a `422` is returned.

## Parameters

- `#/paths/~1v1~1erp~1payouts~1rules/get/parameters/0` — unresolved $ref
- `#/paths/~1v1~1erp~1payouts~1rules~1%7Bid%7D/get/parameters/1` — unresolved $ref

## Response `200`

The purchase order PDF.

## Other responses

- `401` — Unauthorized
- `404` — Purchase order not found
- `422` — Unprocessable Entity — the purchase order is not approved.
- `500` — Internal Server Error — PDF generation failed.

---

[API](https://skmtc.dev/cardda/apis/banking-api.md) · [All operations](https://skmtc.dev/cardda/apis/banking-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cardda/banking-api/revisions/ff1aeb3fda8b/schema)
