save and open invoice