adding some more useful methods for iinvoice