If you invoice the vendor for commission:
Add a new non depleting stock code called Commission, and invoice the vendor.
If you do not invoice the vendor for commission:
Add a Negative Expense Order, and post to the desired general ledger account.
This will create a credit in the vendor's account.
Further information