To add an opening balance for a vendor, you may go to vendors >> edit >> add the opening balance >> update vendor.