ofifactura
Click here for a complete list of operations.
guardar_nc_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_nc_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_nc_temp xmlns="http://tempuri.org/">
<cedula>string</cedula>
<nombre>string</nombre>
<direccion>string</direccion>
<telefono>string</telefono>
<fecha_factura>string</fecha_factura>
<id_factura>int</id_factura>
<subtotal_factura>string</subtotal_factura>
<iva_factura>string</iva_factura>
<total_factura>string</total_factura>
<descuento>string</descuento>
<id_producto>string</id_producto>
<detalle_producto>string</detalle_producto>
<cantidad>string</cantidad>
<precio_det>string</precio_det>
<subtotal_det>string</subtotal_det>
<email>string</email>
<clave_acceso>string</clave_acceso>
<usuario>string</usuario>
<subtotal_12>double</subtotal_12>
<subtotal_0>double</subtotal_0>
<forma_pago>string</forma_pago>
<referencia>string</referencia>
<id_tipo_documento>string</id_tipo_documento>
<iva>string</iva>
<establecimiento>string</establecimiento>
<serie>string</serie>
<xml2>string</xml2>
<empresa>string</empresa>
<descuento_det>string</descuento_det>
<linea>int</linea>
<piva>double</piva>
<codigoPorc_iva>int</codigoPorc_iva>
<observacion>string</observacion>
<numero_factura>string</numero_factura>
<fecha_factura2>string</fecha_factura2>
<motivo2>string</motivo2>
<generar>string</generar>
</guardar_nc_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_nc_tempResponse xmlns="http://tempuri.org/">
<guardar_nc_tempResult>string</guardar_nc_tempResult>
</guardar_nc_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_nc_temp xmlns="http://tempuri.org/">
<cedula>string</cedula>
<nombre>string</nombre>
<direccion>string</direccion>
<telefono>string</telefono>
<fecha_factura>string</fecha_factura>
<id_factura>int</id_factura>
<subtotal_factura>string</subtotal_factura>
<iva_factura>string</iva_factura>
<total_factura>string</total_factura>
<descuento>string</descuento>
<id_producto>string</id_producto>
<detalle_producto>string</detalle_producto>
<cantidad>string</cantidad>
<precio_det>string</precio_det>
<subtotal_det>string</subtotal_det>
<email>string</email>
<clave_acceso>string</clave_acceso>
<usuario>string</usuario>
<subtotal_12>double</subtotal_12>
<subtotal_0>double</subtotal_0>
<forma_pago>string</forma_pago>
<referencia>string</referencia>
<id_tipo_documento>string</id_tipo_documento>
<iva>string</iva>
<establecimiento>string</establecimiento>
<serie>string</serie>
<xml2>string</xml2>
<empresa>string</empresa>
<descuento_det>string</descuento_det>
<linea>int</linea>
<piva>double</piva>
<codigoPorc_iva>int</codigoPorc_iva>
<observacion>string</observacion>
<numero_factura>string</numero_factura>
<fecha_factura2>string</fecha_factura2>
<motivo2>string</motivo2>
<generar>string</generar>
</guardar_nc_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_nc_tempResponse xmlns="http://tempuri.org/">
<guardar_nc_tempResult>string</guardar_nc_tempResult>
</guardar_nc_tempResponse>
</soap12:Body>
</soap12:Envelope>