make item_invoice class compatible with ints