How can list invoices from a customview through API?

How can list invoices from a customview through API?

I can do it listing sales orders, but with invoices adding customview_id in the URL does not work