[T4901] add select invoices to inform function

Merged Diego Barreto requested to merge T4901 into 12.0-stage