br_danfe 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3aa10ea5b153e530d84292516071252c98e42cfb
4
- data.tar.gz: 75b0d0bfbb184b14ae05423cb0b813290d6ff71e
3
+ metadata.gz: c70fbe491977f2c0e251dc8c3a0ecc4979dd72a7
4
+ data.tar.gz: ed099f17b27543009575b24212cd9d372c1636a7
5
5
  SHA512:
6
- metadata.gz: 58441eae637e4f5f0116f4c570285ffdc48d812c95b3e0cfb55bb9dedb758795d7b87a89519e9a3273236053bc9605d50aa0e149249ce69d70bbf0b1110ef715
7
- data.tar.gz: 79cc04952937048b9e5be375e42dc3093caef7cf5bd81af04851b38348e7027ab833c2310efa8b4fb0e4e94d832ca82a28dedf4e40e1f8fcadba0092e7261eb7
6
+ metadata.gz: ab68791c624328a29ee576331563df7f409345040db793c0f842c1814df0a4768e87a7e06c1daefa8d9dfd9ec833df289c7a17bb8c02522cc0a24a7e101293e1
7
+ data.tar.gz: 434b8bfc1a696a8de516dffcc7cd295fedc758dbb2c48f83f6a7cbdb98a54e9c4d41370a64a8b9d184acd9bc48ff3a3730f340eaa4d987b2a071f0e99ce19b02
@@ -64,16 +64,18 @@ module BrDanfe
64
64
  end
65
65
 
66
66
  def render_dates_block
67
- @pdf.ldate LINE_HEIGHT, 2.92, 17.90, @l1, "ide.dEmi", @xml["ide/dEmi"], { align: :right }
68
67
 
69
68
  if @xml.version_310?
69
+ dEmi = "ide/dhEmi"
70
70
  dSaiEnt = "ide/dhSaiEnt"
71
71
  hSaiEnt = "ide/dhSaiEnt"
72
72
  else
73
+ dEmi = "ide/dEmi"
73
74
  dSaiEnt = "ide/dSaiEnt"
74
75
  hSaiEnt = "ide/hSaiEnt"
75
76
  end
76
77
 
78
+ @pdf.ldate LINE_HEIGHT, 2.92, 17.90, @l1, "ide.dEmi", @xml[dEmi], { align: :right }
77
79
  @pdf.ldate LINE_HEIGHT, 2.92, 17.90, @l2, "ide.dSaiEnt", @xml[dSaiEnt], { align: :right }
78
80
  @pdf.ltime LINE_HEIGHT, 2.92, 17.90, @l3, "ide.hSaiEnt", @xml[hSaiEnt], { align: :right }
79
81
  end
