<?xml version='1.0' encoding='UTF-8'?>
<wsdl:definitions xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:plink="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:wsdlsoap11="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdlsoap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap11enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap12env="http://www.w3.org/2003/05/soap-envelope" xmlns:soap12enc="http://www.w3.org/2003/05/soap-encoding" xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:tns="http://service.sunat.gob.pe" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://service.sunat.gob.pe" xmlns:xsns="http://service.sunat.gob.pe" targetNamespace="http://service.sunat.gob.pe" name="BillService"><wsdl:types><xs:schema targetNamespace="http://service.sunat.gob.pe" elementFormDefault="qualified"><xs:complexType name="GetStatusRequest"><xs:sequence><xs:element name="ticket" type="xs:string" minOccurs="0" nillable="true"/></xs:sequence></xs:complexType><xs:complexType name="GetStatusResponse"><xs:sequence><xs:element name="content" type="xs:string" minOccurs="0" nillable="true"><xs:annotation><xs:documentation>CDR en formato base64 cuando el procesamiento está completo</xs:documentation></xs:annotation></xs:element><xs:element name="statusCode" type="xs:string" minOccurs="0" nillable="true"><xs:annotation><xs:documentation>Código de estado: 98=en proceso, 0=procesado, 99=error</xs:documentation></xs:annotation></xs:element><xs:element name="error" type="xs:string" minOccurs="0" nillable="true"><xs:annotation><xs:documentation>Mensaje de error en caso de fallo</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType><xs:complexType name="GetStatusCdrRequest"><xs:sequence><xs:element name="rucComprobante" type="xs:string" minOccurs="0" nillable="true"/><xs:element name="tipoComprobante" type="xs:string" minOccurs="0" nillable="true"/><xs:element name="serieComprobante" type="xs:string" minOccurs="0" nillable="true"/><xs:element name="numeroComprobante" type="xs:string" minOccurs="0" nillable="true"/></xs:sequence></xs:complexType><xs:complexType name="GetStatusCdrResponse"><xs:sequence><xs:element name="document" type="xs:string" minOccurs="0" nillable="true"><xs:annotation><xs:documentation>CDR (Constancia de Recepción) en formato base64</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType><xs:complexType name="SendBillRequest"><xs:sequence><xs:element name="fileName" type="xs:string" minOccurs="0" nillable="true"/><xs:element name="contentFile" type="xs:string" minOccurs="0" nillable="true"/></xs:sequence></xs:complexType><xs:complexType name="SendBillResponse"><xs:sequence><xs:element name="applicationResponse" type="xs:string" minOccurs="0" nillable="true"><xs:annotation><xs:documentation>CDR (Constancia de Recepción) en formato base64</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType><xs:complexType name="SendSummaryRequest"><xs:sequence><xs:element name="fileName" type="xs:string" minOccurs="0" nillable="true"/><xs:element name="contentFile" type="xs:string" minOccurs="0" nillable="true"/></xs:sequence></xs:complexType><xs:complexType name="SendSummaryResponse"><xs:sequence><xs:element name="ticket" type="xs:string" minOccurs="0" nillable="true"><xs:annotation><xs:documentation>Ticket único para consulta de estado del procesamiento</xs:documentation></xs:annotation></xs:element><xs:element name="error" type="xs:string" minOccurs="0" nillable="true"><xs:annotation><xs:documentation>Mensaje de error en caso de fallo</xs:documentation></xs:annotation></xs:element></xs:sequence></xs:complexType><xs:element name="getStatus" type="tns:GetStatusRequest"/><xs:element name="getStatusResponse" type="tns:GetStatusResponse"/><xs:element name="getStatusCdr" type="tns:GetStatusCdrRequest"/><xs:element name="getStatusCdrResponse" type="tns:GetStatusCdrResponse"/><xs:element name="sendBill" type="tns:SendBillRequest"/><xs:element name="sendBillResponse" type="tns:SendBillResponse"/><xs:element name="sendSummary" type="tns:SendSummaryRequest"/><xs:element name="sendSummaryResponse" type="tns:SendSummaryResponse"/></xs:schema></wsdl:types><wsdl:message name="sendBill"><wsdl:part name="sendBill" element="tns:sendBill"/></wsdl:message><wsdl:message name="sendBillResponse"><wsdl:part name="sendBillResponse" element="tns:sendBillResponse"/></wsdl:message><wsdl:message name="sendSummary"><wsdl:part name="sendSummary" element="tns:sendSummary"/></wsdl:message><wsdl:message name="sendSummaryResponse"><wsdl:part name="sendSummaryResponse" element="tns:sendSummaryResponse"/></wsdl:message><wsdl:message name="getStatus"><wsdl:part name="getStatus" element="tns:getStatus"/></wsdl:message><wsdl:message name="getStatusResponse"><wsdl:part name="getStatusResponse" element="tns:getStatusResponse"/></wsdl:message><wsdl:message name="getStatusCdr"><wsdl:part name="getStatusCdr" element="tns:getStatusCdr"/></wsdl:message><wsdl:message name="getStatusCdrResponse"><wsdl:part name="getStatusCdrResponse" element="tns:getStatusCdrResponse"/></wsdl:message><wsdl:service name="BillService"><wsdl:port name="BillService" binding="tns:BillService"><wsdlsoap11:address location="http://ose.invoiceflow.pe/ol-ti-itcpe/billService"/></wsdl:port></wsdl:service><wsdl:portType name="BillService"><wsdl:operation name="sendBill" parameterOrder="sendBill"><wsdl:documentation>
Método síncrono para envío de comprobantes electrónicos
</wsdl:documentation><wsdl:input name="sendBill" message="tns:sendBill"/><wsdl:output name="sendBillResponse" message="tns:sendBillResponse"/></wsdl:operation><wsdl:operation name="sendSummary" parameterOrder="sendSummary"><wsdl:documentation>
Método asíncrono para envío de resúmenes electrónicos
</wsdl:documentation><wsdl:input name="sendSummary" message="tns:sendSummary"/><wsdl:output name="sendSummaryResponse" message="tns:sendSummaryResponse"/></wsdl:operation><wsdl:operation name="getStatus" parameterOrder="getStatus"><wsdl:documentation>
Método síncrono para consulta de estado de procesamiento por ticket
</wsdl:documentation><wsdl:input name="getStatus" message="tns:getStatus"/><wsdl:output name="getStatusResponse" message="tns:getStatusResponse"/></wsdl:operation><wsdl:operation name="getStatusCdr" parameterOrder="getStatusCdr"><wsdl:documentation>
Método síncrono para consulta de CDR por datos del comprobante
</wsdl:documentation><wsdl:input name="getStatusCdr" message="tns:getStatusCdr"/><wsdl:output name="getStatusCdrResponse" message="tns:getStatusCdrResponse"/></wsdl:operation></wsdl:portType><wsdl:binding name="BillService" type="tns:BillService"><wsdlsoap11:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="sendBill"><wsdlsoap11:operation soapAction="sendBill" style="document"/><wsdl:input name="sendBill"><wsdlsoap11:body use="literal"/></wsdl:input><wsdl:output name="sendBillResponse"><wsdlsoap11:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="sendSummary"><wsdlsoap11:operation soapAction="sendSummary" style="document"/><wsdl:input name="sendSummary"><wsdlsoap11:body use="literal"/></wsdl:input><wsdl:output name="sendSummaryResponse"><wsdlsoap11:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="getStatus"><wsdlsoap11:operation soapAction="getStatus" style="document"/><wsdl:input name="getStatus"><wsdlsoap11:body use="literal"/></wsdl:input><wsdl:output name="getStatusResponse"><wsdlsoap11:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="getStatusCdr"><wsdlsoap11:operation soapAction="getStatusCdr" style="document"/><wsdl:input name="getStatusCdr"><wsdlsoap11:body use="literal"/></wsdl:input><wsdl:output name="getStatusCdrResponse"><wsdlsoap11:body use="literal"/></wsdl:output></wsdl:operation></wsdl:binding></wsdl:definitions>