Closed horstoeko closed 5 years ago
thx, for the report, however the pdf doesn't seem to be PDF/A compliant nor ZUGFeRD compliant.
I suspect you should attach a file and not an ASCII Stream.
Check chapter 7.4 of the spec.
So far, I thank you for your support. I will check this. Thanks a lot
I have the same problem. Although my ZUGFeRD file is valid (https://www.din-zugferd-validation.org), "handler.extractInvoice()" function displays the same error message. invoice.pdf (Comfort 1.0) invoice.pdf
@disl could you post your file and sample code?
File you can see above (link) and download. I also use classic iText library.
So far there is an XMP error,
However I need to check if it impacts the extraction of the xml from the pdf.
Thank you. I'll be waiting for your answer.
@disl the PDF is not ZUGFeRD compliant compare the internal PDF Structure of your file with the reference.
We can adapt our lib to deal with that case, but this won't change anything in general as they are various different implementations.
The only thing I don't understand - why file passes ZUGFeRD - test, or test methods at test are outdated or not corrected? How and where do I have to test my files?
I suspect they just search for a file named ZUGFeRD-invoice.xml (maybe even any file) in the attachment and take it.
https://www.din-zugferd-validation.org is not the official validation service as there isn't any.
However you should make sure you invoice is ZUGFeRD Compliant.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hello,
i'm using iTextSharp to produce a ZUGFeRD compatible PDF document. I am only using the validator from the konik library. The validator cannot find a file inside the produced document. It throws "The PDF does not contain an attached file named ZUGFeRD-invoice.xml". I can't see any mistake done by myself, so i think there is a validor bug.
This is the file: 1432gmtx.yxt.pdf