Create an Invoice After Unloading

How to create an invoice for the order after unloading the goods for drivers?