Missing References Section in Payment Entry

Hi everyone,

I am facing an issue with the payment entry functionality in ERPNext.

When I click on an overdue invoice and select the create payment action, I can see the references section, which allows me to fetch all overdue invoices. However, when I create a payment entry from the accounting module (left panel) and select a customer, the references section is not visible.

Is this expected behavior, or is there a way to enable the references section in both cases?

steps to reproduce:

  1. click on an overdue invoice → select create payment → references section is visible.
  2. go to accounting > payment entry → select a customer → references section is missing.

Would appreciate any insights or solutions. Thanks in advance!