One Purchase Invoice with two payment: credit and cash

I have supplier account with debit $1000, I bought from him supplies and the invoice was $1500, I paid cash $500 and the rest is credited from his account.

I created new Purchase Invoice, but I can’t find way to split the payment to cash and credit.

please advise

Regards,

Hi,
I have the same problem. Is there any solution?