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

# MetadataPatch

```ts
type MetadataPatch = MetadataPatchJs;
```

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

Changes to the document's metadata, written to its Info dictionary and its XMP metadata
together: a value sets the field, `null` removes it, a missing key leaves it alone. Dates are
PDF dates (`D:20261110093000Z`).

## Since

0.2.0
