Virgin Holidays Miles

Just a curiosity question, if booking a journey with Virgin Holidays, at what point do the miles for booking with them get added?
Is it after the trip has been completed? Or is it when you've paid the balance off in full?
Is it after the trip has been completed? Or is it when you've paid the balance off in full?