When a shipment is changing the status to complete, we need to collect commercial invoice and packing list operational reports in PDF format, to build the documentation package for the carrier. What would be the way to link an event/BPA on the shipments table with a process of automatically generating these two operational reports and sending them to a SFTP location?
Is there a way to maybe generate an XML file (same as an E-Invoice process) which can contain the PDF attachments base64 encoded and embedded in the XML?
Any hints would be kindly appreciated.