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
import com.chilkatsoft.*;
public class ChilkatExample {
static {
try {
System.loadLibrary("chilkat");
} catch (UnsatisfiedLinkError e) {
System.err.println("Native code library failed to load.\n" + e);
System.exit(1);
}
}
public static void main(String argv[])
{
CkXml xml = new CkXml();
xml.put_Tag("soapenv:Envelope");
xml.AddAttribute("xmlns:soapenv","http://schemas.xmlsoap.org/soap/envelope/");
xml.AddAttribute("xmlns","http://ws.pc.gif.com.br/");
xml.AddAttribute("xmlns:nfs","http://nfse.abrasf.org.br");
xml.AddAttribute("xmlns:ds","http://www.w3.org/2000/09/xmldsig#");
xml.UpdateChildContent("soapenv:Header","");
xml.UpdateAttrAt("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe",true,"versao","?");
xml.UpdateChildContent("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|CNPJ","token string");
xml.UpdateChildContent("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|notaInicial","token string");
xml.UpdateChildContent("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|notaFinal","token string");
xml.UpdateChildContent("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|emissaoInicial","date");
xml.UpdateChildContent("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|emissaoFinal","date");
xml.UpdateChildContent("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|serieNotaFiscal","string");
xml.UpdateChildContent("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|serie_nf","string");
xml.UpdateAttrAt("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|ds:Signature",true,"Id","?");
xml.UpdateAttrAt("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|ds:Signature|ds:SignedInfo",true,"Id","?");
xml.UpdateAttrAt("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|ds:Signature|ds:SignedInfo|ds:CanonicalizationMethod",true,"Algorithm","http://www.w3.org/TR/2001/REC-xml-c14n-20010315");
xml.UpdateAttrAt("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|ds:Signature|ds:SignedInfo|ds:SignatureMethod",true,"Algorithm","http://www.w3.org/2000/09/xmldsig#rsa-sha1");
xml.UpdateAttrAt("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|ds:Signature|ds:SignedInfo|ds:Reference",true,"Id","?");
xml.UpdateAttrAt("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|ds:Signature|ds:SignedInfo|ds:Reference",true,"URI","?");
xml.UpdateAttrAt("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|ds:Signature|ds:SignedInfo|ds:Reference",true,"Type","?");
xml.UpdateAttrAt("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|ds:Signature|ds:SignedInfo|ds:Reference|ds:Transforms|ds:Transform",true,"Algorithm","?");
xml.UpdateChildContent("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|ds:Signature|ds:SignedInfo|ds:Reference|ds:Transforms|ds:Transform|ds:XPath","string");
xml.UpdateAttrAt("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|ds:Signature|ds:SignedInfo|ds:Reference|ds:DigestMethod",true,"Algorithm","http://www.w3.org/2000/09/xmldsig#sha1");
xml.UpdateChildContent("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|ds:Signature|ds:SignedInfo|ds:Reference|ds:DigestValue","BASE64_DATA");
xml.UpdateChildContent("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|ds:Signature|ds:SignatureValue","...");
xml.UpdateAttrAt("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|ds:Signature|ds:KeyInfo",true,"Id","?");
xml.UpdateChildContent("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|ds:Signature|ds:KeyInfo|ds:X509Data|ds:X509SubjectName","string");
xml.UpdateChildContent("soapenv:Body|obterLoteNotaFiscalRequest|pedidoLoteNFSe|ds:Signature|ds:KeyInfo|ds:X509Data|ds:X509Certificate","BqozVXeZZg==");
// In a SOAP HTTP request, including the XML declaration (<?xml version="1.0" encoding="UTF-8"?>) in the XML body is generally not required.
xml.put_EmitXmlDecl(false);
String soapRequestBody = xml.getXml();
String endpoint = "https://canoas-homol.infisc.com.br/services/nfse/ws/Servicos";
String soapAction = "";
// For SOAP requests, the standard Content-Type is usually set to "text/xml" or "application/soap+xml"
String contentType = "text/xml";
CkHttp http = new CkHttp();
http.ClearHeaders();
http.SetRequestHeader("Content-Type",contentType);
http.SetRequestHeader("SOAPAction",soapAction);
CkHttpResponse resp = http.PostXml(endpoint,soapRequestBody,"utf-8");
if (http.get_LastMethodSuccess() == false) {
System.out.println(http.lastErrorText());
System.out.println("Failed to send SOAP request.");
return;
}
// Get the XML response body.
CkXml responseXml = new CkXml();
resp.GetBodyXml(responseXml);
int statusCode = resp.get_StatusCode();
System.out.println("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) {
System.out.println(responseXml.getXml());
return;
}
System.out.println(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).
String Envelope_xmlns = responseXml.getAttrValue("xmlns");
String resPedidoLoteNFSe_versao = responseXml.chilkatPath("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|(versao)");
String CNPJ = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|CNPJ");
String dhRecbto = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|dhRecbto");
String infNFSe_versao = responseXml.chilkatPath("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|(versao)");
String cNFS_e = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|cNFS-e");
String v_mod = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|mod");
String serie = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|serie");
String nNFS_e = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|nNFS-e");
String dEmi = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|dEmi");
String hEmi = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|hEmi");
String tpNF = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|tpNF");
String refNF = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|refNF");
String tpImp = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|tpImp");
String tpEmis = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|tpEmis");
String cancelada = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|cancelada");
String motCanc = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|motCanc");
String dataCanc = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|dataCanc");
String notaDebito = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|notaDebito");
String notaSub = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|notaSub");
String canhoto = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|canhoto");
String ambienteEmi = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|ambienteEmi");
String formaEmi = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|formaEmi");
String empreitadaGlobal = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|empreitadaGlobal");
String codRPS = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|codRPS");
String rps = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|rps");
String serierps = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|serierps");
String dataEmissaoRpsPapel = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|dataEmissaoRpsPapel");
String enviarEmail = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|enviarEmail");
String chaveAcessoSubstituida = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|Id|chaveAcessoSubstituida");
CNPJ = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|CNPJ");
String xNome = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|xNome");
String xFant = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|xFant");
String IM = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|IM");
String xEmail = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|xEmail");
String xSite = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|xSite");
String xLgr = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|end|xLgr");
String nro = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|end|nro");
String xCpl = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|end|xCpl");
String xBairro = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|end|xBairro");
String cMun = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|end|cMun");
String xMun = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|end|xMun");
String UF = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|end|UF");
String CEP = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|end|CEP");
String cPais = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|end|cPais");
String xPais = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|end|xPais");
String fone = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|fone");
String fone2 = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|fone2");
String IE = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|prest|IE");
String regimeTrib = 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");
String IME = 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");
String protocoloObra = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|dadosDaObra|protocoloObra");
String codigoVinculacao = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|dadosDaObra|codigoVinculacao");
String xLogObra = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|dadosDaObra|xLogObra");
String xComplObra = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|dadosDaObra|xComplObra");
String vNumeroObra = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|dadosDaObra|vNumeroObra");
String xBairroObra = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|dadosDaObra|xBairroObra");
String xCepObra = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|dadosDaObra|xCepObra");
String cCidadeObra = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|dadosDaObra|cCidadeObra");
String xCidadeObra = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|dadosDaObra|xCidadeObra");
String xUfObra = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|dadosDaObra|xUfObra");
String cPaisObra = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|dadosDaObra|cPaisObra");
String xPaisObra = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|dadosDaObra|xPaisObra");
String numeroArt = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|dadosDaObra|numeroArt");
String numeroCei = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|dadosDaObra|numeroCei");
String numeroProj = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|dadosDaObra|numeroProj");
String numeroMatri = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|dadosDaObra|numeroMatri");
String xNomeTrans = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|transportadora|xNomeTrans");
String xCpfCnpjTrans = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|transportadora|xCpfCnpjTrans");
String xInscEstTrans = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|transportadora|xInscEstTrans");
String xPlacaTrans = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|transportadora|xPlacaTrans");
String xEndTrans = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|transportadora|xEndTrans");
String cMunTrans = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|transportadora|cMunTrans");
String xMunTrans = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|transportadora|xMunTrans");
String xUfTrans = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|transportadora|xUfTrans");
String cPaisTrans = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|transportadora|cPaisTrans");
String xPaisTrans = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|transportadora|xPaisTrans");
String vTipoFreteTrans = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|transportadora|vTipoFreteTrans");
String nItem = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|nItem");
String cServ = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|cServ");
String cLCServ = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|cLCServ");
String xServ = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|xServ");
String localTributacao = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|localTributacao");
String localVerifResServ = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|localVerifResServ");
String uTrib = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|uTrib");
String qTrib = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|qTrib");
String vUnit = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vUnit");
String vServ = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vServ");
String vDesc = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vDesc");
String vDed = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vDed");
String vBCISS = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vBCISS");
String pISS = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|pISS");
String vISS = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vISS");
String vBCINSS = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vBCINSS");
String pRetINSS = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|pRetINSS");
String vRetINSS = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vRetINSS");
String vRed = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vRed");
String vBCRetIR = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vBCRetIR");
String pRetIR = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|pRetIR");
String vRetIR = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vRetIR");
String vBCCOFINS = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vBCCOFINS");
String pRetCOFINS = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|pRetCOFINS");
String vRetCOFINS = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vRetCOFINS");
String vBCCSLL = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vBCCSLL");
String pRetCSLL = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|pRetCSLL");
String vRetCSLL = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vRetCSLL");
String vBCPISPASEP = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vBCPISPASEP");
String pRetPISPASEP = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|pRetPISPASEP");
String vRetPISPASEP = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vRetPISPASEP");
String vRetOutrasRet = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|vRetOutrasRet");
String totalAproxTribServ = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|totalAproxTribServ");
String xPed = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|xPed");
String nItemPed = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|serv|nItemPed");
String vRedBCST = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|ISSST|vRedBCST");
String vBCST = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|ISSST|vBCST");
String pISSST = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|ISSST|pISSST");
String vISSST = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|ISSST|vISSST");
String xPlaca = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|estacionamento|xPlaca");
String dDataInicial = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|estacionamento|dDataInicial");
String hHoraInicial = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|estacionamento|hHoraInicial");
String dDataFinal = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|estacionamento|dDataFinal");
String hHoraFinal = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|estacionamento|hHoraFinal");
String unidade = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|hospedagem|unidade");
String qtdHospede = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|hospedagem|qtdHospede");
String dDataEntrada = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|hospedagem|dDataEntrada");
String hHoraEntrada = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|hospedagem|hHoraEntrada");
String dDataSaida = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|hospedagem|dDataSaida");
String hHoraSaida = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|hospedagem|hHoraSaida");
String nome = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|dependente|nome");
String cpf = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|dependente|cpf");
String dataNascimento = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|dependente|dataNascimento");
nome = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|evento|nome");
String tipo = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|evento|tipo");
String dataInicioEvento = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|evento|dataInicioEvento");
String dataFimEvento = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|det|evento|dataFimEvento");
String nItemDesp = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|despesas|despesa|nItemDesp");
String xDesp = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|despesas|despesa|xDesp");
String dDesp = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|despesas|despesa|dDesp");
String vDesp = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|despesas|despesa|vDesp");
nItem = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|reembolso|nItem");
String numeroTitulo = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|reembolso|numeroTitulo");
String descricao = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|reembolso|descricao");
unidade = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|reembolso|unidade");
String quantidade = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|reembolso|quantidade");
String vRetencao = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|reembolso|vRetencao");
String vRepasseTerceiros = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|reembolso|vRepasseTerceiros");
vDesc = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|reembolso|vDesc");
String vTotal = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|reembolso|vTotal");
String vLiq = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|reembolso|vLiq");
String tipoPagamento = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|reembolso|tipoPagamento");
String numeroLote = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|reembolso|numeroLote");
String codigoReembolso = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|reembolso|codigoReembolso");
String dataPagamento = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|reembolso|dataPagamento");
vServ = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|vServ");
String vReemb = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|vReemb");
String vRedBCCivil = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|vRedBCCivil");
vDesc = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|vDesc");
String vDescCondicional = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|vDescCondicional");
String vDescICMS = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|vDescICMS");
String vtDed = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|vtDed");
String vtNF = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|vtNF");
String vtLiq = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|vtLiq");
String totalAproxTrib = 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");
String vtLiqFaturas = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|vtLiqFaturas");
String vtDespesas = 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");
String vBCSTISS = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|ISS|vBCSTISS");
String vSTISS = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|total|ISS|vSTISS");
nItem = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|faturas|fat|nItem");
String nFat = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|faturas|fat|nFat");
String dVenc = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|faturas|fat|dVenc");
String vFat = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|faturas|fat|vFat");
String tipoVencFat = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|faturas|fat|tipoVencFat");
String descTipoVencFat = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|faturas|fat|descTipoVencFat");
String infAdicLT = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|infAdicLT");
String infAdicES = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|infAdicES");
String infAdic = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|infAdic");
String infAdicAT = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|infAdicAT");
String NumVeiculo = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|NFS-e|infNFSe|NumVeiculo");
String sit = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|sit");
String Signature_Id = responseXml.chilkatPath("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|*:Signature|(Id)");
String SignedInfo_Id = responseXml.chilkatPath("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|*:Signature|*:SignedInfo|(Id)");
String CanonicalizationMethod_Algorithm = responseXml.chilkatPath("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|*:Signature|*:SignedInfo|*:CanonicalizationMethod|(Algorithm)");
String SignatureMethod_Algorithm = responseXml.chilkatPath("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|*:Signature|*:SignedInfo|*:SignatureMethod|(Algorithm)");
String Reference_Id = responseXml.chilkatPath("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|*:Signature|*:SignedInfo|*:Reference|(Id)");
String Reference_URI = responseXml.chilkatPath("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|*:Signature|*:SignedInfo|*:Reference|(URI)");
String Reference_Type = responseXml.chilkatPath("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|*:Signature|*:SignedInfo|*:Reference|(Type)");
String Transform_Algorithm = responseXml.chilkatPath("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|*:Signature|*:SignedInfo|*:Reference|*:Transforms|*:Transform|(Algorithm)");
String XPath = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|*:Signature|*:SignedInfo|*:Reference|*:Transforms|*:Transform|*:XPath");
String DigestMethod_Algorithm = responseXml.chilkatPath("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|*:Signature|*:SignedInfo|*:Reference|*:DigestMethod|(Algorithm)");
String DigestValue = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|*:Signature|*:SignedInfo|*:Reference|*:DigestValue");
String SignatureValue = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|*:Signature|*:SignatureValue");
String KeyInfo_Id = responseXml.chilkatPath("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|*:Signature|*:KeyInfo|(Id)");
String X509SubjectName = responseXml.getChildContent("*:Body|obterLoteNotaFiscalResponse|resPedidoLoteNFSe|*:Signature|*:KeyInfo|*:X509Data|*:X509SubjectName");
String X509Certificate = 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>