Adding socketio functionality
Date parameter in invoice - aggregate