serviceLeyFACe_Encoded
Haga clic aquí para obtener una lista completa de operaciones.
consultarListadoFacturas
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 /ws/serviceLeyFACe.asmx HTTP/1.1 Host: fakturae.leioa.eus Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "https://webservice.face.gob.es#consultarListadoFacturas" <?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:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="https://webservice.face.gob.es" xmlns:types="https://webservice.face.gob.es/encodedTypes" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <tns:consultarListadoFacturas> <request href="#id1" /> </tns:consultarListadoFacturas> <soapenc:Array id="id1" soapenc:arrayType="xsd:string[2]"> <Item>string</Item> <Item>string</Item> </soapenc:Array> </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:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="https://webservice.face.gob.es" xmlns:types="https://webservice.face.gob.es/encodedTypes" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <tns:consultarListadoFacturasResponse> <consultarListadoFacturasResult href="#id1" /> </tns:consultarListadoFacturasResponse> <tns:ConsultaListadoFacturaResponse id="id1" xsi:type="tns:ConsultaListadoFacturaResponse"> <resultado href="#id2" /> <facturas href="#id3" /> </tns:ConsultaListadoFacturaResponse> <tns:Resultado id="id2" xsi:type="tns:Resultado"> <codigo xsi:type="xsd:string">string</codigo> <descripcion xsi:type="xsd:string">string</descripcion> <codigoSeguimiento xsi:type="xsd:string">string</codigoSeguimiento> </tns:Resultado> <soapenc:Array id="id3" soapenc:arrayType="tns:ConsultarListadoFactura[2]"> <Item href="#id4" /> <Item href="#id5" /> </soapenc:Array> <tns:ConsultarListadoFactura id="id4" xsi:type="tns:ConsultarListadoFactura"> <codigo xsi:type="xsd:string">string</codigo> <descripcion xsi:type="xsd:string">string</descripcion> <factura href="#id6" /> </tns:ConsultarListadoFactura> <tns:ConsultarListadoFactura id="id5" xsi:type="tns:ConsultarListadoFactura"> <codigo xsi:type="xsd:string">string</codigo> <descripcion xsi:type="xsd:string">string</descripcion> <factura href="#id7" /> </tns:ConsultarListadoFactura> <tns:ConsultarFactura id="id6" xsi:type="tns:ConsultarFactura"> <numeroRegistro xsi:type="xsd:string">string</numeroRegistro> <tramitacion xsi:null="1" /> <anulacion xsi:null="1" /> </tns:ConsultarFactura> <tns:ConsultarFactura id="id7" xsi:type="tns:ConsultarFactura"> <numeroRegistro xsi:type="xsd:string">string</numeroRegistro> <tramitacion xsi:null="1" /> <anulacion xsi:null="1" /> </tns:ConsultarFactura> </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 /ws/serviceLeyFACe.asmx HTTP/1.1 Host: fakturae.leioa.eus 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:soapenc="http://www.w3.org/2003/05/soap-encoding" xmlns:tns="https://webservice.face.gob.es" xmlns:types="https://webservice.face.gob.es/encodedTypes" xmlns:rpc="http://www.w3.org/2003/05/soap-rpc" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body soap12:encodingStyle="http://www.w3.org/2003/05/soap-encoding"> <tns:consultarListadoFacturas> <request soapenc:id="id0" soapenc:itemType="xsd:string" soapenc:arraySize="2"> <Item>string</Item> <Item>string</Item> </request> </tns:consultarListadoFacturas> </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:soapenc="http://www.w3.org/2003/05/soap-encoding" xmlns:tns="https://webservice.face.gob.es" xmlns:types="https://webservice.face.gob.es/encodedTypes" xmlns:rpc="http://www.w3.org/2003/05/soap-rpc" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body soap12:encodingStyle="http://www.w3.org/2003/05/soap-encoding"> <tns:consultarListadoFacturasResponse> <rpc:result xmlns="">consultarListadoFacturasResult</rpc:result> <consultarListadoFacturasResult soapenc:id="id0" xsi:type="tns:ConsultaListadoFacturaResponse"> <resultado soapenc:id="id1" xsi:type="tns:Resultado"> <codigo xsi:type="xsd:string">string</codigo> <descripcion xsi:type="xsd:string">string</descripcion> <codigoSeguimiento xsi:type="xsd:string">string</codigoSeguimiento> </resultado> <facturas soapenc:id="id2" soapenc:itemType="tns:ConsultarListadoFactura" soapenc:arraySize="2"> <Item soapenc:id="id3"> <codigo xsi:type="xsd:string">string</codigo> <descripcion xsi:type="xsd:string">string</descripcion> <factura soapenc:id="id4" xsi:type="tns:ConsultarFactura"> <numeroRegistro xsi:type="xsd:string">string</numeroRegistro> <tramitacion xsi:nil="true" /> <anulacion xsi:nil="true" /> </factura> </Item> <Item soapenc:id="id5"> <codigo xsi:type="xsd:string">string</codigo> <descripcion xsi:type="xsd:string">string</descripcion> <factura soapenc:id="id6" xsi:type="tns:ConsultarFactura"> <numeroRegistro xsi:type="xsd:string">string</numeroRegistro> <tramitacion xsi:nil="true" /> <anulacion xsi:nil="true" /> </factura> </Item> </facturas> </consultarListadoFacturasResult> </tns:consultarListadoFacturasResponse> </soap12:Body> </soap12:Envelope>