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

# AttachmentRelationship

```ts
type AttachmentRelationship = NonNullable<AttachFileJs["relationship"]>;
```

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

How an attached file relates to what it is associated with: `"source"`, `"data"`,
`"alternative"` (an e-invoice's XML), `"supplement"`, `"encryptedPayload"`, `"formData"`,
`"schema"` or `"unspecified"`.

## Since

0.6.0
