How to add an opening balance for a vendor?

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