servModFactura


Click here for a complete list of operations.

fpLLenaLineasModFactura

Agrega LĂ­neas(Detalle de Modulo Factura) al objeto principal de Mod Factura

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 /servModFactura.asmx HTTP/1.1
Host: smprog-ws.coamperu.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://sinfoec.com/fpLLenaLineasModFactura"

<?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>
    <fpLLenaLineasModFactura xmlns="http://sinfoec.com/">
      <objCab>
        <_cod_modFact>int</_cod_modFact>
        <_numFactura>string</_numFactura>
        <_fechaFactura>string</_fechaFactura>
        <_codCliente>int</_codCliente>
        <_codOT>int</_codOT>
        <_tipoOT>char</_tipoOT>
        <_porcDescuento>int</_porcDescuento>
        <_totRepuesto>decimal</_totRepuesto>
        <_totServicio>decimal</_totServicio>
        <_totTerceros>decimal</_totTerceros>
        <_totSubtotal>decimal</_totSubtotal>
        <_totIva>decimal</_totIva>
        <_totDescuento>decimal</_totDescuento>
        <_totTotal>decimal</_totTotal>
        <_usrCrea>string</_usrCrea>
        <_estado>char</_estado>
        <lineas>
          <cls_modFact_detalle>
            <_numActividad>int</_numActividad>
            <_codComponente>string</_codComponente>
            <_codSubcomponente>string</_codSubcomponente>
            <_codTareaPreventiva>string</_codTareaPreventiva>
            <_item>int</_item>
            <_cantidad>int</_cantidad>
            <_precio>decimal</_precio>
            <_detalleItem>string</_detalleItem>
            <_valorIva>decimal</_valorIva>
            <_totalItem>decimal</_totalItem>
            <_descuento>decimal</_descuento>
            <_subtotal>decimal</_subtotal>
            <_ivaDET>char</_ivaDET>
            <_tipoServicio>string</_tipoServicio>
            <_estadoDET>char</_estadoDET>
          </cls_modFact_detalle>
          <cls_modFact_detalle>
            <_numActividad>int</_numActividad>
            <_codComponente>string</_codComponente>
            <_codSubcomponente>string</_codSubcomponente>
            <_codTareaPreventiva>string</_codTareaPreventiva>
            <_item>int</_item>
            <_cantidad>int</_cantidad>
            <_precio>decimal</_precio>
            <_detalleItem>string</_detalleItem>
            <_valorIva>decimal</_valorIva>
            <_totalItem>decimal</_totalItem>
            <_descuento>decimal</_descuento>
            <_subtotal>decimal</_subtotal>
            <_ivaDET>char</_ivaDET>
            <_tipoServicio>string</_tipoServicio>
            <_estadoDET>char</_estadoDET>
          </cls_modFact_detalle>
        </lineas>
        <_errNumero>int</_errNumero>
        <_errLinea>int</_errLinea>
        <_errDetalle>string</_errDetalle>
      </objCab>
      <objDet>
        <_numActividad>int</_numActividad>
        <_codComponente>string</_codComponente>
        <_codSubcomponente>string</_codSubcomponente>
        <_codTareaPreventiva>string</_codTareaPreventiva>
        <_item>int</_item>
        <_cantidad>int</_cantidad>
        <_precio>decimal</_precio>
        <_detalleItem>string</_detalleItem>
        <_valorIva>decimal</_valorIva>
        <_totalItem>decimal</_totalItem>
        <_descuento>decimal</_descuento>
        <_subtotal>decimal</_subtotal>
        <_ivaDET>char</_ivaDET>
        <_tipoServicio>string</_tipoServicio>
        <_estadoDET>char</_estadoDET>
      </objDet>
    </fpLLenaLineasModFactura>
  </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>
    <fpLLenaLineasModFacturaResponse xmlns="http://sinfoec.com/">
      <fpLLenaLineasModFacturaResult>
        <_cod_modFact>int</_cod_modFact>
        <_numFactura>string</_numFactura>
        <_fechaFactura>string</_fechaFactura>
        <_codCliente>int</_codCliente>
        <_codOT>int</_codOT>
        <_tipoOT>char</_tipoOT>
        <_porcDescuento>int</_porcDescuento>
        <_totRepuesto>decimal</_totRepuesto>
        <_totServicio>decimal</_totServicio>
        <_totTerceros>decimal</_totTerceros>
        <_totSubtotal>decimal</_totSubtotal>
        <_totIva>decimal</_totIva>
        <_totDescuento>decimal</_totDescuento>
        <_totTotal>decimal</_totTotal>
        <_usrCrea>string</_usrCrea>
        <_estado>char</_estado>
        <lineas>
          <cls_modFact_detalle>
            <_numActividad>int</_numActividad>
            <_codComponente>string</_codComponente>
            <_codSubcomponente>string</_codSubcomponente>
            <_codTareaPreventiva>string</_codTareaPreventiva>
            <_item>int</_item>
            <_cantidad>int</_cantidad>
            <_precio>decimal</_precio>
            <_detalleItem>string</_detalleItem>
            <_valorIva>decimal</_valorIva>
            <_totalItem>decimal</_totalItem>
            <_descuento>decimal</_descuento>
            <_subtotal>decimal</_subtotal>
            <_ivaDET>char</_ivaDET>
            <_tipoServicio>string</_tipoServicio>
            <_estadoDET>char</_estadoDET>
          </cls_modFact_detalle>
          <cls_modFact_detalle>
            <_numActividad>int</_numActividad>
            <_codComponente>string</_codComponente>
            <_codSubcomponente>string</_codSubcomponente>
            <_codTareaPreventiva>string</_codTareaPreventiva>
            <_item>int</_item>
            <_cantidad>int</_cantidad>
            <_precio>decimal</_precio>
            <_detalleItem>string</_detalleItem>
            <_valorIva>decimal</_valorIva>
            <_totalItem>decimal</_totalItem>
            <_descuento>decimal</_descuento>
            <_subtotal>decimal</_subtotal>
            <_ivaDET>char</_ivaDET>
            <_tipoServicio>string</_tipoServicio>
            <_estadoDET>char</_estadoDET>
          </cls_modFact_detalle>
        </lineas>
        <_errNumero>int</_errNumero>
        <_errLinea>int</_errLinea>
        <_errDetalle>string</_errDetalle>
      </fpLLenaLineasModFacturaResult>
    </fpLLenaLineasModFacturaResponse>
  </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 /servModFactura.asmx HTTP/1.1
