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

# MetadataEditOptions

Defined in: [packages/sdk/src/transaction.ts:36](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/transaction.ts#L36)

Options for `setMetadata`.

## Since

0.2.0

## Properties

### at?

```ts
readonly at?: string;
```

Defined in: [packages/sdk/src/transaction.ts:38](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/transaction.ts#L38)

The modification date to record, a PDF date from your clock (`D:20261110093000Z`).

***

### replaceMalformed?

```ts
readonly replaceMalformed?: boolean;
```

Defined in: [packages/sdk/src/transaction.ts:40](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/transaction.ts#L40)

Replace XMP metadata that can't be read, losing what it held (otherwise `malformed-xmp`).
