SOAP WSDL Generate Code

ServicosPortSoap11 / obterNotaFiscalXml

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
use chilkat();

$xml = chilkat::CkXml->new();
$xml->put_Tag("soapenv:Envelope");
$xml->AddAttribute("xmlns:soapenv","http://schemas.xmlsoap.org/soap/envelope/");
$xml->AddAttribute("xmlns","http://ws.pc.gif.com.br/");
$xml->AddAttribute("xmlns:nfs","http://nfse.abrasf.org.br");
$xml->AddAttribute("xmlns:ds","http://www.w3.org/2000/09/xmldsig#");
$xml->UpdateChildContent("soapenv:Header","");
$xml->UpdateAttrAt("soapenv:Body|obterNotaFiscalXmlRequest|pedidoNFSe",1,"versao","?");
$xml->UpdateChildContent("soapenv:Body|obterNotaFiscalXmlRequest|pedidoNFSe|CNPJ","token string");
$xml->UpdateChildContent("soapenv:Body|obterNotaFiscalXmlRequest|pedidoNFSe|chvAcessoNFS-e","string");
$xml->UpdateAttrAt("soapenv:Body|obterNotaFiscalXmlRequest|pedidoNFSe|ds:Signature",1,"Id","?");
$xml->UpdateAttrAt("soapenv:Body|obterNotaFiscalXmlRequest|pedidoNFSe|ds:Signature|ds:SignedInfo",1,"Id","?");
$xml->UpdateAttrAt("soapenv:Body|obterNotaFiscalXmlRequest|pedidoNFSe|ds:Signature|ds:SignedInfo|ds:CanonicalizationMethod",1,"Algorithm","http://www.w3.org/TR/2001/REC-xml-c14n-20010315");
$xml->UpdateAttrAt("soapenv:Body|obterNotaFiscalXmlRequest|pedidoNFSe|ds:Signature|ds:SignedInfo|ds:SignatureMethod",1,"Algorithm","http://www.w3.org/2000/09/xmldsig#rsa-sha1");
$xml->UpdateAttrAt("soapenv:Body|obterNotaFiscalXmlRequest|pedidoNFSe|ds:Signature|ds:SignedInfo|ds:Reference",1,"Id","?");
$xml->UpdateAttrAt("soapenv:Body|obterNotaFiscalXmlRequest|pedidoNFSe|ds:Signature|ds:SignedInfo|ds:Reference",1,"URI","?");
$xml->UpdateAttrAt("soapenv:Body|obterNotaFiscalXmlRequest|pedidoNFSe|ds:Signature|ds:SignedInfo|ds:Reference",1,"Type","?");
$xml->UpdateAttrAt("soapenv:Body|obterNotaFiscalXmlRequest|pedidoNFSe|ds:Signature|ds:SignedInfo|ds:Reference|ds:Transforms|ds:Transform",1,"Algorithm","?");
$xml->UpdateChildContent("soapenv:Body|obterNotaFiscalXmlRequest|pedidoNFSe|ds:Signature|ds:SignedInfo|ds:Reference|ds:Transforms|ds:Transform|ds:XPath","string");
$xml->UpdateAttrAt("soapenv:Body|obterNotaFiscalXmlRequest|pedidoNFSe|ds:Signature|ds:SignedInfo|ds:Reference|ds:DigestMethod",1,"Algorithm","http://www.w3.org/2000/09/xmldsig#sha1");
$xml->UpdateChildContent("soapenv:Body|obterNotaFiscalXmlRequest|pedidoNFSe|ds:Signature|ds:SignedInfo|ds:Reference|ds:DigestValue","BASE64_DATA");
$xml->UpdateChildContent("soapenv:Body|obterNotaFiscalXmlRequest|pedidoNFSe|ds:Signature|ds:SignatureValue","...");
$xml->UpdateAttrAt("soapenv:Body|obterNotaFiscalXmlRequest|pedidoNFSe|ds:Signature|ds:KeyInfo",1,"Id","?");
$xml->UpdateChildContent("soapenv:Body|obterNotaFiscalXmlRequest|pedidoNFSe|ds:Signature|ds:KeyInfo|ds:X509Data|ds:X509SubjectName","string");
$xml->UpdateChildContent("soapenv:Body|obterNotaFiscalXmlRequest|pedidoNFSe|ds:Signature|ds:KeyInfo|ds:X509Data|ds:X509Certificate","BqozVXeZZg==");

