It is possible to import Summary Lines & Sub Total Lines  in your Sales Transactions using Excel Transactions.

How to import Summary Lines in Sales Transactions ?

Kindly map Your Summary Line to "Line Description" field. The particular line should not have any Amount fields ( Line Item Amount , Discount Amount ). 

The particular row which has Summary Line  should have the information like below image 

 It will be reflected in QuickBooks as below.