I found a bug for user that has limited access.
User with limited access that try to delete an receipt or payment item an internal error return,also I tried with a user with full access hopefully it’s ok.
My manager server version: 19.12.13
Error log :
System.InvalidCastException: Specified cast is not valid.
at ManagerServer.HttpApplication.ProcessRequest(HttpRequest request, HttpResponse response)
you can check it in the screenshot
this one from another version and database