---
title: "Creates attachment for a specific quote"
method: PUT
path: "/Quotes/{QuoteID}/Attachments/{FileName}"
tags: ["Accounting"]
---

# Creates attachment for a specific quote

`PUT /Quotes/{QuoteID}/Attachments/{FileName}`

## Path parameters

- `QuoteID` string, uuid, required
- `FileName` string, required

## Headers

- `Idempotency-Key` string

## Response `200`

Success - return response of type Attachments array of Attachment

- 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

## Other responses

- `400` — A failed request due to validation error

---

[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)
