Hi Arrunha, are you in D365 F&) ? if yes, you can reconcile bank transaction (ie GL transaction posted to bank account) from here.
Cash and bank management > Bank statement reconciliation > Bank transactions
Mark the transactions that are reversing each other, and then click [Reconcile transactions]
You can only reconcile bank transactions this way, if the transactions have opposite amount, same document reference and document type = "Other"