praveen|adding checks for null invoices