View Invoice page custom template


I noticed that when I'm in a user account and I click on an invoice for a user, it takes me to a bit of a broken page. Is there a way to customize the single-invoice.php template in my own theme files so I can remove and add my own code?