Can I edit or delete the invoice payment directly from the purchase invoice screen?
No, the payment created on the purchase invoice as a result of a custody settlement is read-only from the invoice’s side; it cannot be edited or deleted directly from the purchase invoice screen.
To edit or delete this payment, you must go back to its original source; the custody settlement screen itself within the Employee Custody module; and edit or delete the settlement row from there.