Please see http://joeykelly.net/scratchpad/index.cgi?WebInvoicer
