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
Add-Type -Path "C:\chilkat\ChilkatDotNet47-9.5.0-x64\ChilkatDotNet47.dll"
$xml = New-Object Chilkat.Xml
$xml.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",$true,"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",$true,"Id","?")
$xml.UpdateAttrAt("soapenv:Body|obterNotaFiscalXmlRequest|pedidoNFSe|ds:Signature|ds:SignedInfo",$true,"Id","?")
$xml.UpdateAttrAt("soapenv:Body|obterNotaFiscalXmlRequest|pedidoNFSe|ds:Signature|ds:SignedInfo|ds:CanonicalizationMethod",$true,"Algorithm","http://www.w3.org/TR/2001/REC-xml-c14n-20010315")
$xml.UpdateAttrAt("soapenv:Body|obterNotaFiscalXmlRequest|pedidoNFSe|ds:Signature|ds:SignedInfo|ds:SignatureMethod",$true,"Algorithm","http://www.w3.org/2000/09/xmldsig#rsa-sha1")
$xml.UpdateAttrAt("soapenv:Body|obterNotaFiscalXmlRequest|pedidoNFSe|ds:Signature|ds:SignedInfo|ds:Reference",$true,"Id","?")
$xml.UpdateAttrAt("soapenv:Body|obterNotaFiscalXmlRequest|pedidoNFSe|ds:Signature|ds:SignedInfo|ds:Reference",$true,"URI","?")
$xml.UpdateAttrAt("soapenv:Body|obterNotaFiscalXmlRequest|pedidoNFSe|ds:Signature|ds:SignedInfo|ds:Reference",$true,"Type","?")
$xml.UpdateAttrAt("soapenv:Body|obterNotaFiscalXmlRequest|pedidoNFSe|ds:Signature|ds:SignedInfo|ds:Reference|ds:Transforms|ds:Transform",$true,"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",$true,"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",$true,"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.EmitXmlDecl = $false
$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 = New-Object Chilkat.Http
$http.ClearHeaders()
$http.SetRequestHeader("Content-Type",$contentType)
$http.SetRequestHeader("SOAPAction",$soapAction)
$resp = $http.PostXml($endpoint,$soapRequestBody,"utf-8")
if ($http.LastMethodSuccess -eq $false) {
$($http.LastErrorText)
$("Failed to send SOAP request.")
exit
}
# Get the XML response body.
$responseXml = New-Object Chilkat.Xml
$resp.GetBodyXml($responseXml)
$statusCode = $resp.StatusCode
$("response status code: " + $statusCode)
# If the status code does not indicate succcess, then show the response XML,
# which probably contains error information.
if ($statusCode -ne 200) {
$($responseXml.GetXml())
exit
}
$($responseXml.GetXml())
# 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>