Server error in sales invoice

i am trying to create a payment from a sales invoice but i keep getting this message whenver i try to do it!!! so any idea how to fix it?

Hi @Ahmedkhaled, when that happens, please open your browser console, copy the error message and post it here. Unfortunately the screenshot does not contain enogh information to troubleshoot your problem.

hi @rmeyer
this happens when i choose to create a payment from sales invoice


Which version are you using? Could not replicate this issue in v13.0.0-beta.6 (version-13-beta) and v12.13.0 (version-12).

Any solution on this problem?