ofifactura
Click here for a complete list of operations.
guardar_retencion_temp
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 /ofifactura.asmx HTTP/1.1
Host: www.elingeniero.me
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/guardar_retencion_temp"
<?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>
<guardar_retencion_temp xmlns="http://tempuri.org/">
<id_retencion>string</id_retencion>
<serie>string</serie>
<documento>string</documento>
<fecha_ingreso>string</fecha_ingreso>
<cod_retencion>int</cod_retencion>
<codigot>string</codigot>
<detallet>string</detallet>
<base_imponible>string</base_imponible>
<porcentaje>string</porcentaje>
<total>string</total>
<doc_sustento>string</doc_sustento>
<fecha>string</fecha>
<tipo>string</tipo>
<ruct>string</ruct>
<proveedor>string</proveedor>
<fecha_fiscal>string</fecha_fiscal>
<id_tipo_documento>string</id_tipo_documento>
<direccion>string</direccion>
<telefono>string</telefono>
<email>string</email>
<clave_acceso>string</clave_acceso>
<usuario>string</usuario>
<fac_id>int</fac_id>
<fac_serie>string</fac_serie>
<fac_fecha>string</fac_fecha>
<establecimiento>string</establecimiento>
<serie2>string</serie2>
<xml>string</xml>
<empresa>string</empresa>
</guardar_retencion_temp>
</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>
<guardar_retencion_tempResponse xmlns="http://tempuri.org/">
<guardar_retencion_tempResult>string</guardar_retencion_tempResult>
</guardar_retencion_tempResponse>
</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 /ofifactura.asmx HTTP/1.1
Host: www.elingeniero.me
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>
<guardar_retencion_temp xmlns="http://tempuri.org/">
<id_retencion>string</id_retencion>
<serie>string</serie>
<documento>string</documento>
<fecha_ingreso>string</fecha_ingreso>
<cod_retencion>int</cod_retencion>
<codigot>string</codigot>
<detallet>string</detallet>
<base_imponible>string</base_imponible>
<porcentaje>string</porcentaje>
<total>string</total>
<doc_sustento>string</doc_sustento>
<fecha>string</fecha>
<tipo>string</tipo>
<ruct>string</ruct>
<proveedor>string</proveedor>
<fecha_fiscal>string</fecha_fiscal>
<id_tipo_documento>string</id_tipo_documento>
<direccion>string</direccion>
<telefono>string</telefono>
<email>string</email>
<clave_acceso>string</clave_acceso>
<usuario>string</usuario>
<fac_id>int</fac_id>
<fac_serie>string</fac_serie>
<fac_fecha>string</fac_fecha>
<establecimiento>string</establecimiento>
<serie2>string</serie2>
<xml>string</xml>
<empresa>string</empresa>
</guardar_retencion_temp>
</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>
<guardar_retencion_tempResponse xmlns="http://tempuri.org/">
<guardar_retencion_tempResult>string</guardar_retencion_tempResult>
</guardar_retencion_tempResponse>
</soap12:Body>
</soap12:Envelope>