The current Peru Detraction process (Generate Detraction Invoice) fails with a generic "500: Internal Error" message when processing eligible supplier invoices. Since the error does not provide sufficient details regarding the root cause, business and support teams must rely on Oracle SRs and backend investigation to diagnose the issue.
We request an enhancement to provide meaningful error messages, detailed diagnostics, and process-level logging when the Generate Detraction Invoice process encounters failures. The enhancement should clearly identify the invoice, supplier, configuration, validation, or data issue causing the process to fail and provide actionable guidance to users.