Electronic reporting: trying to filter some values on my payment schedule list on my sales invoice

Hello Everyone,

I am using "Sales invoice (Excel) " Electronic reporting in order to generate sales invoice.

I am trying to display every payment schedule related to the sales order and the invoice like this:

In my model mapping i managed to mapp CusttransOpen because i want to display only the remaning payment schedule (and not show the schedules that have been paid):

The thing is that it displays all open transactions related to this customer (paiements, general ledger, sales order). How can i managed to show only the open transactions related to my invoice ?

Thank you.