When i sell a product i just have to make an sale invoice in POS mode, and everything is updated. It makes an stock entry, a payment in cash, in a same account entry, everything i need in just one operation. I want the same in buying. I just want to create a new Purchase Invoice, where the stock is updated, and a cash payment is done. all in the same account entry.