Sale to supplier / buy from customer

hi
my business needs also like my topic

some time we sale to supplier different items or also buy from customer
how can i manage this things

The other business needs to be set up as both a customer and a supplier. Then offset invoices as described here: https://www.manager.io/guides/9655.

so i have to creat same customer or supplier ?

Yes.