Issue #2099713 by deekayen: Don't allow multiple invoice generations on a single transaction.