BILL interview question

What is your thought process about implementing a machine learning algorithm in this situation?