Merge pull request #1084 from Marcel-Aimpulse/fix-xml-description

Fix xml description
This commit is contained in:
Jochen Staerk
2026-04-08 16:20:28 +02:00
committed by GitHub
11 changed files with 5 additions and 3 deletions

View File

@@ -77,6 +77,9 @@ import jakarta.activation.DataSource;
import jakarta.activation.FileDataSource;
public class ZUGFeRDExporterFromA3 extends XRExporter implements IZUGFeRDExporter {
private static final String XML_DESCRIPTION = https://www.ferd-net.de/en/standards/zugferd/factur-x;
private boolean isFacturX = true;
public static final int DefaultZUGFeRDVersion = 2;
@@ -673,8 +676,7 @@ public class ZUGFeRDExporterFromA3 extends XRExporter implements IZUGFeRDExporte
}
PDFAttachGenericFile(doc, filename, relationship,
"Invoice metadata conforming to ZUGFeRD standard (http://www.ferd-net.de/front_content.php?idcat=231&lang=4)",
"text/xml", xmlProvider.getXML());
XML_DESCRIPTION, "text/xml", xmlProvider.getXML());
for (FileAttachment attachment : fileAttachments) {
PDFAttachGenericFile(doc, attachment.getFilename(), attachment.getRelation(), attachment.getDescription(), attachment.getMimetype(), attachment.getData());