<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="urn:WashOut" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="timbrado_cfdi40" targetNamespace="urn:WashOut">
  <types>
    <schema targetNamespace="urn:WashOut" xmlns="http://www.w3.org/2001/XMLSchema">
      <xsd:complexType name="timbrar_cfdi_result">
        <xsd:sequence>
          <xsd:element name="xml" type="xsd:string" nillable="true"/>
        </xsd:sequence>
      </xsd:complexType>
      <xsd:complexType name="timbrar_cfdi_qr_result">
        <xsd:sequence>
          <xsd:element name="xml" type="xsd:string" nillable="true"/>
          <xsd:element name="qr64" type="xsd:string" nillable="true"/>
          <xsd:element name="uuid" type="xsd:string" nillable="true"/>
          <xsd:element name="rfc_emisor" type="xsd:string" nillable="true"/>
          <xsd:element name="nota" type="xsd:string" nillable="true"/>
        </xsd:sequence>
      </xsd:complexType>
      <xsd:complexType name="timbrar_multirfc_result">
        <xsd:sequence>
          <xsd:element name="xml" type="xsd:string" nillable="true"/>
        </xsd:sequence>
      </xsd:complexType>
      <xsd:complexType name="timbrar_cfdi_referencia_result">
        <xsd:sequence>
          <xsd:element name="xml" type="xsd:string" nillable="true"/>
        </xsd:sequence>
      </xsd:complexType>
      <xsd:complexType name="timbrar_zip_result">
        <xsd:sequence>
          <xsd:element name="xml" type="xsd:string" nillable="true"/>
        </xsd:sequence>
      </xsd:complexType>
      <xsd:complexType name="parametros_cfdis">
        <xsd:sequence>
          <xsd:element name="rfc_emisor" type="xsd:string" nillable="true"/>
          <xsd:element name="rfc_receptor" type="xsd:string" nillable="true"/>
          <xsd:element name="fecha_emision_inicio" type="xsd:string" nillable="true"/>
          <xsd:element name="fecha_emision_fin" type="xsd:string" nillable="true"/>
          <xsd:element name="fecha_timbrado_inicio" type="xsd:string" nillable="true"/>
          <xsd:element name="fecha_timbrado_fin" type="xsd:string" nillable="true"/>
          <xsd:element name="cancelado" type="xsd:string" nillable="true"/>
          <xsd:element name="external_id" type="xsd:string" nillable="true"/>
          <xsd:element name="uuid" type="xsd:string" nillable="true"/>
          <xsd:element name="folio" type="xsd:string" nillable="true"/>
          <xsd:element name="serie" type="xsd:string" nillable="true"/>
          <xsd:element name="limit" type="xsd:string" nillable="true"/>
          <xsd:element name="offset" type="xsd:string" nillable="true"/>
        </xsd:sequence>
      </xsd:complexType>
      <xsd:complexType name="buscar_cfdis_result">
        <xsd:sequence>
          <xsd:element name="estatus" type="xsd:string" nillable="true"/>
          <xsd:element name="cantidad" type="xsd:string" nillable="true"/>
          <xsd:element name="comprobantes" type="xsd:string" nillable="true"/>
        </xsd:sequence>
      </xsd:complexType>
      <xsd:complexType name="parametros_acuse">
        <xsd:sequence>
          <xsd:element name="uuids" type="tns:recuperar" nillable="true"/>
          <xsd:element name="fecha_timbrado_inicio" type="xsd:string" nillable="true"/>
          <xsd:element name="fecha_timbrado_fin" type="xsd:string" nillable="true"/>
        </xsd:sequence>
      </xsd:complexType>
      <xsd:complexType name="recuperar">
        <xsd:sequence>
          <xsd:element name="Comprobante" type="tns:Comprobante" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
        </xsd:sequence>
      </xsd:complexType>
      <xsd:complexType name="Comprobante">
        <xsd:sequence>
          <xsd:element name="uuid" type="xsd:string" nillable="true"/>
        </xsd:sequence>
      </xsd:complexType>
      <xsd:complexType name="buscar_acuse_recepcion_result">
        <xsd:sequence>
          <xsd:element name="acuses" type="xsd:string" nillable="true"/>
          <xsd:element name="uuids_erroneos" type="xsd:string" nillable="true"/>
          <xsd:element name="uuids_no_encontrados" type="xsd:string" nillable="true"/>
        </xsd:sequence>
      </xsd:complexType>
      <xsd:complexType name="recuperar_comprobante_result">
        <xsd:sequence>
          <xsd:element name="estatus" type="xsd:string" nillable="true"/>
          <xsd:element name="cantidad" type="xsd:string" nillable="true"/>
          <xsd:element name="comprobantes" type="xsd:string" nillable="true"/>
        </xsd:sequence>
      </xsd:complexType>
      <xsd:complexType name="external_id">
        <xsd:sequence>
          <xsd:element name="external_id" type="xsd:string" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
        </xsd:sequence>
      </xsd:complexType>
      <xsd:complexType name="recuperar_comprobante_referencia">
        <xsd:sequence>
          <xsd:element name="estatus" type="xsd:string" nillable="true"/>
          <xsd:element name="cantidad" type="xsd:string" nillable="true"/>
          <xsd:element name="comprobantes" type="xsd:string" nillable="true"/>
        </xsd:sequence>
      </xsd:complexType>
      <xsd:complexType name="obtener_consumo_result">
        <xsd:sequence>
          <xsd:element name="plan_actual" type="xsd:string" nillable="true"/>
          <xsd:element name="creditos_asignados" type="xsd:int" nillable="true"/>
          <xsd:element name="creditos_usados" type="xsd:int" nillable="true"/>
          <xsd:element name="inicio_plan" type="xsd:string" nillable="true"/>
          <xsd:element name="fin_plan" type="xsd:string" nillable="true"/>
        </xsd:sequence>
      </xsd:complexType>
      <xsd:complexType name="consulta_rfc_result">
        <xsd:sequence>
          <xsd:element name="codigo" type="xsd:string" nillable="true"/>
          <xsd:element name="status" type="xsd:string" nillable="true"/>
          <xsd:element name="informacion" type="xsd:string" nillable="true"/>
        </xsd:sequence>
      </xsd:complexType>
      <xsd:complexType name="consulta_lco_result">
        <xsd:sequence>
          <xsd:element name="codigo" type="xsd:string" nillable="true"/>
          <xsd:element name="status" type="xsd:string" nillable="true"/>
          <xsd:element name="informacion" type="xsd:string" nillable="true"/>
        </xsd:sequence>
      </xsd:complexType>
      <xsd:complexType name="timbrar_cfdi_roma_result">
        <xsd:sequence>
          <xsd:element name="xml" type="xsd:string" nillable="true"/>
        </xsd:sequence>
      </xsd:complexType>
    </schema>
  </types>
  <message name="timbrar_cfdi">
    <part name="username" type="xsd:string" xsi:nillable="true"/>
    <part name="password" type="xsd:string" xsi:nillable="true"/>
    <part name="sxml" type="xsd:string" xsi:nillable="true"/>
  </message>
  <message name="timbrar_cfdi_response">
    <part name="timbrar_cfdi_result" type="tns:timbrar_cfdi_result" xsi:nillable="true"/>
  </message>
  <message name="timbrar_cfdi_qr">
    <part name="username" type="xsd:string" xsi:nillable="true"/>
    <part name="password" type="xsd:string" xsi:nillable="true"/>
    <part name="sxml" type="xsd:string" xsi:nillable="true"/>
  </message>
  <message name="timbrar_cfdi_qr_response">
    <part name="timbrar_cfdi_qr_result" type="tns:timbrar_cfdi_qr_result" xsi:nillable="true"/>
  </message>
  <message name="timbrar_multirfc">
    <part name="username" type="xsd:string" xsi:nillable="true"/>
    <part name="password" type="xsd:string" xsi:nillable="true"/>
    <part name="rfc" type="xsd:string" xsi:nillable="true"/>
    <part name="sxml" type="xsd:string" xsi:nillable="true"/>
  </message>
  <message name="timbrar_multirfc_response">
    <part name="timbrar_multirfc_result" type="tns:timbrar_multirfc_result" xsi:nillable="true"/>
  </message>
  <message name="timbrar_cfdi_referencia">
    <part name="username" type="xsd:string" xsi:nillable="true"/>
    <part name="password" type="xsd:string" xsi:nillable="true"/>
    <part name="sxml" type="xsd:string" xsi:nillable="true"/>
    <part name="external_id" type="xsd:string" xsi:nillable="true"/>
  </message>
  <message name="timbrar_cfdi_referencia_response">
    <part name="timbrar_cfdi_referencia_result" type="tns:timbrar_cfdi_referencia_result" xsi:nillable="true"/>
  </message>
  <message name="timbrar_zip">
    <part name="username" type="xsd:string" xsi:nillable="true"/>
    <part name="password" type="xsd:string" xsi:nillable="true"/>
    <part name="zipbase64" type="xsd:string" xsi:nillable="true"/>
  </message>
  <message name="timbrar_zip_response">
    <part name="timbrar_zip_result" type="tns:timbrar_zip_result" xsi:nillable="true"/>
  </message>
  <message name="buscar_cfdis">
    <part name="username" type="xsd:string" xsi:nillable="true"/>
    <part name="password" type="xsd:string" xsi:nillable="true"/>
    <part name="parametros_cfdis" type="tns:parametros_cfdis" xsi:nillable="true"/>
  </message>
  <message name="buscar_cfdis_response">
    <part name="buscar_cfdis_result" type="tns:buscar_cfdis_result" xsi:nillable="true"/>
  </message>
  <message name="buscar_acuse_recepcion">
    <part name="username" type="xsd:string" xsi:nillable="true"/>
    <part name="password" type="xsd:string" xsi:nillable="true"/>
    <part name="parametros_acuse" type="tns:parametros_acuse" xsi:nillable="true"/>
  </message>
  <message name="buscar_acuse_recepcion_response">
    <part name="buscar_acuse_recepcion_result" type="tns:buscar_acuse_recepcion_result" xsi:nillable="true"/>
  </message>
  <message name="recuperar_comprobante">
    <part name="username" type="xsd:string" xsi:nillable="true"/>
    <part name="password" type="xsd:string" xsi:nillable="true"/>
    <part name="uuid" type="tns:recuperar" xsi:nillable="true"/>
  </message>
  <message name="recuperar_comprobante_response">
    <part name="recuperar_comprobante_result" type="tns:recuperar_comprobante_result" xsi:nillable="true"/>
  </message>
  <message name="recuperar_comprobante_referencia">
    <part name="username" type="xsd:string" xsi:nillable="true"/>
    <part name="password" type="xsd:string" xsi:nillable="true"/>
    <part name="external_ids" type="tns:external_id" xsi:nillable="true"/>
  </message>
  <message name="recuperar_comprobante_referencia_response">
    <part name="recuperar_comprobante_referencia" type="tns:recuperar_comprobante_referencia" xsi:nillable="true"/>
  </message>
  <message name="obtener_consumo">
    <part name="username" type="xsd:string" xsi:nillable="true"/>
    <part name="password" type="xsd:string" xsi:nillable="true"/>
  </message>
  <message name="obtener_consumo_response">
    <part name="obtener_consumo_result" type="tns:obtener_consumo_result" xsi:nillable="true"/>
  </message>
  <message name="consulta_rfc">
    <part name="username" type="xsd:string" xsi:nillable="true"/>
    <part name="password" type="xsd:string" xsi:nillable="true"/>
    <part name="rfc" type="xsd:string" xsi:nillable="true"/>
  </message>
  <message name="consulta_rfc_response">
    <part name="consulta_rfc_result" type="tns:consulta_rfc_result" xsi:nillable="true"/>
  </message>
  <message name="consulta_lco">
    <part name="username" type="xsd:string" xsi:nillable="true"/>
    <part name="password" type="xsd:string" xsi:nillable="true"/>
    <part name="rfc" type="xsd:string" xsi:nillable="true"/>
  </message>
  <message name="consulta_lco_response">
    <part name="consulta_lco_result" type="tns:consulta_lco_result" xsi:nillable="true"/>
  </message>
  <message name="timbrar_cfdi_roma">
    <part name="username" type="xsd:string" xsi:nillable="true"/>
    <part name="password" type="xsd:string" xsi:nillable="true"/>
    <part name="rfc_emisor" type="xsd:string" xsi:nillable="true"/>
    <part name="tipo_comprobante" type="xsd:string" xsi:nillable="true"/>
    <part name="serie" type="xsd:string" xsi:nillable="true"/>
    <part name="folio" type="xsd:string" xsi:nillable="true"/>
    <part name="sxml" type="xsd:string" xsi:nillable="true"/>
  </message>
  <message name="timbrar_cfdi_roma_response">
    <part name="timbrar_cfdi_roma_result" type="tns:timbrar_cfdi_roma_result" xsi:nillable="true"/>
  </message>
  <portType name="timbrado_cfdi40_port">
    <operation name="timbrar_cfdi">
      <input message="tns:timbrar_cfdi"/>
      <output message="tns:timbrar_cfdi_response"/>
    </operation>
    <operation name="timbrar_cfdi_qr">
      <input message="tns:timbrar_cfdi_qr"/>
      <output message="tns:timbrar_cfdi_qr_response"/>
    </operation>
    <operation name="timbrar_multirfc">
      <input message="tns:timbrar_multirfc"/>
      <output message="tns:timbrar_multirfc_response"/>
    </operation>
    <operation name="timbrar_cfdi_referencia">
      <input message="tns:timbrar_cfdi_referencia"/>
      <output message="tns:timbrar_cfdi_referencia_response"/>
    </operation>
    <operation name="timbrar_zip">
      <input message="tns:timbrar_zip"/>
      <output message="tns:timbrar_zip_response"/>
    </operation>
    <operation name="buscar_cfdis">
      <input message="tns:buscar_cfdis"/>
      <output message="tns:buscar_cfdis_response"/>
    </operation>
    <operation name="buscar_acuse_recepcion">
      <input message="tns:buscar_acuse_recepcion"/>
      <output message="tns:buscar_acuse_recepcion_response"/>
    </operation>
    <operation name="recuperar_comprobante">
      <input message="tns:recuperar_comprobante"/>
      <output message="tns:recuperar_comprobante_response"/>
    </operation>
    <operation name="recuperar_comprobante_referencia">
      <input message="tns:recuperar_comprobante_referencia"/>
      <output message="tns:recuperar_comprobante_referencia_response"/>
    </operation>
    <operation name="obtener_consumo">
      <input message="tns:obtener_consumo"/>
      <output message="tns:obtener_consumo_response"/>
    </operation>
    <operation name="consulta_rfc">
      <input message="tns:consulta_rfc"/>
      <output message="tns:consulta_rfc_response"/>
    </operation>
    <operation name="consulta_lco">
      <input message="tns:consulta_lco"/>
      <output message="tns:consulta_lco_response"/>
    </operation>
    <operation name="timbrar_cfdi_roma">
      <input message="tns:timbrar_cfdi_roma"/>
      <output message="tns:timbrar_cfdi_roma_response"/>
    </operation>
  </portType>
  <binding name="timbrado_cfdi40_binding" type="tns:timbrado_cfdi40_port">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="timbrar_cfdi">
      <soap:operation soapAction="timbrar_cfdi"/>
      <input>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WashOut"/>
      </input>
      <output>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WashOut"/>
      </output>
    </operation>
    <operation name="timbrar_cfdi_qr">
      <soap:operation soapAction="timbrar_cfdi_qr"/>
      <input>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WashOut"/>
      </input>
      <output>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WashOut"/>
      </output>
    </operation>
    <operation name="timbrar_multirfc">
      <soap:operation soapAction="timbrar_multirfc"/>
      <input>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WashOut"/>
      </input>
      <output>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WashOut"/>
      </output>
    </operation>
    <operation name="timbrar_cfdi_referencia">
      <soap:operation soapAction="timbrar_cfdi_referencia"/>
      <input>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WashOut"/>
      </input>
      <output>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WashOut"/>
      </output>
    </operation>
    <operation name="timbrar_zip">
      <soap:operation soapAction="timbrar_zip"/>
      <input>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WashOut"/>
      </input>
      <output>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WashOut"/>
      </output>
    </operation>
    <operation name="buscar_cfdis">
      <soap:operation soapAction="buscar_cfdis"/>
      <input>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WashOut"/>
      </input>
      <output>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WashOut"/>
      </output>
    </operation>
    <operation name="buscar_acuse_recepcion">
      <soap:operation soapAction="buscar_acuse_recepcion"/>
      <input>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WashOut"/>
      </input>
      <output>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WashOut"/>
      </output>
    </operation>
    <operation name="recuperar_comprobante">
      <soap:operation soapAction="recuperar_comprobante"/>
      <input>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WashOut"/>
      </input>
      <output>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WashOut"/>
      </output>
    </operation>
    <operation name="recuperar_comprobante_referencia">
      <soap:operation soapAction="recuperar_comprobante_referencia"/>
      <input>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WashOut"/>
      </input>
      <output>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WashOut"/>
      </output>
    </operation>
    <operation name="obtener_consumo">
      <soap:operation soapAction="obtener_consumo"/>
      <input>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WashOut"/>
      </input>
      <output>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WashOut"/>
      </output>
    </operation>
    <operation name="consulta_rfc">
      <soap:operation soapAction="consulta_rfc"/>
      <input>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WashOut"/>
      </input>
      <output>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WashOut"/>
      </output>
    </operation>
    <operation name="consulta_lco">
      <soap:operation soapAction="consulta_lco"/>
      <input>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WashOut"/>
      </input>
      <output>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WashOut"/>
      </output>
    </operation>
    <operation name="timbrar_cfdi_roma">
      <soap:operation soapAction="timbrar_cfdi_roma"/>
      <input>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WashOut"/>
      </input>
      <output>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WashOut"/>
      </output>
    </operation>
  </binding>
  <service name="service">
    <port name="timbrado_cfdi40_port" binding="tns:timbrado_cfdi40_binding">
      <soap:address location="https://sistema.timbox.com.mx/timbrado_cfdi40/action"/>
    </port>
  </service>
</definitions>
