ZUGFeRD

webPDF supports the embedding of XML data in conformity with the ZUGFeRD 1.0 and ZUGFeRD 2.0 specifications for PDF/A conversion.

 

You can use the parameters to specify the XML data for the ZUGFeRD file when calling the “Pdfa” web service.

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<operation xmlns="http://schema.webpdf.de/1.0/operation">
<pdfa>
  <convert errorReport="message" level="3u" imageQuality="75" successReport="linked">
    <zugferd>
      <xmlFile version="v10Comfort">
         PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCg0KPHBy
         ...
         dD4=
      </xmlFile>
    </zugferd>
  </convert>
</pdfa>
</operation>

 

If the "<zugferd>" element is defined, the web service will embed the "<xmlFile>" file (Base64-encoded) during the PDF/A conversion. Before being embedded, the XML data will be validated against the relevant schema and will only be embedded if valid. The schema version can be defined with the "version" attribute in the parameters.

 

Validation against the following schemas is supported:

 

Version 1.0 - Comfort

Version 2.0 - Minimum profile

Version 2.0 - Basic WL profile

Version 2.0 - Basic profile

Version 2.0 - EN16931 (Comfort) profile

Version 2.0 - Extended profile

 

For more information on ZUGFeRD and the structure of the XML file and its use, please visit https://www.ferd-net.de.

 

hint

The ZUGFeRD 2.0 standard also supports the XRechnung standard, as well asFactur-X 1.0 with the corresponding interaction.