br_danfe 0.5.2 → 0.6.0

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: d394becb075780bdb77c14db3fa0020a2bbea472
4
- data.tar.gz: 17dab17f8cc0f36dbddecea3ecda54212eaa0815
3
+ metadata.gz: afcc9cb13aa2c93eff94a506523e99185e29f423
4
+ data.tar.gz: 3835b5f1bf54d9cacb301822c68e39f19c9e48bb
5
5
  SHA512:
6
- metadata.gz: 0bf049fcbce978d4c153054a1224b8289e211eb39587792e03c63227858b1e3b39a968d4a51e866cb60b53f4a665dfaa990d180e040f2573a619877446e11532
7
- data.tar.gz: f16c0a7e2e430afec9d717107f2322b3a14839ec9920d7637e5f68c952429fe1aaec07cbab3bc71d28b4800a8a9e57227f6fb1697d6abbdf5752379ef9f7ae5e
6
+ metadata.gz: 31c9b78fa9f090c018b9c1bf48cd37acb24660c9b0cef2cb0a28d782fc36499c2fd3927568cd61aba7569465dde455641a84cb3df8cdd407f558cdd7bbd997f5
7
+ data.tar.gz: f76caec577b0268553880aa4672fbcd5a42e0652d2f34a3f5f8927e293460fed531da799dc94a90031f9e6ea9377df44ee10d26a1b1a8fb2ff9b4a171579e6f5
data/.gitignore CHANGED
@@ -1,7 +1,6 @@
1
1
  .idea
2
2
  .DS_store
3
3
  *sublime-*
4
- Gemfile.lock
5
4
  pkg
6
5
  output.pdf
7
6
  coverage
data/Gemfile.lock ADDED
@@ -0,0 +1,89 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ br_danfe (0.6.0)
5
+ barby (= 0.5.1)
6
+ br_documents (>= 0.0.8)
7
+ i18n
8
+ nokogiri
9
+ prawn (= 2.1.0)
10
+ prawn-table (= 0.2.2)
11
+
12
+ GEM
13
+ remote: https://rubygems.org/
14
+ specs:
15
+ activemodel (5.0.0.1)
16
+ activesupport (= 5.0.0.1)
17
+ activesupport (5.0.0.1)
18
+ concurrent-ruby (~> 1.0, >= 1.0.2)
19
+ i18n (~> 0.7)
20
+ minitest (~> 5.1)
21
+ tzinfo (~> 1.1)
22
+ barby (0.5.1)
23
+ br_documents (0.0.12)
24
+ activemodel (>= 4.0.0)
25
+ i18n (>= 0.6.5)
26
+ byebug (3.5.1)
27
+ columnize (~> 0.8)
28
+ debugger-linecache (~> 1.2)
29
+ slop (~> 3.6)
30
+ codeclimate-test-reporter (1.0.3)
31
+ simplecov
32
+ columnize (0.9.0)
33
+ concurrent-ruby (1.0.2)
34
+ debugger-linecache (1.2.0)
35
+ diff-lcs (1.2.5)
36
+ docile (1.1.5)
37
+ i18n (0.7.0)
38
+ json (1.8.3)
39
+ mini_portile2 (2.1.0)
40
+ minitest (5.10.1)
41
+ nokogiri (1.6.8.1)
42
+ mini_portile2 (~> 2.1.0)
43
+ pdf-core (0.6.1)
44
+ prawn (2.1.0)
45
+ pdf-core (~> 0.6.1)
46
+ ttfunk (~> 1.4.0)
47
+ prawn-table (0.2.2)
48
+ prawn (>= 1.3.0, < 3.0.0)
49
+ rake (12.0.0)
50
+ rspec (3.5.0)
51
+ rspec-core (~> 3.5.0)
52
+ rspec-expectations (~> 3.5.0)
53
+ rspec-mocks (~> 3.5.0)
54
+ rspec-core (3.5.4)
55
+ rspec-support (~> 3.5.0)
56
+ rspec-expectations (3.5.0)
57
+ diff-lcs (>= 1.2.0, < 2.0)
58
+ rspec-support (~> 3.5.0)
59
+ rspec-mocks (3.5.0)
60
+ diff-lcs (>= 1.2.0, < 2.0)
61
+ rspec-support (~> 3.5.0)
62
+ rspec-support (3.5.0)
63
+ simplecov (0.11.1)
64
+ docile (~> 1.1.0)
65
+ json (~> 1.8)
66
+ simplecov-html (~> 0.10.0)
67
+ simplecov-html (0.10.0)
68
+ slop (3.6.0)
69
+ thread_safe (0.3.5)
70
+ ttfunk (1.4.0)
71
+ tzinfo (1.2.2)
72
+ thread_safe (~> 0.1)
73
+
74
+ PLATFORMS
75
+ ruby
76
+
77
+ DEPENDENCIES
78
+ br_danfe!
79
+ byebug (= 3.5.1)
80
+ codeclimate-test-reporter
81
+ rake
82
+ rspec (>= 3.0.0)
83
+ simplecov (= 0.11.1)
84
+
85
+ RUBY VERSION
86
+ ruby 2.2.5p319
87
+
88
+ BUNDLED WITH
89
+ 1.13.6
data/README.md CHANGED
@@ -47,8 +47,7 @@ XML version | Supported?
47
47
  ### Options
48
48
 
49
49
  * `logo_path`: Path of sender's logo image.
50
- * `products_quantity_precision`: Product quantity decimal precision. Default is 2.
51
- * `products_unit_price_precision`: Product unit price decimal precision. Default is 2.
50
+ * `logo_dimensions`: Dimensions of the logo. Ex: logo_dimensions = { width: 100, height: 90 }
52
51
 
53
52
  XML version | Supported?
54
53
  ----------- | ----------
data/br_danfe.gemspec CHANGED
@@ -26,6 +26,6 @@ Gem::Specification.new do |spec|
26
26
 
27
27
  spec.add_development_dependency "byebug", "3.5.1"
28
28
  spec.add_development_dependency "rspec", ">= 3.0.0"
29
- spec.add_development_dependency "simplecov", ">= 0.9.0"
29
+ spec.add_development_dependency "simplecov", "0.11.1"
30
30
  spec.add_development_dependency "codeclimate-test-reporter"
31
31
  end
@@ -41,10 +41,7 @@ module BrDanfe
41
41
 
42
42
  @pdf.repeat(:all) { repeat_on_each_page }
43
43
 
44
- det_body_options = { unit_price_precision: @options.products_unit_price_precision,
45
- quantity_precision: @options.products_quantity_precision }
46
-
47
- DanfeLib::DetBody.new(@pdf, @xml, det_body_options).render
44
+ DanfeLib::DetBody.new(@pdf, @xml).render
48
45
 
49
46
  @pdf.page_count.times do |i|
50
47
  @pdf.go_to_page(i + 1)
@@ -1,10 +1,9 @@
1
1
  module BrDanfe
2
2
  module DanfeLib
3
3
  class DetBody
4
- def initialize(pdf, xml, options)
4
+ def initialize(pdf, xml)
5
5
  @pdf = pdf
6
6
  @xml = xml
7
- @options = options
8
7
  end
9
8
 
10
9
  def render
@@ -38,8 +37,8 @@ module BrDanfe
38
37
  Cst.to_danfe(det),
39
38
  det.css("prod/CFOP").text,
40
39
  det.css("prod/uCom").text,
41
- numerify(det, "prod/qCom", @options[:quantity_precision]),
42
- numerify(det, "prod/vUnCom", @options[:unit_price_precision]),
40
+ numerify(det, "prod/qCom"),
41
+ numerify(det, "prod/vUnCom"),
43
42
  numerify(det, "prod/vProd"),
44
43
  numerify(det, "ICMS/*/vBC"),
45
44
  numerify(det, "ICMS/*/vICMS"),
@@ -49,8 +48,8 @@ module BrDanfe
49
48
  ]
50
49
  end
51
50
 
52
- def numerify(det, xpath, precision = 2)
53
- Helper.numerify(det.css("#{xpath}").text, precision)
51
+ def numerify(det, xpath)
52
+ Helper.numerify(det.css("#{xpath}").text)
54
53
  end
55
54
 
56
55
  def column_widths
@@ -99,11 +99,7 @@ module BrDanfe
99
99
 
100
100
  private
101
101
  def numeric(at, w, h, title = "", info = "", options = {})
102
- options = {
103
- decimals: 2
104
- }.merge(options)
105
-
106
- info = Helper.numerify(info, options[:decimals]) if info != ""
102
+ info = Helper.numerify(info) if info != ""
107
103
  box at, w, h, title, info, options.merge({align: :right})
108
104
  end
109
105
 
@@ -1,11 +1,15 @@
1
1
  module BrDanfe
2
2
  module DanfeLib
3
3
  class Helper
4
- def self.numerify(number, decimals = 2)
4
+ def self.numerify(number)
5
5
  return "" if !number || number == ""
6
- int, frac = ("%.#{decimals}f" % number).split(".")
7
- int.gsub!(/(\d)(?=(\d\d\d)+(?!\d))/, "\\1\.")
8
- int + "," + frac
6
+
7
+ separated_number = number.to_s.split(".")
8
+ integer_part = separated_number[0].reverse.gsub( /\d{3}(?=\d)/, '\&.' ).reverse
9
+ decimal_part = separated_number[1] || "00"
10
+ decimal_part = decimal_part + "0" if decimal_part.size < 2
11
+
12
+ integer_part + "," + decimal_part
9
13
  end
10
14
 
11
15
  def self.invert(y)
@@ -67,7 +67,7 @@ module BrDanfe
67
67
  end
68
68
 
69
69
  def numerify(value)
