This feature is only available for Business Central versions before 17.2 and has become part of standard Business Central from 17.2 onwards

From the Bank Account Card > Statements a new function has been added that will allow you to undo a posted Bank Statement.