Changed validations on invoices and modified transactions