i want to use ghostscript to create an Zugferd invoice The konvertion from PDF into PDF/A3 is successfull but there is no xml attached. i use it with the shell option in ms access, therefore i build a string:
str = "gswin64c " & _
" -dNOSAFER " & _
" -sDEVICE=pdfwrite " & _
" -dPDFA=3 " & _
" -sColorConversionStrategy=RGB " & _
" -sZUGFeRDXMLFile=C:/users/public/gszugferd/ZUGFeRD-invoice.xml " & _
" -sZUGFeRDProfile=C:/users/public/gszugferd/srgb.icc " & _
" -sZUGFeRDVersion=2p1 " & _
" -sZUGFeRDConformanceLevel=BASIC " & _
" -o /users/public/gszugferd/zugausgabe.pdf " & _
" /users/public/gszugferd/zugferd.ps " & _
" /users/public/gszugferd/R4688.pdf "`
The pdf is created, but no xml added. srgb.icc and zugferd.ps is original from the gs lib.
is there any requirement for the xml file to be attached ?
factur-x.xml, you do not add a PDF/A extension schema to the XMP metadata of the file, the current ZUGFeRD version is "3" (not "2p1"), ...