---
title: "Returns the PDF version of the invoice"
method: POST
path: "/v2/user/marketplaces/orders/invoices/getPdfInvoice"
tags: ["OM Invoice - API - Generation"]
---

# Returns the PDF version of the invoice

`POST /v2/user/marketplaces/orders/invoices/getPdfInvoice`

## Request

- Base URL: `https://api.beezup.com`
- URL: `https://api.beezup.com/v2/user/marketplaces/orders/invoices/getPdfInvoice`
- Auth: none declared
- TypeScript: <https://skmtc.dev/beezup/apis/beezup-merchant-api/docs/v2/user/marketplaces/orders/invoices/getPdfInvoice/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- GetOrderInvoicePdfFromHtmlInvoiceUrlRequest
  - `orderInvoiceUri` string, required: order invoice url

## Response `200`

The PDF version of the HTML invoice URL in the request

## Other responses

- `403`: The ownerId is not found or not authorized
- `404`: The order invoice does not exist
- `default`: Occurs when something goes wrong

---

[API](https://skmtc.dev/beezup/apis/beezup-merchant-api.md) - [All operations](https://skmtc.dev/beezup/apis/beezup-merchant-api/llms.txt) - [OpenAPI document](https://skmtc.dev/beezup/apis/beezup-merchant-api/revisions/3d07c0591478?raw)
