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

# Get Document Attachment

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

Get attachment details with for an invoice or credit note with link to download file (signed URL, valid for 1 hour)

## Path parameters

- `document_id` string, required
- `attachment_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 Attachment with the specified ID doesn't exist
- `422` — Unprocessable Entity: Invalid response data
- `500` — Internal Server Error: Unexpected server error

---

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