70
- Helper.numerify(value, 2) if value != ""
70
+ Helper.numerify(value) if value != ""
71
71
  end
72
72
 
73
73
  def render_extra_volume(det, y)
@@ -1,12 +1,7 @@
1
1
  module BrDanfe
2
2
  module DanfeLib
3
3
  class Options < OpenStruct
4
- DEFAULTOPTIONS = {
5
- logo: "",
6
- logo_dimensions: {},
7
- products_quantity_precision: 2,
8
- products_unit_price_precision: 2
9
- }
4
+ DEFAULTOPTIONS = { logo: "", logo_dimensions: {} }
10
5
 
11
6
  def initialize(new_options={})
12
7
  options = DEFAULTOPTIONS.merge(config_yaml_load)
@@ -38,10 +38,10 @@ module BrDanfe
38
38
 
39
39
  def st
40
40
  "\n" + I18n.t("danfe.det.prod.xProdST",
41
- pMVAST: Helper.numerify(@det.css('ICMS/*/pMVAST').text, 2),
42
- pICMSST: Helper.numerify(@det.css('ICMS/*/pICMSST').text, 2),
43
- vBCST: Helper.numerify(@det.css('ICMS/*/vBCST').text, 2),
44
- vICMSST: Helper.numerify(@det.css('ICMS/*/vICMSST').text, 2))
41
+ pMVAST: Helper.numerify(@det.css('ICMS/*/pMVAST').text),
42
+ pICMSST: Helper.numerify(@det.css('ICMS/*/pICMSST').text),
43
+ vBCST: Helper.numerify(@det.css('ICMS/*/vBCST').text),
44
+ vICMSST: Helper.numerify(@det.css('ICMS/*/vICMSST').text))
45
45
  end
46
46
  end
47
47
  end
@@ -1,3 +1,3 @@
1
1
  module BrDanfe
2
- VERSION = "0.5.2"
2
+ VERSION = "0.6.0"
3
3
  end
@@ -16,7 +16,6 @@ describe BrDanfe::Danfe do
16
16
  end
17
17
 
18
18
  describe "#save_pdf" do
19
-
20
19
  context "when danfe has custom options" do
21
20
  let(:base_dir) { "./spec/fixtures/nfe/v2.00/"}
22
21
 
@@ -25,10 +24,8 @@ describe BrDanfe::Danfe do
25
24
  it "render a NF-e with customized options" do
26
25
  expect(File.exist?(output_pdf)).to be_falsey
27
26
 
28
- danfe = BrDanfe::Danfe.new(File.read("#{base_dir}nfe_simples_nacional.xml"))
27
+ danfe = BrDanfe::Danfe.new(File.read("#{base_dir}custom_options.fixture.xml"))
29
28
  danfe.options.logo = "spec/fixtures/logo.png"
30
- danfe.options.products_unit_price_precision = 4
31
- danfe.options.products_quantity_precision = 4
32
29
  danfe.options.logo_dimensions = { width: 100, height: 100 }
33
30
 
34
31
  danfe.save_pdf output_pdf
