I am updating the purchase invoice. Which account type should i be choosing.
What do you mean by “updating the purchase invoice.” Do you mean one has already been created and you are editing it? Or something different? The account you select will depend entirely on what you are buying and how you have set up your chart of accounts. In other words, what is the purpose of the purchase and how have decided in advance you will account for purchases of this type.
If you are asking about paying a purchase invoice, see the Guides at Spending money in cash account.