RT# 37817 - Updated to set condition to check for invoice sending action