i want to create an invoice pdf document that supports the ZUGFeRD specification.
I already have an "empty" PDFA file and a generated XML-file that contains the invoice data according to the ZUGFeRD specification.
The xml file is based either on BASIC, COMFORT or EXTENDED level of ZUGFeRD specification.
For creating a ZUGFeRD invoice based on a PDFA file and a XML file i am using the method ZUGFeRDExporter#setZUGFeRDXMLData(byte[]). So far so good
The generated ZUGFeRD file contains always the ConformanceLevel COMFORT in the ZUGFeRD XMPMetadata, although ConformanceLevel in XML file is different.
Question: Is it possible to change the ConformanceLevel of the ZUGFeRD XMPMetadata into BASIC or EXTENDED. Using ZUGFeRDExporter#setZUGFeRDConformanceLevel with arguments "BASIC" or "EXTENDED" was not successfull.
Any ideas?
Best regards
Matthias