If you are taking a buy/trade that is being applied to a like-item purchase, you must click the dropdown arrow next to Sales Tax and check the Tax entire sale as if it was one single item checkbox.
Multiple trades can be taken against a single like-item purchase so long as all items involved are of like characteristics. This sale MUST be limited to the trade-in transaction; you cannot mix other types of transactions on this sale.