To remove vendor opening balance, please follow the below mentioned steps :
Step 1: Please go to Vendors section.
Step 2: Search Vendor.
Step 3: Click on Edit.
Step 4: Remove/Edit Opening Balance >> Update Vendor and then Check Ledger.