before invoice changes