---
title: "Retrieves attachments for a specific invoice or purchase bill"
method: GET
path: "/Invoices/{InvoiceID}/Attachments"
tags: ["Accounting"]
---

# Retrieves attachments for a specific invoice or purchase bill

`GET /Invoices/{InvoiceID}/Attachments`

## Path parameters

- `InvoiceID` string, uuid, required

## Response `200`

Success - return response of type Attachments array of Attachments for specified Invoices

- Attachments
  - `Attachments` Attachment[]
    - `AttachmentID` string, uuid — Unique ID for the file
    - `FileName` string — Name of the file
    - `Url` string — URL to the file on xero.com
    - `MimeType` string — Type of file
    - `ContentLength` integer — Length of the file content
    - `IncludeOnline` boolean — Include the file with the online invoice

---

[API](https://skmtc.net/xeroapi/apis/xero-accounting-api.md) · [All operations](https://skmtc.net/xeroapi/apis/xero-accounting-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xeroapi/xero-accounting-api/versions/dc231cafd8de/schema)
