Generate PDF/A-compliant documents for long-term preservation, legal archival, and regulatory compliance.
PDF/A is an ISO standard (ISO 19005) for long-term document preservation. It ensures that a PDF is self-contained: all fonts are embedded, colors are device-independent, and no external dependencies exist. PDF/A is required in legal filings, government records, regulatory submissions, medical records, and any context where documents must remain readable decades from now.Forme produces PDF/A-2 at conformance levels 2b, 2u, and 2a, verified with veraPDF as a CI gate: every corpus document is rendered as PDF/A and PDF/UA-1 together and validated against both profiles on every commit.
Files produced before 0.16.0 are not valid PDF/A. Earlier versions embedded an invalid sRGB ICC profile, so pdfa output from 0.15.0 and below fails validation (verapdf -f 2b file.pdf reports FAIL). Re-render those documents with 0.16.0 or later — same input, same options — and they pass. PDF/A also requires embeddable fonts: register @formepdf/fonts-standard (or your own). If a font can’t be embedded, the render fails with a named error rather than emitting a file that falsely claims conformance.
Enabling PDF/A
Add the pdfa prop to your Document component with the desired conformance level:
Visual preservation. Guarantees the document looks the same when opened years later. The most common level for general archival.
"2a"
PDF/A-2a
Visual preservation + full tagged structure. Requires the same structure tree as PDF/UA (reading order, role map, alt text). Use when both archival and accessibility are required.
{/* Most common -- visual preservation */}<Document pdfa="2b">...</Document>{/* Tagged structure required (forces tagging, same as pdfUa) */}<Document pdfa="2a">...</Document>
If you are unsure which level to use, start with "2b". It covers the majority of archival requirements and has the broadest acceptance.
PDF/A-3 (3b, 3u, 3a)
PDF/A-3 extends PDF/A-2 with permission for embedded file attachments (XML data, source spreadsheets, machine-readable invoices) — same rule set otherwise, same level semantics:
Attachments under PDF/A-2 are refused with a named error — part 2 permits only PDF/A attachments, which the engine cannot verify; the error tells you to use "3b". The main use case, Factur-X/ZUGFeRD e-invoice containers, has its own guide.
PDF/A-4 (4, 4f) — the PDF 2.0 archival standard
ISO 19005-4:2020 is defined over PDF 2.0 (ISO 32000-2). Claiming it implies pdfVersion: "2.0" — the header, XMP-only document metadata (no trailer Info dictionary), and one consequence worth reading twice:
Every font must be embedded under PDF 2.0. ISO 32000-2 removes the special provision for the standard-14 fonts, so Forme’s non-embedded Helvetica/Times/Courier defaults hard-error under pdfa="4" (and under plain pdfVersion: "2.0"). Register @formepdf/fonts-standard or your own fonts — the same requirement the 1.7 PDF/A levels already carry, now triggered by the version itself.
PDF/A-4 is not an accessibility claim. Part 4 drops the a/b/u split entirely — there is no Level A, and no tagging requirement. Accessibility moved wholly to PDF/UA-2: compose pdfa="4" with pdfUa2 for a file that is archival AND accessible on PDF 2.0 (on PDF 1.7, the equivalent pair is pdfa="2a"/"3a" + pdfUa). “PDF/A-4 verified” alone says the file will open identically in thirty years; it says nothing about screen readers.
// Plain A-4 — no attachments permitted beyond other PDF/A filesconst pdf = await renderDocument(<Document pdfa="4">...</Document>);// A-4f — arbitrary embedded files, and AT LEAST ONE IS REQUIRED:// an A-4f file with an empty EmbeddedFiles tree is itself// non-conformant (ISO 19005-4 Annex A; veraPDF clause 6.9-t5), so// Forme refuses a "4f" claim with nothing attached.const pdf4f = await renderDocument(<Document pdfa="4f">...</Document>, { attachments: [{ name: 'data.csv', data: csvBytes, mimeType: 'text/csv' }],});
Both levels are veraPDF-validated in CI over the same corpus as the 1.7 levels. The 1.7-based claims (pdfa 2x/3x, pdfUa) are contradictions under pdfVersion: "2.0" and error by name. The HTML path accepts pdf_a: "4"; "4f" there is refused until the HTML path grows an attachments option.
What Forme Handles
When pdfa is set, Forme automatically ensures the output conforms to the standard:
Font embedding — All fonts (including subsets) are fully embedded in the PDF. No external font references.
sRGB output intent — An sRGB ICC color profile is embedded as the document’s output intent, ensuring colors render consistently across devices.
XMP metadata — Document title, author, and conformance level are written as XMP metadata packets (required by PDF/A).
Document ID — A unique /ID array is written in the PDF trailer (required by PDF/A).
No encryption — PDF/A prohibits encryption. If you need to restrict access, use application-level controls instead of PDF encryption.
No JavaScript — PDF/A prohibits embedded JavaScript. Forme does not embed JavaScript in any case, so this is always satisfied.
Combining with PDF/UA
For documents that need both archival compliance and accessibility (common in government and healthcare), combine both props:
This produces a PDF that satisfies both PDF/UA-1 and PDF/A-2b. See the Accessibility guide for PDF/UA details.Using pdfa="2a" also works here. PDF/A-2a requires the same tagged structure that PDF/UA demands, so the two standards align naturally.
Known Limitations
No encryption. PDF/A explicitly prohibits document encryption. Attempting to combine encryption with PDF/A will produce a non-conformant file.
Level Comparison
Capability
PDF/A-2b
PDF/A-2a
Visual preservation
Yes
Yes
Font embedding
Yes
Yes
sRGB output intent
Yes
Yes
XMP metadata
Yes
Yes
Tagged structure tree
No
Yes (required)
Form fields (AcroForm)
Yes
No
Combined with PDF/UA
Yes
Yes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/schema.json","name":"Forme","colors":{"primary":"#111827"},"logo":{"light":"https://mintcdn.com/dataferry/17x8hw9f6Ck71H5L/wordmark.svg?fit=max\u0026auto=format\u0026n=17x8hw9f6Ck71H5L\u0026q=85\u0026s=d4ba63c317f9a3d4275f778f2b3a5f94","dark":"https://mintcdn.com/dataferry/17x8hw9f6Ck71H5L/wordmark-white.svg?fit=max\u0026auto=format\u0026n=17x8hw9f6Ck71H5L\u0026q=85\u0026s=591037ec75aad5d13e1357f17c70adaf"},"favicon":"https://mintcdn.com/dataferry/17x8hw9f6Ck71H5L/favicon.ico?fit=max\u0026auto=format\u0026n=17x8hw9f6Ck71H5L\u0026q=85\u0026s=13d3ef96b92803413bd3ee7553ba8e62","styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"dataferry","hasAudioNarration":false,"actualSubdomain":"dataferry","customDomains":["docs.formepdf.com"],"gitSource":{"type":"github","owner":"danmolitor","repo":"forme","deployBranch":"main","contentDirectory":"docs","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":false},"entitlements":{},"buildId":"6aee04ff4348304151cb5f42","clientVersion":"0.0.4167","searchFilterCounts":[{"language":"default","tag":"Template Library","count":31},{"language":"default","tag":"Hosted API","count":13},{"language":"default","tag":"Reference","count":10},{"language":"default","tag":"Reports, Logistics \u0026 Certificates","count":10},{"language":"default","tag":"Correspondence \u0026 Legal","count":10},{"language":"default","tag":"Billing \u0026 Finance","count":10},{"language":"default","tag":"Getting Started","count":8},{"language":"default","tag":"Guides","count":7},{"language":"default","tag":"Enterprise","count":4},{"language":"default","tag":"Self-Hosted API Reference","count":4}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"archival","slug":"/archival","pageMetadata":{"title":"Archival (PDF/A)","sidebarTitle":"Archival","description":"Generate PDF/A-compliant documents for long-term preservation, legal archival, and regulatory compliance.","href":"/archival"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Generate PDF/A-compliant documents for long-term preservation, legal archival, and regulatory compliance.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`PDF/A is an ISO standard (ISO 19005) for long-term document preservation. It ensures that a PDF is self-contained: all fonts are embedded, colors are device-independent, and no external dependencies exist. PDF/A is required in legal filings, government records, regulatory submissions, medical records, and any context where documents must remain readable decades from now.`}),`\n`,_jsxs(_components.p,{children:[`Forme produces PDF/A-2 at conformance levels `,_jsx(_components.strong,{children:`2b`}),`, `,_jsx(_components.strong,{children:`2u`}),`, and `,_jsx(_components.strong,{children:`2a`}),`, verified with `,_jsx(_components.a,{href:`https://verapdf.org/`,children:`veraPDF`}),` as a CI gate: every corpus document is rendered as PDF/A and PDF/UA-1 together and validated against both profiles on every commit.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Files produced before 0.16.0 are not valid PDF/A.`}),` Earlier versions embedded an invalid sRGB ICC profile, so `,_jsx(_components.code,{children:`pdfa`}),` output from 0.15.0 and below fails validation (`,_jsx(_components.code,{children:`verapdf -f 2b file.pdf`}),` reports FAIL). Re-render those documents with 0.16.0 or later — same input, same options — and they pass. PDF/A also requires embeddable fonts: register `,_jsx(_components.a,{href:`https://www.npmjs.com/package/@formepdf/fonts-standard`,children:`@formepdf/fonts-standard`}),` (or your own). If a font can’t be embedded, the render fails with a named error rather than emitting a file that falsely claims conformance.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`enabling-pdf/a`,children:`Enabling PDF/A`}),`\n`,_jsxs(_components.p,{children:[`Add the `,_jsx(_components.code,{children:`pdfa`}),` prop to your Document component with the desired conformance level:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003cDocument pdfa=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2b\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` title=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Contract Agreement\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` author=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Legal Dept\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \u003cPage size=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` margin={54}>`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \u003cText style={{ fontSize: 24, fontWeight: 700 }}>Service Agreement\u003c/Text>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \u003cText style={{ fontSize: 10, lineHeight: 1.6 }}>`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` This document is PDF/A-2b compliant `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` long-term archival.`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c/Text>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c/Page>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c/Document>`})}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`supported-levels`,children:`Supported Levels`}),`\n`,_jsx(_components.p,{children:`Forme supports two PDF/A conformance levels:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Level`}),_jsx(_components.th,{children:`Standard`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`\"2b\"`})}),_jsx(_components.td,{children:`PDF/A-2b`}),_jsx(_components.td,{children:`Visual preservation. Guarantees the document looks the same when opened years later. The most common level for general archival.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`\"2a\"`})}),_jsx(_components.td,{children:`PDF/A-2a`}),_jsx(_components.td,{children:`Visual preservation + full tagged structure. Requires the same structure tree as PDF/UA (reading order, role map, alt text). Use when both archival and accessibility are required.`})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`/* Most common -- visual preservation */`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003cDocument pdfa=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2b\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`>...\u003c/Document>`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`/* Tagged structure required (forces tagging, same as pdfUa) */`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003cDocument pdfa=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2a\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`>...\u003c/Document>`})]}),`\n`]})})}),`\n`,_jsxs(Tip,{children:[`If you are unsure which level to use, start with `,_jsx(_components.code,{children:`\"2b\"`}),`. It covers the majority of archival requirements and has the broadest acceptance.`]}),`\n`,_jsxs(Heading,{level:`3`,id:`pdf/a-3-3b-3u-3a`,children:[`PDF/A-3 (`,_jsx(_components.code,{children:`3b`}),`, `,_jsx(_components.code,{children:`3u`}),`, `,_jsx(_components.code,{children:`3a`}),`)`]}),`\n`,_jsx(_components.p,{children:`PDF/A-3 extends PDF/A-2 with permission for embedded file attachments (XML data, source spreadsheets, machine-readable invoices) — same rule set otherwise, same level semantics:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` pdf = `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` renderDocument(\u003cDocument pdfa=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"3b\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`>...\u003c/Document>, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` attachments: [{ name: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'data.xml'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, data: xmlBytes, mimeType: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'application/xml'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }],`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Attachments under PDF/A-`,_jsx(_components.strong,{children:`2`}),` are refused with a named error — part 2 permits only PDF/A attachments, which the engine cannot verify; the error tells you to use `,_jsx(_components.code,{children:`\"3b\"`}),`. The main use case, Factur-X/ZUGFeRD e-invoice containers, has `,_jsx(_components.a,{href:`/einvoicing`,children:`its own guide`}),`.`]}),`\n`,_jsxs(Heading,{level:`3`,id:`pdf/a-4-4-4f-—-the-pdf-2-0-archival-standard`,children:[`PDF/A-4 (`,_jsx(_components.code,{children:`4`}),`, `,_jsx(_components.code,{children:`4f`}),`) — the PDF 2.0 archival standard`]}),`\n`,_jsxs(_components.p,{children:[`ISO 19005-4:2020 is defined over `,_jsx(_components.strong,{children:`PDF 2.0`}),` (ISO 32000-2). Claiming it implies `,_jsx(_components.code,{children:`pdfVersion: \"2.0\"`}),` — the header, XMP-only document metadata (no trailer Info dictionary), and one consequence worth reading twice:`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Every font must be embedded under PDF 2.0.`}),` ISO 32000-2 removes the special provision for the standard-14 fonts, so Forme’s non-embedded Helvetica/Times/Courier defaults hard-error under `,_jsx(_components.code,{children:`pdfa=\"4\"`}),` (and under plain `,_jsx(_components.code,{children:`pdfVersion: \"2.0\"`}),`). Register `,_jsx(_components.a,{href:`https://www.npmjs.com/package/@formepdf/fonts-standard`,children:`@formepdf/fonts-standard`}),` or your own fonts — the same requirement the 1.7 PDF/A levels already carry, now triggered by the version itself.`]})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`PDF/A-4 is not an accessibility claim.`}),` Part 4 drops the a/b/u split entirely — there is no Level A, and no tagging requirement. Accessibility moved wholly to `,_jsx(_components.strong,{children:`PDF/UA-2`}),`: compose `,_jsx(_components.code,{children:`pdfa=\"4\"`}),` with `,_jsx(_components.a,{href:`/accessibility#pdfua-2-pdf-20`,children:_jsx(_components.code,{children:`pdfUa2`})}),` for a file that is archival AND accessible on PDF 2.0 (on PDF 1.7, the equivalent pair is `,_jsx(_components.code,{children:`pdfa=\"2a\"`}),`/`,_jsx(_components.code,{children:`\"3a\"`}),` + `,_jsx(_components.code,{children:`pdfUa`}),`). “PDF/A-4 verified” alone says the file will open identically in thirty years; it says nothing about screen readers.`]})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Plain A-4 — no attachments permitted beyond other PDF/A files`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` pdf = `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` renderDocument(\u003cDocument pdfa=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`>...\u003c/Document>);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// A-4f — arbitrary embedded files, and AT LEAST ONE IS REQUIRED:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// an A-4f file with an empty EmbeddedFiles tree is itself`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// non-conformant (ISO 19005-4 Annex A; veraPDF clause 6.9-t5), so`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Forme refuses a \"4f\" claim with nothing attached.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` pdf4f = `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` renderDocument(\u003cDocument pdfa=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"4f\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`>...\u003c/Document>, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` attachments: [{ name: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'data.csv'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, data: csvBytes, mimeType: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'text/csv'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }],`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Both levels are veraPDF-validated in CI over the same corpus as the 1.7 levels. The 1.7-based claims (`,_jsx(_components.code,{children:`pdfa`}),` 2x/3x, `,_jsx(_components.code,{children:`pdfUa`}),`) are contradictions under `,_jsx(_components.code,{children:`pdfVersion: \"2.0\"`}),` and error by name. The HTML path accepts `,_jsx(_components.code,{children:`pdf_a: \"4\"`}),`; `,_jsx(_components.code,{children:`\"4f\"`}),` there is refused until the HTML path grows an attachments option.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`what-forme-handles`,children:`What Forme Handles`}),`\n`,_jsxs(_components.p,{children:[`When `,_jsx(_components.code,{children:`pdfa`}),` is set, Forme automatically ensures the output conforms to the standard:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Font embedding`}),` — All fonts (including subsets) are fully embedded in the PDF. No external font references.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`sRGB output intent`}),` — An sRGB ICC color profile is embedded as the document’s output intent, ensuring colors render consistently across devices.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`XMP metadata`}),` — Document title, author, and conformance level are written as XMP metadata packets (required by PDF/A).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Document ID`}),` — A unique `,_jsx(_components.code,{children:`/ID`}),` array is written in the PDF trailer (required by PDF/A).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`No encryption`}),` — PDF/A prohibits encryption. If you need to restrict access, use application-level controls instead of PDF encryption.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`No JavaScript`}),` — PDF/A prohibits embedded JavaScript. Forme does not embed JavaScript in any case, so this is always satisfied.`]}),`\n`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`combining-with-pdf/ua`,children:`Combining with PDF/UA`}),`\n`,_jsx(_components.p,{children:`For documents that need both archival compliance and accessibility (common in government and healthcare), combine both props:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003cDocument pdfUa pdfa=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2b\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` title=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Accessible Archival Report\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` lang=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"en\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`>`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \u003cPage size=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` margin={54}>`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \u003cText style={{ fontSize: 20, fontWeight: 700 }}>Annual Compliance Report\u003c/Text>`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \u003cImage src=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"./chart.png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` width={400} alt=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Compliance metrics for fiscal year 2025\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` />`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c/Page>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c/Document>`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`This produces a PDF that satisfies both PDF/UA-1 and PDF/A-2b. See the `,_jsx(_components.a,{href:`/accessibility`,children:`Accessibility guide`}),` for PDF/UA details.`]}),`\n`,_jsxs(_components.p,{children:[`Using `,_jsx(_components.code,{children:`pdfa=\"2a\"`}),` also works here. PDF/A-2a requires the same tagged structure that PDF/UA demands, so the two standards align naturally.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`known-limitations`,children:`Known Limitations`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`No encryption.`}),` PDF/A explicitly prohibits document encryption. Attempting to combine encryption with PDF/A will produce a non-conformant file.`]}),`\n`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`level-comparison`,children:`Level Comparison`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Capability`}),_jsx(_components.th,{children:`PDF/A-2b`}),_jsx(_components.th,{children:`PDF/A-2a`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Visual preservation`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Yes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Font embedding`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Yes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`sRGB output intent`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Yes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`XMP metadata`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Yes`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Tagged structure tree`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Yes (required)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Form fields (AcroForm)`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`No`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Combined with PDF/UA`}),_jsx(_components.td,{children:`Yes`}),_jsx(_components.td,{children:`Yes`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Archival (PDF/A)","sidebarTitle":"Archival","description":"Generate PDF/A-compliant documents for long-term preservation, legal archival, and regulatory compliance.","href":"/archival"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Enabling PDF/A","slug":"enabling-pdf/a","depth":2,"children":[]},{"title":"Supported Levels","slug":"supported-levels","depth":2,"children":[{"title":"PDF/A-3 (3b, 3u, 3a)","slug":"pdf/a-3-3b-3u-3a","depth":3,"children":[]},{"title":"PDF/A-4 (4, 4f) — the PDF 2.0 archival standard","slug":"pdf/a-4-4-4f-—-the-pdf-2-0-archival-standard","depth":3,"children":[]}]},{"title":"What Forme Handles","slug":"what-forme-handles","depth":2,"children":[]},{"title":"Combining with PDF/UA","slug":"combining-with-pdf/ua","depth":2,"children":[]},{"title":"Known Limitations","slug":"known-limitations","depth":2,"children":[]},{"title":"Level Comparison","slug":"level-comparison","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"dataferry","siteName":"Forme","title":"Archival (PDF/A) - Forme","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-10T02:03:20.581Z","originalFileLocation":"archival.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Generate PDF/A-compliant documents for long-term preservation, legal archival, and regulatory compliance.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Forme\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dataferry/qcBjmTWtXzpArxZx/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/dataferry/qcBjmTWtXzpArxZx/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dataferry/qcBjmTWtXzpArxZx/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dataferry/qcBjmTWtXzpArxZx/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dataferry/qcBjmTWtXzpArxZx/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dataferry/qcBjmTWtXzpArxZx/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dataferry/qcBjmTWtXzpArxZx/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dataferry/qcBjmTWtXzpArxZx/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dataferry/qcBjmTWtXzpArxZx/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Archival (PDF/A) - Forme\">\u003cmeta data-mint-head property=\"og:description\" content=\"Generate PDF/A-compliant documents for long-term preservation, legal archival, and regulatory compliance.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Forme\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.formepdf.com/archival\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://dataferry.mintlify.site/_mintlify/api/og/v2?division=Enterprise\u0026amp;title=Archival+%28PDF%2FA%29\u0026amp;description=Generate+PDF%2FA-compliant+documents+for+long-term+preservation%2C+legal+archival%2C+and+regulatory+compliance.\u0026amp;theme=a6c64918b9668bb0071d024c\u0026amp;signature=a7420d4432dc4c958ed9991a1455f93c9b3e19b52f515b88ba0759a676b44a29\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Archival (PDF/A) - Forme\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Generate PDF/A-compliant documents for long-term preservation, legal archival, and regulatory compliance.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dataferry.mintlify.site/_mintlify/api/og/v2?division=Enterprise\u0026amp;title=Archival+%28PDF%2FA%29\u0026amp;description=Generate+PDF%2FA-compliant+documents+for+long-term+preservation%2C+legal+archival%2C+and+regulatory+compliance.\u0026amp;theme=a6c64918b9668bb0071d024c\u0026amp;signature=a7420d4432dc4c958ed9991a1455f93c9b3e19b52f515b88ba0759a676b44a29\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/dataferry/qcBjmTWtXzpArxZx/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Forme\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#111827\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.formepdf.com/archival\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/archival.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.formepdf.com/#organization\",\"name\":\"Forme\",\"url\":\"https://docs.formepdf.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/dataferry/17x8hw9f6Ck71H5L/wordmark.svg?fit=max\u0026auto=format\u0026n=17x8hw9f6Ck71H5L\u0026q=85\u0026s=d4ba63c317f9a3d4275f778f2b3a5f94\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.formepdf.com#website\",\"name\":\"Forme\",\"url\":\"https://docs.formepdf.com\",\"publisher\":{\"@id\":\"https://docs.formepdf.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.formepdf.com/archival#webpage\",\"url\":\"https://docs.formepdf.com/archival\",\"name\":\"Archival (PDF/A)\",\"description\":\"Generate PDF/A-compliant documents for long-term preservation, legal archival, and regulatory compliance.\",\"dateModified\":\"2026-09-10T02:03:20.581Z\",\"isPartOf\":{\"@id\":\"https://docs.formepdf.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.formepdf.com/archival#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.formepdf.com/archival#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Enterprise\",\"item\":\"https://docs.formepdf.com/forms\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Archival (PDF/A)\",\"item\":\"https://docs.formepdf.com/archival\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.formepdf.com/archival#article\",\"headline\":\"Archival (PDF/A)\",\"name\":\"Archival (PDF/A)\",\"description\":\"Generate PDF/A-compliant documents for long-term preservation, legal archival, and regulatory compliance.\",\"url\":\"https://docs.formepdf.com/archival\",\"mainEntityOfPage\":{\"@id\":\"https://docs.formepdf.com/archival#webpage\"},\"dateModified\":\"2026-09-10T02:03:20.581Z\",\"publisher\":{\"@id\":\"https://docs.formepdf.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.formepdf.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Forme\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Forme\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/archival.md","siteName":"Forme","nav":{"global":null,"groups":[{"group":"Getting Started","pages":[{"title":"Quickstart","href":"/quickstart"},{"title":"HTML Input","sidebarTitle":"HTML Input","href":"/html"},{"title":"Svelte","sidebarTitle":"Svelte","href":"/svelte"},{"title":"Vue","sidebarTitle":"Vue","href":"/vue"},{"title":"Preact","sidebarTitle":"Preact","href":"/preact"},{"title":"Template Gallery","sidebarTitle":"JSX Starters","href":"/template-gallery"},{"title":"VS Code Extension","href":"/vscode"},{"title":"Frequently Asked Questions","sidebarTitle":"Frequently Asked Questions","href":"/faq"}]},{"group":"Template Library","pages":[{"title":"Template Library","sidebarTitle":"Overview","href":"/templates"},{"group":"Billing \u0026 Finance","pages":[{"title":"Standard Invoice","href":"/templates/invoice-standard"},{"title":"Detailed Invoice","href":"/templates/invoice-detailed"},{"title":"Credit Note","href":"/templates/credit-note"},{"title":"Receipt","href":"/templates/receipt"},{"title":"Quote","href":"/templates/quote"},{"title":"Statement","href":"/templates/statement"},{"title":"Purchase Order","href":"/templates/purchase-order"},{"title":"Remittance Advice","href":"/templates/remittance-advice"},{"title":"Expense Report","href":"/templates/expense-report"},{"title":"Payslip","href":"/templates/payslip"}]},{"group":"Correspondence \u0026 Legal","pages":[{"title":"Letterhead","href":"/templates/letterhead"},{"title":"Cover Letter","href":"/templates/cover-letter"},{"title":"Memo","href":"/templates/memo"},{"title":"Employment Contract","href":"/templates/employment-contract"},{"title":"Mutual NDA","href":"/templates/nda"},{"title":"Service Agreement","href":"/templates/service-agreement"},{"title":"Offer Letter","href":"/templates/offer-letter"},{"title":"Termination Letter","href":"/templates/termination-letter"},{"title":"Reference Letter","href":"/templates/reference-letter"},{"title":"Policy Acknowledgement","href":"/templates/policy-acknowledgement"}]},{"group":"Reports, Logistics \u0026 Certificates","pages":[{"title":"Annual Report","href":"/templates/report-annual"},{"title":"Monthly Report","href":"/templates/report-monthly"},{"title":"Lab Report (Certificate of Analysis)","href":"/templates/lab-report"},{"title":"Inspection Report","href":"/templates/inspection-report"},{"title":"Shipping Label","href":"/templates/shipping-label"},{"title":"Packing Slip","href":"/templates/packing-slip"},{"title":"Delivery Note","href":"/templates/delivery-note"},{"title":"Certificate","href":"/templates/certificate"},{"title":"Product Catalog","href":"/templates/product-catalog"},{"title":"Meeting Minutes","href":"/templates/meeting-minutes"}]}]},{"group":"Reference","pages":[{"title":"Components","sidebarTitle":"Components","href":"/components"},{"title":"Styles","sidebarTitle":"Styles","href":"/styles"},{"title":"Tailwind CSS","sidebarTitle":"Tailwind CSS","href":"/tailwind"},{"title":"Custom Fonts","sidebarTitle":"Fonts","href":"/fonts"},{"title":"Page Breaks","sidebarTitle":"Page Breaks","href":"/page-breaks"},{"title":"Charts","sidebarTitle":"Charts","href":"/charts"},{"title":"Layout API","sidebarTitle":"Layout API","href":"/layout"},{"title":"Template Mode","sidebarTitle":"Template Mode","href":"/template-mode"},{"title":"Embedded Data","sidebarTitle":"Embedded Data","href":"/embedded-data"},{"title":"Self-Hosting","sidebarTitle":"Self-Hosting","href":"/self-hosting"}]},{"group":"Hosted API","pages":[{"title":"Hosted API","sidebarTitle":"Overview","href":"/hosted-api"},{"title":"Saved Templates","sidebarTitle":"Templates","href":"/hosted-api/templates"},{"title":"Render PDF","sidebarTitle":"Render","href":"/hosted-api/render"},{"title":"Async Rendering","sidebarTitle":"Async \u0026 Webhooks","href":"/hosted-api/async"},{"title":"Certify PDF","sidebarTitle":"Certify","href":"/hosted-api/certify"},{"title":"Redact PDF","sidebarTitle":"Redact","href":"/hosted-api/redact"},{"title":"Merge PDFs","sidebarTitle":"Merge","href":"/hosted-api/merge"},{"title":"Extract Embedded Data","sidebarTitle":"Extract","href":"/hosted-api/extract"},{"title":"Resources","sidebarTitle":"Resources","href":"/hosted-api/resources"},{"title":"Documents","href":"/hosted-api/documents"},{"title":"Credentials \u0026 Certificates","sidebarTitle":"Credentials","href":"/hosted-api/credentials"},{"title":"Redaction Templates","sidebarTitle":"Redaction Templates","href":"/hosted-api/redaction-templates"},{"title":"Audit Trail","href":"/hosted-api/audit-trail"}]},{"group":"Self-Hosted API Reference","pages":[{"title":"Render PDF","sidebarTitle":"Render","href":"/api-reference/render"},{"title":"Certify PDF","sidebarTitle":"Certify","href":"/api-reference/certify"},{"title":"Redact PDF","sidebarTitle":"Redact","href":"/api-reference/redact"},{"title":"Merge PDFs","sidebarTitle":"Merge","href":"/api-reference/merge"}]},{"group":"Concepts","pages":[{"title":"Redaction","href":"/concepts/redaction"},{"title":"Digital Certification","sidebarTitle":"Certification","href":"/concepts/digital-certification"}]},{"group":"Enterprise","pages":[{"title":"Fillable Forms","sidebarTitle":"Forms","href":"/forms"},{"title":"Accessibility (PDF/UA)","sidebarTitle":"Accessibility","description":"Generate screen-reader-compatible PDFs with PDF/UA-1 compliance for government, healthcare, and legal requirements.","href":"/accessibility"},{"title":"Archival (PDF/A)","sidebarTitle":"Archival","href":"/archival"},{"title":"E-invoicing (Factur-X / ZUGFeRD)","description":"Render the invoice PDF and embed your EN 16931 XML as a validated PDF/A-3 e-invoice container — in one pass.","href":"/einvoicing"}]},{"group":"SDKs","pages":[{"title":"TypeScript SDK","sidebarTitle":"TypeScript","href":"/typescript-sdk"},{"title":"Python SDK","sidebarTitle":"Python","href":"/python-sdk"},{"title":"Go SDK","sidebarTitle":"Go","href":"/go-sdk"},{"title":"Rust Crate","sidebarTitle":"Rust","href":"/rust-sdk"}]},{"group":"Guides","pages":[{"title":"E-invoicing with a PDP or conversion service","href":"/guides/e-invoicing-with-a-pdp"},{"title":"Migrating to 0.9.0","sidebarTitle":"Migrating to 0.9.0","href":"/guides/migrating-to-0-9"},{"title":"Bring Your Own UI","sidebarTitle":"Bring Your Own UI","href":"/guides/bring-your-own-ui"},{"title":"Migrating from react-pdf","sidebarTitle":"Migrating from react-pdf","href":"/migrating-from-react-pdf"},{"title":"Replacing Puppeteer","sidebarTitle":"Replacing Puppeteer","href":"/replacing-puppeteer"},{"title":"Migrating from wkhtmltopdf","sidebarTitle":"From wkhtmltopdf","href":"/guides/migrating-from-wkhtmltopdf"},{"title":"Migrating from DomPDF","sidebarTitle":"From DomPDF","href":"/guides/migrating-from-dompdf"}]},{"group":"Changelog","pages":[{"title":"Changelog","sidebarTitle":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Archival (PDF/A) - Forme","buildId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","deploymentId":"dpl_9RFrWkXdFTJCytfx6jAofvAaEXr6","dynamics":[],"chunks":[]}