You may need to split the sale into two entries. You can enter a Summary in Lieu of individual transactions.
Here's more info:
https://ttlc.intuit.com/replies/4926553
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"