To download the customer ledger only with pending invoice, please follow the steps mentioned below:
Step 1: Go to the customer >> select the customer >> click on view ledger
Step 2: Select show Only Pending Invoices >> Click on download.