added method to create code voucher pdfs