@@ -1,3 +1,3 @@
1
1
  module BrDanfe
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
@@ -1 +1 @@
1
- <NFe xmlns="http://www.portalfiscal.inf.br/nfe"><infNFe versao="3.10" Id="NFe35150162013294000143550010000000011000000017"><ide><cUF>35</cUF><cNF>00000001</cNF><natOp>5101-Venda de producao do estabelecimento</natOp><indPag>1</indPag><mod>55</mod><serie>1</serie><nNF>1</nNF><dhEmi>2015-01-14T00:00:00-02:00</dhEmi><tpNF>1</tpNF><idDest>1</idDest><cMunFG>3550308</cMunFG><tpImp>1</tpImp><tpEmis>1</tpEmis><cDV>7</cDV><tpAmb>1</tpAmb><finNFe>1</finNFe><indFinal>0</indFinal><indPres>0</indPres><procEmi>0</procEmi><verProc>1</verProc></ide><emit><CNPJ>62013294000143</CNPJ><xNome>Nome do Remetente Ltda</xNome><xFant>Nome Fantasia do Remetente Ltda</xFant><enderEmit><xLgr>Rua do Remetente, Casa</xLgr><nro>123</nro><xBairro>Bairro do Remetente</xBairro><cMun>3550308</cMun><xMun>SAO PAULO</xMun><UF>SP</UF><CEP>12345678</CEP><cPais>1058</cPais><xPais>BRASIL</xPais><fone>1112345678</fone></enderEmit><IE>526926313553</IE><CRT>1</CRT></emit><dest><CNPJ>71058884000183</CNPJ><xNome>Nome do Destinatario Pj Ltda</xNome><enderDest><xLgr>Rua do Destinatario Pj, Sl 1 e 2</xLgr><nro>345</nro><xBairro>Bairro do Destinatario Pj</xBairro><cMun>3552403</cMun><xMun>SUMARE</xMun><UF>SP</UF><CEP>23456789</CEP><cPais>1058</cPais><xPais>BRASIL</xPais><fone>1923456789</fone></enderDest><indIEDest>1</indIEDest><IE>671008375110</IE></dest><det nItem="1"><prod><cProd>1</cProd><cEAN/><xProd>Produto Com Csosn 101</xProd><NCM/><CFOP>5101</CFOP><uCom>UN</uCom><qCom>2.0000</qCom><vUnCom>1.0100000000</vUnCom><vProd>2.02</vProd><cEANTrib/><uTrib>UN</uTrib><qTrib>2.0000</qTrib><vUnTrib>1.0100000000</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMSSN101><orig>0</orig><CSOSN>101</CSOSN><pCredSN>0.0000</pCredSN><vCredICMSSN>0.00</vCredICMSSN></ICMSSN101></ICMS><PIS><PISOutr><CST>99</CST><vBC>0.00</vBC><pPIS>0.0000</pPIS><vPIS>0.00</vPIS></PISOutr></PIS><COFINS><COFINSOutr><CST>99</CST><vBC>0.00</vBC><pCOFINS>0.0000</pCOFINS><vCOFINS>0.00</vCOFINS></COFINSOutr></COFINS></imposto></det><det nItem="2"><prod><cProd>2</cProd><cEAN/><xProd>Produto Com Csosn102</xProd><NCM/><CFOP>5101</CFOP><uCom>UN</uCom><qCom>4.0000</qCom><vUnCom>1.0200000000</vUnCom><vProd>4.08</vProd><cEANTrib/><uTrib>UN</uTrib><qTrib>4.0000</qTrib><vUnTrib>1.0200000000</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMSSN102><orig>0</orig><CSOSN>102</CSOSN></ICMSSN102></ICMS><PIS><PISOutr><CST>99</CST><vBC>0.00</vBC><pPIS>0.0000</pPIS><vPIS>0.00</vPIS></PISOutr></PIS><COFINS><COFINSOutr><CST>99</CST><vBC>0.00</vBC><pCOFINS>0.0000</pCOFINS><vCOFINS>0.00</vCOFINS></COFINSOutr></COFINS></imposto></det><det nItem="3"><prod><cProd>3</cProd><cEAN/><xProd>Produto Com Csosn 201</xProd><NCM/><CFOP>5401</CFOP><uCom>UN</uCom><qCom>6.0000</qCom><vUnCom>1.0300000000</vUnCom><vProd>6.18</vProd><cEANTrib/><uTrib>UN</uTrib><qTrib>6.0000</qTrib><vUnTrib>1.0300000000</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMSSN201><orig>0</orig><CSOSN>201</CSOSN><modBCST>4</modBCST><pMVAST>24.0000</pMVAST><pRedBCST>100.0000</pRedBCST><vBCST>7.66</vBCST><pICMSST>17.0000</pICMSST><vICMSST>0.25</vICMSST><pCredSN>0.0000</pCredSN><vCredICMSSN>0.00</vCredICMSSN></ICMSSN201></ICMS><PIS><PISOutr><CST>99</CST><vBC>0.00</vBC><pPIS>0.0000</pPIS><vPIS>0.00</vPIS></PISOutr></PIS><COFINS><COFINSOutr><CST>99</CST><vBC>0.00</vBC><pCOFINS>0.0000</pCOFINS><vCOFINS>0.00</vCOFINS></COFINSOutr></COFINS></imposto></det><det nItem="4"><prod><cProd>4</cProd><cEAN/><xProd>Produto Com Csosn 202</xProd><NCM/><CFOP>5401</CFOP><uCom>UN</uCom><qCom>8.0000</qCom><vUnCom>1.0400000000</vUnCom><vProd>8.32</vProd><cEANTrib/><uTrib>UN</uTrib><qTrib>8.0000</qTrib><vUnTrib>1.0400000000</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMSSN202><orig>0</orig><CSOSN>202</CSOSN><modBCST>4</modBCST><pMVAST>24.0000</pMVAST><pRedBCST>100.0000</pRedBCST><vBCST>10.32</vBCST><pICMSST>17.0000</pICMSST><vICMSST>0.34</vICMSST></ICMSSN202></ICMS><PIS><PISOutr><CST>99</CST><vBC>0.00</vBC><pPIS>0.0000</pPIS><vPIS>0.00</vPIS></PISOutr></PIS><COFINS><COFINSOutr><CST>99</CST><vBC>0.00</vBC><pCOFINS>0.0000</pCOFINS><vCOFINS>0.00</vCOFINS></COFINSOutr></COFINS></imposto></det><det nItem="5"><prod><cProd>5</cProd><cEAN/><xProd>Produto Com Csosn 300</xProd><NCM/><CFOP>5101</CFOP><uCom>UN</uCom><qCom>10.0000</qCom><vUnCom>1.0500000000</vUnCom><vProd>10.50</vProd><cEANTrib/><uTrib>UN</uTrib><qTrib>10.0000</qTrib><vUnTrib>1.0500000000</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMSSN102><orig>0</orig><CSOSN>300</CSOSN></ICMSSN102></ICMS><PIS><PISOutr><CST>99</CST><vBC>0.00</vBC><pPIS>0.0000</pPIS><vPIS>0.00</vPIS></PISOutr></PIS><COFINS><COFINSOutr><CST>99</CST><vBC>0.00</vBC><pCOFINS>0.0000</pCOFINS><vCOFINS>0.00</vCOFINS></COFINSOutr></COFINS></imposto></det><det nItem="6"><prod><cProd>6</cProd><cEAN/><xProd>Produto Com Csosn 400</xProd><NCM/><CFOP>5101</CFOP><uCom>UN</uCom><qCom>12.0000</qCom><vUnCom>1.0600000000</vUnCom><vProd>12.72</vProd><cEANTrib/><uTrib>UN</uTrib><qTrib>12.0000</qTrib><vUnTrib>1.0600000000</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMSSN102><orig>0</orig><CSOSN>400</CSOSN></ICMSSN102></ICMS><PIS><PISOutr><CST>99</CST><vBC>0.00</vBC><pPIS>0.0000</pPIS><vPIS>0.00</vPIS></PISOutr></PIS><COFINS><COFINSOutr><CST>99</CST><vBC>0.00</vBC><pCOFINS>0.0000</pCOFINS><vCOFINS>0.00</vCOFINS></COFINSOutr></COFINS></imposto></det><det nItem="7"><prod><cProd>7</cProd><cEAN/><xProd>Produto Com Csosn 500</xProd><NCM/><CFOP>5405</CFOP><uCom>UN</uCom><qCom>14.0000</qCom><vUnCom>1.0700000000</vUnCom><vProd>14.98</vProd><cEANTrib/><uTrib>UN</uTrib><qTrib>14.0000</qTrib><vUnTrib>1.0700000000</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMSSN500><orig>0</orig><CSOSN>500</CSOSN></ICMSSN500></ICMS><PIS><PISOutr><CST>99</CST><vBC>0.00</vBC><pPIS>0.0000</pPIS><vPIS>0.00</vPIS></PISOutr></PIS><COFINS><COFINSOutr><CST>99</CST><vBC>0.00</vBC><pCOFINS>0.0000</pCOFINS><vCOFINS>0.00</vCOFINS></COFINSOutr></COFINS></imposto></det><det nItem="8"><prod><cProd>8</cProd><cEAN/><xProd>Produto Com Csosn 900</xProd><NCM/><CFOP>5201</CFOP><uCom>UN</uCom><qCom>16.0000</qCom><vUnCom>1.0800000000</vUnCom><vProd>17.28</vProd><cEANTrib/><uTrib>UN</uTrib><qTrib>16.0000</qTrib><vUnTrib>1.0800000000</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMSSN900><orig>0</orig><CSOSN>900</CSOSN><modBC>3</modBC><vBC>17.28</vBC><pRedBC>100.0000</pRedBC><pICMS>0.0000</pICMS><vICMS>0.00</vICMS></ICMSSN900></ICMS><PIS><PISOutr><CST>99</CST><vBC>0.00</vBC><pPIS>0.0000</pPIS><vPIS>0.00</vPIS></PISOutr></PIS><COFINS><COFINSOutr><CST>99</CST><vBC>0.00</vBC><pCOFINS>0.0000</pCOFINS><vCOFINS>0.00</vCOFINS></COFINSOutr></COFINS></imposto></det><total><ICMSTot><vBC>17.28</vBC><vICMS>0.00</vICMS><vICMSDeson>0.00</vICMSDeson><vBCST>17.98</vBCST><vST>0.59</vST><vProd>76.08</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>76.67</vNF></ICMSTot></total><transp><modFrete>0</modFrete></transp><cobr><fat><nFat>1</nFat></fat><dup><nDup>1</nDup><dVenc>2015-02-13</dVenc><vDup>25.56</vDup></dup><dup><nDup>2</nDup><dVenc>2015-03-15</dVenc><vDup>25.56</vDup></dup><dup><nDup>3</nDup><dVenc>2015-04-14</dVenc><vDup>25.55</vDup></dup></cobr><infAdic><infCpl>Teste Com Observacao * PERMITE O APROVEITAMENTO DO CREDITO DE ICMS NO VALOR DE R$ 0,00; CORRESPONDENTE A ALIQUOTA DE 0,00%; NOS TERMOS DO ARTIGO 23 DA LC 123/2006 * OPERACAO SUJEITA A SUBSTITUICAO TRIBUTARIA CONFORME ANEXO 3 DO RICMS/SC * DOCUMENTO EMITIDO POR ME OU EPP OPTANTE PELO SIMPLES NACIONAL * NAO GERA DIREITO A CREDITO FISCAL DE IPI</infCpl></infAdic></infNFe></NFe>
1
+ <NFe xmlns="http://www.portalfiscal.inf.br/nfe"><infNFe versao="3.10" Id="NFe35150162013294000143550010000000011000000017"><ide><cUF>35</cUF><cNF>00000001</cNF><natOp>5101-Venda de producao do estabelecimento</natOp><indPag>1</indPag><mod>55</mod><serie>1</serie><nNF>1</nNF><dhEmi>2015-01-14T00:00:00-02:00</dhEmi><dhSaiEnt>2011-10-30T15:32:45-02:00</dhSaiEnt><tpNF>1</tpNF><idDest>1</idDest><cMunFG>3550308</cMunFG><tpImp>1</tpImp><tpEmis>1</tpEmis><cDV>7</cDV><tpAmb>1</tpAmb><finNFe>1</finNFe><indFinal>0</indFinal><indPres>0</indPres><procEmi>0</procEmi><verProc>1</verProc></ide><emit><CNPJ>62013294000143</CNPJ><xNome>Nome do Remetente Ltda</xNome><xFant>Nome Fantasia do Remetente Ltda</xFant><enderEmit><xLgr>Rua do Remetente, Casa</xLgr><nro>123</nro><xBairro>Bairro do Remetente</xBairro><cMun>3550308</cMun><xMun>SAO PAULO</xMun><UF>SP</UF><CEP>12345678</CEP><cPais>1058</cPais><xPais>BRASIL</xPais><fone>1112345678</fone></enderEmit><IE>526926313553</IE><CRT>1</CRT></emit><dest><CNPJ>71058884000183</CNPJ><xNome>Nome do Destinatario Pj Ltda</xNome><enderDest><xLgr>Rua do Destinatario Pj, Sl 1 e 2</xLgr><nro>345</nro><xBairro>Bairro do Destinatario Pj</xBairro><cMun>3552403</cMun><xMun>SUMARE</xMun><UF>SP</UF><CEP>23456789</CEP><cPais>1058</cPais><xPais>BRASIL</xPais><fone>1923456789</fone></enderDest><indIEDest>1</indIEDest><IE>671008375110</IE></dest><det nItem="1"><prod><cProd>1</cProd><cEAN/><xProd>Produto Com Csosn 101</xProd><NCM/><CFOP>5101</CFOP><uCom>UN</uCom><qCom>2.0000</qCom><vUnCom>1.0100000000</vUnCom><vProd>2.02</vProd><cEANTrib/><uTrib>UN</uTrib><qTrib>2.0000</qTrib><vUnTrib>1.0100000000</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMSSN101><orig>0</orig><CSOSN>101</CSOSN><pCredSN>0.0000</pCredSN><vCredICMSSN>0.00</vCredICMSSN></ICMSSN101></ICMS><PIS><PISOutr><CST>99</CST><vBC>0.00</vBC><pPIS>0.0000</pPIS><vPIS>0.00</vPIS></PISOutr></PIS><COFINS><COFINSOutr><CST>99</CST><vBC>0.00</vBC><pCOFINS>0.0000</pCOFINS><vCOFINS>0.00</vCOFINS></COFINSOutr></COFINS></imposto></det><det nItem="2"><prod><cProd>2</cProd><cEAN/><xProd>Produto Com Csosn102</xProd><NCM/><CFOP>5101</CFOP><uCom>UN</uCom><qCom>4.0000</qCom><vUnCom>1.0200000000</vUnCom><vProd>4.08</vProd><cEANTrib/><uTrib>UN</uTrib><qTrib>4.0000</qTrib><vUnTrib>1.0200000000</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMSSN102><orig>0</orig><CSOSN>102</CSOSN></ICMSSN102></ICMS><PIS><PISOutr><CST>99</CST><vBC>0.00</vBC><pPIS>0.0000</pPIS><vPIS>0.00</vPIS></PISOutr></PIS><COFINS><COFINSOutr><CST>99</CST><vBC>0.00</vBC><pCOFINS>0.0000</pCOFINS><vCOFINS>0.00</vCOFINS></COFINSOutr></COFINS></imposto></det><det nItem="3"><prod><cProd>3</cProd><cEAN/><xProd>Produto Com Csosn 201</xProd><NCM/><CFOP>5401</CFOP><uCom>UN</uCom><qCom>6.0000</qCom><vUnCom>1.0300000000</vUnCom><vProd>6.18</vProd><cEANTrib/><uTrib>UN</uTrib><qTrib>6.0000</qTrib><vUnTrib>1.0300000000</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMSSN201><orig>0</orig><CSOSN>201</CSOSN><modBCST>4</modBCST><pMVAST>24.0000</pMVAST><pRedBCST>100.0000</pRedBCST><vBCST>7.66</vBCST><pICMSST>17.0000</pICMSST><vICMSST>0.25</vICMSST><pCredSN>0.0000</pCredSN><vCredICMSSN>0.00</vCredICMSSN></ICMSSN201></ICMS><PIS><PISOutr><CST>99</CST><vBC>0.00</vBC><pPIS>0.0000</pPIS><vPIS>0.00</vPIS></PISOutr></PIS><COFINS><COFINSOutr><CST>99</CST><vBC>0.00</vBC><pCOFINS>0.0000</pCOFINS><vCOFINS>0.00</vCOFINS></COFINSOutr></COFINS></imposto></det><det nItem="4"><prod><cProd>4</cProd><cEAN/><xProd>Produto Com Csosn 202</xProd><NCM/><CFOP>5401</CFOP><uCom>UN</uCom><qCom>8.0000</qCom><vUnCom>1.0400000000</vUnCom><vProd>8.32</vProd><cEANTrib/><uTrib>UN</uTrib><qTrib>8.0000</qTrib><vUnTrib>1.0400000000</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMSSN202><orig>0</orig><CSOSN>202</CSOSN><modBCST>4</modBCST><pMVAST>24.0000</pMVAST><pRedBCST>100.0000</pRedBCST><vBCST>10.32</vBCST><pICMSST>17.0000</pICMSST><vICMSST>0.34</vICMSST></ICMSSN202></ICMS><PIS><PISOutr><CST>99</CST><vBC>0.00</vBC><pPIS>0.0000</pPIS><vPIS>0.00</vPIS></PISOutr></PIS><COFINS><COFINSOutr><CST>99</CST><vBC>0.00</vBC><pCOFINS>0.0000</pCOFINS><vCOFINS>0.00</vCOFINS></COFINSOutr></COFINS></imposto></det><det nItem="5"><prod><cProd>5</cProd><cEAN/><xProd>Produto Com Csosn 300</xProd><NCM/><CFOP>5101</CFOP><uCom>UN</uCom><qCom>10.0000</qCom><vUnCom>1.0500000000</vUnCom><vProd>10.50</vProd><cEANTrib/><uTrib>UN</uTrib><qTrib>10.0000</qTrib><vUnTrib>1.0500000000</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMSSN102><orig>0</orig><CSOSN>300</CSOSN></ICMSSN102></ICMS><PIS><PISOutr><CST>99</CST><vBC>0.00</vBC><pPIS>0.0000</pPIS><vPIS>0.00</vPIS></PISOutr></PIS><COFINS><COFINSOutr><CST>99</CST><vBC>0.00</vBC><pCOFINS>0.0000</pCOFINS><vCOFINS>0.00</vCOFINS></COFINSOutr></COFINS></imposto></det><det nItem="6"><prod><cProd>6</cProd><cEAN/><xProd>Produto Com Csosn 400</xProd><NCM/><CFOP>5101</CFOP><uCom>UN</uCom><qCom>12.0000</qCom><vUnCom>1.0600000000</vUnCom><vProd>12.72</vProd><cEANTrib/><uTrib>UN</uTrib><qTrib>12.0000</qTrib><vUnTrib>1.0600000000</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMSSN102><orig>0</orig><CSOSN>400</CSOSN></ICMSSN102></ICMS><PIS><PISOutr><CST>99</CST><vBC>0.00</vBC><pPIS>0.0000</pPIS><vPIS>0.00</vPIS></PISOutr></PIS><COFINS><COFINSOutr><CST>99</CST><vBC>0.00</vBC><pCOFINS>0.0000</pCOFINS><vCOFINS>0.00</vCOFINS></COFINSOutr></COFINS></imposto></det><det nItem="7"><prod><cProd>7</cProd><cEAN/><xProd>Produto Com Csosn 500</xProd><NCM/><CFOP>5405</CFOP><uCom>UN</uCom><qCom>14.0000</qCom><vUnCom>1.0700000000</vUnCom><vProd>14.98</vProd><cEANTrib/><uTrib>UN</uTrib><qTrib>14.0000</qTrib><vUnTrib>1.0700000000</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMSSN500><orig>0</orig><CSOSN>500</CSOSN></ICMSSN500></ICMS><PIS><PISOutr><CST>99</CST><vBC>0.00</vBC><pPIS>0.0000</pPIS><vPIS>0.00</vPIS></PISOutr></PIS><COFINS><COFINSOutr><CST>99</CST><vBC>0.00</vBC><pCOFINS>0.0000</pCOFINS><vCOFINS>0.00</vCOFINS></COFINSOutr></COFINS></imposto></det><det nItem="8"><prod><cProd>8</cProd><cEAN/><xProd>Produto Com Csosn 900</xProd><NCM/><CFOP>5201</CFOP><uCom>UN</uCom><qCom>16.0000</qCom><vUnCom>1.0800000000</vUnCom><vProd>17.28</vProd><cEANTrib/><uTrib>UN</uTrib><qTrib>16.0000</qTrib><vUnTrib>1.0800000000</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMSSN900><orig>0</orig><CSOSN>900</CSOSN><modBC>3</modBC><vBC>17.28</vBC><pRedBC>100.0000</pRedBC><pICMS>0.0000</pICMS><vICMS>0.00</vICMS></ICMSSN900></ICMS><PIS><PISOutr><CST>99</CST><vBC>0.00</vBC><pPIS>0.0000</pPIS><vPIS>0.00</vPIS></PISOutr></PIS><COFINS><COFINSOutr><CST>99</CST><vBC>0.00</vBC><pCOFINS>0.0000</pCOFINS><vCOFINS>0.00</vCOFINS></COFINSOutr></COFINS></imposto></det><total><ICMSTot><vBC>17.28</vBC><vICMS>0.00</vICMS><vICMSDeson>0.00</vICMSDeson><vBCST>17.98</vBCST><vST>0.59</vST><vProd>76.08</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>76.67</vNF></ICMSTot></total><transp><modFrete>0</modFrete></transp><cobr><fat><nFat>1</nFat></fat><dup><nDup>1</nDup><dVenc>2015-02-13</dVenc><vDup>25.56</vDup></dup><dup><nDup>2</nDup><dVenc>2015-03-15</dVenc><vDup>25.56</vDup></dup><dup><nDup>3</nDup><dVenc>2015-04-14</dVenc><vDup>25.55</vDup></dup></cobr><infAdic><infCpl>Teste Com Observacao * PERMITE O APROVEITAMENTO DO CREDITO DE ICMS NO VALOR DE R$ 0,00; CORRESPONDENTE A ALIQUOTA DE 0,00%; NOS TERMOS DO ARTIGO 23 DA LC 123/2006 * OPERACAO SUJEITA A SUBSTITUICAO TRIBUTARIA CONFORME ANEXO 3 DO RICMS/SC * DOCUMENTO EMITIDO POR ME OU EPP OPTANTE PELO SIMPLES NACIONAL * NAO GERA DIREITO A CREDITO FISCAL DE IPI</infCpl></infAdic></infNFe></NFe>
@@ -1610,7 +1610,7 @@ endobj
1610
1610
  /F3.0 10 0 R
