PDF to PDF A/3-b with attachment - standalone Java - Linux - JDK16 - ZUGFerD

Hi Asad,

I am trying to upload the java version files.
But i am unable to upload to your support portal.

Could you please suggest how can i upload the java file for checking further on this issue.

Regards,
Srinivas

@SYALLA

Please try to use the upload button in post editor to upload the files. In case you still face any issue, please upload the files to Google Drive and share the link with us.

Hi Asad.

I have uploaded the java files into Google Drive and below is the link.
Please check and download the file and let us know if you need any information on this.

https://drive.google.com/drive/u/0/folders/1QOOocOMbRCxN8zMQXts05SEgTBstiskD

Regards,
Srinivasu

@SYALLA

The files on the given links have restricted access as we tried to download them but could not do it. Can you please share the public link to access the files so that we can download them and perform test. Please make sure to include sample code snippet, input and output PDF documents so that we can test the scenario accordingly to replicate the issue at our end.

Hi Asad,

Please find the below public link to access the java files.
Please check and let us know if any issues for accessing these files.

https://drive.google.com/drive/folders/1QOOocOMbRCxN8zMQXts05SEgTBstiskD?usp=sharing

Regards

Please find the attached java code pack,attached xmlfile and PDF output file.

Regards,
Srinivasu

PDF files and java code and xml file.zip (85.2 KB)

@SYALLA

Can you please try using 21.12 version of the API which is latest one. We tested the scenario using it and were unable to notice the overlapping issue in the output PDF. Could you please check at your end and share the problematic output PDF with us in case issue still persists.

output.pdf (323.0 KB)

Hi Asad,

We have downloaded and tested the code but unfortunately still same issue in our environment.
Is there any other way to debug our issue in our environment from your end?

Regards,
Srinivasu

@SYALLA

Can you please share the problematic PDF file that has been generated at your end?

Test.pdf (185.3 KB)

Hi Asad,

Please find the attached problematic PDF file for your reference.

Regards,
Srinivasu

@SYALLA

It looks like you are using 21.8 version of the API and we tested the case using 22.1 version. Can you please make sure to use the latest version of the API and let us know if issue still persists. Please share the output generated by the latest version i.e. 22.1.

Hi Asad,

We have tried to download the 22.1 API version but the file contains ‘aspose.pdf-22.1-javadoc.jar’ file but our system support jdk16.jar file as like you provided the file ‘aspose-pdf-21.8-jdk16.jar’ please check and provide the latest version with jdk16.jar file for checking overlapping issue.

And also our business raised one more issue in the PDF/A output file wherever they have converted the PDF/A file into notepad++ they have seen the complete path is displaying the in PDF/A file. the path is related the attachment of the xml file. They don’t want to displaying the complete path just simple display ‘zugferd-invoice.xml’ file name is it possible to trim the path form the PDF/A file? below is the path for your reference.

<</Desc(zugferd-invoice.xml)/Type/Filespec/F(zugferd-invoice.xml)/UF(/u01/oracle/devc/comn/admin/out/DEVC_dps-ap-erpdev2/o192322355/zugferd-invoice.xml)/

Regards,
Srinivasu

@vijay001

You can download the latest JDK16 compatible JAR from the given link below:

Furthermore, can you please share a sample input/output PDF along with a sample code snippet to replicate the relative path issue for the attachment? We will test the scenario in our environment and address it accordingly.

Hi Asad,

Please find the attached code pack and tested ZUGFerD PDF output file.
you see below path once you converted ZUGFerd PDF output file into notepad++ .

/u01/oracle/devc/comn/admin/out/DEVC_dps-ap-erpdev2/o192322355/zugferd-invoice.xml.

ZUGFerd pdf are not accepted in their portal due to this path just they want to display only ‘zugferd-invoice.xml’ instead of complete path.

Regards,
Srinivasu Code pack and tested output.zip (184.8 KB)

Hi Asad,

We are unable to download the file from the link (Aspose.PDF 22.1 | Process Acrobat PDF Files via Java API)

Please check and provide the link again.

Regards,
Srinivasu

@vijay001

Please use the updated link to download the Aspose.PDF for Java 22.1 for JDK16.

Regarding the issue related to the file path, we have logged an investigation ticket as PDFJAVA-41344 in our issue tracking system to further analyze it. We will look into its details and keep you posted with the status of its resolution. Please be patient and spare us some time.

We are sorry for the inconvenience.

Hi Asad,

Our business has identified one more issue they have seen in the ZUGFerD output last extra page has created. please check and resolve this issue as well. please find the attached output for your reference you can find the 5 page is the extra page in the output.

Regards,
Srinivasu Domino___Select_Invoice_Intern_200122.pdf (191.5 KB)

@vijay001

It looks like the PDF has been generated using 21.8 version of the API. Can you please try to create it using 22.1 version and if issue still persists, please share respective source PDF as well so that we can test the scenario in our environment and address it accordingly.

Hi Asad,

Our Business needs to detail for buying license on this API.
Could you please provide more detail for raising sales order on this license?

Regards,
Srinivasu