Rp3.Facturacion.Electronica.Web.Service.Executor


Click here for a complete list of operations.

Authorize

Servicio de autorización de Comprobantes Electrónicos al SRI

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /Executor.asmx HTTP/1.1
Host: 74.208.28.30
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.rp3.com.ec/Authorize"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <Authorize xmlns="http://www.rp3.com.ec/">
      <request>
        <StoreId>int</StoreId>
        <EmissionPointId>int</EmissionPointId>
        <AccessKey>string</AccessKey>
        <Application>POS or Mayorista or Financiero or Externa or Merchandising or Pronaca</Application>
        <AttempNumber>int</AttempNumber>
        <FiscalDocumentTypeId>string</FiscalDocumentTypeId>
        <InvoiceData>base64Binary</InvoiceData>
        <Url>string</Url>
        <Email>string</Email>
        <StartDateTime>dateTime</StartDateTime>
        <LogonName>string</LogonName>
        <IsResend>boolean</IsResend>
        <ContainsError70>boolean</ContainsError70>
      </request>
    </Authorize>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <AuthorizeResponse xmlns="http://www.rp3.com.ec/">
      <AuthorizeResult>
        <UseContingency>boolean</UseContingency>
        <AttempCount>int</AttempCount>
        <IsError>boolean</IsError>
        <Authorizations>
          <AuthorizationInfo>
            <CallState>string</CallState>
            <DateTime>dateTime</DateTime>
            <Environment>string</Environment>
            <AuthorizationNumber>string</AuthorizationNumber>
            <Messages xsi:nil="true" />
            <Invoice>string</Invoice>
          </AuthorizationInfo>
          <AuthorizationInfo>
            <CallState>string</CallState>
            <DateTime>dateTime</DateTime>
            <Environment>string</Environment>
            <AuthorizationNumber>string</AuthorizationNumber>
            <Messages xsi:nil="true" />
            <Invoice>string</Invoice>
          </AuthorizationInfo>
        </Authorizations>
        <CallingCount>int</CallingCount>
        <Authorization>
          <CallState>string</CallState>
          <DateTime>dateTime</DateTime>
          <Environment>string</Environment>
          <AuthorizationNumber>string</AuthorizationNumber>
          <Messages>
            <Message xsi:nil="true" />
            <Message xsi:nil="true" />
          </Messages>
          <Invoice>string</Invoice>
        </Authorization>
        <ErrorMessage>string</ErrorMessage>
        <SuccessfullDocumentSave>boolean</SuccessfullDocumentSave>
        <Content>string</Content>
      </AuthorizeResult>
    </AuthorizeResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /Executor.asmx HTTP/1.1
Host: 74.208.28.30
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <Authorize xmlns="http://www.rp3.com.ec/">
      <request>
        <StoreId>int</StoreId>
        <EmissionPointId>int</EmissionPointId>
        <AccessKey>string</AccessKey>
        <Application>POS or Mayorista or Financiero or Externa or Merchandising or Pronaca</Application>
        <AttempNumber>int</AttempNumber>
        <FiscalDocumentTypeId>string</FiscalDocumentTypeId>
        <InvoiceData>base64Binary</InvoiceData>
        <Url>string</Url>
        <Email>string</Email>
        <StartDateTime>dateTime</StartDateTime>
        <LogonName>string</LogonName>
        <IsResend>boolean</IsResend>
        <ContainsError70>boolean</ContainsError70>
      </request>
    </Authorize>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <AuthorizeResponse xmlns="http://www.rp3.com.ec/">
      <AuthorizeResult>
        <UseContingency>boolean</UseContingency>
        <AttempCount>int</AttempCount>
        <IsError>boolean</IsError>
        <Authorizations>
          <AuthorizationInfo>
            <CallState>string</CallState>
            <DateTime>dateTime</DateTime>
            <Environment>string</Environment>
            <AuthorizationNumber>string</AuthorizationNumber>
            <Messages xsi:nil="true" />
            <Invoice>string</Invoice>
          </AuthorizationInfo>
          <AuthorizationInfo>
            <CallState>string</CallState>
            <DateTime>dateTime</DateTime>
            <Environment>string</Environment>
            <AuthorizationNumber>string</AuthorizationNumber>
            <Messages xsi:nil="true" />
            <Invoice>string</Invoice>
          </AuthorizationInfo>
        </Authorizations>
        <CallingCount>int</CallingCount>
        <Authorization>
          <CallState>string</CallState>
          <DateTime>dateTime</DateTime>
          <Environment>string</Environment>
          <AuthorizationNumber>string</AuthorizationNumber>
          <Messages>
            <Message xsi:nil="true" />
            <Message xsi:nil="true" />
          </Messages>
          <Invoice>string</Invoice>
        </Authorization>
        <ErrorMessage>string</ErrorMessage>
        <SuccessfullDocumentSave>boolean</SuccessfullDocumentSave>
        <Content>string</Content>
      </AuthorizeResult>
    </AuthorizeResponse>
  </soap12:Body>
</soap12:Envelope>