Gate payment runs from cash position, vendor priority, approval completeness, fraud flags, and discount capture