---
title: "DocumentAttachment"
version: "0.9.0"
url: "https://docs.laminapdf.com/reference/sdk/type-aliases/documentattachment/"
---

# DocumentAttachment

```ts
type DocumentAttachment = AttachmentJs;
```

Defined in: [packages/sdk/src/types.ts:873](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/types.ts#L873)

A file the document carries ([Document.attachments](/reference/sdk/classes/document.md#attachments)): its `id` for the attachment edits,
its `key` in the document's list, `name`, `description`, `mime` type, `size` in bytes and dates
(`created`, `modified`, PDF dates) as the file states them, whether it states a checksum
(`hasChecksum`), its `relationship` to what it is associated with, whether its bytes are in the
document (`embedded`), and what holds it (`holders`).

## Since

0.6.0
