Added getInvoicesByDateRange() function

Added getInvoicesByDateRange() function