Script to send out invoices to clients and the likes?

What id like to be able to do is have a templated invoice layout where i just enter in some information, clients name, product, date, cost, etc and then click a button and that invoice then gets mailed out to the client automatically.

Is anyone using such a system at the present time by any chance?

Regards,

Lee