Host: smprog-ws.coamperu.com
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>
    <fpLLenaLineasModFactura xmlns="http://sinfoec.com/">
      <objCab>
        <_cod_modFact>int</_cod_modFact>
        <_numFactura>string</_numFactura>
        <_fechaFactura>string</_fechaFactura>
        <_codCliente>int</_codCliente>
        <_codOT>int</_codOT>
        <_tipoOT>char</_tipoOT>
        <_porcDescuento>int</_porcDescuento>
        <_totRepuesto>decimal</_totRepuesto>
        <_totServicio>decimal</_totServicio>
        <_totTerceros>decimal</_totTerceros>
        <_totSubtotal>decimal</_totSubtotal>
        <_totIva>decimal</_totIva>
        <_totDescuento>decimal</_totDescuento>
        <_totTotal>decimal</_totTotal>
        <_usrCrea>string</_usrCrea>
        <_estado>char</_estado>
        <lineas>
          <cls_modFact_detalle>
            <_numActividad>int</_numActividad>
            <_codComponente>string</_codComponente>
            <_codSubcomponente>string</_codSubcomponente>
            <_codTareaPreventiva>string</_codTareaPreventiva>
            <_item>int</_item>
            <_cantidad>int</_cantidad>
            <_precio>decimal</_precio>
            <_detalleItem>string</_detalleItem>
            <_valorIva>decimal</_valorIva>
            <_totalItem>decimal</_totalItem>
            <_descuento>decimal</_descuento>
            <_subtotal>decimal</_subtotal>
            <_ivaDET>char</_ivaDET>
            <_tipoServicio>string</_tipoServicio>
            <_estadoDET>char</_estadoDET>
          </cls_modFact_detalle>
          <cls_modFact_detalle>
            <_numActividad>int</_numActividad>
            <_codComponente>string</_codComponente>
            <_codSubcomponente>string</_codSubcomponente>
            <_codTareaPreventiva>string</_codTareaPreventiva>
            <_item>int</_item>
            <_cantidad>int</_cantidad>
            <_precio>decimal</_precio>
            <_detalleItem>string</_detalleItem>
            <_valorIva>decimal</_valorIva>
            <_totalItem>decimal</_totalItem>
            <_descuento>decimal</_descuento>
            <_subtotal>decimal</_subtotal>
            <_ivaDET>char</_ivaDET>
            <_tipoServicio>string</_tipoServicio>
            <_estadoDET>char</_estadoDET>
          </cls_modFact_detalle>
        </lineas>
        <_errNumero>int</_errNumero>
        <_errLinea>int</_errLinea>
        <_errDetalle>string</_errDetalle>
      </objCab>
      <objDet>
        <_numActividad>int</_numActividad>
        <_codComponente>string</_codComponente>
        <_codSubcomponente>string</_codSubcomponente>
        <_codTareaPreventiva>string</_codTareaPreventiva>
        <_item>int</_item>
        <_cantidad>int</_cantidad>
        <_precio>decimal</_precio>
        <_detalleItem>string</_detalleItem>
        <_valorIva>decimal</_valorIva>
        <_totalItem>decimal</_totalItem>
        <_descuento>decimal</_descuento>
        <_subtotal>decimal</_subtotal>
        <_ivaDET>char</_ivaDET>
        <_tipoServicio>string</_tipoServicio>
        <_estadoDET>char</_estadoDET>
      </objDet>
    </fpLLenaLineasModFactura>
  </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>
    <fpLLenaLineasModFacturaResponse xmlns="http://sinfoec.com/">
      <fpLLenaLineasModFacturaResult>
        <_cod_modFact>int</_cod_modFact>
        <_numFactura>string</_numFactura>
        <_fechaFactura>string</_fechaFactura>
        <_codCliente>int</_codCliente>
        <_codOT>int</_codOT>
        <_tipoOT>char</_tipoOT>
        <_porcDescuento>int</_porcDescuento>
        <_totRepuesto>decimal</_totRepuesto>
        <_totServicio>decimal</_totServicio>
        <_totTerceros>decimal</_totTerceros>
        <_totSubtotal>decimal</_totSubtotal>
        <_totIva>decimal</_totIva>
        <_totDescuento>decimal</_totDescuento>
        <_totTotal>decimal</_totTotal>
        <_usrCrea>string</_usrCrea>
        <_estado>char</_estado>
        <lineas>
          <cls_modFact_detalle>
            <_numActividad>int</_numActividad>
            <_codComponente>string</_codComponente>
            <_codSubcomponente>string</_codSubcomponente>
            <_codTareaPreventiva>string</_codTareaPreventiva>
            <_item>int</_item>
            <_cantidad>int</_cantidad>
            <_precio>decimal</_precio>
            <_detalleItem>string</_detalleItem>
            <_valorIva>decimal</_valorIva>
            <_totalItem>decimal</_totalItem>
            <_descuento>decimal</_descuento>
            <_subtotal>decimal</_subtotal>
            <_ivaDET>char</_ivaDET>
            <_tipoServicio>string</_tipoServicio>
            <_estadoDET>char</_estadoDET>
          </cls_modFact_detalle>
          <cls_modFact_detalle>
            <_numActividad>int</_numActividad>
            <_codComponente>string</_codComponente>
            <_codSubcomponente>string</_codSubcomponente>
            <_codTareaPreventiva>string</_codTareaPreventiva>
            <_item>int</_item>
            <_cantidad>int</_cantidad>
            <_precio>decimal</_precio>
            <_detalleItem>string</_detalleItem>
            <_valorIva>decimal</_valorIva>
            <_totalItem>decimal</_totalItem>
            <_descuento>decimal</_descuento>
            <_subtotal>decimal</_subtotal>
            <_ivaDET>char</_ivaDET>
            <_tipoServicio>string</_tipoServicio>
            <_estadoDET>char</_estadoDET>
          </cls_modFact_detalle>
        </lineas>
        <_errNumero>int</_errNumero>
        <_errLinea>int</_errLinea>
        <_errDetalle>string</_errDetalle>
      </fpLLenaLineasModFacturaResult>
    </fpLLenaLineasModFacturaResponse>
  </soap12:Body>
</soap12:Envelope>