---
title: "Get attachments"
method: GET
path: "/companies/{companyId}/invoices/{invoiceId}/attachments"
tags: ["invoices"]
---

# Get attachments

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

## Request

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

Retrieve the information of the attachments for the invoice. Use the query parameters to filter and navigate through the results.

**Scope:** `invoices:read`

## Query parameters

- `page` integer
- `pageSize` integer
- `query` string

## Response `200`

Attachments found

- object
  - `totalItems` integer
  - `totalPages` integer
  - `currentPage` integer
  - `items` InvoiceAttachment[]
    - `id` string, uuid
    - `invoiceId` string, uuid
    - `fileName` string

## Other responses

- `404`: The requested resource was 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)
