Yes, that is exactly how you would do it. You would issue a 1099-NEC to your friend and then deduct it as contract labor on Schedule C.
However, for next year, if the same thing happens, you are supposed to issue the 1099's by January 31.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"