How can i determine if margin order was with repay ?

Hello guys,
is there a way to determine if order was created with repay flag enabled ? see example on the screenshot:

Its easy when order created as normal, without loan or repay. Also its clear when the order was created with loan flag, because in account i can find borrowed amount. But when limit order was created with loan flag i don`t see any sign of that.

What i basically need is to get 100% accurate information about an order.

Can you suggest me something ?

Regards,
Ruslan

the loan is not showing in orders, but you will see them from margin account.

GET /sapi/v1/margin/account