Can account payment becasue there are no invoices linked to payment
now this is the answer we did get from Oracle.
The cause of the issue is due to the following reasons:
1. Document_status in iby_docs_payable_all and payment_status in iby_payments_all are not in sync. With the Normal flow it is not possible.
2. Document Status in IBY_DOCS_PAYABLE_ALL table will be "PAYMENT_FAILED_VALIDATION" when Payment_status is iby_payments_all is "REJECTED" and not "FORMATTED"
There seems to be customization/Custom script execution which impacted payment_id = 502509 and possible to others. We do not have any script to identify any customization.