---
title: "Generate PDF url"
method: POST
path: "/sales/pdfUrl"
tags: ["Sales"]
---

# Generate PDF url

`POST /sales/pdfUrl`

Requests a PDF copy of selected invoice
A pre-signed URL, valid for up to 10 minutes will be generated that allows the user to download the file

## Request body

- object
  - `invoiceId` integer

## Response `200`

OK

- object
  - `result` 'OK'
  - `data` string — Pre-signed url to download invoice PDF copy

## Changes

- **2024-08-26** `64c683372c45` — 1 info
  - endpoint added
- **2024-08-26** `a2d864f3a8db` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/altera-co/apis/openapi/changes/sales/pdfUrl/post.md)

---

[API](https://skmtc.dev/altera-co/apis/openapi.md) · [All operations](https://skmtc.dev/altera-co/apis/openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/altera-co/openapi/revisions/39a4dd6ca527/schema)
