create new route for generating invoice pdf