Hello all,
i'm using the module account_invoice_facturx from OCA to embed factur-x.xml inside the invoice report but the resulting pdf invoice is not PDF/A-3, there was already a related discussion to this topic here => https://github.com/OCA/edi/issues/81 but i don't see a solution yet this.
Now i thought i'm trying to use ghostscript https://www.ghostscript.com/ to convert the regular invoice to PDF/A-3 before embedding the factur-x.xml file inside the pdf, i'm using the following command to convert the regular pdf invoice to PDF/A-3 compliant:
gs -dPDFA=3 -dBATCH -dNOPAUSE -dColorConversionStrategy=/RGB-dProcessColorModel=/DeviceRGB -sDEVICE=pdfwrite -dPDFACompatibilityPolicy=1 -sOutputFile=INV_2021_0001_a3.pdf INV_2021_0001.pdf
However when i try to test the output using verPDF checker https://verapdf.org/ to check the resulting invoice after conversion (INV_2021_0001_a3.pdf) it shows that it's not PDF/A-3 compliant after conversion and i don't know why !
I tried to convert other random pdf files to PDA and it worked but it seems like it's not converting the invoices from Odoo to PDF/A-3, i want to know why conversion is not working correctly ?
Thanks