Vendor and customer should be same

i need an option to use a supplier/vendor the same person as customer for my business, because i buy some items from my customer

They must be separate. There is a Guide about offsetting purchases against sales.