---
title: "Download an invoice"
method: GET
path: "/companies/{companyId}/invoices/{invoiceId}/download"
tags: ["invoices"]
---

# Download an invoice

`GET /companies/{companyId}/invoices/{invoiceId}/download`

## Request

- Base URL: `https://api.bokio.se/v1`
- URL: `https://api.bokio.se/v1/companies/{companyId}/invoices/{invoiceId}/download`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Authorization code: `/authorize`
    - Client credentials
    - Token URL: `/token` scopes: `invoices:read`

Download the invoice PDF with the matching invoiceId.

**NOTE:** The invoice must be in published status.

**Scope:** `invoices:read`

## Response `200`

Invoice found and downloaded successfully.

## Other responses

- `400`: Invoice is not in a published status
- `404`: Invoice not found

---

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