---
title: "GET /attachments"
method: GET
path: "/attachments"
tags: ["Attachments"]
---

# GET /attachments

`GET /attachments`

Gets all invoice & bill attachments for a business.

## Query parameters

- `businessName` string, required
- `serviceName` 'freshbooks' | 'quickbooks' | 'xero' | 'sageBusinessCloud' | 'sageIntacct' | 'dynamicsBusinessCentral' | 'zohoBooks', required
- `offset` number
- `limit` number
- `orderBy` string
- `id` string

## Response `200`

- GetAttachmentResponseV1Dto
  - `count` number, required
  - `data` GetAttachmentData[], required
    - `id` string, required
    - `url` string, uri, required
    - `fileName` string
    - `contentType` string
    - `uploadDate` string
    - `fileSize` number, float
    - `sourceModifiedDate` string
    - `link` AttachmentLink
      - `type` 'bill' | 'invoice' | 'customer' | 'vendor' | 'deposit' | 'journalEntry' | 'billPayment' | 'invoicePayment' | 'expense' | 'inventory' | 'purchaseOrder' | 'invoiceCreditNote' | 'billCreditNote' | 'bankTransaction' | 'bankTransfer' | 'account'
      - `id` string

## Other responses

- `202` — Data in pending state
- `204` — No data available
- `400` — Bad Request Error - Thrown if fields sent via query does not follow specifications
- `401` — Unauthorized - Not logged in or log in expired
- `403` — Forbidden - Not enough permission
- `500` — Server Error

---

[API](https://skmtc.net/railz/apis/fis-accounting-data-as-a-service-api.md) · [All operations](https://skmtc.net/railz/apis/fis-accounting-data-as-a-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/railz/fis-accounting-data-as-a-service-api/revisions/5cdfae3fa1fa/schema)
