I use my own code for client purchases very often.
You can charge a customer retail for instance. Make a few bucks off the discount u get and then the commission at the end of the month too.
Or if it's for your own suppz,same thing. You can absolutely double dip. I do it all the time.
I assure u as a wholesaler and a retailer, the company u rep for is still making a nice profit!