New module classes should also be prefixed, at this case it should be InvoicepdfBlock and file name should be in lowercase - invoicepdfblock.php, and should be stored in models folder.