The general rule (IAS 1) is that an entity shall not offset assets and liabilities or income and expenses, unless required or permitted by an IFRS.
But it is allowable where offsetting reflects the substance of the transaction or other event, detracts from the ability of users both to understand the transactions, other events and conditions that have occurred and to assess the entity’s future cash flows (IAS 1.33).
I think it is okay to do so in your case specially if you have so many such transactions. but if this is a one-off case of high values, then better to show separately.