Ir para conteúdo
  • Cadastre-se

dev botao

  • Este tópico foi criado há 4334 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Recommended Posts

Postado (editado)

Senhores, bom dia. Estou ajustando o meu sistema para imprimir o codigo ANP e os impostos para posto de combustivel. Ate hai tudo bem estou colocando os campos nas informações complementares do item. Mas no XML não esta aparecendo os valores das tags

 

 with Prod.comb do
                      begin
                        // ** //
                        cProdANP := StrToInt64( lcst_CodigoANP );
                        CODIF    := ItemNFE.FieldByName( 'ITE_NR_REGISTRO_CODIF'          ).AsString;
                        qTemp    := ItemNFE.FieldByName( 'INS_QTD_COMB_FAT_TEMP_AMBIENTE' ).Value;
                        UFcons   := Trim( ItemNFE.FieldByName( 'INS_COMB_CONS_UF'          ).AsString );//Dest.EnderDest.UF;

                        // TAG de grupo da CIDE - - Ocorrência 0-1
                        CIDE.qBCprod   := ItemNFE.FieldByName( 'INS_CIDE_QTDE_BASE_CALCULO' ).Value;
                        CIDE.vAliqProd := ItemNFE.FieldByName( 'INS_CIDE_VLR_ALIQUOTA'      ).Value;
                        CIDE.vCIDE     := ItemNFE.FieldByName( 'INS_CIDE_VLR_IMPOSTO'       ).AsCurrency; ;

 

 

*****************************
AS TAG'S ABAIXO NÃO APARECEM NO XML, MESMO INFORMANDO VALORES

***************************

 

// // TAG de grupo do ICMS - - Ocorrência 1-1
                        ICMS.vBCICMS   := ItemNFE.FieldByName( 'INS_COMB_VLR_BASE_ICMS'    ).AsCurrency;
                        ICMS.vICMS     := ItemNFE.FieldByName( 'INS_COMB_VLR_ICMS'         ).AsCurrency;
                        ICMS.vBCICMSST := ItemNFE.FieldByName( 'INS_COMB_VLR_BASE_ICMS_ST' ).AsCurrency;
                        ICMS.vICMSST   := ItemNFE.FieldByName( 'INS_COMB_VLR_ICMS_ST'      ).AsCurrency;

                        // TAG de grupo do ICMSST de operação interestadual - - Ocorrência 0-1
                        ICMSInter.vBCICMSSTDest := ItemNFE.FieldByName( 'INS_COMB_DEST_VLR_BASE_ICMS_ST' ).AsCurrency;
                        ICMSInter.vICMSSTDest   := ItemNFE.FieldByName( 'INS_COMB_DEST_VLR_ICMS_ST'      ).AsCurrency;

                        // TAG de ICMS para consumo em UF diversa da UF de localização do destinatário do produto - - Ocorrência 0-1
                        ICMSCons.vBCICMSSTCons := ItemNFE.FieldByName( 'INS_COMB_CONS_VLR_BASE_ICMS_ST' ).AsCurrency;
                        ICMSCons.vICMSSTCons   := ItemNFE.FieldByName( 'INS_COMB_CONS_VLR_ICMS_ST'      ).AsCurrency;
                        ICMSCons.UFcons        := Trim( ItemNFE.FieldByName( 'INS_COMB_CONS_UF'         ).AsString );

 

**********************************

XML

**********************************