# In a SOAP HTTP request, including the XML declaration (<?xml version="1.0" encoding="UTF-8"?>) in the XML body is generally not required. 
$xml->put_EmitXmlDecl(0);
$soapRequestBody = $xml->getXml();

$endpoint = "https://canoas-homol.infisc.com.br/services/nfse/ws/Servicos";
$soapAction = "";
#  For SOAP requests, the standard Content-Type is usually set to "text/xml" or "application/soap+xml"
$contentType = "text/xml";

$http = chilkat::CkHttp->new();

$http->ClearHeaders();
$http->SetRequestHeader("Content-Type",$contentType);
$http->SetRequestHeader("SOAPAction",$soapAction);

# resp is a HttpResponse
$resp = $http->PostXml($endpoint,$soapRequestBody,"utf-8");
if ($http->get_LastMethodSuccess() == 0) {
    print $http->lastErrorText() . "\r\n";
    print "Failed to send SOAP request." . "\r\n";
    exit;
}

# Get the XML response body.
$responseXml = chilkat::CkXml->new();
$resp->GetBodyXml($responseXml);

$statusCode = $resp->get_StatusCode();
print "response status code: " . $statusCode . "\r\n";

# If the status code does not indicate succcess, then show the response XML,
# which probably contains error information.
if ($statusCode != 200) {
    print $responseXml->getXml() . "\r\n";
    exit;
}

print $responseXml->getXml() . "\r\n";

# 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).