@@ -0,0 +1 @@
1
+ <NFe xmlns="http://www.portalfiscal.inf.br/nfe"><infNFe versao="2.00" Id="NFe35131260891033000109550010000000011000000016"><ide><cUF>35</cUF><cNF>00000001</cNF><natOp>6101-Venda de producao do estabelecimento</natOp><indPag>1</indPag><mod>55</mod><serie>1</serie><nNF>1</nNF><dEmi>2013-12-28</dEmi><tpNF>1</tpNF><cMunFG>3550308</cMunFG><tpImp>1</tpImp><tpEmis>1</tpEmis><cDV>6</cDV><tpAmb>1</tpAmb><finNFe>1</finNFe><procEmi>0</procEmi><verProc>1</verProc></ide><emit><CNPJ>60891033000109</CNPJ><xNome>KRON INSTRUMENTOS ELETRICOS LTDA</xNome><xFant>KRON INSTRUMENTOS ELETRICOS LTDA</xFant><enderEmit><xLgr>RUA ALEXANDRE DE GUSMAO</xLgr><nro>278</nro><xBairro>SOCORRO</xBairro><cMun>3550308</cMun><xMun>SAO PAULO</xMun><UF>SP</UF><CEP>04760020</CEP><cPais>1058</cPais><xPais>BRASIL</xPais><fone>1155252000</fone></enderEmit><IE>111393871117</IE><CRT>1</CRT></emit><dest><CNPJ>82743287000880</CNPJ><xNome>Schneider Electric Brasil Ltda</xNome><enderDest><xLgr>Av da Saudade</xLgr><nro>1125</nro><xBairro>Frutal</xBairro><cMun>3552403</cMun><xMun>SUMARE</xMun><UF>SP</UF><CEP>13171320</CEP><cPais>1058</cPais><xPais>BRASIL</xPais><fone>1921046300</fone></enderDest><IE>671008375110</IE></dest><det nItem="1"><prod><cProd>1</cProd><cEAN/><xProd>Tijolo Macico Tipo A</xProd><NCM>69041000</NCM><EXTIPI>00</EXTIPI><CFOP>6101</CFOP><uCom>MI</uCom><qCom>2.0000</qCom><vUnCom>10.0000</vUnCom><vProd>20.00</vProd><cEANTrib/><uTrib>MI</uTrib><qTrib>2.0000</qTrib><vUnTrib>10.0000</vUnTrib><indTot>1</indTot></prod><imposto><vTotTrib>5.35</vTotTrib><ICMS><ICMSSN102><orig>0</orig><CSOSN>102</CSOSN></ICMSSN102></ICMS><PIS><PISOutr><CST>99</CST><vBC>0.00</vBC><pPIS>0.00</pPIS><vPIS>0.00</vPIS></PISOutr></PIS><COFINS><COFINSOutr><CST>99</CST><vBC>0.00</vBC><pCOFINS>0.00</pCOFINS><vCOFINS>0.00</vCOFINS></COFINSOutr></COFINS></imposto></det><det nItem="2"><prod><cProd>2</cProd><cEAN/><xProd>Tijolo Macico Tipo B</xProd><NCM>69041000</NCM><EXTIPI>00</EXTIPI><CFOP>6101</CFOP><uCom>MI</uCom><qCom>3.0000</qCom><vUnCom>20.0000</vUnCom><vProd>60.00</vProd><cEANTrib/><uTrib>MI</uTrib><qTrib>3.0000</qTrib><vUnTrib>20.0000</vUnTrib><indTot>1</indTot></prod><imposto><vTotTrib>16.05</vTotTrib><ICMS><ICMSSN102><orig>0</orig><CSOSN>102</CSOSN></ICMSSN102></ICMS><PIS><PISOutr><CST>99</CST><vBC>0.00</vBC><pPIS>0.00</pPIS><vPIS>0.00</vPIS></PISOutr></PIS><COFINS><COFINSOutr><CST>99</CST><vBC>0.00</vBC><pCOFINS>0.00</pCOFINS><vCOFINS>0.00</vCOFINS></COFINSOutr></COFINS></imposto></det><det nItem="3"><prod><cProd>3</cProd><cEAN/><xProd>Tijolo Macico Tipo C</xProd><NCM>69041000</NCM><EXTIPI>00</EXTIPI><CFOP>6101</CFOP><uCom>MI</uCom><qCom>4.0000</qCom><vUnCom>30.0000</vUnCom><vProd>120.00</vProd><cEANTrib/><uTrib>MI</uTrib><qTrib>4.0000</qTrib><vUnTrib>30.0000</vUnTrib><indTot>1</indTot></prod><imposto><vTotTrib>32.10</vTotTrib><ICMS><ICMSSN102><orig>0</orig><CSOSN>102</CSOSN></ICMSSN102></ICMS><PIS><PISOutr><CST>99</CST><vBC>0.00</vBC><pPIS>0.00</pPIS><vPIS>0.00</vPIS></PISOutr></PIS><COFINS><COFINSOutr><CST>99</CST><vBC>0.00</vBC><pCOFINS>0.00</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>200.00</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>200.00</vNF><vTotTrib>53.50</vTotTrib></ICMSTot></total><transp><modFrete>0</modFrete></transp><cobr><fat><nFat>1</nFat></fat><dup><nDup>1</nDup><dVenc>2014-01-27</dVenc><vDup>40.00</vDup></dup><dup><nDup>2</nDup><dVenc>2014-02-26</dVenc><vDup>40.00</vDup></dup><dup><nDup>3</nDup><dVenc>2014-03-28</dVenc><vDup>40.00</vDup></dup><dup><nDup>4</nDup><dVenc>2014-04-27</dVenc><vDup>40.00</vDup></dup><dup><nDup>5</nDup><dVenc>2014-05-27</dVenc><vDup>40.00</vDup></dup></cobr><infAdic><infCpl>DOCUMENTO EMITIDO POR ME OU EPP OPTANTE PELO SIMPLES NACIONAL * NAO GERA DIREITO A CREDITO FISCAL DE IPI * Tributos: R$ 53,50 (26,75%)</infCpl></infAdic></infNFe></NFe>
@@ -1 +1 @@
1
- <NFe xmlns="http://www.portalfiscal.inf.br/nfe"><infNFe versao="2.00" Id="NFe35131260891033000109550010000000011000000016"><ide><cUF>35</cUF><cNF>00000001</cNF><natOp>6101-Venda de producao do estabelecimento</natOp><indPag>1</indPag><mod>55</mod><serie>1</serie><nNF>1</nNF><dEmi>2013-12-28</dEmi><tpNF>1</tpNF><cMunFG>3550308</cMunFG><tpImp>1</tpImp><tpEmis>1</tpEmis><cDV>6</cDV><tpAmb>1</tpAmb><finNFe>1</finNFe><procEmi>0</procEmi><verProc>1</verProc></ide><emit><CNPJ>60891033000109</CNPJ><xNome>KRON INSTRUMENTOS ELETRICOS LTDA</xNome><xFant>KRON INSTRUMENTOS ELETRICOS LTDA</xFant><enderEmit><xLgr>RUA ALEXANDRE DE GUSMAO</xLgr><nro>278</nro><xBairro>SOCORRO</xBairro><cMun>3550308</cMun><xMun>SAO PAULO</xMun><UF>SP</UF><CEP>04760020</CEP><cPais>1058</cPais><xPais>BRASIL</xPais><fone>1155252000</fone></enderEmit><IE>111393871117</IE><CRT>1</CRT></emit><dest><CNPJ>82743287000880</CNPJ><xNome>Schneider Electric Brasil Ltda</xNome><enderDest><xLgr>Av da Saudade</xLgr><nro>1125</nro><xBairro>Frutal</xBairro><cMun>3552403</cMun><xMun>SUMARE</xMun><UF>SP</UF><CEP>13171320</CEP><cPais>1058</cPais><xPais>BRASIL</xPais><fone>1921046300</fone></enderDest><IE>671008375110</IE></dest><det nItem="1"><prod><cProd>1</cProd><cEAN/><xProd>Tijolo Macico Tipo A</xProd><NCM>69041000</NCM><EXTIPI>00</EXTIPI><CFOP>6101</CFOP><uCom>MI</uCom><qCom>2.0000</qCom><vUnCom>10.0000000000</vUnCom><vProd>20.00</vProd><cEANTrib/><uTrib>MI</uTrib><qTrib>2.0000</qTrib><vUnTrib>10.0000000000</vUnTrib><indTot>1</indTot></prod><imposto><vTotTrib>5.35</vTotTrib><ICMS><ICMSSN102><orig>0</orig><CSOSN>102</CSOSN></ICMSSN102></ICMS><PIS><PISOutr><CST>99</CST><vBC>0.00</vBC><pPIS>0.00</pPIS><vPIS>0.00</vPIS></PISOutr></PIS><COFINS><COFINSOutr><CST>99</CST><vBC>0.00</vBC><pCOFINS>0.00</pCOFINS><vCOFINS>0.00</vCOFINS></COFINSOutr></COFINS></imposto></det><det nItem="2"><prod><cProd>2</cProd><cEAN/><xProd>Tijolo Macico Tipo B</xProd><NCM>69041000</NCM><EXTIPI>00</EXTIPI><CFOP>6101</CFOP><uCom>MI</uCom><qCom>3.0000</qCom><vUnCom>20.0000000000</vUnCom><vProd>60.00</vProd><cEANTrib/><uTrib>MI</uTrib><qTrib>3.0000</qTrib><vUnTrib>20.0000000000</vUnTrib><indTot>1</indTot></prod><imposto><vTotTrib>16.05</vTotTrib><ICMS><ICMSSN102><orig>0</orig><CSOSN>102</CSOSN></ICMSSN102></ICMS><PIS><PISOutr><CST>99</CST><vBC>0.00</vBC><pPIS>0.00</pPIS><vPIS>0.00</vPIS></PISOutr></PIS><COFINS><COFINSOutr><CST>99</CST><vBC>0.00</vBC><pCOFINS>0.00</pCOFINS><vCOFINS>0.00</vCOFINS></COFINSOutr></COFINS></imposto></det><det nItem="3"><prod><cProd>3</cProd><cEAN/><xProd>Tijolo Macico Tipo C</xProd><NCM>69041000</NCM><EXTIPI>00</EXTIPI><CFOP>6101</CFOP><uCom>MI</uCom><qCom>4.0000</qCom><vUnCom>30.0000000000</vUnCom><vProd>120.00</vProd><cEANTrib/><uTrib>MI</uTrib><qTrib>4.0000</qTrib><vUnTrib>30.0000000000</vUnTrib><indTot>1</indTot></prod><imposto><vTotTrib>32.10</vTotTrib><ICMS><ICMSSN102><orig>0</orig><CSOSN>102</CSOSN></ICMSSN102></ICMS><PIS><PISOutr><CST>99</CST><vBC>0.00</vBC><pPIS>0.00</pPIS><vPIS>0.00</vPIS></PISOutr></PIS><COFINS><COFINSOutr><CST>99</CST><vBC>0.00</vBC><pCOFINS>0.00</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>200.00</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>200.00</vNF><vTotTrib>53.50</vTotTrib></ICMSTot></total><transp><modFrete>0</modFrete></transp><cobr><fat><nFat>1</nFat></fat><dup><nDup>1</nDup><dVenc>2014-01-27</dVenc><vDup>40.00</vDup></dup><dup><nDup>2</nDup><dVenc>2014-02-26</dVenc><vDup>40.00</vDup></dup><dup><nDup>3</nDup><dVenc>2014-03-28</dVenc><vDup>40.00</vDup></dup><dup><nDup>4</nDup><dVenc>2014-04-27</dVenc><vDup>40.00</vDup></dup><dup><nDup>5</nDup><dVenc>2014-05-27</dVenc><vDup>40.00</vDup></dup></cobr><infAdic><infCpl>DOCUMENTO EMITIDO POR ME OU EPP OPTANTE PELO SIMPLES NACIONAL * NAO GERA DIREITO A CREDITO FISCAL DE IPI * Tributos: R$ 53,50 (26,75%)</infCpl></infAdic></infNFe></NFe>
1
+ <NFe xmlns="http://www.portalfiscal.inf.br/nfe"><infNFe versao="2.00" Id="NFe35131260891033000109550010000000011000000016"><ide><cUF>35</cUF><cNF>00000001</cNF><natOp>6101-Venda de producao do estabelecimento</natOp><indPag>1</indPag><mod>55</mod><serie>1</serie><nNF>1</nNF><dEmi>2013-12-28</dEmi><tpNF>1</tpNF><cMunFG>3550308</cMunFG><tpImp>1</tpImp><tpEmis>1</tpEmis><cDV>6</cDV><tpAmb>1</tpAmb><finNFe>1</finNFe><procEmi>0</procEmi><verProc>1</verProc></ide><emit><CNPJ>60891033000109</CNPJ><xNome>KRON INSTRUMENTOS ELETRICOS LTDA</xNome><xFant>KRON INSTRUMENTOS ELETRICOS LTDA</xFant><enderEmit><xLgr>RUA ALEXANDRE DE GUSMAO</xLgr><nro>278</nro><xBairro>SOCORRO</xBairro><cMun>3550308</cMun><xMun>SAO PAULO</xMun><UF>SP</UF><CEP>04760020</CEP><cPais>1058</cPais><xPais>BRASIL</xPais><fone>1155252000</fone></enderEmit><IE>111393871117</IE><CRT>1</CRT></emit><dest><CNPJ>82743287000880</CNPJ><xNome>Schneider Electric Brasil Ltda</xNome><enderDest><xLgr>Av da Saudade</xLgr><nro>1125</nro><xBairro>Frutal</xBairro><cMun>3552403</cMun><xMun>SUMARE</xMun><UF>SP</UF><CEP>13171320</CEP><cPais>1058</cPais><xPais>BRASIL</xPais><fone>1921046300</fone></enderDest><IE>671008375110</IE></dest><det nItem="1"><prod><cProd>1</cProd><cEAN/><xProd>Tijolo Macico Tipo A</xProd><NCM>69041000</NCM><EXTIPI>00</EXTIPI><CFOP>6101</CFOP><uCom>MI</uCom><qCom>2.00</qCom><vUnCom>10.00</vUnCom><vProd>20.00</vProd><cEANTrib/><uTrib>MI</uTrib><qTrib>2.00</qTrib><vUnTrib>10.00</vUnTrib><indTot>1</indTot></prod><imposto><vTotTrib>5.35</vTotTrib><ICMS><ICMSSN102><orig>0</orig><CSOSN>102</CSOSN></ICMSSN102></ICMS><PIS><PISOutr><CST>99</CST><vBC>0.00</vBC><pPIS>0.00</pPIS><vPIS>0.00</vPIS></PISOutr></PIS><COFINS><COFINSOutr><CST>99</CST><vBC>0.00</vBC><pCOFINS>0.00</pCOFINS><vCOFINS>0.00</vCOFINS></COFINSOutr></COFINS></imposto></det><det nItem="2"><prod><cProd>2</cProd><cEAN/><xProd>Tijolo Macico Tipo B</xProd><NCM>69041000</NCM><EXTIPI>00</EXTIPI><CFOP>6101</CFOP><uCom>MI</uCom><qCom>3.00</qCom><vUnCom>20.00</vUnCom><vProd>60.00</vProd><cEANTrib/><uTrib>MI</uTrib><qTrib>3.00</qTrib><vUnTrib>20.00</vUnTrib><indTot>1</indTot></prod><imposto><vTotTrib>16.05</vTotTrib><ICMS><ICMSSN102><orig>0</orig><CSOSN>102</CSOSN></ICMSSN102></ICMS><PIS><PISOutr><CST>99</CST><vBC>0.00</vBC><pPIS>0.00</pPIS><vPIS>0.00</vPIS></PISOutr></PIS><COFINS><COFINSOutr><CST>99</CST><vBC>0.00</vBC><pCOFINS>0.00</pCOFINS><vCOFINS>0.00</vCOFINS></COFINSOutr></COFINS></imposto></det><det nItem="3"><prod><cProd>3</cProd><cEAN/><xProd>Tijolo Macico Tipo C</xProd><NCM>69041000</NCM><EXTIPI>00</EXTIPI><CFOP>6101</CFOP><uCom>MI</uCom><qCom>4.00</qCom><vUnCom>30.00</vUnCom><vProd>120.00</vProd><cEANTrib/><uTrib>MI</uTrib><qTrib>4.00</qTrib><vUnTrib>30.00</vUnTrib><indTot>1</indTot></prod><imposto><vTotTrib>32.10</vTotTrib><ICMS><ICMSSN102><orig>0</orig><CSOSN>102</CSOSN></ICMSSN102></ICMS><PIS><PISOutr><CST>99</CST><vBC>0.00</vBC><pPIS>0.00</pPIS><vPIS>0.00</vPIS></PISOutr></PIS><COFINS><COFINSOutr><CST>99</CST><vBC>0.00</vBC><pCOFINS>0.00</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>200.00</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>200.00</vNF><vTotTrib>53.50</vTotTrib></ICMSTot></total><transp><modFrete>0</modFrete></transp><cobr><fat><nFat>1</nFat></fat><dup><nDup>1</nDup><dVenc>2014-01-27</dVenc><vDup>40.00</vDup></dup><dup><nDup>2</nDup><dVenc>2014-02-26</dVenc><vDup>40.00</vDup></dup><dup><nDup>3</nDup><dVenc>2014-03-28</dVenc><vDup>40.00</vDup></dup><dup><nDup>4</nDup><dVenc>2014-04-27</dVenc><vDup>40.00</vDup></dup><dup><nDup>5</nDup><dVenc>2014-05-27</dVenc><vDup>40.00</vDup></dup></cobr><infAdic><infCpl>DOCUMENTO EMITIDO POR ME OU EPP OPTANTE PELO SIMPLES NACIONAL * NAO GERA DIREITO A CREDITO FISCAL DE IPI * Tributos: R$ 53,50 (26,75%)</infCpl></infAdic></infNFe></NFe>
@@ -1,4 +1,4 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?><nfeProc versao="2.00" xmlns="http://www.portalfiscal.inf.br/nfe"><NFe xmlns="http://www.portalfiscal.inf.br/nfe"><infNFe Id="NFe25111012345678901234550020000134151000134151" versao="2.00"><ide><cUF>25</cUF><cNF>00013415</cNF><natOp>Vendas de producao do estabelecimento</natOp><indPag>1</indPag><mod>55</mod><serie>2</serie><nNF>13415</nNF><dEmi>2011-10-29</dEmi><dSaiEnt>2011-10-29</dSaiEnt><tpNF>1</tpNF><cMunFG>2507507</cMunFG><tpImp>1</tpImp><tpEmis>1</tpEmis><cDV>1</cDV><tpAmb>1</tpAmb><finNFe>1</finNFe><procEmi>0</procEmi><verProc>Integrat</verProc></ide><emit><CNPJ>12345678901234</CNPJ><xNome>ACME SA</xNome><xFant>ACME-PB</xFant><enderEmit><xLgr>RUA HORTENCIO RIBEIRO DE LUNA</xLgr><nro>3333</nro><xBairro>DISTRITO INDUSTRIAL</xBairro><cMun>2507507</cMun><xMun>Joao Pessoa</xMun><UF>PB</UF><CEP>58081400</CEP><cPais>1058</cPais><xPais>BRASIL</xPais><fone>8321062200</fone></enderEmit><IE>160158257</IE><CRT>3</CRT></emit><dest><CNPJ>98765432101234</CNPJ><xNome>EDITORA BLEBLEBLE LTDA</xNome><enderDest><xLgr>RUA URBANO SANTOS, N755 (ANT 160)</xLgr><nro>0</nro><xBairro>CUMBICA</xBairro><cMun>3518800</cMun><xMun>Guarulhos</xMun><UF>SP</UF><CEP>07182320</CEP><cPais>1058</cPais><xPais>BRASIL</xPais><fone>1127901347</fone></enderDest><IE>336322171116</IE></dest>
2
- <det nItem="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.0000</qCom><vUnCom>3.9400</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.0000</qTrib><vUnTrib>3.9400</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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>
3
- <det nItem="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.0000</qCom><vUnCom>3.9400</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.0000</qTrib><vUnTrib>3.9400</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.0000</qCom><vUnCom>3.9400</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.0000</qTrib><vUnTrib>3.9400</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.0000</qCom><vUnCom>3.9400</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.0000</qTrib><vUnTrib>3.9400</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.0000</qCom><vUnCom>3.9400</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.0000</qTrib><vUnTrib>3.9400</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.0000</qCom><vUnCom>3.9400</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.0000</qTrib><vUnTrib>3.9400</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.0000</qCom><vUnCom>3.9400</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.0000</qTrib><vUnTrib>3.9400</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.0000</qCom><vUnCom>3.9400</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.0000</qTrib><vUnTrib>3.9400</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.0000</qCom><vUnCom>3.9400</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.0000</qTrib><vUnTrib>3.9400</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.0000</qCom><vUnCom>3.9400</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.0000</qTrib><vUnTrib>3.9400</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.0000</qCom><vUnCom>3.9400</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.0000</qTrib><vUnTrib>3.9400</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.0000</qCom><vUnCom>3.9400</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.0000</qTrib><vUnTrib>3.9400</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.0000</qCom><vUnCom>3.9400</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.0000</qTrib><vUnTrib>3.9400</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.0000</qCom><vUnCom>3.9400</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.0000</qTrib><vUnTrib>3.9400</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.0000</qCom><vUnCom>3.9400</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.0000</qTrib><vUnTrib>3.9400</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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>
2
+ <det nItem="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.00</qCom><vUnCom>3.94</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.00</qTrib><vUnTrib>3.94</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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>
3
+ <det nItem="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.00</qCom><vUnCom>3.94</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.00</qTrib><vUnTrib>3.94</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.00</qCom><vUnCom>3.94</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.00</qTrib><vUnTrib>3.94</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.00</qCom><vUnCom>3.94</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.00</qTrib><vUnTrib>3.94</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.00</qCom><vUnCom>3.94</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.00</qTrib><vUnTrib>3.94</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.00</qCom><vUnCom>3.94</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.00</qTrib><vUnTrib>3.94</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.00</qCom><vUnCom>3.94</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.00</qTrib><vUnTrib>3.94</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.00</qCom><vUnCom>3.94</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.00</qTrib><vUnTrib>3.94</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.00</qCom><vUnCom>3.94</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.00</qTrib><vUnTrib>3.94</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.00</qCom><vUnCom>3.94</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.00</qTrib><vUnTrib>3.94</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.00</qCom><vUnCom>3.94</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.00</qTrib><vUnTrib>3.94</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.00</qCom><vUnCom>3.94</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.00</qTrib><vUnTrib>3.94</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.00</qCom><vUnCom>3.94</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.00</qTrib><vUnTrib>3.94</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.00</qCom><vUnCom>3.94</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.00</qTrib><vUnTrib>3.94</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.00</qCom><vUnCom>3.94</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.00</qTrib><vUnTrib>3.94</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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>
4
4
  <total><ICMSTot><vBC>0.00</vBC><vICMS>0.00</vICMS><vBCST>0.00</vBCST><vST>0.00</vST><vProd>110635.20</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>110635.20</vNF></ICMSTot></total><transp><modFrete>0</modFrete><transporta><CNPJ>10849477000108</CNPJ><xNome>TRANSPRINT - TRANSPORTADORA E LOGISTICA LTDA</xNome><IE>148613972111</IE><xEnder>Rua do Tatuape</xEnder><xMun>SAO PAULO</xMun><UF>SP</UF></transporta><veicTransp><placa>00000000</placa><UF>SP</UF><RNTC>000000</RNTC></veicTransp><vol><qVol>1</qVol><esp>VOLUMES 1</esp><marca>DIVERSOS 1</marca><nVol>1</nVol><pesoL>1000.000</pesoL><pesoB>1100.000</pesoB></vol><vol><qVol>2</qVol><esp>VOLUMES 2</esp><marca>DIVERSOS 2</marca><nVol>2</nVol><pesoL>2000.000</pesoL><pesoB>2200.000</pesoB></vol><vol><qVol>3</qVol><esp>VOLUMES 3</esp><marca>DIVERSOS 3</marca><nVol>3</nVol><pesoL>3000.000</pesoL><pesoB>3300.000</pesoB></vol></transp><cobr><fat><nFat>13415//1</nFat><vOrig>110635.20</vOrig><vLiq>110635.20</vLiq></fat><dup><nDup>13415//1-1</nDup><dVenc>2012-02-26</dVenc><vDup>110635.20</vDup></dup></cobr><infAdic><infCpl>Obs: PEDIDO DE COMPRA: 308.996 MATERIAL IMUNE CONFORME ART.150 INCISO VI ALINEA D DA CONSTITUICAO FEDERAL.</infCpl></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="#NFe25111012345678901234550020000134151000134151"><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>9jeTTSaza8lMT2Xk5hbWx86Fbp4=</DigestValue></Reference></SignedInfo><SignatureValue>B3hvVsss/YyyAQPrXk+AjMUeQa+tfdzkGIq4SXFgZU8eT8LKxjMfVXmLImQ+A7In43aABQHXldaGolvJQYqGLHw8jyh1gES76rq7kZE0itkMoANKNNx5LA7blVxqQTauAeHrF58dmaNlT1ikC9HtMfreLF/1mspFGqoR9HxNeqg=</SignatureValue><KeyInfo><X509Data><X509Certificate>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</X509Certificate></X509Data></KeyInfo></Signature></NFe><protNFe xmlns="http://www.portalfiscal.inf.br/nfe" versao="2.00"><infProt Id="ID325110012866320"><tpAmb>1</tpAmb><verAplic>SVRS20110801092042</verAplic><chNFe>25111012345678901234550020000134151000134151</chNFe><dhRecbto>2011-10-29T14:37:09</dhRecbto><nProt>325110012866320</nProt><digVal>9jeTTSaza8lMT2Xk5hbWx86Fbp4=</digVal><cStat>100</cStat><xMotivo>Autorizado o uso da NF-e</xMotivo></infProt></protNFe></nfeProc>
