Received Trade for Payment on Invoice

We received a trade of merchandise as payment for an invoice.  How would I go about posting that into the cash receipts on Epicor?Thanks,Shannon