Manage invoice number generation