MovilServices


Click here for a complete list of operations.

SaveFactura

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 /MovilServices.asmx HTTP/1.1
Host: timovilapitest.amsisapps.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.controlmovil.com.co/SaveFactura"

<?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>
    <SaveFactura xmlns="http://www.controlmovil.com.co/">
      <factura>
        <Num>string</Num>
        <CRuta>string</CRuta>
        <IdCli>int</IdCli>
        <PRet>float</PRet>
        <PIca>float</PIca>
        <Fecha>string</Fecha>
        <FP>string</FP>
        <Anul>boolean</Anul>
        <IdRes>int</IdRes>
        <ISPPV>decimal</ISPPV>
        <ISPNV>decimal</ISPNV>
        <Detalle>
          <MDetFact>
            <IdProd>int</IdProd>
            <Cant>int</Cant>
            <Dev>int</Dev>
            <Rot>int</Rot>
            <VUnit>float</VUnit>
            <PDesc>float</PDesc>
            <PIva>float</PIva>
            <PDescA>float</PDescA>
            <ValDev>float</ValDev>
            <ISPPV>decimal</ISPPV>
            <ISPNV>decimal</ISPNV>
            <ISPP>int</ISPP>
            <ISPN>int</ISPN>
          </MDetFact>
          <MDetFact>
            <IdProd>int</IdProd>
            <Cant>int</Cant>
            <Dev>int</Dev>
            <Rot>int</Rot>
            <VUnit>float</VUnit>
            <PDesc>float</PDesc>
            <PIva>float</PIva>
            <PDescA>float</PDescA>
            <ValDev>float</ValDev>
            <ISPPV>decimal</ISPPV>
            <ISPNV>decimal</ISPNV>
            <ISPP>int</ISPP>
            <ISPN>int</ISPN>
          </MDetFact>
        </Detalle>
      </factura>
      <_idCliente>string</_idCliente>
    </SaveFactura>
  </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>
    <SaveFacturaResponse xmlns="http://www.controlmovil.com.co/">
      <SaveFacturaResult>string</SaveFacturaResult>
    </SaveFacturaResponse>
  </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 /MovilServices.asmx HTTP/1.1
Host: timovilapitest.amsisapps.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>
    <SaveFactura xmlns="http://www.controlmovil.com.co/">
      <factura>
        <Num>string</Num>
        <CRuta>string</CRuta>
        <IdCli>int</IdCli>
        <PRet>float</PRet>
        <PIca>float</PIca>
        <Fecha>string</Fecha>
        <FP>string</FP>
        <Anul>boolean</Anul>
        <IdRes>int</IdRes>
        <ISPPV>decimal</ISPPV>
        <ISPNV>decimal</ISPNV>
        <Detalle>
          <MDetFact>
            <IdProd>int</IdProd>
            <Cant>int</Cant>
            <Dev>int</Dev>
            <Rot>int</Rot>
            <VUnit>float</VUnit>
            <PDesc>float</PDesc>
            <PIva>float</PIva>
            <PDescA>float</PDescA>
            <ValDev>float</ValDev>
            <ISPPV>decimal</ISPPV>
            <ISPNV>decimal</ISPNV>
            <ISPP>int</ISPP>
            <ISPN>int</ISPN>
          </MDetFact>
          <MDetFact>
            <IdProd>int</IdProd>
            <Cant>int</Cant>
            <Dev>int</Dev>
            <Rot>int</Rot>
            <VUnit>float</VUnit>
            <PDesc>float</PDesc>
            <PIva>float</PIva>
            <PDescA>float</PDescA>
            <ValDev>float</ValDev>
            <ISPPV>decimal</ISPPV>
            <ISPNV>decimal</ISPNV>
            <ISPP>int</ISPP>
            <ISPN>int</ISPN>
          </MDetFact>
        </Detalle>
      </factura>
      <_idCliente>string</_idCliente>
    </SaveFactura>
  </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>
    <SaveFacturaResponse xmlns="http://www.controlmovil.com.co/">
      <SaveFacturaResult>string</SaveFacturaResult>
    </SaveFacturaResponse>
  </soap12:Body>
</soap12:Envelope>