Hedging can be done, but how to hedge should consider the actual situation. If different businesses are accounted for separately, it is best for both parties to issue written documents when hedging, and the two companies of this business should hedge at the same time; If there is a balance in both subjects because of your own bookkeeping error, it is good to make an adjustment voucher to hedge. Accounting entries:
Debit: Other receivables -xx Company
Debit: Other Payables -xx Company
perhaps
Debit: Other Payables -xx Company
Debit: Other receivables -xx Company