take out pre save hook for invoice uniqueness stuff. frontend can do it.