FONTE NFE VB.NET
pronto resolvi o problema ,,, tinha uma tag perdida no codigo <tpAmb>2</tpAmb> tem q passar para <tpAmb>1</tpAmb>
alguem tem o codigo para transportadora e volumes ????
alguem tem o codigo para transportadora e volumes ????
PESSOAL MAIS UM ENVIANDO NFE EM PRODUCAO ,,, QQUER DUVIDA SOH PERGUNTAR
senão me engano a ocorrencia te diz isso,
1-xxx é obrigatorio
0-xxx não é
1-xxx é obrigatorio
0-xxx não é
estou aki novamente postando um exemplo de NFE
em CSOSN
ja que ninguem posta...
<?xml version=[Ô]1.0[Ô] encoding=[Ô]UTF-8[Ô]?>
<NFe xmlns=[Ô]http://www.portalfiscal.inf.br/nfe[Ô]>
<infNFe versao=[Ô]2.00[Ô] Id=[Ô]NFe35101050151687000134550010000007031277300154[Ô]>
<ide>
<cUF>35</cUF>
<cNF>27730015</cNF>
<natOp>VENDA</natOp>
<indPag>0</indPag>
<mod>55</mod>
<serie>1</serie>
<nNF>703</nNF>
<dEmi>2010-10-03</dEmi>
<dSaiEnt>2010-10-03</dSaiEnt>
<tpNF>1</tpNF>
<cMunFG>3548807</cMunFG>
<tpImp>2</tpImp>
<tpEmis>1</tpEmis>
<cDV>4</cDV>
<tpAmb>1</tpAmb>
<finNFe>1</finNFe>
<procEmi>0</procEmi>
<verProc>RocketNFe2.0</verProc>
</ide>
<emit>
<CNPJ>50151687000134</CNPJ>
<xNome>Florbras Industria e Comercio Ltda</xNome>
<xFant>Florbras</xFant>
<enderEmit>
<xLgr>R MAXIMILIANO LORENZINI</xLgr>
<nro>177</nro>
<xBairro>FUNDAÇÃO</xBairro>
<cMun>3548807</cMun>
<xMun>Sao Caetano do Sul</xMun>
<UF>SP</UF>
<CEP>09520520</CEP>
<cPais>1058</cPais>
<xPais>BRASIL</xPais>
<fone>1142292099</fone>
</enderEmit><IE>636067458113</IE>
<IM>22773</IM>
<CNAE>2229399</CNAE>
<CRT>1</CRT>
</emit>
<dest>
<CNPJ>55055305000192</CNPJ>
<xNome>VANTIM COM MAT P/ DESENHO LTDA</xNome>
<enderDest>
<xLgr>RUA SANTA FILOMENA</xLgr>
<nro>309</nro>
<xBairro>CENTRO</xBairro>
<cMun>3548708</cMun>
<xMun>São Bernardo do Campo</xMun>
<UF>SP</UF>
<CEP>09910060</CEP>
<cPais>1058</cPais>
<xPais>BRASIL</xPais>
<fone>1141259632</fone>
</enderDest><IE>635186374110</IE>
<email>contato@vantim.com.br</email>
</dest>
<det nItem=[Ô]1[Ô]>
<prod>
<cProd>.</cProd>
<cEAN />
<xProd>BOX Color c/ tampa COR:Lilás</xProd>
<NCM>97019090</NCM>
<CFOP>5101</CFOP>
<uCom>UND</uCom>
<qCom>1</qCom>
<vUnCom>5.6300</vUnCom>
<vProd>5.63</vProd>
<cEANTrib />
<uTrib>UND</uTrib>
<qTrib>1</qTrib>
<vUnTrib>5.6300</vUnTrib>
<indTot>1</indTot>
</prod>
<imposto>
<ICMS>
<ICMSSN101>
<orig>1</orig>
<CSOSN>101</CSOSN>
<pCredSN>0</pCredSN>
<vCredICMSSN>0.00</vCredICMSSN>
</ICMSSN101>
</ICMS>
<IPI>
<clEnq>0</clEnq>
<cSelo>0</cSelo>
<qSelo>0</qSelo>
<cEnq>999</cEnq>
<IPITrib>
<CST>00</CST>
<vBC>5.63</vBC>
<pIPI>0.00</pIPI>
<vIPI>0.00</vIPI>
</IPITrib>
</IPI>
<PIS>
<PISOutr>
<CST>99</CST>
<vBC>5.63</vBC>
<pPIS>0.00</pPIS>
<vPIS>0.00</vPIS>
</PISOutr>
</PIS>
<COFINS>
<COFINSOutr>
<CST>99</CST>
<vBC>5.63</vBC>
<pCOFINS>0</pCOFINS>
<vCOFINS>0.00</vCOFINS>
</COFINSOutr>
</COFINS>
</imposto>
</det>
<total>
<ICMSTot>
<vBC>0.00</vBC>
<vICMS>0.00</vICMS>
<vBCST>0.00</vBCST>
<vST>0.00</vST>
<vProd>5.63</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>5.63</vNF>
</ICMSTot>
</total>
<transp>
<modFrete>0</modFrete>
<vol />
</transp>
<cobr>
<fat>
<nFat>1</nFat>
</fat>
<dup>
<nDup>1</nDup>
<dVenc>2010-09-23</dVenc>
<vDup>5.63</vDup>
</dup>
</cobr>
<infAdic />
</infNFe>
</NFe>
em CSOSN
ja que ninguem posta...
<?xml version=[Ô]1.0[Ô] encoding=[Ô]UTF-8[Ô]?>
<NFe xmlns=[Ô]http://www.portalfiscal.inf.br/nfe[Ô]>
<infNFe versao=[Ô]2.00[Ô] Id=[Ô]NFe35101050151687000134550010000007031277300154[Ô]>
<ide>
<cUF>35</cUF>
<cNF>27730015</cNF>
<natOp>VENDA</natOp>
<indPag>0</indPag>
<mod>55</mod>
<serie>1</serie>
<nNF>703</nNF>
<dEmi>2010-10-03</dEmi>
<dSaiEnt>2010-10-03</dSaiEnt>
<tpNF>1</tpNF>
<cMunFG>3548807</cMunFG>
<tpImp>2</tpImp>
<tpEmis>1</tpEmis>
<cDV>4</cDV>
<tpAmb>1</tpAmb>
<finNFe>1</finNFe>
<procEmi>0</procEmi>
<verProc>RocketNFe2.0</verProc>
</ide>
<emit>
<CNPJ>50151687000134</CNPJ>
<xNome>Florbras Industria e Comercio Ltda</xNome>
<xFant>Florbras</xFant>
<enderEmit>
<xLgr>R MAXIMILIANO LORENZINI</xLgr>
<nro>177</nro>
<xBairro>FUNDAÇÃO</xBairro>
<cMun>3548807</cMun>
<xMun>Sao Caetano do Sul</xMun>
<UF>SP</UF>
<CEP>09520520</CEP>
<cPais>1058</cPais>
<xPais>BRASIL</xPais>
<fone>1142292099</fone>
</enderEmit><IE>636067458113</IE>
<IM>22773</IM>
<CNAE>2229399</CNAE>
<CRT>1</CRT>
</emit>
<dest>
<CNPJ>55055305000192</CNPJ>
<xNome>VANTIM COM MAT P/ DESENHO LTDA</xNome>
<enderDest>
<xLgr>RUA SANTA FILOMENA</xLgr>
<nro>309</nro>
<xBairro>CENTRO</xBairro>
<cMun>3548708</cMun>
<xMun>São Bernardo do Campo</xMun>
<UF>SP</UF>
<CEP>09910060</CEP>
<cPais>1058</cPais>
<xPais>BRASIL</xPais>
<fone>1141259632</fone>
</enderDest><IE>635186374110</IE>
<email>contato@vantim.com.br</email>
</dest>
<det nItem=[Ô]1[Ô]>
<prod>
<cProd>.</cProd>
<cEAN />
<xProd>BOX Color c/ tampa COR:Lilás</xProd>
<NCM>97019090</NCM>
<CFOP>5101</CFOP>
<uCom>UND</uCom>
<qCom>1</qCom>
<vUnCom>5.6300</vUnCom>
<vProd>5.63</vProd>
<cEANTrib />
<uTrib>UND</uTrib>
<qTrib>1</qTrib>
<vUnTrib>5.6300</vUnTrib>
<indTot>1</indTot>
</prod>
<imposto>
<ICMS>
<ICMSSN101>
<orig>1</orig>
<CSOSN>101</CSOSN>
<pCredSN>0</pCredSN>
<vCredICMSSN>0.00</vCredICMSSN>
</ICMSSN101>
</ICMS>
<IPI>
<clEnq>0</clEnq>
<cSelo>0</cSelo>
<qSelo>0</qSelo>
<cEnq>999</cEnq>
<IPITrib>
<CST>00</CST>
<vBC>5.63</vBC>
<pIPI>0.00</pIPI>
<vIPI>0.00</vIPI>
</IPITrib>
</IPI>
<PIS>
<PISOutr>
<CST>99</CST>
<vBC>5.63</vBC>
<pPIS>0.00</pPIS>
<vPIS>0.00</vPIS>
</PISOutr>
</PIS>
<COFINS>
<COFINSOutr>
<CST>99</CST>
<vBC>5.63</vBC>
<pCOFINS>0</pCOFINS>
<vCOFINS>0.00</vCOFINS>
</COFINSOutr>
</COFINS>
</imposto>
</det>
<total>
<ICMSTot>
<vBC>0.00</vBC>
<vICMS>0.00</vICMS>
<vBCST>0.00</vBCST>
<vST>0.00</vST>
<vProd>5.63</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>5.63</vNF>
</ICMSTot>
</total>
<transp>
<modFrete>0</modFrete>
<vol />
</transp>
<cobr>
<fat>
<nFat>1</nFat>
</fat>
<dup>
<nDup>1</nDup>
<dVenc>2010-09-23</dVenc>
<vDup>5.63</vDup>
</dup>
</cobr>
<infAdic />
</infNFe>
</NFe>
<?xml version=[Ô]1.0[Ô] encoding=[Ô]utf-8[Ô] ?>
- <enviNFe xmlns=[Ô]http://www.portalfiscal.inf.br/nfe[Ô] xmlns:ds=[Ô]http://www.w3.org/2000/09/xmldsig#[Ô] xmlns:xsi=[Ô]http://www.w3.org/2001/XMLSchema-instance[Ô] versao=[Ô]2.00[Ô]>
<idLote>000000000000288</idLote>
- <NFe xmlns=[Ô]http://www.portalfiscal.inf.br/nfe[Ô]>
- <infNFe xmlns:xsi=[Ô]http://www.w3.org/2001/XMLSchema-instance[Ô] Id=[Ô]NFe35101010214818000160550010000000321108318750[Ô] versao=[Ô]2.00[Ô]>
- <ide>
<cUF>35</cUF>
<cNF>10831875</cNF>
<natOp>Venda Prod.do Estabelecimento</natOp>
<indPag>2</indPag>
<mod>55</mod>
<serie>1</serie>
<nNF>32</nNF>
<dEmi>2010-10-05</dEmi>
<dSaiEnt>2010-10-05</dSaiEnt>
<hSaiEnt>09:09:19</hSaiEnt>
<tpNF>1</tpNF>
<cMunFG>3509205</cMunFG>
<tpImp>1</tpImp>
<tpEmis>1</tpEmis>
<cDV>0</cDV>
<tpAmb>1</tpAmb>
<finNFe>1</finNFe>
<procEmi>0</procEmi>
<verProc>2.0.2</verProc>
</ide>
- <emit>
<CNPJ>xxxxxxxxxxxxxxxx</CNPJ>
<xNome>xxxxxxxxxxxxxxxxxxxxxxxxxxx</xNome>
<xFant>xxxxxxxxxxxxxxxxxx</xFant>
- <enderEmit>
<xLgr>xxxxxxxxxxxxxxxx</xLgr>
<nro>1109</nro>
<xCpl>.</xCpl>
<xBairro>xxxxxxxxx</xBairro>
<cMun>3509205</cMun>
<xMun>xxxxxxxxxxxxxx</xMun>
<UF>SP</UF>
<CEP>07760000</CEP>
<cPais>1058</cPais>
<xPais>Brasil</xPais>
<fone>1144475341</fone>
</enderEmit>
<IE>241088873112</IE>
<CRT>3</CRT>
</emit>
- <dest>
<CNPJ>3xxxxxxxx00</CNPJ>
<xNome>xxxxxxxxxxxxxxxxxxxxxx</xNome>
- <enderDest>
<xLgr>Estrxxxxxxxxxxxmitt,</xLgr>
<nro>1250</nro>
<xCpl>.</xCpl>
<xBairro>Bairrxxxxxxxxxrande</xBairro>
<cMun>3515103</cMun>
<xMun>Embu-Guacu</xMun>
<UF>SP</UF>
<CEP>06900000</CEP>
<cPais>1058</cPais>
<xPais>Brasil</xPais>
<fone>518xxx447</fone>
</enderDest>
<IE>299xxxxxxx113</IE>
<email>nxxxxx@nixxxxxx.com.br</email>
</dest>
- <det nItem=[Ô]1[Ô]>
- <prod>
<cProd>210102</cProd>
<cEAN />
<xProd>Calcio Silicio 2/7 Mm</xProd>
<NCM>72029990</NCM>
<CFOP>5101</CFOP>
<uCom>Kilos</uCom>
<qCom>75.0000</qCom>
<vUnCom>11.0000</vUnCom>
<vProd>825.00</vProd>
<cEANTrib />
<uTrib>Kilos</uTrib>
<qTrib>75.0000</qTrib>
<vUnTrib>11.0000</vUnTrib>
<indTot>1</indTot>
</prod>
- <imposto>
- <ICMS>
- <ICMS00>
<orig>0</orig>
<CST>00</CST>
<modBC>0</modBC>
<vBC>825.00</vBC>
<pICMS>18.00</pICMS>
<vICMS>148.50</vICMS>
</ICMS00>
</ICMS>
- <IPI>
<cEnq>999</cEnq>
- <IPITrib>
<CST>50</CST>
<vBC>825.00</vBC>
<pIPI>5.00</pIPI>
<vIPI>41.25</vIPI>
</IPITrib>
</IPI>
- <PIS>
- <PISAliq>
<CST>01</CST>
<vBC>0.00</vBC>
<pPIS>0.00</pPIS>
<vPIS>0.00</vPIS>
</PISAliq>
</PIS>
- <COFINS>
- <COFINSAliq>
<CST>01</CST>
<vBC>0.00</vBC>
<pCOFINS>0.00</pCOFINS>
<vCOFINS>0.00</vCOFINS>
</COFINSAliq>
</COFINS>
</imposto>
</det>
- <det nItem=[Ô]2[Ô]>
- <prod>
<cProd>950101</cProd>
<cEAN />
<xProd>Cobre Picotado</xProd>
<NCM>74199900</NCM>
<CFOP>5101</CFOP>
<uCom>Kilos</uCom>
<qCom>25.0000</qCom>
<vUnCom>16.9000</vUnCom>
<vProd>422.50</vProd>
<cEANTrib />
<uTrib>Kilos</uTrib>
<qTrib>25.0000</qTrib>
<vUnTrib>16.9000</vUnTrib>
<indTot>1</indTot>
</prod>
- <imposto>
- <ICMS>
- <ICMS00>
<orig>0</orig>
<CST>00</CST>
<modBC>0</modBC>
<vBC>422.50</vBC>
<pICMS>18.00</pICMS>
<vICMS>76.05</vICMS>
</ICMS00>
</ICMS>
- <IPI>
<cEnq>999</cEnq>
- <IPITrib>
<CST>50</CST>
<vBC>422.50</vBC>
<pIPI>5.00</pIPI>
<vIPI>21.13</vIPI>
</IPITrib>
</IPI>
- <PIS>
- <PISAliq>
<CST>01</CST>
<vBC>0.00</vBC>
<pPIS>0.00</pPIS>
<vPIS>0.00</vPIS>
</PISAliq>
</PIS>
- <COFINS>
- <COFINSAliq>
<CST>01</CST>
<vBC>0.00</vBC>
<pCOFINS>0.00</pCOFINS>
<vCOFINS>0.00</vCOFINS>
</COFINSAliq>
</COFINS>
</imposto>
</det>
- <det nItem=[Ô]3[Ô]>
- <prod>
<cProd>130118</cProd>
<cEAN />
<xProd>Fe. Manganes A.C. 10/150 Mm</xProd>
<NCM>72021100</NCM>
<CFOP>5101</CFOP>
<uCom>Kilos</uCom>
<qCom>125.0000</qCom>
<vUnCom>4.8000</vUnCom>
<vProd>600.00</vProd>
<cEANTrib />
<uTrib>Kilos</uTrib>
<qTrib>125.0000</qTrib>
<vUnTrib>4.8000</vUnTrib>
<indTot>1</indTot>
</prod>
- <imposto>
- <ICMS>
- <ICMS00>
<orig>0</orig>
<CST>00</CST>
<modBC>0</modBC>
<vBC>600.00</vBC>
<pICMS>18.00</pICMS>
<vICMS>108.00</vICMS>
</ICMS00>
</ICMS>
- <IPI>
<cEnq>999</cEnq>
- <IPITrib>
<CST>50</CST>
<vBC>600.00</vBC>
<pIPI>5.00</pIPI>
<vIPI>30.00</vIPI>
</IPITrib>
</IPI>
- <PIS>
- <PISAliq>
<CST>01</CST>
<vBC>0.00</vBC>
<pPIS>0.00</pPIS>
<vPIS>0.00</vPIS>
</PISAliq>
</PIS>
- <COFINS>
- <COFINSAliq>
<CST>01</CST>
<vBC>0.00</vBC>
<pCOFINS>0.00</pCOFINS>
<vCOFINS>0.00</vCOFINS>
</COFINSAliq>
</COFINS>
</imposto>
</det>
- <det nItem=[Ô]4[Ô]>
- <prod>
<cProd>120130</cProd>
<cEAN />
<xProd>Fe. Silicio 75% Pedras</xProd>
<NCM>72022100</NCM>
<CFOP>5101</CFOP>
<uCom>Kilos</uCom>
<qCom>50.0000</qCom>
<vUnCom>4.8000</vUnCom>
<vProd>240.00</vProd>
<cEANTrib />
<uTrib>Kilos</uTrib>
<qTrib>50.0000</qTrib>
<vUnTrib>4.8000</vUnTrib>
<indTot>1</indTot>
</prod>
- <imposto>
- <ICMS>
- <ICMS00>
<orig>0</orig>
<CST>00</CST>
<modBC>0</modBC>
<vBC>240.00</vBC>
<pICMS>18.00</pICMS>
<vICMS>43.20</vICMS>
</ICMS00>
</ICMS>
- <IPI>
<cEnq>999</cEnq>
- <IPITrib>
<CST>50</CST>
<vBC>240.00</vBC>
<pIPI>5.00</pIPI>
<vIPI>12.00</vIPI>
</IPITrib>
</IPI>
- <PIS>
- <PISAliq>
<CST>01</CST>
<vBC>0.00</vBC>
<pPIS>0.00</pPIS>
<vPIS>0.00</vPIS>
</PISAliq>
</PIS>
- <COFINS>
- <COFINSAliq>
<CST>01</CST>
<vBC>0.00</vBC>
<pCOFINS>0.00</pCOFINS>
<vCOFINS>0.00</vCOFINS>
</COFINSAliq>
</COFINS>
</imposto>
</det>
- <total>
- <ICMSTot>
<vBC>2087.50</vBC>
<vICMS>375.75</vICMS>
<vBCST>0.00</vBCST>
<vST>0.00</vST>
<vProd>2087.50</vProd>
<vFrete>0.00</vFrete>
<vSeg>0.00</vSeg>
<vDesc>0.00</vDesc>
<vII>0.00</vII>
<vIPI>104.38</vIPI>
<vPIS>0.00</vPIS>
<vCOFINS>0.00</vCOFINS>
<vOutro>0.00</vOutro>
<vNF>2191.88</vNF>
</ICMSTot>
</total>
- <transp>
<modFrete>0</modFrete>
- <transporta>
<xNome>Posto no Cliente</xNome>
</transporta>
- <vol>
<qVol>11</qVol>
<esp>sacos</esp>
<pesoL>275</pesoL>
<pesoB>275</pesoB>
</vol>
</transp>
- <cobr>
- <dup>
<nDup>0-1</nDup>
<dVenc>2010-11-19</dVenc>
<vDup>2191.88</vDup>
</dup>
</cobr>
- <infAdic>
<infAdFisco>Com base no dec. n 96044 de 18/05/1988 art. 3 e res n 420 e anexos de ANTT, publicado D.O.U. em 12/02/2004, Capitulo 33 - Prov. especiais item 223, o FERRO SILICIO com teor de SILICIO entre 67% e 90% foi testado conforme parte III, secao 33 do normal de ensaios e criterios, e nao produz gases inflamaveis portanto nao incluido na clases</infAdFisco>
</infAdic>
</infNFe>
- <Signature xmlns=[Ô]http://www.w3.org/2000/09/xmldsig#[Ô]>
- <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=[Ô]#NFe35101010214818000160550010000000321108318750[Ô]>
- <Transforms>
<Transform Algorithm=[Ô]http://www.w3.org/2000/09/xmldsig#enveloped-signature[Ô] />
<Transform Algorithm=[Ô]http://www.w3.org/TR/2001/REC-xml-c14n-20010315[Ô] />
</Transforms>
<DigestMethod Algorithm=[Ô]http://www.w3.org/2000/09/xmldsig#sha1[Ô] />
<DigestValue>43csh3f8yFgBFJLegizi7heRGxA=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>UTc1JFFSYZdkN6gSPV9goyycp1N/J4peZmSTeyfyOvKvIkHP2HyokZWhyPYsZ2UT9jwDl8BZZ8ta43xwPB4vi4BGSvKABogBk0NNogIVi6565Gs13ftHbdIR/Mu1ZE5NcW9A2Ly34qYU0V3bX4pxpPFb0IsWD+xh28k5sA3idy4=</SignatureValue>
- <KeyInfo>
- <X509Data>
<X509Certificate>MIIGRjCCBS6gAwIBAgIIEcs/0U6u0JEwDQYJKoZIhvcNAQEFBQAwTDELMAkGA1UEBhMCQlIxEzARBgNVBAoTCklDUC1CcmFzaWwxKDAmBgNVBAMTH1NFUkFTQSBDZXJ0aWZpY2Fkb3JhIERpZ2l0YWwgdjEwHhcNMTAwNjEwMTUxMDAyWhcNMTEwNjEwMTUxMDAyWjCB+TELMAkGA1UEBhMCQlIxEzARBgNVBAoTCklDUC1CcmFzaWwxFDASBgNVBAsTCyhFTSBCUkFOQ08pMRgwFgYDVQQLEw8wMDAwMDEwMDExMDkyNjUxFDASBgNVBAsTCyhFTSBCUkFOQ08pMRQwEgYDVQQLEwsoRU0gQlJBTkNPKTEUMBIGA1UECxMLKEVNIEJSQU5DTykxFDASBgNVBAsTCyhFTSBCUkFOQ08pMRQwEgYDVQQLEwsoRU0gQlJBTkNPKTE3MDUGA1UEAxMuSS5CLkYuIElORFVTVFJJQSBCUkFTSUxFSVJBIERFIEZFUlJPTElHQVMgTFREQTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEApbhXXM1K0eAjxeQ381xpZcR0HEuN2aA4T1Pfk2xwYm+sLhvvcef8GXBlKrEyLa7/sX0GS2m9bSg97BCve3WIExf0mOdELvE2DTaWP+g3Q4Gv0CJckRESpqbAVWkjiclBi/+uA9NrqeM9VUdFkCLUd2f1cTlKWvQ4+JjMP8VWlWsCAw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FBQADggEBADFZPz0DbJ9SudUpmXlWXWskAk4jMeThsxLjQG2Cvo1awnAzDC4TvcTwT1XCnS+VZB7YNHW88go2QeOC
- <enviNFe xmlns=[Ô]http://www.portalfiscal.inf.br/nfe[Ô] xmlns:ds=[Ô]http://www.w3.org/2000/09/xmldsig#[Ô] xmlns:xsi=[Ô]http://www.w3.org/2001/XMLSchema-instance[Ô] versao=[Ô]2.00[Ô]>
<idLote>000000000000288</idLote>
- <NFe xmlns=[Ô]http://www.portalfiscal.inf.br/nfe[Ô]>
- <infNFe xmlns:xsi=[Ô]http://www.w3.org/2001/XMLSchema-instance[Ô] Id=[Ô]NFe35101010214818000160550010000000321108318750[Ô] versao=[Ô]2.00[Ô]>
- <ide>
<cUF>35</cUF>
<cNF>10831875</cNF>
<natOp>Venda Prod.do Estabelecimento</natOp>
<indPag>2</indPag>
<mod>55</mod>
<serie>1</serie>
<nNF>32</nNF>
<dEmi>2010-10-05</dEmi>
<dSaiEnt>2010-10-05</dSaiEnt>
<hSaiEnt>09:09:19</hSaiEnt>
<tpNF>1</tpNF>
<cMunFG>3509205</cMunFG>
<tpImp>1</tpImp>
<tpEmis>1</tpEmis>
<cDV>0</cDV>
<tpAmb>1</tpAmb>
<finNFe>1</finNFe>
<procEmi>0</procEmi>
<verProc>2.0.2</verProc>
</ide>
- <emit>
<CNPJ>xxxxxxxxxxxxxxxx</CNPJ>
<xNome>xxxxxxxxxxxxxxxxxxxxxxxxxxx</xNome>
<xFant>xxxxxxxxxxxxxxxxxx</xFant>
- <enderEmit>
<xLgr>xxxxxxxxxxxxxxxx</xLgr>
<nro>1109</nro>
<xCpl>.</xCpl>
<xBairro>xxxxxxxxx</xBairro>
<cMun>3509205</cMun>
<xMun>xxxxxxxxxxxxxx</xMun>
<UF>SP</UF>
<CEP>07760000</CEP>
<cPais>1058</cPais>
<xPais>Brasil</xPais>
<fone>1144475341</fone>
</enderEmit>
<IE>241088873112</IE>
<CRT>3</CRT>
</emit>
- <dest>
<CNPJ>3xxxxxxxx00</CNPJ>
<xNome>xxxxxxxxxxxxxxxxxxxxxx</xNome>
- <enderDest>
<xLgr>Estrxxxxxxxxxxxmitt,</xLgr>
<nro>1250</nro>
<xCpl>.</xCpl>
<xBairro>Bairrxxxxxxxxxrande</xBairro>
<cMun>3515103</cMun>
<xMun>Embu-Guacu</xMun>
<UF>SP</UF>
<CEP>06900000</CEP>
<cPais>1058</cPais>
<xPais>Brasil</xPais>
<fone>518xxx447</fone>
</enderDest>
<IE>299xxxxxxx113</IE>
<email>nxxxxx@nixxxxxx.com.br</email>
</dest>
- <det nItem=[Ô]1[Ô]>
- <prod>
<cProd>210102</cProd>
<cEAN />
<xProd>Calcio Silicio 2/7 Mm</xProd>
<NCM>72029990</NCM>
<CFOP>5101</CFOP>
<uCom>Kilos</uCom>
<qCom>75.0000</qCom>
<vUnCom>11.0000</vUnCom>
<vProd>825.00</vProd>
<cEANTrib />
<uTrib>Kilos</uTrib>
<qTrib>75.0000</qTrib>
<vUnTrib>11.0000</vUnTrib>
<indTot>1</indTot>
</prod>
- <imposto>
- <ICMS>
- <ICMS00>
<orig>0</orig>
<CST>00</CST>
<modBC>0</modBC>
<vBC>825.00</vBC>
<pICMS>18.00</pICMS>
<vICMS>148.50</vICMS>
</ICMS00>
</ICMS>
- <IPI>
<cEnq>999</cEnq>
- <IPITrib>
<CST>50</CST>
<vBC>825.00</vBC>
<pIPI>5.00</pIPI>
<vIPI>41.25</vIPI>
</IPITrib>
</IPI>
- <PIS>
- <PISAliq>
<CST>01</CST>
<vBC>0.00</vBC>
<pPIS>0.00</pPIS>
<vPIS>0.00</vPIS>
</PISAliq>
</PIS>
- <COFINS>
- <COFINSAliq>
<CST>01</CST>
<vBC>0.00</vBC>
<pCOFINS>0.00</pCOFINS>
<vCOFINS>0.00</vCOFINS>
</COFINSAliq>
</COFINS>
</imposto>
</det>
- <det nItem=[Ô]2[Ô]>
- <prod>
<cProd>950101</cProd>
<cEAN />
<xProd>Cobre Picotado</xProd>
<NCM>74199900</NCM>
<CFOP>5101</CFOP>
<uCom>Kilos</uCom>
<qCom>25.0000</qCom>
<vUnCom>16.9000</vUnCom>
<vProd>422.50</vProd>
<cEANTrib />
<uTrib>Kilos</uTrib>
<qTrib>25.0000</qTrib>
<vUnTrib>16.9000</vUnTrib>
<indTot>1</indTot>
</prod>
- <imposto>
- <ICMS>
- <ICMS00>
<orig>0</orig>
<CST>00</CST>
<modBC>0</modBC>
<vBC>422.50</vBC>
<pICMS>18.00</pICMS>
<vICMS>76.05</vICMS>
</ICMS00>
</ICMS>
- <IPI>
<cEnq>999</cEnq>
- <IPITrib>
<CST>50</CST>
<vBC>422.50</vBC>
<pIPI>5.00</pIPI>
<vIPI>21.13</vIPI>
</IPITrib>
</IPI>
- <PIS>
- <PISAliq>
<CST>01</CST>
<vBC>0.00</vBC>
<pPIS>0.00</pPIS>
<vPIS>0.00</vPIS>
</PISAliq>
</PIS>
- <COFINS>
- <COFINSAliq>
<CST>01</CST>
<vBC>0.00</vBC>
<pCOFINS>0.00</pCOFINS>
<vCOFINS>0.00</vCOFINS>
</COFINSAliq>
</COFINS>
</imposto>
</det>
- <det nItem=[Ô]3[Ô]>
- <prod>
<cProd>130118</cProd>
<cEAN />
<xProd>Fe. Manganes A.C. 10/150 Mm</xProd>
<NCM>72021100</NCM>
<CFOP>5101</CFOP>
<uCom>Kilos</uCom>
<qCom>125.0000</qCom>
<vUnCom>4.8000</vUnCom>
<vProd>600.00</vProd>
<cEANTrib />
<uTrib>Kilos</uTrib>
<qTrib>125.0000</qTrib>
<vUnTrib>4.8000</vUnTrib>
<indTot>1</indTot>
</prod>
- <imposto>
- <ICMS>
- <ICMS00>
<orig>0</orig>
<CST>00</CST>
<modBC>0</modBC>
<vBC>600.00</vBC>
<pICMS>18.00</pICMS>
<vICMS>108.00</vICMS>
</ICMS00>
</ICMS>
- <IPI>
<cEnq>999</cEnq>
- <IPITrib>
<CST>50</CST>
<vBC>600.00</vBC>
<pIPI>5.00</pIPI>
<vIPI>30.00</vIPI>
</IPITrib>
</IPI>
- <PIS>
- <PISAliq>
<CST>01</CST>
<vBC>0.00</vBC>
<pPIS>0.00</pPIS>
<vPIS>0.00</vPIS>
</PISAliq>
</PIS>
- <COFINS>
- <COFINSAliq>
<CST>01</CST>
<vBC>0.00</vBC>
<pCOFINS>0.00</pCOFINS>
<vCOFINS>0.00</vCOFINS>
</COFINSAliq>
</COFINS>
</imposto>
</det>
- <det nItem=[Ô]4[Ô]>
- <prod>
<cProd>120130</cProd>
<cEAN />
<xProd>Fe. Silicio 75% Pedras</xProd>
<NCM>72022100</NCM>
<CFOP>5101</CFOP>
<uCom>Kilos</uCom>
<qCom>50.0000</qCom>
<vUnCom>4.8000</vUnCom>
<vProd>240.00</vProd>
<cEANTrib />
<uTrib>Kilos</uTrib>
<qTrib>50.0000</qTrib>
<vUnTrib>4.8000</vUnTrib>
<indTot>1</indTot>
</prod>
- <imposto>
- <ICMS>
- <ICMS00>
<orig>0</orig>
<CST>00</CST>
<modBC>0</modBC>
<vBC>240.00</vBC>
<pICMS>18.00</pICMS>
<vICMS>43.20</vICMS>
</ICMS00>
</ICMS>
- <IPI>
<cEnq>999</cEnq>
- <IPITrib>
<CST>50</CST>
<vBC>240.00</vBC>
<pIPI>5.00</pIPI>
<vIPI>12.00</vIPI>
</IPITrib>
</IPI>
- <PIS>
- <PISAliq>
<CST>01</CST>
<vBC>0.00</vBC>
<pPIS>0.00</pPIS>
<vPIS>0.00</vPIS>
</PISAliq>
</PIS>
- <COFINS>
- <COFINSAliq>
<CST>01</CST>
<vBC>0.00</vBC>
<pCOFINS>0.00</pCOFINS>
<vCOFINS>0.00</vCOFINS>
</COFINSAliq>
</COFINS>
</imposto>
</det>
- <total>
- <ICMSTot>
<vBC>2087.50</vBC>
<vICMS>375.75</vICMS>
<vBCST>0.00</vBCST>
<vST>0.00</vST>
<vProd>2087.50</vProd>
<vFrete>0.00</vFrete>
<vSeg>0.00</vSeg>
<vDesc>0.00</vDesc>
<vII>0.00</vII>
<vIPI>104.38</vIPI>
<vPIS>0.00</vPIS>
<vCOFINS>0.00</vCOFINS>
<vOutro>0.00</vOutro>
<vNF>2191.88</vNF>
</ICMSTot>
</total>
- <transp>
<modFrete>0</modFrete>
- <transporta>
<xNome>Posto no Cliente</xNome>
</transporta>
- <vol>
<qVol>11</qVol>
<esp>sacos</esp>
<pesoL>275</pesoL>
<pesoB>275</pesoB>
</vol>
</transp>
- <cobr>
- <dup>
<nDup>0-1</nDup>
<dVenc>2010-11-19</dVenc>
<vDup>2191.88</vDup>
</dup>
</cobr>
- <infAdic>
<infAdFisco>Com base no dec. n 96044 de 18/05/1988 art. 3 e res n 420 e anexos de ANTT, publicado D.O.U. em 12/02/2004, Capitulo 33 - Prov. especiais item 223, o FERRO SILICIO com teor de SILICIO entre 67% e 90% foi testado conforme parte III, secao 33 do normal de ensaios e criterios, e nao produz gases inflamaveis portanto nao incluido na clases</infAdFisco>
</infAdic>
</infNFe>
- <Signature xmlns=[Ô]http://www.w3.org/2000/09/xmldsig#[Ô]>
- <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=[Ô]#NFe35101010214818000160550010000000321108318750[Ô]>
- <Transforms>
<Transform Algorithm=[Ô]http://www.w3.org/2000/09/xmldsig#enveloped-signature[Ô] />
<Transform Algorithm=[Ô]http://www.w3.org/TR/2001/REC-xml-c14n-20010315[Ô] />
</Transforms>
<DigestMethod Algorithm=[Ô]http://www.w3.org/2000/09/xmldsig#sha1[Ô] />
<DigestValue>43csh3f8yFgBFJLegizi7heRGxA=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>UTc1JFFSYZdkN6gSPV9goyycp1N/J4peZmSTeyfyOvKvIkHP2HyokZWhyPYsZ2UT9jwDl8BZZ8ta43xwPB4vi4BGSvKABogBk0NNogIVi6565Gs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NDk5Njg4NzAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwoCwGBWBMAQMCoCMTIURBTklFTCBDT1NUQSBQRURSTyBEQVJJTyBHT05aQUxFWqAZBgVgTAEDA6AQEw4xMDIxNDgxODAwMDE2MKAXBgVgTAEDB6AOEwwwMDAwMDAwMDAwMDAwVwYDVR0gBFAwTjBMBgZgTAECAQYwQjBABggrBgEFBQcCARY0aHR0cDovL3d3dy5jZXJ0aWZpY2Fkb2RpZ2l0YWwuY29tLmJyL3JlcG9zaXRvcmlvL2RwYzCB8AYDVR0fBIHoMIHlMEmgR6BFhkNodHRwOi8vd3d3LmNlcnRpZmljYWRvZGlnaXRhbC5jb20uYnIvcmVwb3NpdG9yaW8vbGNyL3NlcmFzYWNkdjEuY3JsMEOgQaA/hj1odHRwOi8vbGNyLmNlcnRpZmljYWRvcy5jb20uYnIvcmVwb3NpdG9yaW8vbGNyL3NlcmFzYWNkdjEuY3JsMFOgUaBPhk1odHRwOi8vcmVwb3NpdG9yaW8uaWNwYnJhc2lsLmdvdi5ici9sY3IvU2VyYXNhL3JlcG9zaXRvcmlvL2xjci9zZXJhc2FjZHYxLmNybDCBlwYIKwYBBQUHAQEEgYowgYcwPAYIKwYBBQUHMAGGMGh0dHA6Ly9vY3NwLmNlcnRpZmljYWRvZGlnaXRhbC5jb20uYnIvc2VyYXNhY2R2MTBHBggrBgEFBQcwAoY7aHR0cDovL3d3dy5jZXJ0aWZpY2Fkb2RpZ2l0YWwuY29tLmJyL2NhZGVpYXMvc2VyYXNhY2R2MS5wN2IwDQYJKoZIhvcNAQEFBQADggEBADFZPz0DbJ9SudUpmXlWXWskAk4jMeThsxLjQG2Cvo1awnAzDC4TvcTwT1XCnS+VZB7YNHW88go2QeOC
alguem tem a funcao de margem de impressao ,,, para imprimir em arquivo ,,,, e qual programa uso para imprimir em pdf ,,,
estou usando xps
Dim Doc_VisualizarDanfe As New PrintDocument
AddHandler Doc_VisualizarDanfe.BeginPrint, AddressOf InicioImpressao
AddHandler Doc_VisualizarDanfe.PrintPage, AddressOf ImprimirDanfe
Doc_VisualizarDanfe.DefaultPageSettings.Landscape = True
Doc_VisualizarDanfe.DocumentName = [Ô]d:\NFe\[Ô] & TesteDanfe.TextBox2.Text & [Ô].xps[Ô]
Doc_VisualizarDanfe.PrinterSettings.PrintFileName = TesteDanfe.TextBox2.Text & [Ô].xps[Ô]
Doc_VisualizarDanfe.PrinterSettings.PrintToFile = True
Doc_VisualizarDanfe.Print()
ja tentei
Doc_VisualizarDanfe.DefaultPageSettings.Margins = New Printing.Margins(20, 20, 20, 20)
Doc_VisualizarDanfe.PrinterSettings.DefaultPageSettings.Margins = New Printing.Margins(20, 20, 20, 20)
e nada
estou usando xps
Dim Doc_VisualizarDanfe As New PrintDocument
AddHandler Doc_VisualizarDanfe.BeginPrint, AddressOf InicioImpressao
AddHandler Doc_VisualizarDanfe.PrintPage, AddressOf ImprimirDanfe
Doc_VisualizarDanfe.DefaultPageSettings.Landscape = True
Doc_VisualizarDanfe.DocumentName = [Ô]d:\NFe\[Ô] & TesteDanfe.TextBox2.Text & [Ô].xps[Ô]
Doc_VisualizarDanfe.PrinterSettings.PrintFileName = TesteDanfe.TextBox2.Text & [Ô].xps[Ô]
Doc_VisualizarDanfe.PrinterSettings.PrintToFile = True
Doc_VisualizarDanfe.Print()
ja tentei
Doc_VisualizarDanfe.DefaultPageSettings.Margins = New Printing.Margins(20, 20, 20, 20)
Doc_VisualizarDanfe.PrinterSettings.DefaultPageSettings.Margins = New Printing.Margins(20, 20, 20, 20)
e nada
ai estou apanhando na rotina de cancelamento ,,, alguem tem algum codigo ,,,, facil ,,, para adptar ao fonte do daniel
Nilson2 ,
Por exemplo :
a ocorrência tem 1-1, quer dizer que a tag tem que aparece no mÃnimo uma vez e no máximo uma vez.
a ocorrencia diz 0-1, quer dizer que a tag pode nãoi estar no arquivo e no máximo aparecer uma vez
Por exemplo :
a ocorrência tem 1-1, quer dizer que a tag tem que aparece no mÃnimo uma vez e no máximo uma vez.
a ocorrencia diz 0-1, quer dizer que a tag pode nãoi estar no arquivo e no máximo aparecer uma vez
Faça seu login para responder