1611
1611
  >>
1612
1612
  >>
1613
- /Length 17422
1613
+ /Length 17678
1614
1614
  >>
1615
1615
  stream
1616
1616
  q
@@ -2020,6 +2020,13 @@ BT
2020
2020
  [<44> 40 <41> 111 <54> 93 <412044> 40 <4120454d495353c3> 55 <4f>] TJ
2021
2021
  ET
2022
2022
 
2023
+
2024
+ BT
2025
+ 542.6132283464567 586.5007086614174 Td
2026
+ /F1.0 10 Tf
2027
+ [<31342f30312f32303135>] TJ
2028
+ ET
2029
+
2023
2030
  507.402 560.976 82.772 22.677 re
2024
2031
  S
2025
2032
 
@@ -2029,6 +2036,13 @@ BT
2029
2036
  [<44> 40 <41> 111 <54> 93 <412044> 40 <4120454e54524144> 40 <412f5341cd44> 40 <41>] TJ
2030
2037
  ET
2031
2038
 
2039
+
2040
+ BT
2041
+ 542.6132283464567 563.8235433070867 Td
2042
+ /F1.0 10 Tf
2043
+ [<33302f31302f32303131>] TJ
2044
+ ET
2045
+
2032
2046
  507.402 538.299 82.772 22.677 re