@@ -1,4 +1,4 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?><nfeProc versao="2.00" xmlns="http://www.portalfiscal.inf.br/nfe"><NFe xmlns="http://www.portalfiscal.inf.br/nfe"><infNFe Id="NFe25111012345678901234550020000134151000134151" versao="2.00"><ide><cUF>25</cUF><cNF>00013415</cNF><natOp>Vendas de producao do estabelecimento</natOp><indPag>1</indPag><mod>55</mod><serie>2</serie><nNF>13415</nNF><dEmi>2011-10-29</dEmi><dSaiEnt>2011-10-29</dSaiEnt><tpNF>1</tpNF><cMunFG>2507507</cMunFG><tpImp>1</tpImp><tpEmis>1</tpEmis><cDV>1</cDV><tpAmb>1</tpAmb><finNFe>1</finNFe><procEmi>0</procEmi><verProc>Integrat</verProc></ide><emit><CNPJ>12345678901234</CNPJ><xNome>ACME SA</xNome><xFant>ACME-PB</xFant><enderEmit><xLgr>RUA HORTENCIO RIBEIRO DE LUNA</xLgr><nro>3333</nro><xBairro>DISTRITO INDUSTRIAL</xBairro><cMun>2507507</cMun><xMun>Joao Pessoa</xMun><UF>PB</UF><CEP>58081400</CEP><cPais>1058</cPais><xPais>BRASIL</xPais><fone>8321062200</fone></enderEmit><IE>160158257</IE><CRT>3</CRT></emit><dest><CNPJ>98765432101234</CNPJ><xNome>EDITORA BLEBLEBLE LTDA</xNome><enderDest><xLgr>RUA URBANO SANTOS, N755 (ANT 160)</xLgr><nro>0</nro><xBairro>CUMBICA</xBairro><cMun>3518800</cMun><xMun>Guarulhos</xMun><UF>SP</UF><CEP>07182320</CEP><cPais>1058</cPais><xPais>BRASIL</xPais><fone>1127901347</fone></enderDest><IE>336322171116</IE></dest>
2
- <det nItem="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.0000</qCom><vUnCom>3.9400</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.0000</qTrib><vUnTrib>3.9400</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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>
3
- <det nItem="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.0000</qCom><vUnCom>3.9400</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.0000</qTrib><vUnTrib>3.9400</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.0000</qCom><vUnCom>3.9400</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.0000</qTrib><vUnTrib>3.9400</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.0000</qCom><vUnCom>3.9400</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.0000</qTrib><vUnTrib>3.9400</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.0000</qCom><vUnCom>3.9400</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.0000</qTrib><vUnTrib>3.9400</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.0000</qCom><vUnCom>3.9400</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.0000</qTrib><vUnTrib>3.9400</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.0000</qCom><vUnCom>3.9400</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.0000</qTrib><vUnTrib>3.9400</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.0000</qCom><vUnCom>3.9400</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.0000</qTrib><vUnTrib>3.9400</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.0000</qCom><vUnCom>3.9400</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.0000</qTrib><vUnTrib>3.9400</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.0000</qCom><vUnCom>3.9400</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.0000</qTrib><vUnTrib>3.9400</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.0000</qCom><vUnCom>3.9400</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.0000</qTrib><vUnTrib>3.9400</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.0000</qCom><vUnCom>3.9400</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.0000</qTrib><vUnTrib>3.9400</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.0000</qCom><vUnCom>3.9400</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.0000</qTrib><vUnTrib>3.9400</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.0000</qCom><vUnCom>3.9400</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.0000</qTrib><vUnTrib>3.9400</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.0000</qCom><vUnCom>3.9400</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.0000</qTrib><vUnTrib>3.9400</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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>
2
+ <det nItem="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.00</qCom><vUnCom>3.94</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.00</qTrib><vUnTrib>3.94</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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>
3
+ <det nItem="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.00</qCom><vUnCom>3.94</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.00</qTrib><vUnTrib>3.94</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.00</qCom><vUnCom>3.94</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.00</qTrib><vUnTrib>3.94</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.00</qCom><vUnCom>3.94</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.00</qTrib><vUnTrib>3.94</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.00</qCom><vUnCom>3.94</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.00</qTrib><vUnTrib>3.94</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.00</qCom><vUnCom>3.94</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.00</qTrib><vUnTrib>3.94</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.00</qCom><vUnCom>3.94</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.00</qTrib><vUnTrib>3.94</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.00</qCom><vUnCom>3.94</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.00</qTrib><vUnTrib>3.94</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.00</qCom><vUnCom>3.94</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.00</qTrib><vUnTrib>3.94</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.00</qCom><vUnCom>3.94</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.00</qTrib><vUnTrib>3.94</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.00</qCom><vUnCom>3.94</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.00</qTrib><vUnTrib>3.94</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.00</qCom><vUnCom>3.94</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.00</qTrib><vUnTrib>3.94</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.00</qCom><vUnCom>3.94</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.00</qTrib><vUnTrib>3.94</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.00</qCom><vUnCom>3.94</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.00</qTrib><vUnTrib>3.94</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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="1"><prod><cProd>00005</cProd><cEAN></cEAN><xProd>LIVRO POR LIT GRAMATICA PROD TEXTO 3a SERIE ALUNO</xProd><NCM>49019900</NCM><CFOP>6101</CFOP><uCom>UN</uCom><qCom>28080.00</qCom><vUnCom>3.94</vUnCom><vProd>110635.20</vProd><cEANTrib></cEANTrib><uTrib>UN</uTrib><qTrib>28080.00</qTrib><vUnTrib>3.94</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS00><orig>0</orig><CST>00</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS></ICMS00></ICMS><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>
4
4
  <total><ICMSTot><vBC>0.00</vBC><vICMS>0.00</vICMS><vBCST>0.00</vBCST><vST>0.00</vST><vProd>110635.20</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>110635.20</vNF></ICMSTot></total><transp><modFrete>0</modFrete><transporta><CNPJ>10849477000108</CNPJ><xNome>TRANSPRINT - TRANSPORTADORA E LOGISTICA LTDA</xNome><IE>148613972111</IE><xEnder>Rua do Tatuape</xEnder><xMun>SAO PAULO</xMun><UF>SP</UF></transporta><veicTransp><placa>00000000</placa><UF>SP</UF><RNTC>000000</RNTC></veicTransp><vol><qVol>26</qVol><esp>VOLUMES(s)</esp><marca>DIVERSOS</marca><nVol>0</nVol><pesoL>25000.000</pesoL><pesoB>25000.000</pesoB></vol></transp><cobr><fat><nFat>13415//1</nFat><vOrig>110635.20</vOrig><vLiq>110635.20</vLiq></fat><dup><nDup>13415//1-1</nDup><dVenc>2012-02-26</dVenc><vDup>110635.20</vDup></dup></cobr><infAdic><infCpl>Obs: PEDIDO DE COMPRA: 308.996 MATERIAL IMUNE CONFORME ART.150 INCISO VI ALINEA D DA CONSTITUICAO FEDERAL.</infCpl></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="#NFe25111012345678901234550020000134151000134151"><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>9jeTTSaza8lMT2Xk5hbWx86Fbp4=</DigestValue></Reference></SignedInfo><SignatureValue>B3hvVsss/YyyAQPrXk+AjMUeQa+tfdzkGIq4SXFgZU8eT8LKxjMfVXmLImQ+A7In43aABQHXldaGolvJQYqGLHw8jyh1gES76rq7kZE0itkMoANKNNx5LA7blVxqQTauAeHrF58dmaNlT1ikC9HtMfreLF/1mspFGqoR9HxNeqg=</SignatureValue><KeyInfo><X509Data><X509Certificate>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</X509Certificate></X509Data></KeyInfo></Signature></NFe><protNFe xmlns="http://www.portalfiscal.inf.br/nfe" versao="2.00"><infProt Id="ID325110012866320"><tpAmb>1</tpAmb><verAplic>SVRS20110801092042</verAplic><chNFe>25111012345678901234550020000134151000134151</chNFe><dhRecbto>2011-10-29T14:37:09</dhRecbto><nProt>325110012866320</nProt><digVal>9jeTTSaza8lMT2Xk5hbWx86Fbp4=</digVal><cStat>100</cStat><xMotivo>Autorizado o uso da NF-e</xMotivo></infProt></protNFe></nfeProc>
