GestionPedidos
Haga clic aquí para obtener una lista completa de operaciones.
CrearFactura
Prueba
El formulario de prueba sólo está disponible para solicitudes del equipo local.SOAP 1.1
A continuación se muestra un ejemplo de solicitud y respuesta para SOAP 1.1. Es necesario reemplazar los marcadores de posición que aparecen con valores reales.
POST /GestionPedidos.asmx HTTP/1.1
Host: wsintegracion.ricopia.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/CrearFactura"
<?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>
<CrearFactura xmlns="http://tempuri.org/">
<token>string</token>
<id_factura>string</id_factura>
<num_factura>string</num_factura>
<fecha_factura>dateTime</fecha_factura>
<cif_proveedor>string</cif_proveedor>
<cif_empresa>string</cif_empresa>
<importe_factura>float</importe_factura>
<base1>float</base1>
<iva1>float</iva1>
<importeIva1>float</importeIva1>
<base2>float</base2>
<iva2>float</iva2>
<importeIva2>float</importeIva2>
<base3>float</base3>
<iva3>float</iva3>
<importeIva3>float</importeIva3>
<base4>float</base4>
<iva4>float</iva4>
<importeIva4>float</importeIva4>
<estado>string</estado>
<asiento>string</asiento>
<url_dw>string</url_dw>
<importeIRPF>float</importeIRPF>
<porcentajeIRPF>float</porcentajeIRPF>
<json_lineas>string</json_lineas>
</CrearFactura>
</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>
<CrearFacturaResponse xmlns="http://tempuri.org/">
<CrearFacturaResult>
<resultado>boolean</resultado>
<descripcion>string</descripcion>
<datos>string</datos>
</CrearFacturaResult>
</CrearFacturaResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
A continuación se muestra un ejemplo de solicitud y respuesta para SOAP 1.2. Es necesario reemplazar los marcadores de posición que aparecen con valores reales.
POST /GestionPedidos.asmx HTTP/1.1
Host: wsintegracion.ricopia.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>
<CrearFactura xmlns="http://tempuri.org/">
<token>string</token>
<id_factura>string</id_factura>
<num_factura>string</num_factura>
<fecha_factura>dateTime</fecha_factura>
<cif_proveedor>string</cif_proveedor>
<cif_empresa>string</cif_empresa>
<importe_factura>float</importe_factura>
<base1>float</base1>
<iva1>float</iva1>
<importeIva1>float</importeIva1>
<base2>float</base2>
<iva2>float</iva2>
<importeIva2>float</importeIva2>
<base3>float</base3>
<iva3>float</iva3>
<importeIva3>float</importeIva3>
<base4>float</base4>
<iva4>float</iva4>
<importeIva4>float</importeIva4>
<estado>string</estado>
<asiento>string</asiento>
<url_dw>string</url_dw>
<importeIRPF>float</importeIRPF>
<porcentajeIRPF>float</porcentajeIRPF>
<json_lineas>string</json_lineas>
</CrearFactura>
</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>
<CrearFacturaResponse xmlns="http://tempuri.org/">
<CrearFacturaResult>
<resultado>boolean</resultado>
<descripcion>string</descripcion>
<datos>string</datos>
</CrearFacturaResult>
</CrearFacturaResponse>
</soap12:Body>
</soap12:Envelope>