Adding a cost to a Sales Order

We use different online marketplaces and they charge a commission/fee to us for selling products through their website. How can I build this into Order Entry, such that the commission/fee is included in the cost of order/item. Ex. debit inv/cogs, credit AR