def METHOD_NAME():
    """Send a new invitation using the details in request and saves the invitation."""
    origin = request.environ.get('HTTP_ORIGIN', 'localhost')
    request_json = request.get_json()
    valid_format, errors = schema_utils.validate(request_json, 'invitation')
    if not valid_format:
        return {'message': schema_utils.serialize(errors)}, http_status.HTTP_400_BAD_REQUEST
    try:
        user = UserService.find_by_jwt_token()
        response, status = InvitationService.create_invitation(request_json, user, origin).as_dict(), \
            http_status.HTTP_201_CREATED
    except BusinessException as exception:
        response, status = {'code': exception.code, 'message': exception.message}, exception.status_code
    return response, status