You can do it by creating an expense account for commissions and recording an expense for your sales employee under the account.
This will record your expense as a commission. Moreover if you wish to have a detailed view of your commissions, go to Reports -> Purchases & Expenses -> Expense by Category and you will find the Commission category. Click on it for more information.
Online accounting software
for small businesses.