add invoiceCheck