PDF-A3-AF ISO 19005-3 PDF/A-3b INT FATALE ABLEHNUNG
PDF-A3-AF — Fehlendes /AF-Array oder /AFRelationship bei eingebettetem XML
Regeldefinition & Auswirkung auf die Annahme
ISO 19005-3 (PDF/A-3) sowie ZUGFeRD 2.2 / Factur-X 1.0.07 verlangen, dass die eingebettete XML-Datei ('factur-x.xml' bzw. 'xrechnung.xml') im /AF-Array des PDF-Katalogs verlinkt ist, ein gültiges /AFRelationship (/Data, /Alternative oder /Source) besitzt und den MIME-Typ /text#2Fxml trägt.
Häufige Ursachen in ERP- & Rechnungsprogrammen
Standard-PDF-Bibliotheken hängen die XML-Datei nur als gewöhnlichen PDF-1.7-Anhang an, ohne das PDF/A-3-spezifische /AF-Array im Document Catalog und /AFRelationship zu setzen.
Schritt-für-Schritt-Behebung
Betten Sie die Datei als 'factur-x.xml' mit /AFRelationship, /Subtype /text#2Fxml und /Params << /ModDate ... >> ein und referenzieren Sie das Filespec-Objekt im Katalog-Array /AF.
Vergleich: Fehlerhaftes vs. Konformes XML
PDF Catalog & Filespec Dictionary (ISO 19005-3)
ABGELEHNT
<< /Type /Filespec
/F (invoice.xml)
/UF (invoice.xml)
% Missing /AFRelationship and missing Catalog /AF array!
/EF << /F 12 0 R >>
>> KONFORM
% In Document Catalog: /AF [ 11 0 R ]
11 0 obj
<< /Type /Filespec
/F (factur-x.xml)
/UF (factur-x.xml)
/AFRelationship /Data
/EF << /F 12 0 R /UF 12 0 R >>
>>
endobjEmbedded Stream Dictionary (/EmbeddedFile)
ABGELEHNT
12 0 obj
<< /Type /EmbeddedFile
% Missing /Subtype /text#2Fxml and missing /Params << /ModDate ... >>
/Length 4120
>> KONFORM
12 0 obj
<< /Type /EmbeddedFile
/Subtype /text#2Fxml
/Params << /ModDate (D:20261117120000Z) /Size 4120 >>
/Length 4120
>>