How to manage the payments of your sales invoice