The business here is from the perspective of banks. Customers buy foreign exchange and banks sell it, so the selling price is applicable. But in fact, the selling price of bank notes is the same as that of foreign exchange.
When customers sell foreign exchange, banks apply the "foreign exchange buying price"
When a customer sells foreign exchange cash (including cash deposited in a bank account), the bank applies the "currency buying price".
Buying price of banknotes