Go to Settings > Maintenance

Check the option for Sales Invoice Move back out Outstanding

Enter the sales invoice number and hit Search

Click the button to Change Sales Invoice Status, you will then be advised to delete the invoice from the financial to prevent duplicates, if you have checked Sage and the invoice does not exist e.g. the invoice in Prima is showing Posted: Unknown select OK.