def id_from_item(item)
        if item.is_a?(Invoicexpress::Models::Item)
          item.id
        elsif item.is_a?(String)
          item