# PDFDocument.pdfA

```ts
get pdfA(): PDFAClaim | null
```

The PDF/A conformance the file claims in its XMP metadata (`{ part: 2, conformance: 'B' }`), or `null`. A claim, not a check: the SDK does not validate it, and does not check what it writes against PDF/A, so a saved file keeps the claim only when nothing changed it. A changed file is saved without the claim, a plain PDF; when the claim cannot be edited out of the metadata, the metadata packet is removed, and when that cannot be done either `save()` fails with `EXPORT_FAILED` rather than hand out a file that claims PDF/A. A claim stored in compressed metadata, or in a packet over 1 MiB, is not read.

- Kind: getter
- Since: 1.0.0

Returns `PDFAClaim | null`: `{ part, conformance? }`, or `null`.

Throws:

- `DOCUMENT_CLOSED` — read on a closed document.

```ts
if (doc.pdfA) console.log('PDF/A-' + doc.pdfA.part + (doc.pdfA.conformance ?? ''));
```

Part of [PDFDocument](https://kernstra.com/docs/web-sdk/api/pdfdocument) in the Kernstra Web SDK 1.0.0 API reference.

Web page: https://kernstra.com/docs/web-sdk/api/pdfdocument/pdfa
