WSAPO


Click here for a complete list of operations.

ValidarComprobante

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 /WSAPO.asmx HTTP/1.1
Host: wsapo.requestsa.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/ValidarComprobante"

<?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>
    <ValidarComprobante xmlns="http://tempuri.org/">
      <I_COD_AUT>string</I_COD_AUT>
      <I_TIPO_COD_AUT>string</I_TIPO_COD_AUT>
      <I_CUIT_TERCERO>string</I_CUIT_TERCERO>
      <I_DOC_RECEP>string</I_DOC_RECEP>
      <I_FECHA_COMP>string</I_FECHA_COMP>
      <I_IMPORTE_COMP>decimal</I_IMPORTE_COMP>
      <I_NRO_COMP>string</I_NRO_COMP>
      <I_PTO_VTA>string</I_PTO_VTA>
      <I_TIPO_COMP>string</I_TIPO_COMP>
      <I_TIPO_DOC_RECEP>string</I_TIPO_DOC_RECEP>
      <respuesta>
        <ZAPO_RESPUESTA>
          <TIPO_PRUEBA>string</TIPO_PRUEBA>
          <RESULTADO>string</RESULTADO>
        </ZAPO_RESPUESTA>
        <ZAPO_RESPUESTA>
          <TIPO_PRUEBA>string</TIPO_PRUEBA>
          <RESULTADO>string</RESULTADO>
        </ZAPO_RESPUESTA>
      </respuesta>
    </ValidarComprobante>
  </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>
    <ValidarComprobanteResponse xmlns="http://tempuri.org/">
      <MENSAJEERROR>string</MENSAJEERROR>
      <respuesta>
        <ZAPO_RESPUESTA>
          <TIPO_PRUEBA>string</TIPO_PRUEBA>
          <RESULTADO>string</RESULTADO>
        </ZAPO_RESPUESTA>
        <ZAPO_RESPUESTA>
          <TIPO_PRUEBA>string</TIPO_PRUEBA>
          <RESULTADO>string</RESULTADO>
        </ZAPO_RESPUESTA>
      </respuesta>
    </ValidarComprobanteResponse>
  </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 /WSAPO.asmx HTTP/1.1
Host: wsapo.requestsa.net
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>
    <ValidarComprobante xmlns="http://tempuri.org/">
      <I_COD_AUT>string</I_COD_AUT>
      <I_TIPO_COD_AUT>string</I_TIPO_COD_AUT>
      <I_CUIT_TERCERO>string</I_CUIT_TERCERO>
      <I_DOC_RECEP>string</I_DOC_RECEP>
      <I_FECHA_COMP>string</I_FECHA_COMP>
      <I_IMPORTE_COMP>decimal</I_IMPORTE_COMP>
      <I_NRO_COMP>string</I_NRO_COMP>
      <I_PTO_VTA>string</I_PTO_VTA>
      <I_TIPO_COMP>string</I_TIPO_COMP>
      <I_TIPO_DOC_RECEP>string</I_TIPO_DOC_RECEP>
      <respuesta>
        <ZAPO_RESPUESTA>
          <TIPO_PRUEBA>string</TIPO_PRUEBA>
          <RESULTADO>string</RESULTADO>
        </ZAPO_RESPUESTA>
        <ZAPO_RESPUESTA>
          <TIPO_PRUEBA>string</TIPO_PRUEBA>
          <RESULTADO>string</RESULTADO>
        </ZAPO_RESPUESTA>
      </respuesta>
    </ValidarComprobante>
  </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>
    <ValidarComprobanteResponse xmlns="http://tempuri.org/">
      <MENSAJEERROR>string</MENSAJEERROR>
      <respuesta>
        <ZAPO_RESPUESTA>
          <TIPO_PRUEBA>string</TIPO_PRUEBA>
          <RESULTADO>string</RESULTADO>
        </ZAPO_RESPUESTA>
        <ZAPO_RESPUESTA>
          <TIPO_PRUEBA>string</TIPO_PRUEBA>
          <RESULTADO>string</RESULTADO>
        </ZAPO_RESPUESTA>
      </respuesta>
    </ValidarComprobanteResponse>
  </soap12:Body>
</soap12:Envelope>