finish invoice