<?xml version="1.0" encoding="UTF-8" ?>
- <nfeProc versao="2.00" xmlns="http://www.portalfiscal.inf.br/nfe">
- <infNFe versao="2.00" Id="NFe31130106065121000106550010000016321000016320">
- <ide>
<cUF>31</cUF>
<cNF>00001632</cNF>
<natOp>VENDA DE COMBUSTiVEL OU LUBRIFICANTE ADQUIRIDO OU REC. DE T</natOp>
<indPag>0</indPag>
<mod>55</mod>
<serie>1</serie>
<nNF>1632</nNF>
<dEmi>2013-01-15</dEmi>
<dSaiEnt>2013-01-15</dSaiEnt>
<hSaiEnt>10:17:47</hSaiEnt>
<tpNF>1</tpNF>
<cMunFG>3149309</cMunFG>
<tpImp>1</tpImp>
<tpEmis>1</tpEmis>
<cDV>0</cDV>
<tpAmb>2</tpAmb>
<finNFe>1</finNFe>
<procEmi>0</procEmi>
<verProc>2.0.0.0</verProc>
</ide>
- <emit>
<CNPJ>06065121000106</CNPJ>
<xNome>NF-E EMITIDA EM AMBIENTE DE HOMOLOGACAO SEM VALOR FISCAL</xNome>
- <enderEmit>
<xLgr>ROD. MG. 424,</xLgr>
<nro>KM 51</nro>
<xBairro>CAMPINHO</xBairro>
<cMun>3149309</cMun>
<xMun>PEDRO LEOPOLDO</xMun>
<UF>MG</UF>
<CEP>33600000</CEP>
<cPais>1058</cPais>
<xPais>BRASIL</xPais>
<fone>36611377</fone>
</enderEmit>
<IE>0622694120082</IE>
<CRT>3</CRT>
</emit>
- <dest>
<CNPJ>17281106000103</CNPJ>
<xNome>NF-E EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL</xNome>
- <enderDest>
<xLgr>RUA MAR DE ESPANHA</xLgr>
<nro>525</nro>
<xBairro>STO. ANTONIO</xBairro>
<cMun>3106200</cMun>
<xMun>BELO HORIZONTE</xMun>
<UF>MG</UF>
<CEP>30000000</CEP>
<cPais>1058</cPais>
<xPais>BRASIL</xPais>
<fone>0313250111</fone>
</enderDest>
<IE>0620001390014</IE>
</dest>
- <det nItem="1">
- <prod>
<cProd>0000000001</cProd>
<cEAN />
<xProd>GASOLINA COMUM</xProd>
<NCM>27101159</NCM>
<CFOP>5655</CFOP>
<uCom>LT</uCom>
<qCom>1.0000</qCom>
<vUnCom>2.8000000000</vUnCom>
<vProd>2.80</vProd>
<cEANTrib />
<uTrib>LT</uTrib>
<qTrib>1.0000</qTrib>
<vUnTrib>2.8000000000</vUnTrib>
<indTot>1</indTot>
- <comb>
<cProdANP>320101001</cProdANP>
<CODIF>1234567890</CODIF>
<UFCons>MG</UFCons>
- <CIDE>
<qBCProd>1.0000</qBCProd>
<vAliqProd>12.7500</vAliqProd>
<vCIDE>12.75</vCIDE>
</CIDE>
</comb>
</prod>
- <imposto>
- <ICMS>
- <ICMS00>
<orig>0</orig>
<CST>00</CST>
<modBC>0</modBC>
<vBC>0.00</vBC>
<pICMS>0.00</pICMS>
<vICMS>0.00</vICMS>
</ICMS00>
</ICMS>
- <IPI>
<cEnq>999</cEnq>
- <IPITrib>
<CST>99</CST>
<vBC>0.00</vBC>
<pIPI>0.00</pIPI>
<vIPI>0.00</vIPI>
</IPITrib>
</IPI>
- <PIS>
- <PISOutr>
<CST>49</CST>
<vBC>0.00</vBC>
<pPIS>0.00</pPIS>
<vPIS>0.00</vPIS>
</PISOutr>
</PIS>
- <COFINS>
- <COFINSOutr>
<CST>49</CST>
<vBC>0.00</vBC>
<pCOFINS>0.00</pCOFINS>
<vCOFINS>0.00</vCOFINS>
</COFINSOutr>
</COFINS>
</imposto>
<infAdProd>Codigo ANP: 320101001 - Registro CODIF: 1234567890</infAdProd>
</det>
- <total>
- <ICMSTot>
<vBC>0.00</vBC>
<vICMS>0.00</vICMS>
<vBCST>0.00</vBCST>
<vST>0.00</vST>
<vProd>2.80</vProd>
<vFrete>0.00</vFrete>
<vSeg>0.00</vSeg>
<vDesc>0.00</vDesc>
<vII>0.00</vII>
<vIPI>0.00</vIPI>
<vPIS>0.00</vPIS>
<vCOFINS>0.00</vCOFINS>
<vOutro>0.00</vOutro>
<vNF>2.80</vNF>
</ICMSTot>
</total>
- <transp>
<modFrete>1</modFrete>
- <vol>
<qVol>1</qVol>
</vol>
</transp>
- <cobr>
- <dup>
<nDup>001632/0</nDup>
<dVenc>2013-01-15</dVenc>
<vDup>2.80</vDup>
</dup>
</cobr>
- <infAdic>
<infCpl>MD-5: ED69FF171C6F87F662A7DE57DF285AF7778D8183F176FB0A0</infCpl>
</infAdic>
</infNFe>
- <SignedInfo>
<CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
- <Reference URI="#NFe31130106065121000106550010000016321000016320">
- <Transforms>
</Transforms>
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<DigestValue>jTOlEwZAB1+9foLKFJjqTc3iOFY=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>u3i7/9MOQ5y6UFgVHOzLt+85tkg6DsvLtzwrIXa1/6yu84S4rKNAJUgEmF6UEgu7Yu/9BhK2VFN8FOVBwhmAdOsfVmFPUQ/cSM+ihqqNYjaK5PIMoAShrATvYcMIiRWHfcqHGa7k9WjyoWJg6SbgwJrD+UTbhqwWvNSSu6rAVunCCKR9vDLM67nq9cZsyhMBhJ/Na62Z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BggrBgEFBQcDBDCBoAYIKwYBBQUHAQEEgZMwgZAwZAYIKwYBBQUHMAKGWGh0dHA6Ly9pY3AtYnJhc2lsLmNlcnRpc2lnbi5jb20uYnIvcmVwb3NpdG9yaW8vY2VydGlmaWNhZG9zL0FDX0NlcnRpc2lnbl9NdWx0aXBsYV9HNS5wN2MwKAYIKwYBBQUHMAGGHGh0dHA6Ly9vY3NwLmNlcnRpc2lnbi5jb20uYnIwDQYJKoZIhvcNAQELBQADggIBABeRteFFe6GFlYO2E5l5uxpfJVaQy7/Mx3A/Yd/LgOLX+MY5RjmB107YHLm/EeiiO4jPk4TjjpwSaQRijOj7tmR+LLwXZ1531xAy5m4NCo042OAsgEG/Y4V4nqQXczVMWPiGZple0UWKyjAkddsXEI4rCsYXpsTPEpzZtLWlQVKVGr/kUCjJCJfJxKPD53gp+/4KTthVnZkj5f4gTX6+RFcD86XtWr2FzkYCtSS9fccpf6tEheANTnPWWKarlay0O37KwZ0fKsrBRuuFOmENMnHxdQbZRIi2TvhXuqTncsWF8OcKur0r2YQoXBjClfthcFgaq+Af3Mc7PYAawcA1DX92NQ/qLW0QQv3iZYu3uBJPF7UJsJ2gD+CUO+Mij5JTvP1MJ1pEdb0c7/481udaFqJeU6jUo0m/2vA4gObGKIZ3MijXAo+JDLH4cNc8c+UWg4IPIK9NlrSHAAeJ6lKQUgAtSZjtEy8TVmcUV61L23od59nQiVIijoGjQDQmrl3ubFS8LFDIKFtyHpYDitY3CK9SECAkhH9hE8tZNuNDl3PnMkW7SeH4WwSGB3IFQ6slFifdnyURHc1HLM0WuEiA1Wf0/S1Kb+Zn0GDrru6/rIiOAp593/yUiUBeUyrY3amAyXxn4ACyWZyGmirt5k7MyFR9J3uAt+/9xVnyhG3b8QXD</X509Certificate>
</X509Data>
</KeyInfo>
</Signature>
</NFe>
- <protNFe versao="2.00">
- <infProt>
<tpAmb>2</tpAmb>
<verAplic>13_0_56</verAplic>
<chNFe>31130106065121000106550010000016321000016320</chNFe>
<dhRecbto>2013-01-15T11:02:47</dhRecbto>
<nProt>131130032799240</nProt>
<digVal>jTOlEwZAB1+9foLKFJjqTc3iOFY=</digVal>
<cStat>100</cStat>
<xMotivo>Autorizado o uso da NF-e</xMotivo>
</infProt>
</protNFe>
</nfeProc>
Editado por ALA
  • Este tópico foi criado há 4334 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Crie uma conta ou entre para comentar

Você precisar ser um membro para fazer um comentário

Criar uma conta

Crie uma nova conta em nossa comunidade. É fácil!

Crie uma nova conta

Entrar

Já tem uma conta? Faça o login.

Entrar Agora
×
×
  • Criar Novo...

Informação Importante

Colocamos cookies em seu dispositivo para ajudar a tornar este site melhor. Você pode ajustar suas configurações de cookies, caso contrário, assumiremos que você está bem para continuar.

The popup will be closed in 10 segundos...