PDF A/3 Creation Issue

Hi,

We are currently facing some issues in generating a compliant PDF A/3 Document. Does ZATCA provide any interface which can help in the generation of such documents for us? At the moment we are archiving only the UBL2.1 XML compliant documents of a given taxpayer.

ZATCA currently does not offer an interface for the generation of PDF A/3 with embedded XML.
Archiving of XML is a sufficient way of archiving.

A PDF embedded with the signed (using XaDES) XML file would be enough for archiving? Do we not need to sign the PDF using PaDES??

Does anyone have some code example of how it can be done? Preferable with some open source tools.

Further more, when we talk about the requirement for “PDF/A-3 invoice files”: Which “Compliance level” should they have? I.e. PDF/A-3a? or is it sufficient with PDF/A-3b ?

@jiri @harishkumar @Adithya_Raviraja @mattias.lundblad I noticed that the official ZATCA document states that invoice documents should be shared in PDF/A-3 format with embedded XML. I generated a PDF, and its properties are as follows:

  • Standard: PDF/A-3B
  • ISO Name: ISO 19005-3

However, when I refer to the invoice properties of the ZATCA SDK, its properties are:

  • Standard: PDF/A-3A
  • ISO Name: ISO 19005-3

Will the PDF/A-3B format cause any issues? Additionally, does PDF/A-3 refer to the page size? Should I change the invoice’s page width and height to meet the PDF/A-3 requirements? Are there any PHP libraries available that support PDF/A-3?