Closed hh-it-co closed 1 week ago
interesting, the file is valid so it's on quba
I've created a pdf-to-zugferd-converter based on itext7 (.net core) to generate this file. In the meantime, i've created another solution based on ghostscript, that creates a file, that got parsed correctly in quba viewer. I may convert the same file with both solutions and compare the xmp meta data of both resulting files.
I pushed somtehing which works with your file (branch https://github.com/ZUGFeRD/quba-viewer/tree/issues/68) but I will invest a short while to make it compatible for all other files as well. Summary: one can embed files in PDF as list or as tree, we're used to tree but I believe in your case it's list, this is the corresponding issue in mustang: https://github.com/ZUGFeRD/mustangproject/issues/60
And this is the internal structure of a usual factur-x in a cos viewer
and your file (both valid)
test.pdf
I created the attached zugferd file. Several validators don't indicate any problems with that file, but quba viewer does not open the xml-viewer when opening the pdf-file. When i open the xml-file directly, the invoice-data will be parsed correctly.
What is my pdf-file oder quba viewer missing, that this file won't be parsed properly?