Adding a student to a class after it has started and creating an invoice for them is shown in the screencast below and consists of these steps:
Add the student on the date they joined rather than adding them to the entire class term
Generate the correct invoice for the attended sessions and sending it out
See this video for a detailed walkthrough.