How to check the status of outstanding invoice?