Which side of the entry do you want to assign to a different GL account?
You can change the customer account set, but that applies to the whole invoice, you cannot change it at the invoice detail level. This changes the AR control account side of the entry.
Normally companies track sales by product using the category code, this will assign different sales accounts in the GL based on the category used for the item.