validation of invoiced visit