ServicosPortSoap11 / obterLoteNotaFiscal
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
func chilkatTest() {
let xml = CkoXml()
xml.Tag = "soapenv:Envelope"
xml.AddAttribute("xmlns:soapenv", value: "http://schemas.xmlsoap.org/soap/envelope/")
xml.AddAttribute("xmlns", value: "http://ws.pc.gif.com.br/")
xml.AddAttribute("xmlns:nfs", value: "http://nfse.abrasf.org.br")
xml.AddAttribute("xmlns:ds", value: "http://www.w3.org/2000/09/xmldsig#")
xml.UpdateChildContent("soapenv:Header", value: "")
xml.UpdateAttrAt("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe", autoCreate: true, attrName: "versao", attrValue: "?")
xml.UpdateChildContent("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|CNPJ", value: "token string")
xml.UpdateChildContent("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|notaInicial", value: "token string")
xml.UpdateChildContent("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|notaFinal", value: "token string")
xml.UpdateChildContent("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|emissaoInicial", value: "date")
xml.UpdateChildContent("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|emissaoFinal", value: "date")
xml.UpdateChildContent("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|serieNotaFiscal", value: "string")
xml.UpdateChildContent("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|serie_nf", value: "string")
xml.UpdateAttrAt("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|ds:Signature", autoCreate: true, attrName: "Id", attrValue: "?")
xml.UpdateAttrAt("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|ds:Signature|ds:SignedInfo", autoCreate: true, attrName: "Id", attrValue: "?")
xml.UpdateAttrAt("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|ds:Signature|ds:SignedInfo|ds:CanonicalizationMethod", autoCreate: true, attrName: "Algorithm", attrValue: "http://www.w3.org/TR/2001/REC-xml-c14n-20010315")
xml.UpdateAttrAt("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|ds:Signature|ds:SignedInfo|ds:SignatureMethod", autoCreate: true, attrName: "Algorithm", attrValue: "http://www.w3.org/2000/09/xmldsig#rsa-sha1")
xml.UpdateAttrAt("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|ds:Signature|ds:SignedInfo|ds:Reference", autoCreate: true, attrName: "Id", attrValue: "?")
xml.UpdateAttrAt("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|ds:Signature|ds:SignedInfo|ds:Reference", autoCreate: true, attrName: "URI", attrValue: "?")
xml.UpdateAttrAt("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|ds:Signature|ds:SignedInfo|ds:Reference", autoCreate: true, attrName: "Type", attrValue: "?")
xml.UpdateAttrAt("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|ds:Signature|ds:SignedInfo|ds:Reference|ds:Transforms|ds:Transform", autoCreate: true, attrName: "Algorithm", attrValue: "?")
xml.UpdateChildContent("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|ds:Signature|ds:SignedInfo|ds:Reference|ds:Transforms|ds:Transform|ds:XPath", value: "string")
xml.UpdateAttrAt("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|ds:Signature|ds:SignedInfo|ds:Reference|ds:DigestMethod", autoCreate: true, attrName: "Algorithm", attrValue: "http://www.w3.org/2000/09/xmldsig#sha1")
xml.UpdateChildContent("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|ds:Signature|ds:SignedInfo|ds:Reference|ds:DigestValue", value: "BASE64_DATA")
xml.UpdateChildContent("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|ds:Signature|ds:SignatureValue", value: "...")
xml.UpdateAttrAt("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|ds:Signature|ds:KeyInfo", autoCreate: true, attrName: "Id", attrValue: "?")
xml.UpdateChildContent("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|ds:Signature|ds:KeyInfo|ds:X509Data|ds:X509SubjectName", value: "string")
xml.UpdateChildContent("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|ds:Signature|ds:KeyInfo|ds:X509Data|ds:X509Certificate", value: "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
var soapRequestBody: String? = xml.GetXml()
var endpoint: String? = "https://canoas-homol.infisc.com.br/services/nfse/ws/Servicos"
var soapAction: String? = ""
// For SOAP requests, the standard Content-Type is usually set to "text/xml" or "application/soap+xml"
var contentType: String? = "text/xml"
let http = CkoHttp()
http.ClearHeaders()
http.SetRequestHeader("Content-Type", value: contentType)
http.SetRequestHeader("SOAPAction", value: soapAction)
var resp: CkoHttpResponse? = http.PostXml(endpoint, xmlDoc: soapRequestBody, charset: "utf-8")
if http.LastMethodSuccess == false {
print("\(http.LastErrorText)")
print("Failed to send SOAP request.")
return
}
// Get the XML response body.
let responseXml = CkoXml()
resp!.GetBodyXml(responseXml)
var statusCode: Int = resp!.StatusCode.intValue
print("response status code: \(statusCode)")
resp = nil
// If the status code does not indicate succcess, then show the response XML,
// which probably contains error information.
if statusCode != 200 {
print("\(responseXml.GetXml())")
return
}
print("\(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).
var Envelope_xmlns: String? = responseXml.GetAttrValue("xmlns")
var resPedidoLoteNFSe_versao: String? = responseXml.ChilkatPath("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|(versao)")
var CNPJ: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|CNPJ")
var dhRecbto: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|dhRecbto")
var infNFSe_versao: String? = responseXml.ChilkatPath("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|(versao)")
var cNFS_e: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|cNFS-e")
var v_mod: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|mod")
var serie: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|serie")
var nNFS_e: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|nNFS-e")
var dEmi: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|dEmi")
var hEmi: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|hEmi")
var tpNF: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|tpNF")
var refNF: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|refNF")
var tpImp: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|tpImp")
var tpEmis: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|tpEmis")
var cancelada: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|cancelada")
var motCanc: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|motCanc")
var dataCanc: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|dataCanc")
var notaDebito: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|notaDebito")
var notaSub: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|notaSub")
var canhoto: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|canhoto")
var ambienteEmi: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|ambienteEmi")
var formaEmi: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|formaEmi")
var empreitadaGlobal: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|empreitadaGlobal")
var codRPS: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|codRPS")
var rps: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|rps")
var serierps: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|serierps")
var dataEmissaoRpsPapel: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|dataEmissaoRpsPapel")
var enviarEmail: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|enviarEmail")
var chaveAcessoSubstituida: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|chaveAcessoSubstituida")
CNPJ = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|CNPJ")
var xNome: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|xNome")
var xFant: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|xFant")
var IM: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|IM")
var xEmail: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|xEmail")
var xSite: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|xSite")
var xLgr: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|end|xLgr")
var nro: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|end|nro")
var xCpl: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|end|xCpl")
var xBairro: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|end|xBairro")
var cMun: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|end|cMun")
var xMun: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|end|xMun")
var UF: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|end|UF")
var CEP: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|end|CEP")
var cPais: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|end|cPais")
var xPais: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|end|xPais")
var fone: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|fone")
var fone2: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|fone2")
var IE: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|IE")
var regimeTrib: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|regimeTrib")
CNPJ = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|TomS|CNPJ")
xNome = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|TomS|xNome")
xLgr = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|TomS|ender|xLgr")
nro = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|TomS|ender|nro")
xCpl = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|TomS|ender|xCpl")
xBairro = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|TomS|ender|xBairro")
cMun = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|TomS|ender|cMun")
xMun = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|TomS|ender|xMun")
UF = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|TomS|ender|UF")
CEP = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|TomS|ender|CEP")
cPais = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|TomS|ender|cPais")
xPais = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|TomS|ender|xPais")
xEmail = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|TomS|xEmail")
IE = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|TomS|IE")
IM = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|TomS|IM")
var IME: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|TomS|IME")
fone = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|TomS|fone")
fone2 = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|TomS|fone2")
CNPJ = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|intermediario|CNPJ")
xNome = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|intermediario|xNome")
IM = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|intermediario|IM")
cMun = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|intermediario|cMun")
xMun = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|intermediario|xMun")
UF = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|intermediario|UF")
var protocoloObra: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|dadosDaObra|protocoloObra")
var codigoVinculacao: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|dadosDaObra|codigoVinculacao")
var xLogObra: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|dadosDaObra|xLogObra")
var xComplObra: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|dadosDaObra|xComplObra")
var vNumeroObra: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|dadosDaObra|vNumeroObra")
var xBairroObra: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|dadosDaObra|xBairroObra")
var xCepObra: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|dadosDaObra|xCepObra")
var cCidadeObra: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|dadosDaObra|cCidadeObra")
var xCidadeObra: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|dadosDaObra|xCidadeObra")
var xUfObra: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|dadosDaObra|xUfObra")
var cPaisObra: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|dadosDaObra|cPaisObra")
var xPaisObra: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|dadosDaObra|xPaisObra")
var numeroArt: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|dadosDaObra|numeroArt")
var numeroCei: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|dadosDaObra|numeroCei")
var numeroProj: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|dadosDaObra|numeroProj")
var numeroMatri: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|dadosDaObra|numeroMatri")
var xNomeTrans: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|transportadora|xNomeTrans")
var xCpfCnpjTrans: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|transportadora|xCpfCnpjTrans")
var xInscEstTrans: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|transportadora|xInscEstTrans")
var xPlacaTrans: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|transportadora|xPlacaTrans")
var xEndTrans: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|transportadora|xEndTrans")
var cMunTrans: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|transportadora|cMunTrans")
var xMunTrans: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|transportadora|xMunTrans")
var xUfTrans: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|transportadora|xUfTrans")
var cPaisTrans: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|transportadora|cPaisTrans")
var xPaisTrans: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|transportadora|xPaisTrans")
var vTipoFreteTrans: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|transportadora|vTipoFreteTrans")
var nItem: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|nItem")
var cServ: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|cServ")
var cLCServ: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|cLCServ")
var xServ: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|xServ")
var localTributacao: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|localTributacao")
var localVerifResServ: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|localVerifResServ")
var uTrib: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|uTrib")
var qTrib: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|qTrib")
var vUnit: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vUnit")
var vServ: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vServ")
var vDesc: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vDesc")
var vDed: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vDed")
var vBCISS: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vBCISS")
var pISS: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|pISS")
var vISS: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vISS")
var vBCINSS: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vBCINSS")
var pRetINSS: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|pRetINSS")
var vRetINSS: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vRetINSS")
var vRed: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vRed")
var vBCRetIR: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vBCRetIR")
var pRetIR: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|pRetIR")
var vRetIR: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vRetIR")
var vBCCOFINS: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vBCCOFINS")
var pRetCOFINS: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|pRetCOFINS")
var vRetCOFINS: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vRetCOFINS")
var vBCCSLL: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vBCCSLL")
var pRetCSLL: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|pRetCSLL")
var vRetCSLL: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vRetCSLL")
var vBCPISPASEP: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vBCPISPASEP")
var pRetPISPASEP: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|pRetPISPASEP")
var vRetPISPASEP: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vRetPISPASEP")
var vRetOutrasRet: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vRetOutrasRet")
var totalAproxTribServ: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|totalAproxTribServ")
var xPed: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|xPed")
var nItemPed: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|nItemPed")
var vRedBCST: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|ISSST|vRedBCST")
var vBCST: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|ISSST|vBCST")
var pISSST: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|ISSST|pISSST")
var vISSST: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|ISSST|vISSST")
var xPlaca: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|estacionamento|xPlaca")
var dDataInicial: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|estacionamento|dDataInicial")
var hHoraInicial: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|estacionamento|hHoraInicial")
var dDataFinal: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|estacionamento|dDataFinal")
var hHoraFinal: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|estacionamento|hHoraFinal")
var unidade: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|hospedagem|unidade")
var qtdHospede: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|hospedagem|qtdHospede")
var dDataEntrada: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|hospedagem|dDataEntrada")
var hHoraEntrada: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|hospedagem|hHoraEntrada")
var dDataSaida: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|hospedagem|dDataSaida")
var hHoraSaida: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|hospedagem|hHoraSaida")
var nome: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|dependente|nome")
var cpf: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|dependente|cpf")
var dataNascimento: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|dependente|dataNascimento")
nome = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|evento|nome")
var tipo: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|evento|tipo")
var dataInicioEvento: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|evento|dataInicioEvento")
var dataFimEvento: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|evento|dataFimEvento")
var nItemDesp: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|despesas|despesa|nItemDesp")
var xDesp: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|despesas|despesa|xDesp")
var dDesp: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|despesas|despesa|dDesp")
var vDesp: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|despesas|despesa|vDesp")
nItem = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|reembolso|nItem")
var numeroTitulo: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|reembolso|numeroTitulo")
var descricao: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|reembolso|descricao")
unidade = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|reembolso|unidade")
var quantidade: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|reembolso|quantidade")
var vRetencao: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|reembolso|vRetencao")
var vRepasseTerceiros: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|reembolso|vRepasseTerceiros")
vDesc = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|reembolso|vDesc")
var vTotal: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|reembolso|vTotal")
var vLiq: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|reembolso|vLiq")
var tipoPagamento: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|reembolso|tipoPagamento")
var numeroLote: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|reembolso|numeroLote")
var codigoReembolso: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|reembolso|codigoReembolso")
var dataPagamento: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|reembolso|dataPagamento")
vServ = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|vServ")
var vReemb: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|vReemb")
var vRedBCCivil: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|vRedBCCivil")
vDesc = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|vDesc")
var vDescCondicional: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|vDescCondicional")
var vDescICMS: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|vDescICMS")
var vtDed: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|vtDed")
var vtNF: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|vtNF")
var vtLiq: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|vtLiq")
var totalAproxTrib: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|totalAproxTrib")
vRetIR = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|Ret|vRetIR")
vRetPISPASEP = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|Ret|vRetPISPASEP")
vRetCOFINS = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|Ret|vRetCOFINS")
vRetCSLL = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|Ret|vRetCSLL")
vRetINSS = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|Ret|vRetINSS")
vRetOutrasRet = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|Ret|vRetOutrasRet")
var vtLiqFaturas: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|vtLiqFaturas")
var vtDespesas: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|vtDespesas")
vBCISS = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|ISS|vBCISS")
vISS = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|ISS|vISS")
var vBCSTISS: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|ISS|vBCSTISS")
var vSTISS: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|ISS|vSTISS")
nItem = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|faturas|fat|nItem")
var nFat: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|faturas|fat|nFat")
var dVenc: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|faturas|fat|dVenc")
var vFat: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|faturas|fat|vFat")
var tipoVencFat: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|faturas|fat|tipoVencFat")
var descTipoVencFat: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|faturas|fat|descTipoVencFat")
var infAdicLT: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|infAdicLT")
var infAdicES: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|infAdicES")
var infAdic: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|infAdic")
var infAdicAT: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|infAdicAT")
var NumVeiculo: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|NumVeiculo")
var sit: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|sit")
var Signature_Id: String? = responseXml.ChilkatPath("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|*:Signature|(Id)")
var SignedInfo_Id: String? = responseXml.ChilkatPath("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|*:Signature|*:SignedInfo|(Id)")
var CanonicalizationMethod_Algorithm: String? = responseXml.ChilkatPath("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|*:Signature|*:SignedInfo|*:CanonicalizationMethod|(Algorithm)")
var SignatureMethod_Algorithm: String? = responseXml.ChilkatPath("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|*:Signature|*:SignedInfo|*:SignatureMethod|(Algorithm)")
var Reference_Id: String? = responseXml.ChilkatPath("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|*:Signature|*:SignedInfo|*:Reference|(Id)")
var Reference_URI: String? = responseXml.ChilkatPath("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|*:Signature|*:SignedInfo|*:Reference|(URI)")
var Reference_Type: String? = responseXml.ChilkatPath("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|*:Signature|*:SignedInfo|*:Reference|(Type)")
var Transform_Algorithm: String? = responseXml.ChilkatPath("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|*:Signature|*:SignedInfo|*:Reference|*:Transforms|*:Transform|(Algorithm)")
var XPath: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|*:Signature|*:SignedInfo|*:Reference|*:Transforms|*:Transform|*:XPath")
var DigestMethod_Algorithm: String? = responseXml.ChilkatPath("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|*:Signature|*:SignedInfo|*:Reference|*:DigestMethod|(Algorithm)")
var DigestValue: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|*:Signature|*:SignedInfo|*:Reference|*:DigestValue")
var SignatureValue: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|*:Signature|*:SignatureValue")
var KeyInfo_Id: String? = responseXml.ChilkatPath("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|*:Signature|*:KeyInfo|(Id)")
var X509SubjectName: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|*:Signature|*:KeyInfo|*:X509Data|*:X509SubjectName")
var X509Certificate: String? = responseXml.GetChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|*: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>
<obterLoteNotaFiscalRequest>
<pedidoLoteNFSe versao="?">
<CNPJ>token string</CNPJ>
<notaInicial>token string</notaInicial>
<notaFinal>token string</notaFinal>
<emissaoInicial>date</emissaoInicial>
<emissaoFinal>date</emissaoFinal>
<serieNotaFiscal>string</serieNotaFiscal>
<serie_nf>string</serie_nf>
<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>
</pedidoLoteNFSe>
</obterLoteNotaFiscalRequest>
</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>
<obterLoteNotaFiscalResponse>
<resPedidoLoteNFSe versao="?">
<CNPJ>token string</CNPJ>
<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>
<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>
</resPedidoLoteNFSe>
</obterLoteNotaFiscalResponse>
</soapenv:Body>
</soapenv:Envelope>