@@ -68,13 +68,13 @@
68
68
  <NCM />
69
69
  <CFOP>5101</CFOP>
70
70
  <uCom>UN</uCom>
71
- <qCom>2.0000</qCom>
72
- <vUnCom>1.0100000000</vUnCom>
71
+ <qCom>2.00</qCom>
72
+ <vUnCom>1.01</vUnCom>
73
73
  <vProd>2.02</vProd>
74
74
  <cEANTrib />
75
75
  <uTrib>UN</uTrib>
76
- <qTrib>2.0000</qTrib>
77
- <vUnTrib>1.0100000000</vUnTrib>
76
+ <qTrib>2.00</qTrib>
77
+ <vUnTrib>1.01</vUnTrib>
78
78
  <indTot>1</indTot>
79
79
  </prod>
80
80
  <imposto>
@@ -82,7 +82,7 @@
82
82
  <ICMSSN101>
83
83
  <orig>0</orig>
84
84
  <CSOSN>101</CSOSN>
85
- <pCredSN>0.0000</pCredSN>
85
+ <pCredSN>0.00</pCredSN>
86
86
  <vCredICMSSN>0.00</vCredICMSSN>
87
87
  </ICMSSN101>
88
88
  </ICMS>
@@ -90,7 +90,7 @@
90
90
  <PISOutr>
