Refactoring invoices/noRates route
Testing