Skip to main content

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.

The standards decide, not any one reader

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​

ValueStandardUse it for
a-2bPDF/A-2bThe default. The page looks the same in any reader, years from now
a-2uPDF/A-2u2b, plus every character copies and searches as the one drawn. Costs nothing extra here
a-2aPDF/A-2a2u, plus the document is tagged with its logical structure
a-3b, a-3u, a-3aPDF/A-3The same three levels, for a document that embeds files (e-invoices with their XML, for example)
a-4PDF/A-4 (PDF/A-4f with embedded files)Archival over PDF 2.0
a-nonenoneWaives 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-2u or a-2a becomes a-3u or a-3a, keeping its level;
  • a document written as PDF 2.0 (by pdfVersion, or by a claim defined over 2.0 such as ua-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.
Encrypted PDFs are 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.

A second opinion on a PDF/A-4 claim

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 mustBecause
not be encrypted, when it claims PDF/APDF/A forbids encryption: an encrypted document is simply not archival
use fonts whose licence allows embedding, when it supplies its ownPDF/A embeds every font used
only contain characters some available font can drawan empty box in place of a character is not archival content
name a signature.timestampServer, when it is signed under a-4PDF/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-4a 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:

KeyWithout it
descriptionthe 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
relationshipdata 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
mimeTypederived 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​

ValueStandardWritten as
ua-1PDF/UA-1 (ISO 14289-1)PDF 1.7, beside a-2* or a-3*
ua-2PDF/UA-2 (ISO 14289-2)PDF 2.0, beside a-4
wtpdf-accessibility, wtpdf-reuseWell-Tagged PDF 1.0PDF 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" }
]
ValueProfileThe XML is related to the page as
factur-x-minimumMINIMUM: the header and totalsdata
factur-x-basicWlBASIC WL: everything but the linesdata
factur-x-basicBASIC: the lines, without their descriptionsalternative, source or data
factur-x-en16931EN 16931: the European norm in fullalternative, source or data
factur-x-extendedEXTENDED: the norm and what it has no place foralternative, source or data
factur-x-xrechnungXRECHNUNG, for German public buyersalternative

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 alternative for BASIC, EN 16931 and EXTENDED. source and data are France's options there, and the render notes that a German recipient expects alternative.
  • The claim needs the archival claim it rides on. The default and a-3* give PDF/A-3. a-4 gives 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 mimeType is not text/xml, when its relationship is 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.

A second opinion in Adobe Acrobat

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:

ClaimOutputCan stand beside
default, a-2*, a-3*PDF 1.7ua-1
a-4PDF 2.0ua-2, wtpdf-*
ua-1PDF 1.7a-2*, a-3*
ua-2, wtpdf-*PDF 2.0a-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​

ValueClass
strictISO/IEC 29500 Strict
transitionalISO/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-2b beside a-4, or ua-1 beside ua-2 or 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-2b beside ua-2, or ua-1 beside a-4;
    • a claim against the pdfVersion pin;
    • a PDF/A claim beside encryption;
    • signature.signingType: "Detached" under a-4;
    • under an accessibility claim, a missing metadata.title, metadata.lang, image alt or svg title/desc, viewerPreferences.displayDocTitle: false, encryption.encryptionType: "aes256Gcm" beside ua-1, and outlines beside ua-2 or a WTPDF level (see Accessibility).
  • 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 errorCodes carries CONFORMANCE_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.
Check errorCodes before handing a document on

A 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.