Direct invoice setting fix