GNRE.ImprimirGnrePdf
GNRE.ImprimirGnrePdf(cDirArq)
Comando para imprimir em PDF a guia.
ParĂ¢metro
cDirArq - path do arquivo xml com o nome do arquivo.
Exemplo:
GNRE.ImprimirGnrePdf("c:\guia-gnre.xml")
Resposta:
Arquivo criado em: C:\gnre\
Exemplo de XML
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<gnreRespostaMsg xmlns="http://www.gnre.pe.gov.br/webservice/GnreResultadoLote">
<ns1:TResultLote_GNRE xmlns="http://www.gnre.pe.gov.br" xmlns:ns1="http://www.gnre.pe.gov.br">
<ns1:ambiente>1</ns1:ambiente>
<ns1:numeroRecibo>1899999999</ns1:numeroRecibo>
<ns1:situacaoProcess>
<ns1:codigo>402</ns1:codigo>
<ns1:descricao>Lote Processado com sucesso</ns1:descricao>
</ns1:situacaoProcess>
<ns1:resultado>020827985600015018549503870
100010RS10009920008275812000150ACBr COMPONENTES RUA das Flores SAO PAULO SP056190100113773551130000000962716790SAO PAULO 000000000000095856 CHAVE DA NFE: 3518 0778 2798 7500 0150 5500 1000 0958 7410 0095 8421 1008201820082018 000000000000000100000000000000000000000000000000000000000000003858700000006010303101820320100562187134618883003858700000000103031018232010056218134618883003005621813461888300000958560
9185495038700017c079b0ab176b87067b74dba35c81f8d5DSDDecd00f5aa111f3ef0d834ed5514</ns1:resultado>
</ns1:TResultLote_GNRE>
</gnreRespostaMsg>
</soapenv:Body>
</soapenv:Envelope>
Created with the Personal Edition of HelpNDoc: News and information about help authoring tools and software