sfVerifactu / ConsultaFactuSistemaFacturacion
ASP AutoIt C C (Unicode) C++ C++ (Unicode) C# DataFlex Delphi Foxpro Go Java Node.js Objective-C Perl PHP Extension PowerBuilder Powershell PureBasic Python CkPython Ruby SQL Server Swift TCL VB.NET VB6 VBScript Xojo
var
xml: HCkXml;
soapRequestBody: PWideChar;
endpoint: PWideChar;
soapAction: PWideChar;
contentType: PWideChar;
http: HCkHttp;
resp: HCkHttpResponse;
responseXml: HCkXml;
statusCode: Integer;
IDVersion: PWideChar;
NombreRazon: PWideChar;
NIF: PWideChar;
IndicadorRepresentante: PWideChar;
Ejercicio: PWideChar;
Periodo: Integer;
IndicadorPaginacion: PWideChar;
ResultadoConsulta: PWideChar;
IDEmisorFactura: PWideChar;
NumSerieFactura: PWideChar;
FechaExpedicionFactura: PWideChar;
NombreRazonEmisor: PWideChar;
RefExterna: PWideChar;
Subsanacion: PWideChar;
RechazoPrevio: PWideChar;
SinRegistroPrevio: PWideChar;
GeneradoPor: PWideChar;
TipoFactura: PWideChar;
TipoRectificativa: PWideChar;
BaseRectificada: PWideChar;
CuotaRectificada: PWideChar;
CuotaRecargoRectificado: PWideChar;
FechaOperacion: PWideChar;
DescripcionOperacion: PWideChar;
FacturaSimplificadaArt7273: PWideChar;
FacturaSinIdentifDestinatarioArt61d: PWideChar;
Macrodato: PWideChar;
EmitidaPorTerceroODestinatario: PWideChar;
Cupon: PWideChar;
Impuesto: Integer;
ClaveRegimen: Integer;
CalificacionOperacion: PWideChar;
TipoImpositivo: PWideChar;
BaseImponibleOimporteNoSujeto: PWideChar;
BaseImponibleACoste: PWideChar;
CuotaRepercutida: PWideChar;
TipoRecargoEquivalencia: PWideChar;
CuotaRecargoEquivalencia: PWideChar;
CuotaTotal: PWideChar;
ImporteTotal: PWideChar;
NombreSistemaInformatico: PWideChar;
IdSistemaInformatico: PWideChar;
Version: PWideChar;
NumeroInstalacion: PWideChar;
TipoUsoPosibleSoloVerifactu: PWideChar;
TipoUsoPosibleMultiOT: PWideChar;
IndicadorMultiplesOT: PWideChar;
FechaHoraHusoGenRegistro: PWideChar;
NumRegistroAcuerdoFacturacion: PWideChar;
IdAcuerdoSistemaInformatico: PWideChar;
TipoHuella: Integer;
Huella: PWideChar;
NifRepresentante: PWideChar;
FechaFinVeriFactu: PWideChar;
Incidencia: PWideChar;
NIFPresentador: PWideChar;
TimestampPresentacion: PWideChar;
IdPeticion: PWideChar;
TimestampUltimaModificacion: PWideChar;
EstadoRegistro: PWideChar;
CodigoErrorRegistro: PWideChar;
DescripcionErrorRegistro: PWideChar;
begin
xml := CkXml_Create();
CkXml_putTag(xml,'soapenv:Envelope');
CkXml_AddAttribute(xml,'xmlns:soapenv','http://schemas.xmlsoap.org/soap/envelope/');
CkXml_AddAttribute(xml,'xmlns:sfLRC','https://www2.agenciatributaria.gob.es/static_files/common/internet/dep/aplicaciones/es/aeat/tike/cont/ws/ConsultaLR.xsd');
CkXml_AddAttribute(xml,'xmlns:sf','https://www2.agenciatributaria.gob.es/static_files/common/internet/dep/aplicaciones/es/aeat/tike/cont/ws/SuministroInformacion.xsd');
CkXml_UpdateChildContent(xml,'soapenv:Header','');
CkXml_UpdateChildContent(xml,'soapenv:Body|sfLRC:ConsultaFactuSistemaFacturacion|sfLRC:Cabecera|sf:IDVersion','1.0');
CkXml_UpdateChildContent(xml,'soapenv:Body|sfLRC:ConsultaFactuSistemaFacturacion|sfLRC:Cabecera|sf:ObligadoEmision|sf:NombreRazon','string');
CkXml_UpdateChildContent(xml,'soapenv:Body|sfLRC:ConsultaFactuSistemaFacturacion|sfLRC:Cabecera|sf:ObligadoEmision|sf:NIF','string');
CkXml_UpdateChildContent(xml,'soapenv:Body|sfLRC:ConsultaFactuSistemaFacturacion|sfLRC:Cabecera|sf:IndicadorRepresentante','S');
CkXml_UpdateChildContent(xml,'soapenv:Body|sfLRC:ConsultaFactuSistemaFacturacion|sfLRC:FiltroConsulta|sfLRC:PeriodoImputacion|sf:Ejercicio','string');
CkXml_UpdateChildContentInt(xml,'soapenv:Body|sfLRC:ConsultaFactuSistemaFacturacion|sfLRC:FiltroConsulta|sfLRC:PeriodoImputacion|sf:Periodo',01);
CkXml_UpdateChildContent(xml,'soapenv:Body|sfLRC:ConsultaFactuSistemaFacturacion|sfLRC:FiltroConsulta|sfLRC:NumSerieFactura','string');
CkXml_UpdateChildContent(xml,'soapenv:Body|sfLRC:ConsultaFactuSistemaFacturacion|sfLRC:FiltroConsulta|sfLRC:Contraparte|sf:NombreRazon','string');
CkXml_UpdateChildContent(xml,'soapenv:Body|sfLRC:ConsultaFactuSistemaFacturacion|sfLRC:FiltroConsulta|sfLRC:Contraparte|sf:NIF','string');
CkXml_UpdateChildContent(xml,'soapenv:Body|sfLRC:ConsultaFactuSistemaFacturacion|sfLRC:FiltroConsulta|sfLRC:FechaExpedicionFactura','');
CkXml_UpdateChildContent(xml,'soapenv:Body|sfLRC:ConsultaFactuSistemaFacturacion|sfLRC:FiltroConsulta|sfLRC:SistemaInformatico|sf:NombreRazon','string');
CkXml_UpdateChildContent(xml,'soapenv:Body|sfLRC:ConsultaFactuSistemaFacturacion|sfLRC:FiltroConsulta|sfLRC:SistemaInformatico|sf:NIF','string');
CkXml_UpdateChildContent(xml,'soapenv:Body|sfLRC:ConsultaFactuSistemaFacturacion|sfLRC:FiltroConsulta|sfLRC:SistemaInformatico|sf:NombreSistemaInformatico','string');
CkXml_UpdateChildContent(xml,'soapenv:Body|sfLRC:ConsultaFactuSistemaFacturacion|sfLRC:FiltroConsulta|sfLRC:SistemaInformatico|sf:IdSistemaInformatico','string');
CkXml_UpdateChildContent(xml,'soapenv:Body|sfLRC:ConsultaFactuSistemaFacturacion|sfLRC:FiltroConsulta|sfLRC:SistemaInformatico|sf:Version','string');
CkXml_UpdateChildContent(xml,'soapenv:Body|sfLRC:ConsultaFactuSistemaFacturacion|sfLRC:FiltroConsulta|sfLRC:SistemaInformatico|sf:NumeroInstalacion','string');
CkXml_UpdateChildContent(xml,'soapenv:Body|sfLRC:ConsultaFactuSistemaFacturacion|sfLRC:FiltroConsulta|sfLRC:SistemaInformatico|sf:TipoUsoPosibleSoloVerifactu','S');
CkXml_UpdateChildContent(xml,'soapenv:Body|sfLRC:ConsultaFactuSistemaFacturacion|sfLRC:FiltroConsulta|sfLRC:SistemaInformatico|sf:TipoUsoPosibleMultiOT','S');
CkXml_UpdateChildContent(xml,'soapenv:Body|sfLRC:ConsultaFactuSistemaFacturacion|sfLRC:FiltroConsulta|sfLRC:SistemaInformatico|sf:IndicadorMultiplesOT','S');
CkXml_UpdateChildContent(xml,'soapenv:Body|sfLRC:ConsultaFactuSistemaFacturacion|sfLRC:FiltroConsulta|sfLRC:RefExterna','string');
CkXml_UpdateChildContent(xml,'soapenv:Body|sfLRC:ConsultaFactuSistemaFacturacion|sfLRC:FiltroConsulta|sfLRC:ClavePaginacion|sf:IDEmisorFactura','string');
CkXml_UpdateChildContent(xml,'soapenv:Body|sfLRC:ConsultaFactuSistemaFacturacion|sfLRC:FiltroConsulta|sfLRC:ClavePaginacion|sf:NumSerieFactura','string');
CkXml_UpdateChildContent(xml,'soapenv:Body|sfLRC:ConsultaFactuSistemaFacturacion|sfLRC:FiltroConsulta|sfLRC:ClavePaginacion|sf:FechaExpedicionFactura','string');
CkXml_UpdateChildContent(xml,'soapenv:Body|sfLRC:ConsultaFactuSistemaFacturacion|sfLRC:DatosAdicionalesRespuesta|sfLRC:MostrarNombreRazonEmisor','S');
CkXml_UpdateChildContent(xml,'soapenv:Body|sfLRC:ConsultaFactuSistemaFacturacion|sfLRC:DatosAdicionalesRespuesta|sfLRC:MostrarSistemaInformatico','S');
// In a SOAP HTTP request, including the XML declaration (<?xml version="1.0" encoding="UTF-8"?>) in the XML body is generally not required.
CkXml_putEmitXmlDecl(xml,False);
soapRequestBody := CkXml__getXml(xml);
endpoint := 'https://www1.agenciatributaria.gob.es/wlpl/TIKE-CONT/ws/SistemaFacturacion/VerifactuSOAP';
soapAction := '';
// For SOAP requests, the standard Content-Type is usually set to "text/xml" or "application/soap+xml"
contentType := 'text/xml';
http := CkHttp_Create();
CkHttp_ClearHeaders(http);
CkHttp_SetRequestHeader(http,'Content-Type',contentType);
CkHttp_SetRequestHeader(http,'SOAPAction',soapAction);
resp := CkHttpResponse_Create();
ERROR: Undefined variable(success)
ERROR: Undefined variable(success)
if (success = False) then
begin
Memo1.Lines.Add(CkHttp__lastErrorText(http));
Memo1.Lines.Add('Failed to send SOAP request.');
Exit;
end;
// Get the XML response body.
responseXml := CkXml_Create();
CkHttpResponse_GetBodyXml(resp,responseXml);
statusCode := CkHttpResponse_getStatusCode(resp);
Memo1.Lines.Add('response status code: ' + IntToStr(statusCode));
// If the status code does not indicate succcess, then show the response XML,
// which probably contains error information.
if (statusCode <> 200) then
begin
Memo1.Lines.Add(CkXml__getXml(responseXml));
Exit;
end;
Memo1.Lines.Add(CkXml__getXml(responseXml));
// Parse the successful SOAP response XML.
// This is a sample of the response XML, but the namespace prefixes will be different.
// We can parse the result using "*" for the namespace prefixes (see below).
IDVersion := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:Cabecera|*:IDVersion');
NombreRazon := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:Cabecera|*:ObligadoEmision|*:NombreRazon');
NIF := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:Cabecera|*:ObligadoEmision|*:NIF');
IndicadorRepresentante := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:Cabecera|*:IndicadorRepresentante');
Ejercicio := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:PeriodoImputacion|*:Ejercicio');
Periodo := CkXml_GetChildIntValue(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:PeriodoImputacion|*:Periodo');
IndicadorPaginacion := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:IndicadorPaginacion');
ResultadoConsulta := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:ResultadoConsulta');
IDEmisorFactura := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:IDFactura|*:IDEmisorFactura');
NumSerieFactura := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:IDFactura|*:NumSerieFactura');
FechaExpedicionFactura := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:IDFactura|*:FechaExpedicionFactura');
NombreRazonEmisor := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:NombreRazonEmisor');
RefExterna := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:RefExterna');
Subsanacion := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:Subsanacion');
RechazoPrevio := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:RechazoPrevio');
SinRegistroPrevio := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:SinRegistroPrevio');
GeneradoPor := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:GeneradoPor');
NombreRazon := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:Generador|*:NombreRazon');
NIF := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:Generador|*:NIF');
TipoFactura := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:TipoFactura');
TipoRectificativa := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:TipoRectificativa');
IDEmisorFactura := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:FacturasRectificadas|*:IDFacturaRectificada|*:IDEmisorFactura');
NumSerieFactura := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:FacturasRectificadas|*:IDFacturaRectificada|*:NumSerieFactura');
FechaExpedicionFactura := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:FacturasRectificadas|*:IDFacturaRectificada|*:FechaExpedicionFactura');
IDEmisorFactura := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:FacturasSustituidas|*:IDFacturaSustituida|*:IDEmisorFactura');
NumSerieFactura := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:FacturasSustituidas|*:IDFacturaSustituida|*:NumSerieFactura');
FechaExpedicionFactura := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:FacturasSustituidas|*:IDFacturaSustituida|*:FechaExpedicionFactura');
BaseRectificada := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:ImporteRectificacion|*:BaseRectificada');
CuotaRectificada := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:ImporteRectificacion|*:CuotaRectificada');
CuotaRecargoRectificado := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:ImporteRectificacion|*:CuotaRecargoRectificado');
FechaOperacion := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:FechaOperacion');
DescripcionOperacion := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:DescripcionOperacion');
FacturaSimplificadaArt7273 := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:FacturaSimplificadaArt7273');
FacturaSinIdentifDestinatarioArt61d := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:FacturaSinIdentifDestinatarioArt61d');
Macrodato := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:Macrodato');
EmitidaPorTerceroODestinatario := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:EmitidaPorTerceroODestinatario');
NombreRazon := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:Tercero|*:NombreRazon');
NIF := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:Tercero|*:NIF');
NombreRazon := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:Destinatarios|*:IDDestinatario|*:NombreRazon');
NIF := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:Destinatarios|*:IDDestinatario|*:NIF');
Cupon := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:Cupon');
Impuesto := CkXml_GetChildIntValue(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:Desglose|*:DetalleDesglose|*:Impuesto');
ClaveRegimen := CkXml_GetChildIntValue(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:Desglose|*:DetalleDesglose|*:ClaveRegimen');
CalificacionOperacion := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:Desglose|*:DetalleDesglose|*:CalificacionOperacion');
TipoImpositivo := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:Desglose|*:DetalleDesglose|*:TipoImpositivo');
BaseImponibleOimporteNoSujeto := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:Desglose|*:DetalleDesglose|*:BaseImponibleOimporteNoSujeto');
BaseImponibleACoste := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:Desglose|*:DetalleDesglose|*:BaseImponibleACoste');
CuotaRepercutida := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:Desglose|*:DetalleDesglose|*:CuotaRepercutida');
TipoRecargoEquivalencia := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:Desglose|*:DetalleDesglose|*:TipoRecargoEquivalencia');
CuotaRecargoEquivalencia := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:Desglose|*:DetalleDesglose|*:CuotaRecargoEquivalencia');
CuotaTotal := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:CuotaTotal');
ImporteTotal := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:ImporteTotal');
NombreRazon := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:SistemaInformatico|*:NombreRazon');
NIF := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:SistemaInformatico|*:NIF');
NombreSistemaInformatico := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:SistemaInformatico|*:NombreSistemaInformatico');
IdSistemaInformatico := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:SistemaInformatico|*:IdSistemaInformatico');
Version := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:SistemaInformatico|*:Version');
NumeroInstalacion := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:SistemaInformatico|*:NumeroInstalacion');
TipoUsoPosibleSoloVerifactu := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:SistemaInformatico|*:TipoUsoPosibleSoloVerifactu');
TipoUsoPosibleMultiOT := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:SistemaInformatico|*:TipoUsoPosibleMultiOT');
IndicadorMultiplesOT := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:SistemaInformatico|*:IndicadorMultiplesOT');
FechaHoraHusoGenRegistro := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:FechaHoraHusoGenRegistro');
NumRegistroAcuerdoFacturacion := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:NumRegistroAcuerdoFacturacion');
IdAcuerdoSistemaInformatico := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:IdAcuerdoSistemaInformatico');
TipoHuella := CkXml_GetChildIntValue(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:TipoHuella');
Huella := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:Huella');
NifRepresentante := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:NifRepresentante');
FechaFinVeriFactu := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:FechaFinVeriFactu');
Incidencia := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosRegistroFacturacion|*:Incidencia');
NIFPresentador := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosPresentacion|*:NIFPresentador');
TimestampPresentacion := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosPresentacion|*:TimestampPresentacion');
IdPeticion := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:DatosPresentacion|*:IdPeticion');
TimestampUltimaModificacion := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:EstadoRegistro|*:TimestampUltimaModificacion');
EstadoRegistro := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:EstadoRegistro|*:EstadoRegistro');
CodigoErrorRegistro := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:EstadoRegistro|*:CodigoErrorRegistro');
DescripcionErrorRegistro := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:RegistroRespuestaConsultaFactuSistemaFacturacion|*:EstadoRegistro|*:DescripcionErrorRegistro');
IDEmisorFactura := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:ClavePaginacion|*:IDEmisorFactura');
NumSerieFactura := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:ClavePaginacion|*:NumSerieFactura');
FechaExpedicionFactura := CkXml__getChildContent(responseXml,'*:Body|*:RespuestaConsultaFactuSistemaFacturacion|*:ClavePaginacion|*:FechaExpedicionFactura');
CkXml_Dispose(xml);
CkHttp_Dispose(http);
CkHttpResponse_Dispose(resp);
CkXml_Dispose(responseXml);