[fix] [minor] expense head get_query fixed in purchase invoice