<wsdl:definitions xmlns:soap = "http://schemas.xmlsoap.org/wsdl/soap/"  xmlns:wsu = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc = "http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns = "https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=SalesCustomerInvoiceLinesSelect" xmlns:wsa = "http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp = "http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap = "http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:xsd = "http://www.w3.org/2001/XMLSchema" xmlns:msc = "http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsaw = "http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap12 = "http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsa10 = "http://www.w3.org/2005/08/addressing" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" targetNamespace="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=SalesCustomerInvoiceLinesSelect" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">

	 <wsdl:types>
	 <xsd:schema targetNamespace="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=SalesCustomerInvoiceLinesSelect" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema">
	<xsd:element  name="SalesCustomerInvoiceLinesSelectRequestContainer">
	 <xsd:complexType>
	  <xsd:sequence>
		<xsd:element name="company_id" minOccurs="1" type="xsd:string" />
		<xsd:element name="invoice_no" minOccurs="1" type="xsd:string" />
		<xsd:element name="APIKey"  minOccurs="1" type="xsd:string"/>
	  </xsd:sequence>
	</xsd:complexType>
	 </xsd:element>
	<xsd:element name="SalesCustomerInvoiceLinesSelectResponseContainerList">
	 <xsd:complexType>
	 <xsd:sequence>
	 <xsd:element maxOccurs="unbounded" minOccurs="0" name="SalesCustomerInvoiceLinesSelectResponseContainerItems" nillable="true" type="tns:SalesCustomerInvoiceLinesSelectResponseContainer" />
	 </xsd:sequence>
	 </xsd:complexType>
	</xsd:element>  
	   <xsd:complexType name="SalesCustomerInvoiceLinesSelectResponseContainer" >
	    <xsd:sequence maxOccurs="unbounded">
<xsd:element name="invoice_no" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="qty_requested" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="qty_shipped" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="unit_of_measure" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="item_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="item_desc" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="unit_price" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="extended_price" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="gl_revenue_account_no" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="gl_salse_tax_account_no" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="gl_cogs" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="gl_inventory" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="date_created" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="date_last_modified" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="last_maintained_by" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="order_no" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="cogs_amount" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="job_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="customer_part_number" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="company_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="tax_item" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="pricing_quantity" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="net_quantity" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="line_no" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="sales_cost" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="commission_cost" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="other_cost" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="oe_line_number" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="other_charge_item" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="exceptional_sales" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="pricing_unit" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="invoice_line_uid" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="invoice_line_uid_parent" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="inv_mast_uid" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="invoice_line_type" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="sales_unit_size" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="pricing_unit_size" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="product_group_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="supplier_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="created_by" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="job_price_line_uid" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="cost_center" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="budget_cd" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="customer_contract_uid" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="gl_applied_labor" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="labor_amount" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="one_time_price_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="mac_for_special_items" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="special_purchase_qty_received" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="suggested_retail_price" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="hours_worked" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="core_price" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="environmental_fee" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="admin_fee" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="covered_extended_price" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="cost_price_page_uid" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="buyer" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="recipient" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="verified_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="verified_code" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="sku_exceptional_qty" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="last_reviewed_date" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="cogs_markup_amount" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="processed_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="sales_discount_group_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="price_family_uid" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="cost_carrier_contract_line_uid" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="price_carrier_contract_line_uid" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="unit_pick_fee" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="cost_carrier_contract_z_line_uid" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="target_price" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="tax_amount_paid_on_dp_applied" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="sent_to_carrier_date" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="net_billing_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="haz_num_of_packages" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="print_part_no" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="discount_item_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="distributor_funding" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="supplier_funding" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="prior_authorization_cd" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="claim_start_date" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="claim_end_date" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="gl_distributor_funding_acct_no" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="gl_supplier_funding_acct_no" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="exclude_from_edi_844_867_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="other_charge_credit_rebill_flag" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="sub_invoice_no" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="commission_class_id" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="upgrade_desc" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="trans_ref_no" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="discount" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="list_price" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="tb_fee_type" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="qty_backordered" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="home_currency_amt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="unit_price_home" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="extended_price_home" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="cogs_amount_home" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="sales_cost_home" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="commission_cost_home" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="other_cost_home" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="tax_amt_pd_on_dp_applied_home" nillable="true" minOccurs="0" type="xsd:string"/>		 <xsd:element name = "NoRecords"  nillable="true" minOccurs="0" type="xsd:string"/>		 <xsd:element name = "_errorMsg"  nillable="true" minOccurs="0" type="xsd:string"/>		 <xsd:element name = "_errorNum"  nillable="true" minOccurs="0" type="xsd:string"/>	    </xsd:sequence>
	   </xsd:complexType>
	<xsd:element name="FaultContainer">
	 <xsd:complexType>
	 <xsd:sequence>
	<xsd:element name="fault" type="xsd:string"/>
	 </xsd:sequence>
	 </xsd:complexType>
	</xsd:element>  
	   </xsd:schema>
	 </wsdl:types>


		<wsdl:message name="SalesCustomerInvoiceLinesSelectRequest" > 
			<wsdl:part name="parameters" element="tns:SalesCustomerInvoiceLinesSelectRequestContainer" />
		</wsdl:message>
		 <wsdl:message name="SalesCustomerInvoiceLinesSelectResponse" >
			<wsdl:part name="parameters" element="tns:SalesCustomerInvoiceLinesSelectResponseContainerList" />
		</wsdl:message>

		 <wsdl:message name="faultMsg">
		  <wsdl:part name="fault" element="tns:FaultContainer" /> 
		 </wsdl:message>

		<wsdl:portType name="SalesCustomerInvoiceLinesSelect">
			<wsdl:operation name="SalesCustomerInvoiceLinesSelect">
			<wsdl:input wsaw:Action="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=SalesCustomerInvoiceLinesSelect" message="tns:SalesCustomerInvoiceLinesSelectRequest" />
			<wsdl:output wsaw:Action="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=SalesCustomerInvoiceLinesSelect" message="tns:SalesCustomerInvoiceLinesSelectResponse" />
			<wsdl:fault name="fault" message="tns:faultMsg"/>
			 </wsdl:operation>
		</wsdl:portType>

		<wsdl:binding name="DefaultBinding_SalesCustomerInvoiceLinesSelect" type="tns:SalesCustomerInvoiceLinesSelect">
		 <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
		 <wsdl:operation name="SalesCustomerInvoiceLinesSelect">
		  <soap:operation soapAction="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=SalesCustomerInvoiceLinesSelect" style="document" />
		  <wsdl:input>
		   <soap:body use="literal" />
		  </wsdl:input>
		  <wsdl:output>
		    <soap:body use="literal" />
		  </wsdl:output>
		<wsdl:fault name="fault"><soap:fault use="literal" name="fault"/></wsdl:fault>
		 </wsdl:operation>
		 </wsdl:binding>

		 <wsdl:service name="SalesCustomerInvoiceLinesSelectService">
			    <wsdl:port name="SalesCustomerInvoiceLinesSelect" binding="tns:DefaultBinding_SalesCustomerInvoiceLinesSelect">
			       <soap:address location="https://connector.greywolf.com/p21cloud/ws.aspx?result=ws&amp;v=1&amp;api=SalesCustomerInvoiceLinesSelect" />
			   </wsdl:port> 
		 </wsdl:service>
	</wsdl:definitions>
