Sale to supplier / buy from customer

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:

so i have to creat same customer or supplier ?