How to Restrict ledger/ receivables report by territory?

Use case:
Allow sales team (/ sales partner/other custom field) to see entries for customers linked to them only, in the above mentioned report of ledger and receivables report summary.

Have you tried restricting by User Permissions ? I think most standard reports now support User Permissions

Yes, strict user permissions applied.
However reports like receivables, ledger & sales analytics are not affected by them.

I think it is because of query reports and hard coded reports don’t depend on user permissions, although there is an option in the query report for ticking “apply user permissions”

Is it possible to add a validation script before fetching results for the user?