Conformance
Every PDF is archival by default: it is written to PDF/A, the ISO standard for long-term archiving, without asking. A document can claim another PDF/A part, add an accessibility claim (PDF/UA, Well-Tagged PDF), or name the Office Open XML class its DOCX conforms to.
A claim is written into the file only when the file meets it. When it cannot be met, the claim is left out and the render says why: a document is never labelled with a standard it does not satisfy.
Every render checks the finished file against each standard it claims, before the file is delivered. You do not need a validator of your own to rely on a claim the file carries.
DocPayload writes every file to the ISO standards it follows, not to the behaviour of a particular PDF reader or word processor. Readers change on their own schedule, so a file shaped around one reader's current behaviour could break with its next update, or in another reader. When a reader declines a file that is correct by the standard, the gap is the reader's: DocPayload does not drop a claim, or an entry the standard provides for, to suit it. Where a choice of yours affects which readers can open a file, such as encryption, or where a reader is known to draw a correct file otherwise, such as Word with a translucent gradient in VML, these pages say so.
Declaring a claim
Claims live in metadata.conformance, one list per output format:
{
"document": {
"metadata": {
"title": "Annual Report 2026",
"lang": "en-CA",
"conformance": { "pdf": ["a-2u", "ua-1"], "docx": ["strict"] }
},
"content": [
{ "h1": "Annual Report 2026" },
{ "p": "Report content goes here." }
]
}
}
The list is a set of overrides, not a complete list. A family it does not mention keeps its default, so ["ua-2"] still produces an archival file. Order does not matter, and each standard can be claimed at one level only: two PDF/A parts, or two PDF/UA parts, are refused as a contradiction.
PDF/A: archival
| Value | Standard | Use it for |
|---|---|---|
a-2b | PDF/A-2b | The default. The page looks the same in any reader, years from now |
a-2u | PDF/A-2u | 2b, plus every character copies and searches as the one drawn. Costs nothing extra here |
a-2a | PDF/A-2a | 2u, plus the document is tagged with its logical structure |
a-3b, a-3u, a-3a | PDF/A-3 | The same three levels, for a document that embeds files (e-invoices with their XML, for example) |
a-4 | PDF/A-4 (PDF/A-4f with embedded files) | Archival over PDF 2.0 |
a-none | none | Waives the archival default |
Without a PDF/A value, a document is claimed as a-2b. Some cases move the claim on their own:
- a document with attachments moves to part 3, since part 2 does not allow embedded files and part 3 exists for them: the default becomes PDF/A-3b, and a stated
a-2uora-2abecomesa-3uora-3a, keeping its level; - a document written as PDF 2.0 (by
pdfVersion, or by a claim defined over 2.0 such asua-2) is claimed as PDF/A-4; - a PDF 2.0 document with attachments is claimed as PDF/A-4f, the level of part 4 that admits embedded files. So is a tagged 2.0 document with formulas, whose MathML is attached to each formula as an embedded file;
- an encrypted document is not archival.
PDF/A forbids encryption, and the encryption is what you asked for, so the default gives way to it. An encrypted PDF is delivered without its PDF/A claim, and the render notes it. A definition that claims a PDF/A part and also sets encryption is refused: choose one. To keep a document both archival and confidential, leave the PDF unencrypted and protect it where it is stored and sent.
The renderer has already checked the claim. For an independent second opinion: as of October 2026, Adobe Acrobat's Preflight verifies every PDF/A file except PDF/A-4, so for a PDF/A-4 file use veraPDF (https://verapdf.org), the open-source reference validator for PDF/A.
a-none turns archival off explicitly, for any other document that must not be archival:
"metadata": { "conformance": { "pdf": ["a-none"] } }
An empty list, like an absent conformance block, changes nothing.
What PDF/A asks of you
Almost everything PDF/A requires is the renderer's job: embedded and subset fonts, colour profiles, metadata, and none of the features the standard bans. A few things depend on the document:
| The document must | Because |
|---|---|
| not be encrypted, when it claims PDF/A | PDF/A forbids encryption: an encrypted document is simply not archival |
| use fonts whose licence allows embedding, when it supplies its own | PDF/A embeds every font used |
| only contain characters some available font can draw | an empty box in place of a character is not archival content |
name a signature.timestampServer, when it is signed under a-4 | PDF/A-4 requires a timestamp on the signature. Without one the document is signed and delivered without its PDF/A claim, and the render names the key |
not use signature.signingType: "Detached" under a-4 | a PDF/A-4 signature is a PAdES signature: the combination is refused |
Attachments
Three keys describe an attachment to the people and archives that open it. None is required, and each has a fallback, but only you know the right value:
| Key | Without it |
|---|---|
description | the file name is written as the description, and a notice says so: a reader deciding whether to open the file deserves a sentence about what it is. PDF/UA-2 requires a description on every embedded file |
relationship | data is written. Each value has its own condition in the PDF standard, and only you know which holds: set alternative where the attachment and the page are two renderings of the same content (an e-invoice's XML), source where it is the original the PDF was made from |
mimeType | derived from the file extension, and application/octet-stream when the extension is unknown. Set it where a profile names an exact type |
PDF/UA and Well-Tagged PDF: accessibility
| Value | Standard | Written as |
|---|---|---|
ua-1 | PDF/UA-1 (ISO 14289-1) | PDF 1.7, beside a-2* or a-3* |
ua-2 | PDF/UA-2 (ISO 14289-2) | PDF 2.0, beside a-4 |
wtpdf-accessibility, wtpdf-reuse | Well-Tagged PDF 1.0 | PDF 2.0. Each implies ua-2, and both can be claimed together |
An accessibility claim tags the document for screen readers and other assistive technology, and asks the author for a few facts only the author holds: the title, the language, a description of every picture. What a claim writes, the keys that supply those facts, and what is refused or withheld under a claim are on Accessibility.
Factur-X and ZUGFeRD: e-invoices
A hybrid e-invoice is a PDF/A-3 invoice for the reader that carries the same invoice as structured XML for the machine. Factur-X (France) and ZUGFeRD (Germany) are one specification, and a document claims it as a profile. The profile implies a-3b, so no PDF/A part needs naming; name one to claim another level (a-3u, a-3a) or a-4:
"metadata": { "conformance": { "pdf": ["factur-x-en16931"] } },
"attachments": [
{ "fileName": "factur-x.xml", "filePath": "invoices/2026-0418.xml", "relationship": "alternative",
"description": "The same invoice as Factur-X XML" }
]
| Value | Profile | The XML is related to the page as |
|---|---|---|
factur-x-minimum | MINIMUM: the header and totals | data |
factur-x-basicWl | BASIC WL: everything but the lines | data |
factur-x-basic | BASIC: the lines, without their descriptions | alternative, source or data |
factur-x-en16931 | EN 16931: the European norm in full | alternative, source or data |
factur-x-extended | EXTENDED: the norm and what it has no place for | alternative, source or data |
factur-x-xrechnung | XRECHNUNG, for German public buyers | alternative |
The XML is an ordinary attachment, found by its name: factur-x.xml, or xrechnung.xml for the XRECHNUNG profile. Its type is text/xml, set for you when mimeType is left out. When the claim holds, the file's metadata names the profile, the version and the file, so a receiving system knows the PDF is an invoice and where its data is.
- Germany requires
alternativefor BASIC, EN 16931 and EXTENDED.sourceanddataare France's options there, and the render notes that a German recipient expectsalternative. - The claim needs the archival claim it rides on. The default and
a-3*give PDF/A-3.a-4gives PDF/A-4f, which the specification allows as an option. - The claim is withheld, with the reason, when no attachment has the profile's file name, when its
mimeTypeis nottext/xml, when itsrelationshipis not one the profile allows, or when the PDF/A claim itself is withheld (an encrypted document, for one).
The profile is granted only once the finished file is checked to declare it and to carry the invoice as the profile requires.
The renderer checks how the file carries the XML, not what the XML says: the invoice data is yours to produce, valid against EN 16931 and the profile you claim. France's e-invoicing reform takes BASIC WL (in its first year only), EN 16931 and EXTENDED.
The renderer has already checked how the file carries the invoice. If you also check it in Acrobat, expect the following.
As of November 2026, Acrobat's Preflight profile "Verify compliance with ZUGFeRD" was last updated in March 2021 and is built on the ZUGFeRD 2.0 schemas, so it lags the current specification (Factur-X 1.09.2 / ZUGFeRD 2.5.2):
- EN 16931 invoices are checked normally.
- EXTENDED is reported as "ZUGFeRD XML is not valid", for the specification's own official EXTENDED example as well.
- XRECHNUNG is reported as "ZUGFeRD entries in XMP invalid or missing": the profile does not know that level.
- When a document also claims PDF/UA, Acrobat's Standards panel shows no Verify Conformance button. Open Preflight (Shift+Ctrl+X) and run the profile from there.
For a second opinion on an EXTENDED or XRECHNUNG invoice, use a validator that follows the current specification, such as the open-source Mustang validator (https://www.mustangproject.org).
Claims and PDF versions
PDF/A parts 2 and 3 and PDF/UA-1 are defined over PDF 1.7. PDF/A-4, PDF/UA-2 and Well-Tagged PDF are defined over PDF 2.0. Claims from the two sides cannot be combined:
| Claim | Output | Can stand beside |
|---|---|---|
default, a-2*, a-3* | PDF 1.7 | ua-1 |
a-4 | PDF 2.0 | ua-2, wtpdf-* |
ua-1 | PDF 1.7 | a-2*, a-3* |
ua-2, wtpdf-* | PDF 2.0 | a-4 (also what the default becomes) |
metadata.pdfVersion pins the output to "1.7" or "2.0". Without it, the version follows the claims. A pin is never overridden: a claim it contradicts, such as ua-1 with "2.0", is refused before anything is rendered. What else makes a document PDF 2.0 is on Output formats.
DOCX: Office Open XML class
| Value | Class |
|---|---|
strict | ISO/IEC 29500 Strict |
transitional | ISO/IEC 29500 Transitional |
A package conforms to one class, so the two cannot be claimed together. A document that claims no class is written as Transitional.
A claimed class is produced as claimed: what Strict cannot carry is left out and reported, never written in the other class. Strict has no vector shapes, so under strict svg drawings and watermarks are not written, and a signed document's visible signature is not drawn: the package is still signed. The full list is on Output formats.
The finished package is checked against the class it claims before the class is written into it. A package that does not hold to its class is delivered without that class, and the render reports an error.
When a claim cannot be made
- Refused before rendering. A contradiction the definition shows on its own is a validation error: nothing is rendered or billed, and the message names the key. The schema refuses:
- two parts of one standard, such as
a-2bbesidea-4, orua-1besideua-2or a WTPDF level, and two Factur-X profiles; - a Factur-X profile beside
a-none: an e-invoice is a PDF/A file; - a 1.7 claim beside a 2.0 one, such as
a-2bbesideua-2, orua-1besidea-4; - a claim against the
pdfVersionpin; - a PDF/A claim beside
encryption; signature.signingType: "Detached"undera-4;- under an accessibility claim, a missing
metadata.title,metadata.lang, imagealtor svgtitle/desc,viewerPreferences.displayDocTitle: false,encryption.encryptionType: "aes256Gcm"besideua-1, andoutlinesbesideua-2or a WTPDF level (see Accessibility).
- two parts of one standard, such as
- Withheld at render. When the finished file would not meet a claim, whether you asked for it or it is the archival default, the document is still delivered and counted, without that claim. The response's
errorCodescarriesCONFORMANCE_WITHHELD, so check it before handing the document on. The reason, the clause and the key to change are in the render's diagnostics: turn on diagnostics while authoring to see them in the document's appendix. - Not a withhold. An encrypted document that claims no PDF/A part is not archival by design: nothing you asked for is lost, so there is no code, only a note in the diagnostics.
errorCodes before handing a document onA document whose claim was withheld is still delivered. If your users rely on PDF/A or PDF/UA, treat CONFORMANCE_WITHHELD in the response's errorCodes as a failure in your integration.