Refactor: Invoices with different subtotal are now marked with error in invoice state
Refactoring some error logs