serviceLeyFACe_Encoded
Haga clic aquí para obtener una lista completa de operaciones.
anularFactura
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#anularFactura"
<?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:anularFactura>
<numeroRegistro xsi:type="xsd:string">string</numeroRegistro>
<motivo xsi:type="xsd:string">string</motivo>
</tns:anularFactura>
</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:anularFacturaResponse>
<anularFacturaResult href="#id1" />
</tns:anularFacturaResponse>
<tns:AnularFacturaResponse id="id1" xsi:type="tns:AnularFacturaResponse">
<resultado href="#id2" />
<factura href="#id3" />
</tns:AnularFacturaResponse>
<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>
<tns:AnularFactura id="id3" xsi:type="tns:AnularFactura">
<numeroRegistro xsi:type="xsd:string">string</numeroRegistro>
<mensaje xsi:type="xsd:string">string</mensaje>
</tns:AnularFactura>
</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:anularFactura>
<numeroRegistro xsi:type="xsd:string">string</numeroRegistro>
<motivo xsi:type="xsd:string">string</motivo>
</tns:anularFactura>
</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:anularFacturaResponse>
<rpc:result xmlns="">anularFacturaResult</rpc:result>
<anularFacturaResult soapenc:id="id0" xsi:type="tns:AnularFacturaResponse">
<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>
<factura soapenc:id="id2" xsi:type="tns:AnularFactura">
<numeroRegistro xsi:type="xsd:string">string</numeroRegistro>
<mensaje xsi:type="xsd:string">string</mensaje>
</factura>
</anularFacturaResult>
</tns:anularFacturaResponse>
</soap12:Body>
</soap12:Envelope>