until such time as QB gets a sales tax included option, you have to enter the sales transaction (summary or detail) manually and enter the amount subject to sales tax as the retail sales amount, that allows QB to calculate the sales tax due.
Then you download and match transactions.
Or get the ecommerce application to provide a download that splits it out, doubtful that is possible but who knows