91
91
  <CST>99</CST>
92
92
  <vBC>0.00</vBC>
93
- <pPIS>0.0000</pPIS>
93
+ <pPIS>0.00</pPIS>
94
94
  <vPIS>0.00</vPIS>
95
95
  </PISOutr>
96
96
  </PIS>
@@ -98,7 +98,7 @@
98
98
  <COFINSOutr>
99
99
  <CST>99</CST>
100
100
  <vBC>0.00</vBC>
101
- <pCOFINS>0.0000</pCOFINS>
101
+ <pCOFINS>0.00</pCOFINS>
102
102
  <vCOFINS>0.00</vCOFINS>
103
103
  </COFINSOutr>
104
104
  </COFINS>
@@ -112,13 +112,13 @@
112
112
  <NCM />
113
113
  <CFOP>5101</CFOP>
114
114
  <uCom>UN</uCom>
115
- <qCom>4.0000</qCom>
116
- <vUnCom>1.0200000000</vUnCom>
115
+ <qCom>4.00</qCom>
116
+ <vUnCom>1.02</vUnCom>
117
117
  <vProd>4.08</vProd>
118
118
  <cEANTrib />
119
119
  <uTrib>UN</uTrib>
120
- <qTrib>4.0000</qTrib>
121
- <vUnTrib>1.0200000000</vUnTrib>
120
+ <qTrib>4.00</qTrib>
121
+ <vUnTrib>1.02</vUnTrib>
122
122
  <indTot>1</indTot>
123
123
  </prod>
124
124
  <imposto>
@@ -132,7 +132,7 @@
132
132
  <PISOutr>
133
133
  <CST>99</CST>
134
134
  <vBC>0.00</vBC>
135
- <pPIS>0.0000</pPIS>
135
+ <pPIS>0.00</pPIS>
136
136
  <vPIS>0.00</vPIS>
137
137
  </PISOutr>
138
138
  </PIS>
@@ -140,7 +140,7 @@
140
140
  <COFINSOutr>
141
141
  <CST>99</CST>
142
142
  <vBC>0.00</vBC>
143
- <pCOFINS>0.0000</pCOFINS>
143
+ <pCOFINS>0.00</pCOFINS>
144
144
  <vCOFINS>0.00</vCOFINS>
145
145
  </COFINSOutr>
146
146
  </COFINS>
@@ -154,13 +154,13 @@
154
154
  <NCM />
155
155
  <CFOP>5401</CFOP>
156
156
  <uCom>UN</uCom>
157
- <qCom>6.0000</qCom>
158
- <vUnCom>1.0300000000</vUnCom>
157
+ <qCom>6.00</qCom>
158
+ <vUnCom>1.03</vUnCom>
159
159
  <vProd>6.18</vProd>
160
160
  <cEANTrib />
161
161
  <uTrib>UN</uTrib>
162
- <qTrib>6.0000</qTrib>
163
- <vUnTrib>1.0300000000</vUnTrib>
162
+ <qTrib>6.00</qTrib>
163
+ <vUnTrib>1.03</vUnTrib>
164
164
  <indTot>1</indTot>
165
165
  </prod>
166
166
  <imposto>
@@ -169,12 +169,12 @@
169
169
  <orig>0</orig>
170
170
  <CSOSN>201</CSOSN>
171
171
  <modBCST>4</modBCST>
172
- <pMVAST>24.0000</pMVAST>
173
- <pRedBCST>100.0000</pRedBCST>
172
+ <pMVAST>24.00</pMVAST>
173
+ <pRedBCST>100.00</pRedBCST>
174
174
  <vBCST>7.66</vBCST>
175
- <pICMSST>17.0000</pICMSST>
175
+ <pICMSST>17.00</pICMSST>
176
176
  <vICMSST>0.25</vICMSST>
177
- <pCredSN>0.0000</pCredSN>
177
+ <pCredSN>0.00</pCredSN>
178
178
  <vCredICMSSN>0.00</vCredICMSSN>
179
179
  </ICMSSN201>
180
180
  </ICMS>
@@ -182,7 +182,7 @@
182
182
  <PISOutr>
183
183
  <CST>99</CST>
184
184
  <vBC>0.00</vBC>
185
- <pPIS>0.0000</pPIS>
185
+ <pPIS>0.00</pPIS>
186
186
  <vPIS>0.00</vPIS>
187
187
  </PISOutr>
188
188
  </PIS>
@@ -190,7 +190,7 @@
190
190
  <COFINSOutr>
191
191
  <CST>99</CST>
192
192
  <vBC>0.00</vBC>
193
- <pCOFINS>0.0000</pCOFINS>
193
+ <pCOFINS>0.00</pCOFINS>
194
194
  <vCOFINS>0.00</vCOFINS>
195
195
  </COFINSOutr>
196
196
  </COFINS>
@@ -204,13 +204,13 @@
204
204
  <NCM />
205
205
  <CFOP>5401</CFOP>
206
206
  <uCom>UN</uCom>
207
- <qCom>8.0000</qCom>
208
- <vUnCom>1.0400000000</vUnCom>
207
+ <qCom>8.00</qCom>
208
+ <vUnCom>1.04</vUnCom>
209
209
  <vProd>8.32</vProd>
210
210
  <cEANTrib />
211
211
  <uTrib>UN</uTrib>
212
- <qTrib>8.0000</qTrib>
213
- <vUnTrib>1.0400000000</vUnTrib>
212
+ <qTrib>8.00</qTrib>
213
+ <vUnTrib>1.04</vUnTrib>
214
214
  <indTot>1</indTot>
215
215
  </prod>
216
216
  <imposto>
@@ -219,10 +219,10 @@
219
219
  <orig>0</orig>
220
220
  <CSOSN>202</CSOSN>
221
221
  <modBCST>4</modBCST>
222
- <pMVAST>24.0000</pMVAST>
223
- <pRedBCST>100.0000</pRedBCST>
222
+ <pMVAST>24.00</pMVAST>
223
+ <pRedBCST>100.00</pRedBCST>
224
224
  <vBCST>10.32</vBCST>
225
- <pICMSST>17.0000</pICMSST>
225
+ <pICMSST>17.00</pICMSST>
226
226
  <vICMSST>0.34</vICMSST>
227
227
  </ICMSSN202>
228
228
  </ICMS>
@@ -230,7 +230,7 @@
230
230
  <PISOutr>
231
231
  <CST>99</CST>
232
232
  <vBC>0.00</vBC>
233
- <pPIS>0.0000</pPIS>
233
+ <pPIS>0.00</pPIS>
234
234
  <vPIS>0.00</vPIS>
235
235
  </PISOutr>
236
236
  </PIS>
@@ -238,7 +238,7 @@
238
238
  <COFINSOutr>
239
239
  <CST>99</CST>
240
240
  <vBC>0.00</vBC>
241
- <pCOFINS>0.0000</pCOFINS>
241
+ <pCOFINS>0.00</pCOFINS>
242
242
  <vCOFINS>0.00</vCOFINS>
243
243
  </COFINSOutr>
244
244
  </COFINS>
@@ -252,13 +252,13 @@
252
252
  <NCM />
253
253
  <CFOP>5101</CFOP>
254
254
  <uCom>UN</uCom>
255
- <qCom>10.0000</qCom>
256
- <vUnCom>1.0500000000</vUnCom>
255
+ <qCom>10.00</qCom>
256
+ <vUnCom>1.05</vUnCom>
257
257
  <vProd>10.50</vProd>
258
258
  <cEANTrib />
259
259
  <uTrib>UN</uTrib>
260
- <qTrib>10.0000</qTrib>
261
- <vUnTrib>1.0500000000</vUnTrib>
260
+ <qTrib>10.00</qTrib>
261
+ <vUnTrib>1.05</vUnTrib>
262
262
  <indTot>1</indTot>
263
263
  </prod>
264
264
  <imposto>
@@ -272,7 +272,7 @@
272
272
  <PISOutr>
273
273
  <CST>99</CST>
274
274
  <vBC>0.00</vBC>
275
- <pPIS>0.0000</pPIS>
275
+ <pPIS>0.00</pPIS>
276
276
  <vPIS>0.00</vPIS>
277
277
  </PISOutr>
278
278
  </PIS>
@@ -280,7 +280,7 @@
280
280
  <COFINSOutr>
281
281
  <CST>99</CST>
282
282
  <vBC>0.00</vBC>
283
- <pCOFINS>0.0000</pCOFINS>
283
+ <pCOFINS>0.00</pCOFINS>
284
284
  <vCOFINS>0.00</vCOFINS>
285
285
  </COFINSOutr>
286
286
  </COFINS>
@@ -294,13 +294,13 @@
294
294
  <NCM />
295
295
  <CFOP>5101</CFOP>
296
296
  <uCom>UN</uCom>
297
- <qCom>12.0000</qCom>
298
- <vUnCom>1.0600000000</vUnCom>
297
+ <qCom>12.00</qCom>
298
+ <vUnCom>1.06</vUnCom>
299
299
  <vProd>12.72</vProd>
300
300
  <cEANTrib />
301
301
  <uTrib>UN</uTrib>
