Buying material from a customer

SOLVED

We're in a one-off situation where we are buying material from one of our customers, instead of a vendor. This customer has something that we need. The customer asked us to reduce their next invoice by this amount. Let's say the item# is ABC and we are buying 10 pieces for $2 each. Total cost = $20.00, which is the amount to reduce from the customer invoice.

The material that we are buying is an inventory item and is on a BOM to make a finished good.

How can I modify the invoice to the customer to show material that was received to inventory and at the same time reduce the customer invoice by $20.00?