Purchase Invoice Payments

When I do a direct payment toa supplier without other supplier documents everything seems ok, but as soon as I create a Purchase Invoice the payment does not work correct. Could somebody assist?

Although the stock was paid, the supplier statement show it was not paid.

The bank transaction must assign the line item to Accounts payable and the supplier’s subaccount.

Thank you for the quick respond.
Just as a point of clarity should I do the following?: -
In place of paying using “Spend Money” on the “Bank Transactions”, Should do it as follow: -
Go to the Purchase Invoice tab
Click on “Balance Due”
Click on “Spend Money”.

I have done it, and it is working.

Thanx Tut

You can do it either way. The two approaches are identical, except that doing it through the purchase invoice pre-fills the Payment form with information from the purchase invoice. Doing it through Bank Transactions requires you to enter everything yourself.