Catalog Invoice allows your customers to create their own invoices from past orders on their My Account page.

https://www.zen-cart.com/downloads.php?do=file&id=2111