validation on invoice