customer entry, apply entries

Hi All,

I have a problem.

We posted payment without applying invoice.

Now on customer balance we apply the posted payment to posted invoice. the error appear you must specify Bal account type on General journal template name, journal line 0

Any help is appreciated

Above is the screenshot for my previous post. We need to apply posted payment to posted invoice, but when posting application error appear