Borrow: goods in stock 10000
Accounts receivable-freight 500
Credit: cash 10500
Borrow the stock goods 10000 when you buy the same goods next time.
Credit: accounts receivable-freight 500
Cash 9500
That is, the next time you purchase goods, you actually paid 9500 yuan, and then 500 yuan offset it. Do you think so? For reference, I think it can explain the problem.