Providing bank guarantee to customer

Dears,

Bank guarantee has two options, either receive from a customer or provide to a supplier.
I provide bank guarantee to a customer sometimes, how I can record this?
There is no option to record bank guarantee providing to customer, or receiving from supplier.

Like this is applicable when providing bank guarantee to a client against advance payment (mainly in tenders/bids).

Appreciate your help in resolving this issue…