Improvements to the PDF printing of invoices, credit notes and customer statements