302
- <qTrib>12.0000</qTrib>
303
- <vUnTrib>1.0600000000</vUnTrib>
302
+ <qTrib>12.00</qTrib>
303
+ <vUnTrib>1.06</vUnTrib>
304
304
  <indTot>1</indTot>
305
305
  </prod>
306
306
  <imposto>
@@ -314,7 +314,7 @@
314
314
  <PISOutr>
315
315
  <CST>99</CST>
316
316
  <vBC>0.00</vBC>
317
- <pPIS>0.0000</pPIS>
317
+ <pPIS>0.00</pPIS>
318
318
  <vPIS>0.00</vPIS>
319
319
  </PISOutr>
320
320
  </PIS>
@@ -322,7 +322,7 @@
322
322
  <COFINSOutr>
323
323
  <CST>99</CST>
324
324
  <vBC>0.00</vBC>
325
- <pCOFINS>0.0000</pCOFINS>
325
+ <pCOFINS>0.00</pCOFINS>
326
326
  <vCOFINS>0.00</vCOFINS>
327
327
  </COFINSOutr>
328
328
  </COFINS>
@@ -336,13 +336,13 @@
336
336
  <NCM />
337
337
  <CFOP>5405</CFOP>
338
338
  <uCom>UN</uCom>
339
- <qCom>14.0000</qCom>
340
- <vUnCom>1.0700000000</vUnCom>
339
+ <qCom>14.00</qCom>
340
+ <vUnCom>1.07</vUnCom>
341
341
  <vProd>14.98</vProd>
342
342
  <cEANTrib />
343
343
  <uTrib>UN</uTrib>
344
- <qTrib>14.0000</qTrib>
345
- <vUnTrib>1.0700000000</vUnTrib>
344
+ <qTrib>14.00</qTrib>
345
+ <vUnTrib>1.07</vUnTrib>
346
346
  <indTot>1</indTot>
347
347
  </prod>
348
348
  <imposto>
@@ -356,7 +356,7 @@
356
356
  <PISOutr>
357
357
  <CST>99</CST>
358
358
  <vBC>0.00</vBC>
359
- <pPIS>0.0000</pPIS>
359
+ <pPIS>0.00</pPIS>
360
360
  <vPIS>0.00</vPIS>
361
361
  </PISOutr>
362
362
  </PIS>
@@ -364,7 +364,7 @@
364
364
  <COFINSOutr>
365
365
  <CST>99</CST>
366
366
  <vBC>0.00</vBC>
367
- <pCOFINS>0.0000</pCOFINS>
367
+ <pCOFINS>0.00</pCOFINS>
368
368
  <vCOFINS>0.00</vCOFINS>
369
369
  </COFINSOutr>
370
370
  </COFINS>
@@ -378,13 +378,13 @@
378
378
  <NCM />
379
379
  <CFOP>5201</CFOP>
380
380
  <uCom>UN</uCom>
381
- <qCom>16.0000</qCom>
382
- <vUnCom>1.0800000000</vUnCom>
381
+ <qCom>16.00</qCom>
382
+ <vUnCom>1.08</vUnCom>
383
383
  <vProd>17.28</vProd>
384
384
  <cEANTrib />
385
385
  <uTrib>UN</uTrib>
386
- <qTrib>16.0000</qTrib>
387
- <vUnTrib>1.0800000000</vUnTrib>
386
+ <qTrib>16.00</qTrib>
387
+ <vUnTrib>1.08</vUnTrib>
388
388
  <indTot>1</indTot>
389
389
  </prod>
390
390
  <imposto>
@@ -394,8 +394,8 @@
394
394
  <CSOSN>900</CSOSN>
395
395
  <modBC>3</modBC>
396
396
  <vBC>17.28</vBC>
397
- <pRedBC>100.0000</pRedBC>
398
- <pICMS>0.0000</pICMS>
397
+ <pRedBC>100.00</pRedBC>
398
+ <pICMS>0.00</pICMS>
399
399
  <vICMS>0.00</vICMS>
400
400
  </ICMSSN900>
401
401
  </ICMS>
@@ -403,7 +403,7 @@
403
403
  <PISOutr>
404
404
  <CST>99</CST>
405
405
  <vBC>0.00</vBC>
406
- <pPIS>0.0000</pPIS>
406
+ <pPIS>0.00</pPIS>
407
407
  <vPIS>0.00</vPIS>
408
408
  </PISOutr>
409
409
  </PIS>
@@ -411,7 +411,7 @@
411
411
  <COFINSOutr>
412
412
  <CST>99</CST>
413
413
  <vBC>0.00</vBC>
414
- <pCOFINS>0.0000</pCOFINS>
414
+ <pCOFINS>0.00</pCOFINS>
415
415
  <vCOFINS>0.00</vCOFINS>
416
416
  </COFINSOutr>
417
417
  </COFINS>
@@ -425,13 +425,13 @@
425
425
  <NCM />
426
426
  <CFOP>5201</CFOP>
427
427
  <uCom>UN</uCom>
428
- <qCom>16.0000</qCom>
429
- <vUnCom>1.0800000000</vUnCom>
428
+ <qCom>16.00</qCom>
429
+ <vUnCom>1.08</vUnCom>
430
430
  <vProd>17.28</vProd>
431
431
  <cEANTrib />
432
432
  <uTrib>UN</uTrib>
433
- <qTrib>16.0000</qTrib>
434
- <vUnTrib>1.0800000000</vUnTrib>
433
+ <qTrib>16.00</qTrib>
434
+ <vUnTrib>1.08</vUnTrib>
435
435
  <indTot>1</indTot>
436
436
  </prod>
437
437
  <imposto>
@@ -441,8 +441,8 @@
441
441
  <CSOSN>900</CSOSN>
442
442
  <modBC>3</modBC>
443
443
  <vBC>17.28</vBC>
444
- <pRedBC>100.0000</pRedBC>
445
- <pICMS>0.0000</pICMS>
444
+ <pRedBC>100.00</pRedBC>
445
+ <pICMS>0.00</pICMS>
446
446
  <vICMS>0.00</vICMS>
447
447
  </ICMSSN900>
448
448
  </ICMS>
@@ -460,7 +460,7 @@
460
460
  <PISOutr>
461
461
  <CST>99</CST>
462
462
  <vBC>0.00</vBC>
463
- <pPIS>0.0000</pPIS>
463
+ <pPIS>0.00</pPIS>
464
464
  <vPIS>0.00</vPIS>
465
465
  </PISOutr>
466
466
  </PIS>
@@ -468,7 +468,7 @@
468
468
  <COFINSOutr>
469
469
  <CST>99</CST>
470
470
  <vBC>0.00</vBC>
471
- <pCOFINS>0.0000</pCOFINS>
471
+ <pCOFINS>0.00</pCOFINS>
472
472
  <vCOFINS>0.00</vCOFINS>
473
473
  </COFINSOutr>
474
474
  </COFINS>
@@ -7,19 +7,7 @@ describe BrDanfe::DanfeLib::DetBody do
7
7
  let(:pdf) { BrDanfe::DanfeLib::Document.new }
8
8
  let(:xml) { BrDanfe::DanfeLib::XML.new(xml_as_string) }
9
9
 
10
- let(:options) do
11
- { unit_price_precision: 2, quantity_precision: 2 }
12
- end
13
-
14
- let(:options_custom_unit_price_precision) do
15
- { unit_price_precision: 4, quantity_precision: 2 }
16
- end
17
-
18
- let(:options_custom_quantity_precision) do
19
- { unit_price_precision: 2, quantity_precision: 4 }
20
- end
21
-
22
- subject { described_class.new(pdf, xml, options) }
10
+ subject { described_class.new(pdf, xml) }
23
11
 
24
12
  describe "#render" do
25
13
  before do
@@ -39,8 +27,8 @@ describe BrDanfe::DanfeLib::DetBody do
39
27
  <NCM>12345678</NCM>
40
28
  <CFOP>5101</CFOP>
41
29
  <uCom>UN</uCom>
42
- <qCom>2.0000</qCom>
43
- <vUnCom>1.0100000000</vUnCom>
30
+ <qCom>2.00</qCom>
31
+ <vUnCom>1.01</vUnCom>
44
32
  <vProd>2.02</vProd>
45
33
  </prod>
46
34
  <imposto>
@@ -59,8 +47,8 @@ describe BrDanfe::DanfeLib::DetBody do
59
47
  <NCM>23456789</NCM>
60
48
  <CFOP>5101</CFOP>
61
49
  <uCom>UN</uCom>
62
- <qCom>4.0000</qCom>
63
- <vUnCom>1.0200000000</vUnCom>
50
+ <qCom>4.00</qCom>
51
+ <vUnCom>1.02</vUnCom>
64
52
  <vProd>4.08</vProd>
65
53
  </prod>
66
54
  <imposto>
@@ -79,8 +67,8 @@ describe BrDanfe::DanfeLib::DetBody do
79
67
  <NCM>45678901</NCM>
80
68
  <CFOP>5401</CFOP>
81
69
  <uCom>UN</uCom>
82
- <qCom>6.0000</qCom>
83
- <vUnCom>1.0300000000</vUnCom>
70
+ <qCom>6.00</qCom>
71
+ <vUnCom>1.03</vUnCom>
84
72
  <vProd>6.18</vProd>
85
73
  </prod>
86
74
  <imposto>
@@ -88,9 +76,9 @@ describe BrDanfe::DanfeLib::DetBody do
88
76
  <ICMSSN201>
89
77
  <orig>0</orig>
90
78
  <CSOSN>201</CSOSN>
91
- <pMVAST>24.0000</pMVAST>
79
+ <pMVAST>24.00</pMVAST>
92
80
  <vBCST>7.66</vBCST>
