VB code to create ZugFerd invoice

Job ID: 40250726

Budget: ₹1,500 – ₹12,500 INR

In Germany, b2b invoices have to be saved in the ZugFerd format.



The ZugFerd format consists of a PDF containing the invoice text with embedded XML that includes the machine-readable invoice content.



The PDF format must be PDF/A-3.



We create the PDF from Crystal Reports. The standard PDF files from Crystal Reports are not PDF/A-3. This issue needs to be resolved.



We need a routine that combines an existing PDF file (from Crystal Reports) and an existing XML file to create a correct PDF/A-3 file in the ZugFerd format.



This routine will then be integrated into our software.



We program using Microsoft Visual Studio and the Visual Basic language. Therefore, the routine should also be written in Visual Basic.



The software should exhibit the following behavior:



Input:



Path to the existing XML file and



Path to the existing PDF file (not PDF/A3) and



Path to the finished file (PDF/A3)



Behaviour: The Program combines the two existing files and converts them accordingly.