Validation Error
horstoeko opened this issue · 12 comments
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
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
File you can see above (link) and download. I also use classic iText library.
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.