https://docs.frappe.io/hr/loan#
the 1. Payroll Entry reference to payment entry not payroll entry
These documents are quite outdated. They were never rewritten, but we have updated the link. so reload and check.
how could i find the news of that app?