93
- <pICMSST>17.0000</pICMSST>
81
+ <pICMSST>17.00</pICMSST>
94
82
  <vICMSST>0.25</vICMSST>
95
83
  </ICMSSN201>
96
84
  </ICMS>
@@ -103,8 +91,8 @@ describe BrDanfe::DanfeLib::DetBody do
103
91
  <NCM>34567890</NCM>
104
92
  <CFOP>5201</CFOP>
105
93
  <uCom>UN</uCom>
106
- <qCom>16.0000</qCom>
107
- <vUnCom>1.0800000000</vUnCom>
94
+ <qCom>16.00</qCom>
95
+ <vUnCom>1.08</vUnCom>
108
96
  <vProd>17.28</vProd>
109
97
  </prod>
110
98
  <imposto>
@@ -277,8 +265,8 @@ describe BrDanfe::DanfeLib::DetBody do
277
265
  <NCM>45678901</NCM>
278
266
  <CFOP>5401</CFOP>
279
267
  <uCom>UN</uCom>
280
- <qCom>6.0000</qCom>
281
- <vUnCom>1.0300000000</vUnCom>
268
+ <qCom>6.00</qCom>
269
+ <vUnCom>1.03</vUnCom>
282
270
  <vProd>6.18</vProd>
283
271
  </prod>
284
272
  <imposto>
@@ -286,9 +274,9 @@ describe BrDanfe::DanfeLib::DetBody do
286
274
  <ICMSSN201>
287
275
  <orig>0</orig>
288
276
  <CSOSN>201</CSOSN>
289
- <pMVAST>24.0000</pMVAST>
277
+ <pMVAST>24.00</pMVAST>
290
278
  <vBCST>7.66</vBCST>
291
- <pICMSST>17.0000</pICMSST>
279
+ <pICMSST>17.00</pICMSST>
292
280
  <vICMSST>0.25</vICMSST>
293
281
  </ICMSSN201>
294
282
  </ICMS>
@@ -309,7 +297,7 @@ describe BrDanfe::DanfeLib::DetBody do
309
297
  end
310
298
 
311
299
  context "when the unit price of the product has a custom precision" do
312
- subject { described_class.new(pdf, xml, options_custom_unit_price_precision) }
300
+ subject { described_class.new(pdf, xml) }
313
301
 
314
302
  let(:xml_as_string) do
315
303
  <<-eos
@@ -322,8 +310,8 @@ describe BrDanfe::DanfeLib::DetBody do
322
310
  <NCM>45678901</NCM>
323
311
  <CFOP>5401</CFOP>
324
312
  <uCom>UN</uCom>
325
- <qCom>6.0000</qCom>
326
- <vUnCom>1.1312000000</vUnCom>
313
+ <qCom>6.00</qCom>
314
+ <vUnCom>1.1312</vUnCom>
327
315
  <vProd>6.79</vProd>
328
316
  </prod>
329
317
  </det>
@@ -342,7 +330,7 @@ describe BrDanfe::DanfeLib::DetBody do
342
330
  end
343
331
 
344
332
  context "when the quantity of the product has a custom precision" do
345
- subject { described_class.new(pdf, xml, options_custom_quantity_precision) }
333
+ subject { described_class.new(pdf, xml) }
346
334
 
347
335
  let(:xml_as_string) do
348
336
  <<-eos
@@ -356,7 +344,7 @@ describe BrDanfe::DanfeLib::DetBody do
356
344
  <CFOP>5401</CFOP>
357
345
  <uCom>UN</uCom>
358
346
  <qCom>6.4545</qCom>
359
- <vUnCom>1.0300000000</vUnCom>
347
+ <vUnCom>1.03</vUnCom>
360
348
  <vProd>6.65</vProd>
361
349
  </prod>
362
350
  </det>
@@ -1,6 +1,47 @@
1
1
  require "spec_helper"
2
2
 
3
3
  describe BrDanfe::DanfeLib::Helper do
4
+ describe ".numerify" do
5
+ it "formats with the decimals" do
6
+ expect(BrDanfe::DanfeLib::Helper.numerify(0.123)).to eq "0,123"
7
+ expect(BrDanfe::DanfeLib::Helper.numerify(0.1234)).to eq "0,1234"
8
+ expect(BrDanfe::DanfeLib::Helper.numerify(0.12345)).to eq "0,12345"
9
+ expect(BrDanfe::DanfeLib::Helper.numerify(0.1234567891)).to eq "0,1234567891"
10
+ end
11
+
12
+ it "formats integers" do
13
+ expect(BrDanfe::DanfeLib::Helper.numerify(100)).to eq "100,00"
14
+ end
15
+
16
+ it "formats decimals" do
17
+ expect(BrDanfe::DanfeLib::Helper.numerify(123.45)).to eq "123,45"
18
+ end
19
+
20
+ it "formats thousands" do
21
+ expect(BrDanfe::DanfeLib::Helper.numerify(1000)).to eq "1.000,00"
22
+ end
23
+
24
+ it "formats millions" do
25
+ expect(BrDanfe::DanfeLib::Helper.numerify(1000000)).to eq "1.000.000,00"
26
+ end
27
+
28
+ it "formats using two as min decimal precision" do
29
+ expect(BrDanfe::DanfeLib::Helper.numerify(123.4)).to eq "123,40"
30
+ end
31
+
32
+ it "formats 0 to 0,00" do
33
+ expect(BrDanfe::DanfeLib::Helper.numerify(0)).to eq "0,00"
34
+ end
35
+
36
+ it "doesn't format nil value" do
37
+ expect(BrDanfe::DanfeLib::Helper.numerify(nil)).to eq ""
38
+ end
39
+
40
+ it "doesn't format blank value" do
41
+ expect(BrDanfe::DanfeLib::Helper.numerify("")).to eq ""
42
+ end
43
+ end
44
+
4
45
  describe ".format_datetime" do
5
46
  it "returns a formated string" do
6
47
  string = "2013-10-18T13:54:04"
@@ -5,21 +5,13 @@ describe BrDanfe::DanfeLib::Options do
5
5
  options = BrDanfe::DanfeLib::Options.new
6
6
  expect(options.logo).to eq("")
7
7
  expect(options.logo_dimensions).to eq({})
8
-
9
- expect(options.products_unit_price_precision).to eq(2)
10
- expect(options.products_quantity_precision).to eq(2)
11
8
  end
12
9
 
13
10
  it "returns the config set in params" do
14
- custom_options = { logo: "/fake/path/file.png",
15
- products_unit_price_precision: 3, products_quantity_precision: 4,
16
- logo_dimensions: { width: 50, height: 50}
17
- }
11
+ custom_options = { logo: "/fake/path/file.png", logo_dimensions: { width: 50, height: 50} }
18
12
 
19
13
  options = BrDanfe::DanfeLib::Options.new(custom_options)
20
14
  expect(options.logo).to eq("/fake/path/file.png")
21
- expect(options.products_unit_price_precision).to eq(3)
22
- expect(options.products_quantity_precision).to eq(4)
23
15
  expect(options.logo_dimensions).to eq({ width: 50, height: 50})
24
16
  end
25
17
  end
data/spec/spec_helper.rb CHANGED
@@ -1,11 +1,5 @@
1
- require "simplecov"
2
- require "codeclimate-test-reporter"
3
-
4
- CodeClimate::TestReporter.start
5
-
6
- SimpleCov.start do
7
- add_filter "/spec/support"
8
- end
1
+ require 'simplecov'
2
+ SimpleCov.start
9
3
 
10
4
  require "bundler/setup"
11
5
  require "br_danfe"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: br_danfe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ASSEINFO
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-09 00:00:00.000000000 Z
11
+ date: 2016-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -126,16 +126,16 @@ dependencies:
126
126
  name: simplecov
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ">="
129
+ - - '='
130
130
  - !ruby/object:Gem::Version
131
- version: 0.9.0
131
+ version: 0.11.1
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ">="
136
+ - - '='
137
137
  - !ruby/object:Gem::Version
138
- version: 0.9.0
138
+ version: 0.11.1
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: codeclimate-test-reporter
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -161,6 +161,7 @@ files:
161
161
  - ".rspec"
162
162
  - Dockerfile
163
163
  - Gemfile
164
+ - Gemfile.lock
164
165
  - README.md
165
166
  - Rakefile
166
167
  - br_danfe.gemspec
@@ -256,6 +257,7 @@ files:
256
257
  - spec/fixtures/nfe/lib/vol#render-blank-boxes.pdf
257
258
  - spec/fixtures/nfe/lib/vol#render.pdf
258
259
  - spec/fixtures/nfe/v2.00/custom_options.fixture.pdf
260
+ - spec/fixtures/nfe/v2.00/custom_options.fixture.xml
259
261
  - spec/fixtures/nfe/v2.00/nfe_simples_nacional.xml
260
262
  - spec/fixtures/nfe/v2.00/nfe_simples_nacional.xml.fixture.pdf
261
263
  - spec/fixtures/nfe/v2.00/nfe_with_extra_volumes.xml
@@ -380,6 +382,7 @@ test_files:
380
382
  - spec/fixtures/nfe/lib/vol#render-blank-boxes.pdf
381
383
  - spec/fixtures/nfe/lib/vol#render.pdf
382
384
  - spec/fixtures/nfe/v2.00/custom_options.fixture.pdf
385
+ - spec/fixtures/nfe/v2.00/custom_options.fixture.xml
383
386
  - spec/fixtures/nfe/v2.00/nfe_simples_nacional.xml
384
387
  - spec/fixtures/nfe/v2.00/nfe_simples_nacional.xml.fixture.pdf
385
388
  - spec/fixtures/nfe/v2.00/nfe_with_extra_volumes.xml