Credit with Vendor

Credit with Vendor

I paid a vendor an amount according to a bill from them, then I canceled the order then the vendor told me that the amount will be available for me in future orders

How can I show this amount so that in future when they bill me I can use the available credits I have