An invoice remains outstanding until the due date has passed. It is determined by the payment conditions agreed upon by the two parties concerned.