added add invoice module
added invoice totals check