Setting off trade payable and receivable

Pradnya (student) (217 Points)

11 February 2024  
If one company is both our supplier and recipient.. can we set off trade payable with receivable?
Will there be any issue in terms of taxation?
And does fema allow such adjustment?