factur-x icon indicating copy to clipboard operation
factur-x copied to clipboard

Factur-X PDF/A-3 Validation on Docker Image

Open clement-gambier2 opened this issue 1 year ago • 1 comments

Hello,

First of all, I would like to express my appreciation for the incredible work you have done. Your project is truly outstanding and has left me thoroughly impressed.

I have successfully utilized your web service host on FNFE-MPE to generate Factur-X files, and the results were impeccable. In order to ensure its stability for my company's needs, I aimed to deploy it on my personal server. Consequently, I developed a Docker image which performed well. However, I encountered an issue when I attempted to validate Factur-X files using the FNFE-MPE Factur-x Validator. The error I encountered is as follows:

Specification: ISO_19005_3, Clause 6.8, Test 4 - PDF/A-3 Error The supplemental data provided for associated files, along with the utilization requirements for said associated files, establish a correlation between the embedded file and either the PDF document itself or a specific section within the PDF document. Severity Level: CosDocument Context: root/indirectObjects[60](5 0)/directObject[0]**

I have taken care to utilize the identical files that were used successfully with your web service. Here is my Dockerfile for your reference:

FROM python:3.8
RUN apt-get update && \
    apt-get install -y sudo
RUN sudo pip3 install --upgrade pip
RUN sudo pip3 install --upgrade factur-x
RUN sudo pip install Flask
WORKDIR /app
EXPOSE 5000
CMD ["facturx-webservice","--host=0.0.0.0"]

I am wondering if you are familiar with this issue and whether you could extend your assistance to resolve it.

Thank you for your time and consideration.

clement-gambier2 avatar Aug 30 '23 12:08 clement-gambier2

hi, I've tried the public instance (https://ws.fnfe-mpe.org/generate_facturx) and it's working : no error in fnfe validator. but when i try with the library on windows, with the same pdf, same xml, i've one error on fnfe validator.

@akretion Maybe the code of the public instance is more updated than your github code ?

trenoncourt avatar Sep 01 '23 09:09 trenoncourt