Invoice#unpaid?
Merchant#customers_with_pending_invoices
Comparison functionality for models
Merchant#items_sold and all the required methods to make it work
Sketched out remaining ffeatuers for item and customer