$Envelope_xmlns = $responseXml->getAttrValue("xmlns");
$resPedidoNFSe_versao = $responseXml->chilkatPath("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|(versao)");
$CNPJ = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|CNPJ");
$chvAcessoNFS_e = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|chvAcessoNFS-e");
$dhRecbto = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|dhRecbto");
$infNFSe_versao = $responseXml->chilkatPath("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|(versao)");
$cNFS_e = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|Id|cNFS-e");
$v_mod = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|Id|mod");
$serie = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|Id|serie");
$nNFS_e = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|Id|nNFS-e");
$dEmi = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|Id|dEmi");
$hEmi = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|Id|hEmi");
$tpNF = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|Id|tpNF");
$refNF = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|Id|refNF");
$tpImp = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|Id|tpImp");
$tpEmis = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|Id|tpEmis");
$cancelada = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|Id|cancelada");
$motCanc = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|Id|motCanc");
$dataCanc = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|Id|dataCanc");
$notaDebito = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|Id|notaDebito");
$notaSub = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|Id|notaSub");
$canhoto = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|Id|canhoto");
$ambienteEmi = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|Id|ambienteEmi");
$formaEmi = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|Id|formaEmi");
$empreitadaGlobal = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|Id|empreitadaGlobal");
$codRPS = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|Id|codRPS");
$rps = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|Id|rps");
$serierps = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|Id|serierps");
$dataEmissaoRpsPapel = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|Id|dataEmissaoRpsPapel");
$enviarEmail = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|Id|enviarEmail");
$chaveAcessoSubstituida = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|Id|chaveAcessoSubstituida");
$CNPJ = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|prest|CNPJ");
$xNome = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|prest|xNome");
$xFant = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|prest|xFant");
$IM = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|prest|IM");
$xEmail = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|prest|xEmail");
$xSite = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|prest|xSite");
$xLgr = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|prest|end|xLgr");
$nro = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|prest|end|nro");
$xCpl = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|prest|end|xCpl");
$xBairro = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|prest|end|xBairro");
$cMun = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|prest|end|cMun");
$xMun = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|prest|end|xMun");
$UF = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|prest|end|UF");
$CEP = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|prest|end|CEP");
$cPais = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|prest|end|cPais");
$xPais = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|prest|end|xPais");
$fone = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|prest|fone");
$fone2 = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|prest|fone2");
$IE = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|prest|IE");
$regimeTrib = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|prest|regimeTrib");
$CNPJ = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|CNPJ");
$xNome = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|xNome");
$xLgr = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|ender|xLgr");
$nro = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|ender|nro");
$xCpl = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|ender|xCpl");
$xBairro = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|ender|xBairro");
$cMun = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|ender|cMun");
$xMun = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|ender|xMun");
$UF = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|ender|UF");
$CEP = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|ender|CEP");
$cPais = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|ender|cPais");
$xPais = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|ender|xPais");
$xEmail = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|xEmail");
$IE = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|IE");
$IM = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|IM");
$IME = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|IME");
$fone = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|fone");
$fone2 = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|fone2");
$CNPJ = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|intermediario|CNPJ");
$xNome = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|intermediario|xNome");
$IM = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|intermediario|IM");
$cMun = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|intermediario|cMun");
$xMun = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|intermediario|xMun");
$UF = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|intermediario|UF");
$protocoloObra = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|dadosDaObra|protocoloObra");
$codigoVinculacao = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|dadosDaObra|codigoVinculacao");
$xLogObra = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|dadosDaObra|xLogObra");
$xComplObra = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|dadosDaObra|xComplObra");
$vNumeroObra = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|dadosDaObra|vNumeroObra");
$xBairroObra = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|dadosDaObra|xBairroObra");
$xCepObra = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|dadosDaObra|xCepObra");
$cCidadeObra = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|dadosDaObra|cCidadeObra");
$xCidadeObra = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|dadosDaObra|xCidadeObra");
$xUfObra = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|dadosDaObra|xUfObra");
$cPaisObra = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|dadosDaObra|cPaisObra");
$xPaisObra = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|dadosDaObra|xPaisObra");
$numeroArt = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|dadosDaObra|numeroArt");
$numeroCei = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|dadosDaObra|numeroCei");
$numeroProj = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|dadosDaObra|numeroProj");
$numeroMatri = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|dadosDaObra|numeroMatri");
$xNomeTrans = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|transportadora|xNomeTrans");
$xCpfCnpjTrans = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|transportadora|xCpfCnpjTrans");
$xInscEstTrans = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|transportadora|xInscEstTrans");
$xPlacaTrans = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|transportadora|xPlacaTrans");
$xEndTrans = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|transportadora|xEndTrans");
$cMunTrans = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|transportadora|cMunTrans");
$xMunTrans = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|transportadora|xMunTrans");
$xUfTrans = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|transportadora|xUfTrans");
$cPaisTrans = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|transportadora|cPaisTrans");
$xPaisTrans = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|transportadora|xPaisTrans");
$vTipoFreteTrans = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|transportadora|vTipoFreteTrans");
$nItem = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|nItem");
$cServ = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|cServ");
$cLCServ = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|cLCServ");
$xServ = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|xServ");
$localTributacao = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|localTributacao");
$localVerifResServ = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|localVerifResServ");
$uTrib = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|uTrib");
$qTrib = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|qTrib");
$vUnit = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vUnit");
$vServ = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vServ");
$vDesc = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vDesc");
$vDed = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vDed");
$vBCISS = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vBCISS");
$pISS = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|pISS");
$vISS = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vISS");
$vBCINSS = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vBCINSS");
$pRetINSS = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|pRetINSS");
$vRetINSS = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vRetINSS");
$vRed = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vRed");
$vBCRetIR = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vBCRetIR");
$pRetIR = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|pRetIR");
$vRetIR = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vRetIR");
$vBCCOFINS = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vBCCOFINS");
$pRetCOFINS = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|pRetCOFINS");
$vRetCOFINS = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vRetCOFINS");
$vBCCSLL = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vBCCSLL");
$pRetCSLL = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|pRetCSLL");
$vRetCSLL = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vRetCSLL");
$vBCPISPASEP = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vBCPISPASEP");
$pRetPISPASEP = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|pRetPISPASEP");
$vRetPISPASEP = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vRetPISPASEP");
$vRetOutrasRet = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vRetOutrasRet");
$totalAproxTribServ = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|totalAproxTribServ");
$xPed = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|xPed");
$nItemPed = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|nItemPed");
$vRedBCST = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|ISSST|vRedBCST");
$vBCST = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|ISSST|vBCST");
$pISSST = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|ISSST|pISSST");
$vISSST = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|ISSST|vISSST");
$xPlaca = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|estacionamento|xPlaca");
$dDataInicial = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|estacionamento|dDataInicial");
$hHoraInicial = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|estacionamento|hHoraInicial");
$dDataFinal = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|estacionamento|dDataFinal");
$hHoraFinal = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|estacionamento|hHoraFinal");
$unidade = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|hospedagem|unidade");
$qtdHospede = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|hospedagem|qtdHospede");
$dDataEntrada = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|hospedagem|dDataEntrada");
$hHoraEntrada = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|hospedagem|hHoraEntrada");
$dDataSaida = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|hospedagem|dDataSaida");
$hHoraSaida = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|hospedagem|hHoraSaida");
$nome = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|dependente|nome");
$cpf = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|dependente|cpf");
$dataNascimento = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|dependente|dataNascimento");
$nome = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|evento|nome");
$tipo = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|evento|tipo");
$dataInicioEvento = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|evento|dataInicioEvento");
$dataFimEvento = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|det|evento|dataFimEvento");
$nItemDesp = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|despesas|despesa|nItemDesp");
$xDesp = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|despesas|despesa|xDesp");
$dDesp = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|despesas|despesa|dDesp");
$vDesp = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|despesas|despesa|vDesp");
$nItem = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|reembolso|nItem");
$numeroTitulo = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|reembolso|numeroTitulo");
$descricao = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|reembolso|descricao");
$unidade = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|reembolso|unidade");
$quantidade = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|reembolso|quantidade");
$vRetencao = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|reembolso|vRetencao");
$vRepasseTerceiros = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|reembolso|vRepasseTerceiros");
$vDesc = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|reembolso|vDesc");
$vTotal = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|reembolso|vTotal");
$vLiq = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|reembolso|vLiq");
$tipoPagamento = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|reembolso|tipoPagamento");
$numeroLote = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|reembolso|numeroLote");
$codigoReembolso = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|reembolso|codigoReembolso");
$dataPagamento = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|reembolso|dataPagamento");
$vServ = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|total|vServ");
$vReemb = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|total|vReemb");
$vRedBCCivil = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|total|vRedBCCivil");
$vDesc = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|total|vDesc");
$vDescCondicional = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|total|vDescCondicional");
$vDescICMS = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|total|vDescICMS");
$vtDed = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|total|vtDed");
$vtNF = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|total|vtNF");
$vtLiq = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|total|vtLiq");
$totalAproxTrib = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|total|totalAproxTrib");
$vRetIR = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|total|Ret|vRetIR");
$vRetPISPASEP = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|total|Ret|vRetPISPASEP");
$vRetCOFINS = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|total|Ret|vRetCOFINS");
$vRetCSLL = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|total|Ret|vRetCSLL");
$vRetINSS = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|total|Ret|vRetINSS");
$vRetOutrasRet = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|total|Ret|vRetOutrasRet");
$vtLiqFaturas = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|total|vtLiqFaturas");
$vtDespesas = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|total|vtDespesas");
$vBCISS = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|total|ISS|vBCISS");
$vISS = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|total|ISS|vISS");
$vBCSTISS = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|total|ISS|vBCSTISS");
$vSTISS = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|total|ISS|vSTISS");
$nItem = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|faturas|fat|nItem");
$nFat = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|faturas|fat|nFat");
$dVenc = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|faturas|fat|dVenc");
$vFat = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|faturas|fat|vFat");
$tipoVencFat = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|faturas|fat|tipoVencFat");
$descTipoVencFat = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|faturas|fat|descTipoVencFat");
$infAdicLT = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|infAdicLT");
$infAdicES = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|infAdicES");
$infAdic = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|infAdic");
$infAdicAT = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|infAdicAT");
$NumVeiculo = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|NFS-e|infNFSe|NumVeiculo");
$sit = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|sit");
$mot = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|mot");
$Signature_Id = $responseXml->chilkatPath("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|*:Signature|(Id)");
$SignedInfo_Id = $responseXml->chilkatPath("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|*:Signature|*:SignedInfo|(Id)");
$CanonicalizationMethod_Algorithm = $responseXml->chilkatPath("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|*:Signature|*:SignedInfo|*:CanonicalizationMethod|(Algorithm)");
$SignatureMethod_Algorithm = $responseXml->chilkatPath("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|*:Signature|*:SignedInfo|*:SignatureMethod|(Algorithm)");
$Reference_Id = $responseXml->chilkatPath("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|*:Signature|*:SignedInfo|*:Reference|(Id)");
$Reference_URI = $responseXml->chilkatPath("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|*:Signature|*:SignedInfo|*:Reference|(URI)");
$Reference_Type = $responseXml->chilkatPath("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|*:Signature|*:SignedInfo|*:Reference|(Type)");
$Transform_Algorithm = $responseXml->chilkatPath("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|*:Signature|*:SignedInfo|*:Reference|*:Transforms|*:Transform|(Algorithm)");
$XPath = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|*:Signature|*:SignedInfo|*:Reference|*:Transforms|*:Transform|*:XPath");
$DigestMethod_Algorithm = $responseXml->chilkatPath("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|*:Signature|*:SignedInfo|*:Reference|*:DigestMethod|(Algorithm)");
$DigestValue = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|*:Signature|*:SignedInfo|*:Reference|*:DigestValue");
$SignatureValue = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|*:Signature|*:SignatureValue");
$KeyInfo_Id = $responseXml->chilkatPath("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|*:Signature|*:KeyInfo|(Id)");
$X509SubjectName = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|*:Signature|*:KeyInfo|*:X509Data|*:X509SubjectName");
$X509Certificate = $responseXml->getChildContent("*:Body|obterNotaFiscalXmlResponse|resPedidoNFSe|*:Signature|*:KeyInfo|*:X509Data|*:X509Certificate");
Request XML
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://ws.pc.gif.com.br/" xmlns:nfs="http://nfse.abrasf.org.br" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
    <soapenv:Header/>
    <soapenv:Body>
        <obterNotaFiscalXmlRequest>
            <pedidoNFSe versao="?">
                <CNPJ>token string</CNPJ>
                <chvAcessoNFS-e>string</chvAcessoNFS-e>
                <ds:Signature Id="?">
                    <ds:SignedInfo Id="?">
                        <ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
                        <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
                        <ds:Reference Id="?" URI="?" Type="?">
                            <ds:Transforms>
                                <ds:Transform Algorithm="?">
                                    <ds:XPath>string</ds:XPath>
                                </ds:Transform>
                            </ds:Transforms>
                            <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
                            <ds:DigestValue>BASE64_DATA</ds:DigestValue>
                        </ds:Reference>
                    </ds:SignedInfo>
                    <ds:SignatureValue>...</ds:SignatureValue>
                    <ds:KeyInfo Id="?">
                        <ds:X509Data>
                            <ds:X509SubjectName>string</ds:X509SubjectName>
                            <ds:X509Certificate>BqozVXeZZg==</ds:X509Certificate>
                        </ds:X509Data>
                    </ds:KeyInfo>
                </ds:Signature>
            </pedidoNFSe>
        </obterNotaFiscalXmlRequest>
    </soapenv:Body>
