Fix import error if invoicegenerator is not available