ServicosPortSoap11 / obterNotaFiscalLote
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
Dim fso, outFile
Set fso = CreateObject("Scripting.FileSystemObject")
Set outFile = fso.CreateTextFile("output.txt", True)
set xml = CreateObject("Chilkat_9_5_0.Xml")
xml.Tag = "soapenv:Envelope"
success = xml.AddAttribute("xmlns:soapenv","http://schemas.xmlsoap.org/soap/envelope/")
success = xml.AddAttribute("xmlns","http://ws.pc.gif.com.br/")
success = xml.AddAttribute("xmlns:nfs","http://nfse.abrasf.org.br")
success = xml.AddAttribute("xmlns:ds","http://www.w3.org/2000/09/xmldsig#")
xml.UpdateChildContent "soapenv:Header",""
success = xml.UpdateAttrAt("soapenv:Body|obterNotaFiscalLoteRequest|pedidoNFSe",1,"versao","?")
xml.UpdateChildContent "soapenv:Body|obterNotaFiscalLoteRequest|pedidoNFSe|CNPJ","token string"
xml.UpdateChildContent "soapenv:Body|obterNotaFiscalLoteRequest|pedidoNFSe|chvAcessoNFS-e","string"
success = xml.UpdateAttrAt("soapenv:Body|obterNotaFiscalLoteRequest|pedidoNFSe|ds:Signature",1,"Id","?")
success = xml.UpdateAttrAt("soapenv:Body|obterNotaFiscalLoteRequest|pedidoNFSe|ds:Signature|ds:SignedInfo",1,"Id","?")
success = xml.UpdateAttrAt("soapenv:Body|obterNotaFiscalLoteRequest|pedidoNFSe|ds:Signature|ds:SignedInfo|ds:CanonicalizationMethod",1,"Algorithm","http://www.w3.org/TR/2001/REC-xml-c14n-20010315")
success = xml.UpdateAttrAt("soapenv:Body|obterNotaFiscalLoteRequest|pedidoNFSe|ds:Signature|ds:SignedInfo|ds:SignatureMethod",1,"Algorithm","http://www.w3.org/2000/09/xmldsig#rsa-sha1")
success = xml.UpdateAttrAt("soapenv:Body|obterNotaFiscalLoteRequest|pedidoNFSe|ds:Signature|ds:SignedInfo|ds:Reference",1,"Id","?")
success = xml.UpdateAttrAt("soapenv:Body|obterNotaFiscalLoteRequest|pedidoNFSe|ds:Signature|ds:SignedInfo|ds:Reference",1,"URI","?")
success = xml.UpdateAttrAt("soapenv:Body|obterNotaFiscalLoteRequest|pedidoNFSe|ds:Signature|ds:SignedInfo|ds:Reference",1,"Type","?")
success = xml.UpdateAttrAt("soapenv:Body|obterNotaFiscalLoteRequest|pedidoNFSe|ds:Signature|ds:SignedInfo|ds:Reference|ds:Transforms|ds:Transform",1,"Algorithm","?")
xml.UpdateChildContent "soapenv:Body|obterNotaFiscalLoteRequest|pedidoNFSe|ds:Signature|ds:SignedInfo|ds:Reference|ds:Transforms|ds:Transform|ds:XPath","string"
success = xml.UpdateAttrAt("soapenv:Body|obterNotaFiscalLoteRequest|pedidoNFSe|ds:Signature|ds:SignedInfo|ds:Reference|ds:DigestMethod",1,"Algorithm","http://www.w3.org/2000/09/xmldsig#sha1")
xml.UpdateChildContent "soapenv:Body|obterNotaFiscalLoteRequest|pedidoNFSe|ds:Signature|ds:SignedInfo|ds:Reference|ds:DigestValue","BASE64_DATA"
xml.UpdateChildContent "soapenv:Body|obterNotaFiscalLoteRequest|pedidoNFSe|ds:Signature|ds:SignatureValue","..."
success = xml.UpdateAttrAt("soapenv:Body|obterNotaFiscalLoteRequest|pedidoNFSe|ds:Signature|ds:KeyInfo",1,"Id","?")
xml.UpdateChildContent "soapenv:Body|obterNotaFiscalLoteRequest|pedidoNFSe|ds:Signature|ds:KeyInfo|ds:X509Data|ds:X509SubjectName","string"
xml.UpdateChildContent "soapenv:Body|obterNotaFiscalLoteRequest|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 = 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"
set http = CreateObject("Chilkat_9_5_0.Http")
http.ClearHeaders
http.SetRequestHeader "Content-Type",contentType
http.SetRequestHeader "SOAPAction",soapAction
' resp is a Chilkat_9_5_0.HttpResponse
Set resp = http.PostXml(endpoint,soapRequestBody,"utf-8")
If (http.LastMethodSuccess = 0) Then
outFile.WriteLine(http.LastErrorText)
outFile.WriteLine("Failed to send SOAP request.")
WScript.Quit
End If
' Get the XML response body.
set responseXml = CreateObject("Chilkat_9_5_0.Xml")
success = resp.GetBodyXml(responseXml)
statusCode = resp.StatusCode
outFile.WriteLine("response status code: " & statusCode)
' If the status code does not indicate succcess, then show the response XML,
' which probably contains error information.
If (statusCode <> 200) Then
outFile.WriteLine(responseXml.GetXml())
WScript.Quit
End If
outFile.WriteLine(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|obterNotaFiscalLoteResponse|resPedidoNFSe|(versao)")
CNPJ = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|CNPJ")
chvAcessoNFS_e = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|chvAcessoNFS-e")
dhRecbto = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|dhRecbto")
infNFSe_versao = responseXml.ChilkatPath("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|(versao)")
cNFS_e = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|Id|cNFS-e")
v_mod = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|Id|mod")
serie = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|Id|serie")
nNFS_e = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|Id|nNFS-e")
dEmi = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|Id|dEmi")
hEmi = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|Id|hEmi")
tpNF = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|Id|tpNF")
refNF = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|Id|refNF")
tpImp = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|Id|tpImp")
tpEmis = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|Id|tpEmis")
cancelada = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|Id|cancelada")
motCanc = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|Id|motCanc")
dataCanc = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|Id|dataCanc")
notaDebito = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|Id|notaDebito")
notaSub = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|Id|notaSub")
canhoto = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|Id|canhoto")
ambienteEmi = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|Id|ambienteEmi")
formaEmi = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|Id|formaEmi")
empreitadaGlobal = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|Id|empreitadaGlobal")
codRPS = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|Id|codRPS")
rps = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|Id|rps")
serierps = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|Id|serierps")
dataEmissaoRpsPapel = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|Id|dataEmissaoRpsPapel")
enviarEmail = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|Id|enviarEmail")
chaveAcessoSubstituida = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|Id|chaveAcessoSubstituida")
CNPJ = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|prest|CNPJ")
xNome = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|prest|xNome")
xFant = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|prest|xFant")
IM = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|prest|IM")
xEmail = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|prest|xEmail")
xSite = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|prest|xSite")
xLgr = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|prest|end|xLgr")
nro = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|prest|end|nro")
xCpl = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|prest|end|xCpl")
xBairro = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|prest|end|xBairro")
cMun = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|prest|end|cMun")
xMun = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|prest|end|xMun")
UF = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|prest|end|UF")
CEP = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|prest|end|CEP")
cPais = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|prest|end|cPais")
xPais = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|prest|end|xPais")
fone = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|prest|fone")
fone2 = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|prest|fone2")
IE = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|prest|IE")
regimeTrib = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|prest|regimeTrib")
CNPJ = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|CNPJ")
xNome = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|xNome")
xLgr = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|ender|xLgr")
nro = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|ender|nro")
xCpl = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|ender|xCpl")
xBairro = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|ender|xBairro")
cMun = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|ender|cMun")
xMun = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|ender|xMun")
UF = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|ender|UF")
CEP = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|ender|CEP")
cPais = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|ender|cPais")
xPais = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|ender|xPais")
xEmail = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|xEmail")
IE = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|IE")
IM = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|IM")
IME = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|IME")
fone = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|fone")
fone2 = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|TomS|fone2")
CNPJ = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|intermediario|CNPJ")
xNome = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|intermediario|xNome")
IM = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|intermediario|IM")
cMun = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|intermediario|cMun")
xMun = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|intermediario|xMun")
UF = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|intermediario|UF")
protocoloObra = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|dadosDaObra|protocoloObra")
codigoVinculacao = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|dadosDaObra|codigoVinculacao")
xLogObra = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|dadosDaObra|xLogObra")
xComplObra = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|dadosDaObra|xComplObra")
vNumeroObra = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|dadosDaObra|vNumeroObra")
xBairroObra = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|dadosDaObra|xBairroObra")
xCepObra = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|dadosDaObra|xCepObra")
cCidadeObra = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|dadosDaObra|cCidadeObra")
xCidadeObra = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|dadosDaObra|xCidadeObra")
xUfObra = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|dadosDaObra|xUfObra")
cPaisObra = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|dadosDaObra|cPaisObra")
xPaisObra = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|dadosDaObra|xPaisObra")
numeroArt = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|dadosDaObra|numeroArt")
numeroCei = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|dadosDaObra|numeroCei")
numeroProj = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|dadosDaObra|numeroProj")
numeroMatri = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|dadosDaObra|numeroMatri")
xNomeTrans = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|transportadora|xNomeTrans")
xCpfCnpjTrans = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|transportadora|xCpfCnpjTrans")
xInscEstTrans = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|transportadora|xInscEstTrans")
xPlacaTrans = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|transportadora|xPlacaTrans")
xEndTrans = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|transportadora|xEndTrans")
cMunTrans = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|transportadora|cMunTrans")
xMunTrans = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|transportadora|xMunTrans")
xUfTrans = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|transportadora|xUfTrans")
cPaisTrans = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|transportadora|cPaisTrans")
xPaisTrans = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|transportadora|xPaisTrans")
vTipoFreteTrans = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|transportadora|vTipoFreteTrans")
nItem = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|nItem")
cServ = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|cServ")
cLCServ = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|cLCServ")
xServ = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|xServ")
localTributacao = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|localTributacao")
localVerifResServ = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|localVerifResServ")
uTrib = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|uTrib")
qTrib = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|qTrib")
vUnit = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vUnit")
vServ = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vServ")
vDesc = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vDesc")
vDed = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vDed")
vBCISS = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vBCISS")
pISS = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|pISS")
vISS = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vISS")
vBCINSS = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vBCINSS")
pRetINSS = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|pRetINSS")
vRetINSS = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vRetINSS")
vRed = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vRed")
vBCRetIR = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vBCRetIR")
pRetIR = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|pRetIR")
vRetIR = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vRetIR")
vBCCOFINS = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vBCCOFINS")
pRetCOFINS = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|pRetCOFINS")
vRetCOFINS = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vRetCOFINS")
vBCCSLL = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vBCCSLL")
pRetCSLL = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|pRetCSLL")
vRetCSLL = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vRetCSLL")
vBCPISPASEP = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vBCPISPASEP")
pRetPISPASEP = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|pRetPISPASEP")
vRetPISPASEP = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vRetPISPASEP")
vRetOutrasRet = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|vRetOutrasRet")
totalAproxTribServ = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|totalAproxTribServ")
xPed = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|xPed")
nItemPed = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|serv|nItemPed")
vRedBCST = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|ISSST|vRedBCST")
vBCST = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|ISSST|vBCST")
pISSST = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|ISSST|pISSST")
vISSST = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|ISSST|vISSST")
xPlaca = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|estacionamento|xPlaca")
dDataInicial = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|estacionamento|dDataInicial")
hHoraInicial = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|estacionamento|hHoraInicial")
dDataFinal = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|estacionamento|dDataFinal")
hHoraFinal = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|estacionamento|hHoraFinal")
unidade = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|hospedagem|unidade")
qtdHospede = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|hospedagem|qtdHospede")
dDataEntrada = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|hospedagem|dDataEntrada")
hHoraEntrada = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|hospedagem|hHoraEntrada")
dDataSaida = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|hospedagem|dDataSaida")
hHoraSaida = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|hospedagem|hHoraSaida")
nome = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|dependente|nome")
cpf = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|dependente|cpf")
dataNascimento = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|dependente|dataNascimento")
nome = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|evento|nome")
tipo = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|evento|tipo")
dataInicioEvento = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|evento|dataInicioEvento")
dataFimEvento = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|det|evento|dataFimEvento")
nItemDesp = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|despesas|despesa|nItemDesp")
xDesp = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|despesas|despesa|xDesp")
dDesp = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|despesas|despesa|dDesp")
vDesp = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|despesas|despesa|vDesp")
nItem = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|reembolso|nItem")
numeroTitulo = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|reembolso|numeroTitulo")
descricao = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|reembolso|descricao")
unidade = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|reembolso|unidade")
quantidade = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|reembolso|quantidade")
vRetencao = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|reembolso|vRetencao")
vRepasseTerceiros = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|reembolso|vRepasseTerceiros")
vDesc = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|reembolso|vDesc")
vTotal = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|reembolso|vTotal")
vLiq = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|reembolso|vLiq")
tipoPagamento = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|reembolso|tipoPagamento")
numeroLote = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|reembolso|numeroLote")
codigoReembolso = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|reembolso|codigoReembolso")
dataPagamento = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|reembolso|dataPagamento")
vServ = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|total|vServ")
vReemb = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|total|vReemb")
vRedBCCivil = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|total|vRedBCCivil")
vDesc = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|total|vDesc")
vDescCondicional = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|total|vDescCondicional")
vDescICMS = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|total|vDescICMS")
vtDed = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|total|vtDed")
vtNF = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|total|vtNF")
vtLiq = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|total|vtLiq")
totalAproxTrib = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|total|totalAproxTrib")
vRetIR = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|total|Ret|vRetIR")
vRetPISPASEP = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|total|Ret|vRetPISPASEP")
vRetCOFINS = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|total|Ret|vRetCOFINS")
vRetCSLL = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|total|Ret|vRetCSLL")
vRetINSS = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|total|Ret|vRetINSS")
vRetOutrasRet = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|total|Ret|vRetOutrasRet")
vtLiqFaturas = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|total|vtLiqFaturas")
vtDespesas = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|total|vtDespesas")
vBCISS = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|total|ISS|vBCISS")
vISS = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|total|ISS|vISS")
vBCSTISS = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|total|ISS|vBCSTISS")
vSTISS = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|total|ISS|vSTISS")
nItem = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|faturas|fat|nItem")
nFat = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|faturas|fat|nFat")
dVenc = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|faturas|fat|dVenc")
vFat = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|faturas|fat|vFat")
tipoVencFat = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|faturas|fat|tipoVencFat")
descTipoVencFat = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|faturas|fat|descTipoVencFat")
infAdicLT = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|infAdicLT")
infAdicES = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|infAdicES")
infAdic = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|infAdic")
infAdicAT = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|infAdicAT")
NumVeiculo = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|NFS-e|infNFSe|NumVeiculo")
sit = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|sit")
mot = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|mot")
Signature_Id = responseXml.ChilkatPath("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|*:Signature|(Id)")
SignedInfo_Id = responseXml.ChilkatPath("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|*:Signature|*:SignedInfo|(Id)")
CanonicalizationMethod_Algorithm = responseXml.ChilkatPath("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|*:Signature|*:SignedInfo|*:CanonicalizationMethod|(Algorithm)")
SignatureMethod_Algorithm = responseXml.ChilkatPath("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|*:Signature|*:SignedInfo|*:SignatureMethod|(Algorithm)")
Reference_Id = responseXml.ChilkatPath("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|*:Signature|*:SignedInfo|*:Reference|(Id)")
Reference_URI = responseXml.ChilkatPath("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|*:Signature|*:SignedInfo|*:Reference|(URI)")
Reference_Type = responseXml.ChilkatPath("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|*:Signature|*:SignedInfo|*:Reference|(Type)")
Transform_Algorithm = responseXml.ChilkatPath("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|*:Signature|*:SignedInfo|*:Reference|*:Transforms|*:Transform|(Algorithm)")
XPath = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|*:Signature|*:SignedInfo|*:Reference|*:Transforms|*:Transform|*:XPath")
DigestMethod_Algorithm = responseXml.ChilkatPath("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|*:Signature|*:SignedInfo|*:Reference|*:DigestMethod|(Algorithm)")
DigestValue = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|*:Signature|*:SignedInfo|*:Reference|*:DigestValue")
SignatureValue = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|*:Signature|*:SignatureValue")
KeyInfo_Id = responseXml.ChilkatPath("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|*:Signature|*:KeyInfo|(Id)")
X509SubjectName = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|*:Signature|*:KeyInfo|*:X509Data|*:X509SubjectName")
X509Certificate = responseXml.GetChildContent("*:Body|obterNotaFiscalLoteResponse|resPedidoNFSe|*:Signature|*:KeyInfo|*:X509Data|*:X509Certificate")
outFile.Close
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>
<obterNotaFiscalLoteRequest>
<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>
</obterNotaFiscalLoteRequest>
</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>
<obterNotaFiscalLoteResponse>
<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>
</obterNotaFiscalLoteResponse>
</soapenv:Body>
</soapenv:Envelope>