Added Auto-generate Invoice Number optional

Added Auto-generate Invoice Number optional