Commission Fee?

sI an OTD price yesterday and one of the itemized lines said COMMISSION FEE… I asked him about that and he said that the consumer pays that fee just like when buying a house and it shows that they are “completely transparent” …it was $599 is that an extra added on fee or is that a legit fee? I thought the dealership or the OEM paid them that money not the consumer