Updated method recur() in invoice class for multi domain capability