> For the complete documentation index, see [llms.txt](https://docs.autentique.com.br/api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.autentique.com.br/api/mutations/criando-um-documento/pdf-a.md).

# PDF/A

PDF/A is an international standard for the long-term archiving and preservation of digital documents.

When the `pdfa` option is enabled, the platform preserves PDF/A compliance for documents originally uploaded in this format.

#### How It Works

When a PDF/A file is uploaded during document creation, enabling the `pdfa` setting ensures that the file remains compliant with the PDF/A standard after processing and signing.

{% hint style="warning" %}
**Warning:** The platform does not convert standard PDF files to PDF/A. This setting only preserves the compliance of documents originally uploaded in PDF/A format.
{% endhint %}

#### When to Use It

Use this option when you need to comply with digital archiving, document preservation, or regulatory requirements that mandate the PDF/A standard.

#### Example

```json
{
  name: "PDF/A Document",
  configs: {
    pdfa: true
  }
}
```

#### Settings Applied Automatically

When `pdfa: true` is provided in the `CreateDocument` mutation, the system automatically adjusts certain settings required to preserve PDF/A compliance:

| Setting                           | Applied value |
| --------------------------------- | ------------- |
| `document.configs.lock_user_data` | `true`        |
| `document.new_signature_style`    | `true`        |

You do not need to set these parameters manually, as they are applied automatically when the document is created.

#### Notes

* The original file must comply with the PDF/A standard.
* Standard PDF files are not automatically converted to PDF/A.
* If the uploaded document is not a valid PDF/A file, enabling this setting will not change its format.
