<?xml version="1.0" encoding="utf-8"?>
<definitions name="SOAPVouchersV1" targetNamespace="ZetaSoftware" xmlns:wsdlns="ZetaSoftware" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="ZetaSoftware">
	<types>
		<schema targetNamespace="ZetaSoftware" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" elementFormDefault="qualified">
			<complexType name="WSQueryVouchersV1In">
				<sequence>
					<element name="Connection" type="tns:SDTConnection"/>
					<element name="Data" type="tns:DPQueryVouchersV1In"/>
				</sequence>
			</complexType>
			<complexType name="SDTConnection">
				<sequence>
					<element name="DesarrolladorCodigo" type="xsd:string"/>
					<element name="DesarrolladorClave" type="xsd:string"/>
					<element name="EmpresaCodigo" type="xsd:string"/>
					<element name="EmpresaClave" type="xsd:string"/>
					<element name="UsuarioCodigo" type="xsd:int"/>
					<element name="UsuarioClave" type="xsd:string"/>
					<element name="RolCodigo" type="xsd:short"/>
				</sequence>
			</complexType>
			<complexType name="DPQueryVouchersV1In">
				<sequence>
					<element name="Filters" type="tns:APIs.DPQueryVouchersV1In.Filters"/>
					<element name="Page" type="xsd:int"/>
				</sequence>
			</complexType>
			<complexType name="APIs.DPQueryVouchersV1In.Filters">
				<sequence>
					<element name="LocalCodigo" type="xsd:short"/>
					<element name="Estado" type="xsd:string"/>
					<element name="Anio" type="xsd:short"/>
					<element name="Mes" type="xsd:byte"/>
					<element name="Fecha" type="xsd:date" nillable="true"/>
					<element name="FinancieraCodigo" type="xsd:string"/>
					<element name="ClienteCodigo" type="xsd:string"/>
					<element name="ComprobanteCodigo" type="xsd:short"/>
					<element name="MonedaCodigo" type="xsd:byte"/>
					<element name="CajaCodigo" type="xsd:short"/>
				</sequence>
			</complexType>
			<complexType name="WSQueryVouchersV1Out">
				<sequence>
					<element name="Succeed" type="xsd:boolean"/>
					<element name="Error" type="tns:APIs.WSQueryVouchersV1Out.Error"/>
					<element name="Response" type="tns:DPQueryVouchersV1Out"/>
					<element name="IsLastPage" type="xsd:boolean"/>
				</sequence>
			</complexType>
			<complexType name="APIs.WSQueryVouchersV1Out.Error">
				<sequence>
					<element name="Code" type="xsd:string"/>
					<element name="Message" type="xsd:string"/>
				</sequence>
			</complexType>
			<complexType name="DPQueryVouchersV1Out">
				<sequence>
					<element minOccurs="0" maxOccurs="unbounded" name="Item" type="tns:APIs.DPQueryVouchersV1Out.Item"/>
				</sequence>
			</complexType>
			<complexType name="APIs.DPQueryVouchersV1Out.Item">
				<sequence>
					<element name="RegistroId" type="xsd:int"/>
					<element name="ComprobanteCodigo" type="xsd:short"/>
					<element name="ComprobanteNombre" type="xsd:string"/>
					<element name="ComprobanteAbreviacion" type="xsd:string"/>
					<element name="Fecha" type="xsd:date" nillable="true"/>
					<element name="Serie" type="xsd:string"/>
					<element name="Numero" type="xsd:long"/>
					<element name="FinancieraCodigo" type="xsd:string"/>
					<element name="FinancieraNombre" type="xsd:string"/>
					<element name="FinancieraAbreviacion" type="xsd:string"/>
					<element name="ClienteCodigo" type="xsd:string"/>
					<element name="ClienteNombre" type="xsd:string"/>
					<element name="Descripcion" type="xsd:string"/>
					<element name="TarjetaNumero" type="xsd:string"/>
					<element name="TarjetaTitular" type="xsd:string"/>
					<element name="PlanPagos" type="xsd:string"/>
					<element name="NumeroAutorizacion" type="xsd:string"/>
					<element name="MonedaCodigo" type="xsd:byte"/>
					<element name="MonedaNombre" type="xsd:string"/>
					<element name="MonedaSimbolo" type="xsd:string"/>
					<element name="MonedaAbreviacion" type="xsd:string"/>
					<element name="LocalCodigo" type="xsd:short"/>
					<element name="LocalNombre" type="xsd:string"/>
					<element name="CajaCodigo" type="xsd:short"/>
					<element name="CajaNombre" type="xsd:string"/>
					<element name="UsuarioCodigo" type="xsd:short"/>
					<element name="UsuarioNombre" type="xsd:string"/>
					<element name="RegistroHora" type="xsd:string"/>
					<element name="RegistroFecha" type="xsd:date" nillable="true"/>
					<element name="Total" type="xsd:double"/>
					<element name="Estado" type="xsd:string"/>
					<element name="EstadoNombre" type="xsd:string"/>
					<element name="EstadoFecha" type="xsd:date" nillable="true"/>
					<element name="Notas" type="xsd:string"/>
				</sequence>
			</complexType>
			<element name="SOAPVouchersV1.QUERY">
				<complexType>
					<sequence>
						<element minOccurs="1" maxOccurs="1" name="Queryin" type="tns:WSQueryVouchersV1In"/>
					</sequence>
				</complexType>
			</element>
			<element name="SOAPVouchersV1.QUERYResponse">
				<complexType>
					<sequence>
						<element minOccurs="1" maxOccurs="1" name="Queryout" type="tns:WSQueryVouchersV1Out"/>
					</sequence>
				</complexType>
			</element>
		</schema>
	</types>
	<message name="SOAPVouchersV1.QUERYSoapIn">
		<part name="parameters" element="tns:SOAPVouchersV1.QUERY"/>
	</message>
	<message name="SOAPVouchersV1.QUERYSoapOut">
		<part name="parameters" element="tns:SOAPVouchersV1.QUERYResponse"/>
	</message>
	<portType name="SOAPVouchersV1SoapPort">
		<operation name="QUERY">
			<input message="wsdlns:SOAPVouchersV1.QUERYSoapIn"/>
			<output message="wsdlns:SOAPVouchersV1.QUERYSoapOut"/>
		</operation>
	</portType>
	<binding name="SOAPVouchersV1SoapBinding" type="wsdlns:SOAPVouchersV1SoapPort">
		<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
		<operation name="QUERY">
			<soap:operation soapAction="ZetaSoftwareaction/apis.ASOAPVOUCHERSV1.QUERY"/>
			<input>
				<soap:body use="literal"/>
			</input>
			<output>
				<soap:body use="literal"/>
			</output>
		</operation>
	</binding>
	<service name="SOAPVouchersV1">
		<port name="SOAPVouchersV1SoapPort" binding="wsdlns:SOAPVouchersV1SoapBinding">
			<soap:address location="https://api.zetasoftware.com/z.apis.asoapvouchersv1"/>
		</port>
	</service>
</definitions>
