Add support for getting invoices and credit notes as PDF files