Could someone help straighten me out on this. I am presently testing several functions in ERPNext and in general having good success. However, I have created an opening balance in a bank account (a substantial credit) and a purchase invoice including VAT and all goes well with an increase in liabilities through creditors.
However when I make the payment entry (make payment from the purchase invoice) the creditors liability reduces as expected and the VAT account looks fine, but the bank account is credited rather than debited.
Thus the more bills I pay the more money I have in the bank??