Why am I unable to save invoice after editing?