Connection to ZUGFeRD Invoice Format

By using List & Label, invoice data can be generated and processed in accordance with the ZUGFeRD standard. The PDF files generated by List & Label can be created in ZUGFeRD-compliant PDF/A-3 format together with the XML data provided by the application. Further general details can be found in the article ZUGFeRD, Factur-X and XRechnung – Electronic Invoice Formats in List & Label.

List & Label directly supports up to ZUGFeRD version 2.1.
Note: Newer ZUGFeRD versions can also be taken into account, see PDF export: support for ZUGFeRD versions 2.2 and 2.3

The export option PDF.ZUGFeRDVersion can be used to influence the ZUGFeRD version in the generated PDF document. Please also note the options PDF.ZUGFeRDConformanceLevel.

The necessary XML file to be embedded in the PDF must be created and provided by the application itself.

Tip: The article Create ZUGFeRD XML files and embed them in PDF can help you create the ZUGFeRD-compliant XML file.

It is then sufficient to simply set the export option PDF.ZUGFeRDXmlPath to the path of the created XML file in List & Label. The rest is then taken over by List & Label itself:

...
// Define path to the ZUGFeRD XML file
string xmlPath = @"C:\temp\ZUGFeRD-invoice.xml";

// Define List & Label export configuration with ZUGFeRD XML file
ExportConfiguration exportConfig = 
	new ExportConfiguration("PDF", @"C:\temp\Output.pdf", "invoice.lst");           
exportConfig.ExportOptions.Add(LlExportOption.PdfZUGFeRDXmlPath, xmlPath);

// Start export
LL.Export(exportConfig);
...

Related Links:

1 Like