---
title: "AttachmentFile"
version: "0.9.0"
url: "https://docs.laminapdf.com/reference/sdk/interfaces/attachmentfile/"
---

# AttachmentFile

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

An attached file's bytes ([Document.attachmentBytes](/reference/sdk/classes/document.md#attachmentbytes)), exactly as attached, and how they
compare with the MD5 checksum the file states: `"matches"`, `"mismatch"` (a warning: the bytes
changed since the checksum was written) or `"absent"`.

## Since

0.6.0

## Properties

### bytes

```ts
readonly bytes: Uint8Array<ArrayBuffer>;
```

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

***

### checksum

```ts
readonly checksum: "absent" | "matches" | "mismatch";
```

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