---
title: "Get Document Attachments"
method: GET
path: "/api/documents/{document_id}/attachments"
tags: ["Documents"]
---

# Get Document Attachments

`GET /api/documents/{document_id}/attachments`

Get all attachments for an invoice or credit note

## Path parameters

- `document_id` string, required

## Response `200`

Successful Response

- DocumentAttachment[]
  - `file_name` string, required
  - `file_type` string
  - `file_size` integer
  - `id` string, required
  - `file_url` string, nullable

## Other responses

- `401` — Unauthorized: API key is missing, invalid, or inactive
- `404` — Not Found: Document with the specified ID doesn't exist
- `422` — Unprocessable Entity: Invalid response data
- `500` — Internal Server Error: Unexpected server error

## Changes

- **2025-10-08** `1108f2708fda` — 1 info
  - api operation id `get_document_attachments_api_documents__document_id__attachments_get` removed and replaced with `get_document_attachments`

[Change history](https://skmtc.dev/e-invoice-be/apis/e-invoice-be-peppol-access-point-api/changes/api/documents/:document_id/attachments/get.md)

---

[API](https://skmtc.dev/e-invoice-be/apis/e-invoice-be-peppol-access-point-api.md) · [All operations](https://skmtc.dev/e-invoice-be/apis/e-invoice-be-peppol-access-point-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/e-invoice-be/e-invoice-be-peppol-access-point-api/revisions/a5b8396effe8/schema)