2033
2047
  S
2034
2048
 
@@ -2039,6 +2053,13 @@ BT
2039
2053
  ET
2040
2054
 
2041
2055
 
2056
+ BT
2057
+ 552.6132283464567 541.146377952756 Td
2058
+ /F1.0 10 Tf
2059
+ [<31353a33323a3435>] TJ
2060
+ ET
2061
+
2062
+
2042
2063
  BT
2043
2064
  7.086614173228347 526.0005669291339 Td
2044
2065
  /F2.0 8 Tf
@@ -2774,13 +2795,13 @@ xref
2774
2795
  0000019324 00000 n
2775
2796
  0000019842 00000 n
2776
2797
  0000019941 00000 n
2777
- 0000037538 00000 n
2778
- 0000037636 00000 n
2798
+ 0000037794 00000 n
2799
+ 0000037892 00000 n
2779
2800
  trailer
2780
2801
  << /Size 11
2781
2802
  /Root 2 0 R
2782
2803
  /Info 1 0 R
2783
2804
  >>
2784
2805
  startxref
2785
- 37737
2806
+ 37993
2786
2807
  %%EOF
@@ -62,7 +62,7 @@ describe BrDanfe::DanfeLib::Dest do
62
62
  <NFe xmlns="http://www.portalfiscal.inf.br/nfe">
63
63
  <infNFe Id="NFe25111012345678901234550020000134151000134151" versao="3.10">
64
64
  <ide>
65
- <dEmi>2011-10-29</dEmi>
65
+ <dhEmi>2011-10-29T13:02:59+00:00</dhEmi>
66
66
  <dhSaiEnt>2011-10-30T12:32:45-03:00</dhSaiEnt>
67
67
  </ide>
68
68
  <dest>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: br_danfe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ASSEINFO