</soapenv:Envelope>
Response XML
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://ws.pc.gif.com.br/" xmlns:nfs="http://nfse.abrasf.org.br" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
    <soapenv:Header/>
    <soapenv:Body>
        <obterNotaFiscalXmlResponse>
            <resPedidoNFSe versao="?">
                <CNPJ>token string</CNPJ>
                <chvAcessoNFS-e>string</chvAcessoNFS-e>
                <dhRecbto>string</dhRecbto>
                <NFS-e>
                    <infNFSe versao="?">
                        <Id>
                            <cNFS-e>positiveInteger</cNFS-e>
                            <mod>string</mod>
                            <serie>string</serie>
                            <nNFS-e>token string</nNFS-e>
                            <dEmi>date</dEmi>
                            <hEmi>string</hEmi>
                            <tpNF>integer</tpNF>
                            <refNF>string</refNF>
                            <tpImp>integer</tpImp>
                            <tpEmis>token string</tpEmis>
                            <cancelada>token string</cancelada>
                            <motCanc>token string</motCanc>
                            <dataCanc>date</dataCanc>
                            <notaDebito>token string</notaDebito>
                            <notaSub>token string</notaSub>
                            <canhoto>token string</canhoto>
                            <ambienteEmi>token string</ambienteEmi>
                            <formaEmi>token string</formaEmi>
                            <empreitadaGlobal>token string</empreitadaGlobal>
                            <codRPS>string</codRPS>
                            <rps>token string</rps>
                            <serierps>string</serierps>
                            <dataEmissaoRpsPapel>date</dataEmissaoRpsPapel>
                            <enviarEmail>token string</enviarEmail>
                            <chaveAcessoSubstituida>string</chaveAcessoSubstituida>
                        </Id>
                        <prest>
                            <CNPJ>token string</CNPJ>
                            <xNome>string</xNome>
                            <xFant>string</xFant>
                            <IM>string</IM>
                            <xEmail>string</xEmail>
                            <xSite>string</xSite>
                            <end>
                                <xLgr>string</xLgr>
                                <nro>string</nro>
                                <xCpl>string</xCpl>
                                <xBairro>string</xBairro>
                                <cMun>token string</cMun>
                                <xMun>string</xMun>
                                <UF>EX</UF>
                                <CEP>token string</CEP>
                                <cPais>token string</cPais>
                                <xPais>string</xPais>
                            </end>
                            <fone>token string</fone>
                            <fone2>token string</fone2>
                            <IE>string</IE>
                            <regimeTrib>token string</regimeTrib>
                        </prest>
                        <TomS>
                            <CNPJ>token string</CNPJ>
                            <xNome>string</xNome>
                            <ender>
                                <xLgr>string</xLgr>
                                <nro>string</nro>
                                <xCpl>string</xCpl>
                                <xBairro>string</xBairro>
                                <cMun>token string</cMun>
                                <xMun>string</xMun>
                                <UF>EX</UF>
                                <CEP>token string</CEP>
                                <cPais>token string</cPais>
                                <xPais>string</xPais>
                            </ender>
                            <xEmail>string</xEmail>
                            <IE>string</IE>
                            <IM>string</IM>
                            <IME>string</IME>
                            <fone>token string</fone>
                            <fone2>token string</fone2>
                        </TomS>
                        <intermediario>
                            <CNPJ>token string</CNPJ>
                            <xNome>string</xNome>
                            <IM>string</IM>
                            <cMun>token string</cMun>
                            <xMun>string</xMun>
                            <UF>EX</UF>
                        </intermediario>
                        <dadosDaObra>
                            <protocoloObra>string</protocoloObra>
                            <codigoVinculacao>string</codigoVinculacao>
                            <xLogObra>string</xLogObra>
                            <xComplObra>string</xComplObra>
                            <vNumeroObra>string</vNumeroObra>
                            <xBairroObra>string</xBairroObra>
                            <xCepObra>token string</xCepObra>
                            <cCidadeObra>token string</cCidadeObra>
                            <xCidadeObra>string</xCidadeObra>
                            <xUfObra>EX</xUfObra>
                            <cPaisObra>token string</cPaisObra>
                            <xPaisObra>string</xPaisObra>
                            <numeroArt>string</numeroArt>
                            <numeroCei>string</numeroCei>
                            <numeroProj>string</numeroProj>
                            <numeroMatri>string</numeroMatri>
                        </dadosDaObra>
                        <transportadora>
                            <xNomeTrans>string</xNomeTrans>
                            <xCpfCnpjTrans>string</xCpfCnpjTrans>
                            <xInscEstTrans>string</xInscEstTrans>
                            <xPlacaTrans>string</xPlacaTrans>
                            <xEndTrans>string</xEndTrans>
                            <cMunTrans>token string</cMunTrans>
                            <xMunTrans>string</xMunTrans>
                            <xUfTrans>EX</xUfTrans>
                            <cPaisTrans>token string</cPaisTrans>
                            <xPaisTrans>string</xPaisTrans>
                            <vTipoFreteTrans>token string</vTipoFreteTrans>
                        </transportadora>
                        <det>
                            <nItem>positiveInteger</nItem>
                            <serv>
                                <cServ>string</cServ>
                                <cLCServ>string</cLCServ>
                                <xServ>string</xServ>
                                <localTributacao>token string</localTributacao>
                                <localVerifResServ>token string</localVerifResServ>
                                <uTrib>string</uTrib>
                                <qTrib>string</qTrib>
                                <vUnit>string</vUnit>
                                <vServ>string</vServ>
                                <vDesc>string</vDesc>
                                <vDed>string</vDed>
                                <vBCISS>string</vBCISS>
                                <pISS>string</pISS>
                                <vISS>string</vISS>
                                <vBCINSS>string</vBCINSS>
                                <pRetINSS>string</pRetINSS>
                                <vRetINSS>string</vRetINSS>
                                <vRed>string</vRed>
                                <vBCRetIR>string</vBCRetIR>
                                <pRetIR>string</pRetIR>
                                <vRetIR>string</vRetIR>
                                <vBCCOFINS>string</vBCCOFINS>
                                <pRetCOFINS>string</pRetCOFINS>
                                <vRetCOFINS>string</vRetCOFINS>
                                <vBCCSLL>string</vBCCSLL>
                                <pRetCSLL>string</pRetCSLL>
                                <vRetCSLL>string</vRetCSLL>
                                <vBCPISPASEP>string</vBCPISPASEP>
                                <pRetPISPASEP>string</pRetPISPASEP>
                                <vRetPISPASEP>string</vRetPISPASEP>
                                <vRetOutrasRet>string</vRetOutrasRet>
                                <totalAproxTribServ>string</totalAproxTribServ>
                                <xPed>string</xPed>
                                <nItemPed>string</nItemPed>
                            </serv>
                            <ISSST>
                                <vRedBCST>string</vRedBCST>
                                <vBCST>string</vBCST>
                                <pISSST>string</pISSST>
                                <vISSST>string</vISSST>
                            </ISSST>
                            <estacionamento>
                                <xPlaca>string</xPlaca>
                                <dDataInicial>date</dDataInicial>
                                <hHoraInicial>string</hHoraInicial>
                                <dDataFinal>date</dDataFinal>
                                <hHoraFinal>string</hHoraFinal>
                            </estacionamento>
                            <hospedagem>
                                <unidade>string</unidade>
                                <qtdHospede>positiveInteger</qtdHospede>
                                <dDataEntrada>date</dDataEntrada>
                                <hHoraEntrada>string</hHoraEntrada>
                                <dDataSaida>date</dDataSaida>
                                <hHoraSaida>string</hHoraSaida>
                            </hospedagem>
                            <dependente>
                                <nome>string</nome>
                                <cpf>token string</cpf>
                                <dataNascimento>date</dataNascimento>
                            </dependente>
                            <evento>
                                <nome>string</nome>
                                <tipo>token string</tipo>
                                <dataInicioEvento>date</dataInicioEvento>
                                <dataFimEvento>date</dataFimEvento>
                            </evento>
                        </det>
                        <despesas>
                            <despesa>
                                <nItemDesp>positiveInteger</nItemDesp>
                                <xDesp>string</xDesp>
                                <dDesp>date</dDesp>
                                <vDesp>string</vDesp>
                            </despesa>
                        </despesas>
                        <reembolso>
                            <nItem>positiveInteger</nItem>
                            <numeroTitulo>string</numeroTitulo>
                            <descricao>string</descricao>
                            <unidade>string</unidade>
                            <quantidade>string</quantidade>
                            <vRetencao>string</vRetencao>
                            <vRepasseTerceiros>string</vRepasseTerceiros>
                            <vDesc>string</vDesc>
                            <vTotal>string</vTotal>
                            <vLiq>string</vLiq>
                            <tipoPagamento>string</tipoPagamento>
                            <numeroLote>string</numeroLote>
                            <codigoReembolso>string</codigoReembolso>
                            <dataPagamento>date</dataPagamento>
                        </reembolso>
                        <total>
                            <vServ>string</vServ>
                            <vReemb>string</vReemb>
                            <vRedBCCivil>string</vRedBCCivil>
                            <vDesc>string</vDesc>
                            <vDescCondicional>string</vDescCondicional>
                            <vDescICMS>string</vDescICMS>
                            <vtDed>string</vtDed>
                            <vtNF>string</vtNF>
                            <vtLiq>string</vtLiq>
                            <totalAproxTrib>string</totalAproxTrib>
                            <Ret>
                                <vRetIR>string</vRetIR>
                                <vRetPISPASEP>string</vRetPISPASEP>
                                <vRetCOFINS>string</vRetCOFINS>
                                <vRetCSLL>string</vRetCSLL>
                                <vRetINSS>string</vRetINSS>
                                <vRetOutrasRet>string</vRetOutrasRet>
                            </Ret>
                            <vtLiqFaturas>string</vtLiqFaturas>
                            <vtDespesas>string</vtDespesas>
                            <ISS>
                                <vBCISS>string</vBCISS>
                                <vISS>string</vISS>
                                <vBCSTISS>string</vBCSTISS>
                                <vSTISS>string</vSTISS>
                            </ISS>
                        </total>
                        <faturas>
                            <fat>
                                <nItem>positiveInteger</nItem>
                                <nFat>string</nFat>
                                <dVenc>date</dVenc>
                                <vFat>string</vFat>
                                <tipoVencFat>token string</tipoVencFat>
                                <descTipoVencFat>string</descTipoVencFat>
                            </fat>
                        </faturas>
                        <infAdicLT>token string</infAdicLT>
                        <infAdicES>token string</infAdicES>
                        <infAdic>string</infAdic>
                        <infAdicAT>token string</infAdicAT>
                        <NumVeiculo>string</NumVeiculo>
                    </infNFSe>
                </NFS-e>
                <sit>positiveInteger</sit>
                <mot>string</mot>
                <ds:Signature Id="?">
                    <ds:SignedInfo Id="?">
                        <ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
                        <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
                        <ds:Reference Id="?" URI="?" Type="?">
                            <ds:Transforms>
                                <ds:Transform Algorithm="?">
                                    <ds:XPath>string</ds:XPath>
                                </ds:Transform>
                            </ds:Transforms>
                            <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
                            <ds:DigestValue>BASE64_DATA</ds:DigestValue>
                        </ds:Reference>
                    </ds:SignedInfo>
                    <ds:SignatureValue>...</ds:SignatureValue>
                    <ds:KeyInfo Id="?">
                        <ds:X509Data>
                            <ds:X509SubjectName>string</ds:X509SubjectName>
                            <ds:X509Certificate>BqozVXeZZg==</ds:X509Certificate>
                        </ds:X509Data>
                    </ds:KeyInfo>
                </ds:Signature>
            </resPedidoNFSe>
        </obterNotaFiscalXmlResponse>
    </soapenv:Body>
</soapenv:Envelope>