Start with the price you agreed to pay. The list price in a catalog, or the number on a quote from last spring, may not be what the order is worth today. In the textbook case, a 15% trade discount applies to a $4,000 order, and the arithmetic is laid out plainly: "The purchase price would be $4,000 less the 15% discount of $600, or $3,400." (OpenStax)
The same section makes a point that matters for anyone who pays suppliers on terms: "Since the trade discount is based on when the order was placed and not on any potential payment discounts, the initial journal entry to record the purchase would reflect the discounted amount of $3,400." (OpenStax)
That sentence packs in two ideas. The first is that the discount that belongs in the purchase amount depends on the order itself: when it was placed and what was agreed at that time. The second is that a payment discount, the reward for paying early, is a separate thing. It is not the price you record when the parts arrive. Keep the two apart in your records. A cash discount for paying early should not get mixed into the price of the parts, and a trade discount agreed at ordering should not disappear because the bill was paid late.
For a field-service shop, the practical check is short. Compare the price line on the supplier invoice to the purchase order or quote you approved. If the discount you negotiated is missing, raise it before you pay. If the invoice shows the discount but the total is not what you expected, find out why before the bill is posted. Keep the purchase order number on the invoice in your system so the comparison is easy to repeat next time. Store the quote, the purchase order, and the invoice together for each order. When a dispute starts weeks later, the person handling it should be able to open one folder and see the whole chain without phoning around the office.
A small habit helps here. When a dispatcher places an order by phone or email, write the agreed discount on the purchase order itself, not only in a note or in someone's memory. A discount that exists only in a conversation is hard to prove when the invoice arrives at a higher number. The purchase order is the document you will point to, so it should say everything that was agreed: the parts, the quantities, the unit prices, and the discount.
Watch for discounts that are applied at the line level and discounts applied to the whole order. They can look the same on a statement and may be handled differently when parts come back. If one part on a six-line order is returned, you want to know which discount applied to that line so the credit comes off the right amount. Ask the supplier how the discount is shown on their invoice before the first large order, not after the first dispute.