Unfortunately, there is no way to stop this from happening in the first place; however, there are several methods to catch it before payment or bank details are sent out.
One of the best ways is to inspect all invoices that come in and compare them to the previous ones received. Look for any irregularities, such as payment information, company names or email addresses. Call the supplier directly from a prior verified telephone number on file to confirm any invoices or orders if anything odd is found.
As with most payment scams, training your staff about what to look for or having multiple people check orders and invoices is a great way to keep your team up-to-date and develop clear procedures to handle a possible payment scam.