Commission Item Setup
An Item Commission Group can be assigned to the item on the item page. Commission Rates can be set up for this Item Commission Group. If there is no group assigned, the commission rates must be entered for every single item.

The flag Commissionable has to be set for every single item. Only Invoice and Credit Memos are inserted into the commission calculation whose item has been marked as commissionable = YES at the moment of posting.