In 2002 I created a browser-based accounting system enabling me to keep track of an account and produce invoices for clients:
The home page shows the current account statement
The Jobs view shows each job and a timesheet for each one
To create invoices, the ASP script uses Microsoft Word automation to enter information into a template, and automatically saves the document with an appropriate filename: