<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/csd/ws.aspx?result=ws&amp;v=1&amp;api=SalesCustomerInvoiceList" 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/csd/ws.aspx?result=ws&amp;v=1&amp;api=SalesCustomerInvoiceList" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">

	 <wsdl:types>
	 <xsd:schema targetNamespace="https://connector.greywolf.com/csd/ws.aspx?result=ws&amp;v=1&amp;api=SalesCustomerInvoiceList" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema">
	<xsd:element  name="SalesCustomerInvoiceListRequestContainer">
	 <xsd:complexType>
	  <xsd:sequence>
		<xsd:element name="cono" minOccurs="1" type="xsd:decimal" />
		<xsd:element name="operinit" minOccurs="1" type="xsd:string" />
		<xsd:element name="custno" minOccurs="1" type="xsd:decimal" />
		<xsd:element name="brsbinvdt" minOccurs="0" type="xsd:string">
			<xsd:annotation><xsd:documentation>Beginning date for searching by date range</xsd:documentation></xsd:annotation>
		</xsd:element>
		<xsd:element name="brseinvdt" minOccurs="0" type="xsd:string">
			<xsd:annotation><xsd:documentation>Ending date for searching by date range</xsd:documentation></xsd:annotation>
		</xsd:element>
		<xsd:element name="BatchSize" minOccurs="0" type="xsd:decimal" />
		<xsd:element name="APIKey"  minOccurs="1" type="xsd:string"/>
	  </xsd:sequence>
	</xsd:complexType>
	 </xsd:element>
	<xsd:element name="SalesCustomerInvoiceListResponseContainerList">
	 <xsd:complexType>
	 <xsd:sequence>
	 <xsd:element maxOccurs="unbounded" minOccurs="0" name="SalesCustomerInvoiceListResponseContainerItems" nillable="true" type="tns:SalesCustomerInvoiceListResponseContainer" />
	 </xsd:sequence>
	 </xsd:complexType>
	</xsd:element>  
	   <xsd:complexType name="SalesCustomerInvoiceListResponseContainer" >
	    <xsd:sequence maxOccurs="unbounded">
<xsd:element name="addonamt1" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="addonamt2" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="addonamt3" nillable="true" minOccurs="0" type="xsd:dec"/><xsd:element name="addonamt4" nillable="true" minOccurs="0" type="xsd:dec"/><xsd:element name="amount" nillable="true" minOccurs="0" type="xsd:dec"/><xsd:element name="appinvdt" nillable="true" minOccurs="0" type="xsd:dec"/><xsd:element name="appinvno" nillable="true" minOccurs="0" type="xsd:dec"/><xsd:element name="appinvsuf" nillable="true" minOccurs="0" type="xsd:dec"/><xsd:element name="apptranscd" nillable="true" minOccurs="0" type="xsd:dec"/><xsd:element name="arexrate" nillable="true" minOccurs="0" type="xsd:dec"/><xsd:element name="checkno" nillable="true" minOccurs="0" type="xsd:dec"/><xsd:element name="checknopaid" nillable="true" minOccurs="0" type="xsd:dec"/><xsd:element name="codcollamt" nillable="true" minOccurs="0" type="xsd:dec"/><xsd:element name="cono" nillable="true" minOccurs="0" type="xsd:dec"/><xsd:element name="crjrnlno" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="crsetno" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="custno" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="discamt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="discdt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="disputefl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="divno" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="duedt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="exchgrate1" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="exchgrate2" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="glacctno" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="gldeptno" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="gldivno" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="glsubno" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="invdt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="invno" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="invsuf" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="jrnlamt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="jrnlno" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="lbxautofl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="location" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="module" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="nextseqno" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="nostmts" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="notesfl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="operinit" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="origdisc" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="origseqno" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="paymtamt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="paymtcd" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="paymtdt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="percal" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="perfisc" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="period" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="pifamt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="postdt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="pymttranscd" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="pymttransno" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="refer" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="revalno" nillable="true" minOccurs="0" type="xsd:dec"/><xsd:element name="rowpointer" nillable="true" minOccurs="0" type="xsd:dec"/><xsd:element name="salesexrate" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="seqno" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="setno" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="shipto" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="slsytdfl" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="sourcecd" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="statustype" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="stmtfl1" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="stmtfl2" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="sxextractdt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="termsdisconpst" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="termstype" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="transcd" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="transdt" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="transdttmz" nillable="true" minOccurs="0" type="xsd:dec"/><xsd:element name="transproc" nillable="true" minOccurs="0" type="xsd:dec"/><xsd:element name="transtm" nillable="true" minOccurs="0" type="xsd:dec"/><xsd:element name="urecno" nillable="true" minOccurs="0" type="xsd:dec"/><xsd:element name="user1" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="user2" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="user3" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="user4" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="user5" nillable="true" minOccurs="0" type="xsd:dec"/><xsd:element name="user6" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="user7" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="user8" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="user9" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="errorcd" nillable="true" minOccurs="0" type="xsd:string"/><xsd:element name="errordesc" 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="SalesCustomerInvoiceListRequest" > 
			<wsdl:part name="parameters" element="tns:SalesCustomerInvoiceListRequestContainer" />
		</wsdl:message>
		 <wsdl:message name="SalesCustomerInvoiceListResponse" >
			<wsdl:part name="parameters" element="tns:SalesCustomerInvoiceListResponseContainerList" />
		</wsdl:message>

		 <wsdl:message name="faultMsg">
		  <wsdl:part name="fault" element="tns:FaultContainer" /> 
		 </wsdl:message>

		<wsdl:portType name="SalesCustomerInvoiceList">
			<wsdl:operation name="SalesCustomerInvoiceList">
			<wsdl:input wsaw:Action="https://connector.greywolf.com/csd/ws.aspx?result=ws&amp;v=1&amp;api=SalesCustomerInvoiceList" message="tns:SalesCustomerInvoiceListRequest" />
			<wsdl:output wsaw:Action="https://connector.greywolf.com/csd/ws.aspx?result=ws&amp;v=1&amp;api=SalesCustomerInvoiceList" message="tns:SalesCustomerInvoiceListResponse" />
			<wsdl:fault name="fault" message="tns:faultMsg"/>
			 </wsdl:operation>
		</wsdl:portType>

		<wsdl:binding name="DefaultBinding_SalesCustomerInvoiceList" type="tns:SalesCustomerInvoiceList">
		 <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
		 <wsdl:operation name="SalesCustomerInvoiceList">
		  <soap:operation soapAction="https://connector.greywolf.com/csd/ws.aspx?result=ws&amp;v=1&amp;api=SalesCustomerInvoiceList" 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="SalesCustomerInvoiceListService">
			    <wsdl:port name="SalesCustomerInvoiceList" binding="tns:DefaultBinding_SalesCustomerInvoiceList">
			       <soap:address location="https://connector.greywolf.com/csd/ws.aspx?result=ws&amp;v=1&amp;api=SalesCustomerInvoiceList" />
			   </wsdl:port> 
		 </wsdl:service>
	</wsdl:definitions>
