-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDF/A compliance #18
Comments
I believe this not directly ERPNext related. Factur-X creates the final PDF/A-3. Still doesn't change the fact, that errors are raised. |
Background info: https://www.pdflib.com/de/pdf-know-how/zugferd-und-factur-x/ |
Factur-X cannot fix the PDF, if it's already non-conformant: akretion/factur-x#1 ERPNext still creates PDFs with wkhtmltopdf, right? I fear then there is not a lot you can do about it. |
Checking the direct ERPNext Output, the "error" seems to be present there already:
|
Ok, understood.
wkhtmltopdf is used for some things and pypdf for others: Maybe a step in between can fix the mess and convert the output into PDF/A-3 before merging: |
I have implemented a conversion using Ghostscript https://ghostscript.readthedocs.io/en/latest/VectorDevices.html#vectordevices-creating-pdfa in the PR #39. In this case, the PDF file is converted to PDF/A-3 by ERPNext before the XML data is added. This requires Ghostscript to be installed on the system. |
ERPNext PDFs don't seem to comply with PDF/A:
The text was updated successfully, but these errors were encountered: