---
title: "Download invoice file"
method: GET
path: "/v1/account/invoices/{id}/file"
tags: ["account"]
---

# Download invoice file

`GET /v1/account/invoices/{id}/file`

## Request

- Base URL: `https://api.brixsignage.com`
- URL: `https://api.brixsignage.com/v1/account/invoices/{id}/file`
- Auth: HTTP bearer

Downloads the PDF file for one invoice belonging to the calling workspace.

**Notes.**
- For an invoice Brix issued, when the PDF cannot be drawn the route answers 302 to the invoice's web page instead.

## Path parameters

- `id` string, required

## Query parameters

- `inline` string

## Response `200`

Success. The body is the file itself.

## Other responses

- `401`: Missing, expired or revoked bearer token.
- `403`: You do not hold the permission for the whole workspace (a grant at one location is not enough).
- `404`: Not an invoice of this workspace.
- `502`: The billing provider did not answer; nothing changed.
- `5XX`: Server error. The body carries a `requestId` to quote to support.

---

[API](https://skmtc.dev/brixsignage/apis/brix-api.md) · [All operations](https://skmtc.dev/brixsignage/apis/brix-api/llms.txt) · [OpenAPI document](https://skmtc.dev/brixsignage/apis/brix-api/revisions/02fd3665dc7d?raw)
