---
title: "Return an Invoice PDF file in Base64 Encoded Format"
method: GET
path: "/invoice/{invoiceId}/pdf-download"
tags: ["Invoice"]
---

# Return an Invoice PDF file in Base64 Encoded Format

`GET /invoice/{invoiceId}/pdf-download`

## Request

- Base URL: `https://core.hivelocity.net/api/v2`
- URL: `https://core.hivelocity.net/api/v2/invoice/{invoiceId}/pdf-download`
- Auth: API key in header `X-API-KEY`

## Headers

- `X-Fields` string, mask

## Response `200`

Success

- InvoicePDF
  - `invoiceId` integer
  - `pdfData` string

## Other responses

- `403`: You have not been granted permission to complete this action. Please contact your account manager to grant the proper permission.

---

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