pending invoices removal