San Mateo based accounts payable automation startup raised $270m in Series F funding led by G-Squared.