No need of return line ``$invoice_>getJob()->publish();``