Custom line items to be included in $order->getTotal()
I was able to achieve this by adding type as 'generic' for all my custom line items.
Sample code: 

uc_order_line_item_add($order->id(), 'generic', 'Promotion', -100, 6, NULL);