How I Used K-means clustering at Invoicemate