Sanity check of the invoices

This feature is stilla work-in-progress, please refer to our homepage: http://simpleinvoices.sf.net for update