Please consider the following suggestion as the Data Management Feature to upload bank statements using XSLT transformation has been deprecated.
Different approaches are used for debits and credits depending on the bank providing the statements. Some banks mirror debit/credit on their statements for the bank's accounting. Due to the different approaches, importing bank statements may result in unexpected values.
Create a parameter to control whether to select debit or credit on a bank account level (fast tab - reconciliation?).