br_danfe 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.gitignore +7 -0
- data/.rspec +1 -0
- data/.travis.yml +8 -0
- data/Gemfile +5 -0
- data/README.md +116 -0
- data/Rakefile +39 -0
- data/br_danfe.gemspec +27 -0
- data/config/locales/pt-BR.yml +125 -0
- data/lib/br_danfe.rb +12 -0
- data/lib/br_danfe/cep.rb +7 -0
- data/lib/br_danfe/cnpj.rb +7 -0
- data/lib/br_danfe/cpf.rb +7 -0
- data/lib/br_danfe/cst.rb +28 -0
- data/lib/br_danfe/danfe_generator.rb +54 -0
- data/lib/br_danfe/dest.rb +21 -0
- data/lib/br_danfe/det.rb +69 -0
- data/lib/br_danfe/document.rb +103 -0
- data/lib/br_danfe/dup.rb +25 -0
- data/lib/br_danfe/emit.rb +45 -0
- data/lib/br_danfe/helper.rb +38 -0
- data/lib/br_danfe/icmstot.rb +19 -0
- data/lib/br_danfe/ie.rb +68 -0
- data/lib/br_danfe/infadic.rb +53 -0
- data/lib/br_danfe/issqn.rb +12 -0
- data/lib/br_danfe/options.rb +22 -0
- data/lib/br_danfe/phone.rb +11 -0
- data/lib/br_danfe/plate.rb +7 -0
- data/lib/br_danfe/ruby_danfe.rb +42 -0
- data/lib/br_danfe/ticket.rb +10 -0
- data/lib/br_danfe/transp.rb +18 -0
- data/lib/br_danfe/version.rb +3 -0
- data/lib/br_danfe/vol.rb +23 -0
- data/lib/br_danfe/xml.rb +32 -0
- data/lib/br_danfe/xprod.rb +41 -0
- data/spec/features/ruby_danfe_spec.rb +48 -0
- data/spec/fixtures/nfe_simples_nacional.xml +1 -0
- data/spec/fixtures/nfe_with_extra_volumes.xml +4 -0
- data/spec/fixtures/nfe_with_fci.xml +1 -0
- data/spec/fixtures/nfe_with_ns.xml +4 -0
- data/spec/fixtures/nfe_without_ns.xml +2 -0
- data/spec/lib/cep_spec.rb +10 -0
- data/spec/lib/cnpj_spec.rb +10 -0
- data/spec/lib/cpf_spec.rb +10 -0
- data/spec/lib/cst_spec.rb +51 -0
- data/spec/lib/helper_spec.rb +84 -0
- data/spec/lib/ie_spec.rb +230 -0
- data/spec/lib/options_spec.rb +13 -0
- data/spec/lib/phone_spec.rb +19 -0
- data/spec/lib/plate_spec.rb +10 -0
- data/spec/lib/ruby_danfe_spec.rb +40 -0
- data/spec/lib/xprod_spec.rb +124 -0
- data/spec/spec_helper.rb +17 -0
- data/spec/support/be_same_file_as.rb +9 -0
- metadata +223 -0
@@ -0,0 +1,12 @@
|
|
1
|
+
module BrDanfe
|
2
|
+
class Issqn
|
3
|
+
def self.render(pdf, xml)
|
4
|
+
pdf.ititle 0.42, 10.00, 0.25, 24.64, "issqn.title"
|
5
|
+
|
6
|
+
pdf.lbox 0.85, 5.08, 0.25, 25.06, xml, "emit/IM"
|
7
|
+
pdf.lbox 0.85, 5.08, 5.33, 25.06, xml, "total/vServ"
|
8
|
+
pdf.lbox 0.85, 5.08, 10.41, 25.06, xml, "total/vBCISS"
|
9
|
+
pdf.lbox 0.85, 5.28, 15.49, 25.06, xml, "total/ISSTot"
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
module BrDanfe
|
2
|
+
class Options < OpenStruct
|
3
|
+
DEFAULTOPTIONS = {
|
4
|
+
logo_path: ""
|
5
|
+
}
|
6
|
+
|
7
|
+
def initialize(new_options={})
|
8
|
+
options = DEFAULTOPTIONS.merge(config_yaml_load)
|
9
|
+
super options.merge(new_options)
|
10
|
+
end
|
11
|
+
|
12
|
+
private
|
13
|
+
def file
|
14
|
+
File.exists?("config/br_danfe.yml") ? File.open("config/br_danfe.yml").read : ""
|
15
|
+
end
|
16
|
+
|
17
|
+
def config_yaml_load
|
18
|
+
@file_read = YAML.load( file )
|
19
|
+
@file_read ? (@file_read["br_danfe"]||{})["options"] : {}
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
module BrDanfe
|
2
|
+
def self.generate(pdf_filename, xml_filename, new_options = {})
|
3
|
+
self.options = new_options if !new_options.empty?
|
4
|
+
|
5
|
+
xml_string = File.new(xml_filename)
|
6
|
+
render_file(pdf_filename, xml_string)
|
7
|
+
end
|
8
|
+
|
9
|
+
def self.render(xml_string, new_options = {})
|
10
|
+
self.options = new_options if !new_options.empty?
|
11
|
+
|
12
|
+
pdf = generatePDF(xml_string)
|
13
|
+
pdf.render
|
14
|
+
end
|
15
|
+
|
16
|
+
def self.render_file(pdf_filename, xml_string, new_options = {})
|
17
|
+
self.options = new_options if !new_options.empty?
|
18
|
+
|
19
|
+
pdf = generatePDF(xml_string)
|
20
|
+
pdf.render_file pdf_filename
|
21
|
+
end
|
22
|
+
|
23
|
+
def self.options
|
24
|
+
@options ||= BrDanfe::Options.new
|
25
|
+
end
|
26
|
+
|
27
|
+
def self.options=(new_options = {})
|
28
|
+
@options = BrDanfe::Options.new(new_options)
|
29
|
+
end
|
30
|
+
|
31
|
+
private
|
32
|
+
def self.generatePDF(xml_string, new_options = {})
|
33
|
+
self.options = new_options if !new_options.empty?
|
34
|
+
|
35
|
+
xml = XML.new(xml_string)
|
36
|
+
|
37
|
+
generator = DanfeGenerator.new(xml)
|
38
|
+
|
39
|
+
pdf = generator.generatePDF
|
40
|
+
pdf
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
module BrDanfe
|
2
|
+
class Ticket
|
3
|
+
def self.render(pdf, xml)
|
4
|
+
pdf.ibox 0.85, 16.10, 0.25, 0.42, I18n.t("danfe.ticket.xNome", xNome: xml["emit/xNome"])
|
5
|
+
pdf.ibox 0.85, 4.10, 0.25, 1.27, I18n.t("danfe.ticket.received_at")
|
6
|
+
pdf.ibox 0.85, 12.00, 4.35, 1.27, I18n.t("danfe.ticket.receiver")
|
7
|
+
pdf.ibox 1.70, 4.50, 16.35, 0.42, "", I18n.t("danfe.ticket.document", nNF: xml["ide/nNF"], serie: xml["ide/serie"]), {align: :center, valign: :center}
|
8
|
+
end
|
9
|
+
end
|
10
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
module BrDanfe
|
2
|
+
class Transp
|
3
|
+
def self.render(pdf, xml)
|
4
|
+
pdf.ititle 0.42, 10.00, 0.25, 14.48, "transporta.title"
|
5
|
+
|
6
|
+
pdf.lbox 0.85, 9.02, 0.25, 14.90, xml, "transporta/xNome"
|
7
|
+
pdf.ibox 0.85, 2.79, 9.27, 14.90, I18n.t("danfe.transp.modFrete.title"), xml["transp/modFrete"] == "0" ? I18n.t("danfe.transp.modFrete.emitter") : I18n.t("danfe.transp.modFrete.recipient")
|
8
|
+
pdf.lbox 0.85, 1.78, 12.06, 14.90, xml, "veicTransp/RNTC"
|
9
|
+
pdf.ibox 0.85, 2.29, 13.84, 14.90, I18n.t("danfe.veicTransp.placa"), Plate.format(xml["veicTransp/placa"])
|
10
|
+
pdf.lbox 0.85, 0.76, 16.13, 14.90, xml, "veicTransp/UF"
|
11
|
+
pdf.lbox 0.85, 3.94, 16.89, 14.90, xml, "transporta/CNPJ"
|
12
|
+
pdf.lbox 0.85, 9.02, 0.25, 15.75, xml, "transporta/xEnder"
|
13
|
+
pdf.lbox 0.85, 6.86, 9.27, 15.75, xml, "transporta/xMun"
|
14
|
+
pdf.lbox 0.85, 0.76, 16.13, 15.75, xml, "transporta/UF"
|
15
|
+
pdf.lbox 0.85, 3.94, 16.89, 15.75, xml, "transporta/IE"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
data/lib/br_danfe/vol.rb
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
module BrDanfe
|
2
|
+
class Vol
|
3
|
+
def self.render(pdf, xml)
|
4
|
+
nVol = 0
|
5
|
+
|
6
|
+
xml.collect("xmlns", "vol") do |det|
|
7
|
+
nVol += 1
|
8
|
+
if nVol < 2
|
9
|
+
pdf.ibox 0.85, 2.92, 0.25, 16.60, I18n.t("danfe.vol.qVol"), det.css("qVol").text
|
10
|
+
pdf.ibox 0.85, 3.05, 3.17, 16.60, I18n.t("danfe.vol.esp"), det.css("esp").text
|
11
|
+
pdf.ibox 0.85, 3.05, 6.22, 16.60, I18n.t("danfe.vol.marca"), det.css("marca").text
|
12
|
+
pdf.ibox 0.85, 4.83, 9.27, 16.60, I18n.t("danfe.vol.nVol")
|
13
|
+
pdf.inumeric 0.85, 3.43, 14.10, 16.60, "vol.pesoB", det.css("pesoB").text, {decimals: 3}
|
14
|
+
pdf.inumeric 0.85, 3.30, 17.53, 16.60, "vol.pesoL", det.css("pesoL").text, {decimals: 3}
|
15
|
+
else
|
16
|
+
break
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
nVol
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
data/lib/br_danfe/xml.rb
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
module BrDanfe
|
2
|
+
class XML
|
3
|
+
def css(xpath)
|
4
|
+
@xml.css(xpath)
|
5
|
+
end
|
6
|
+
|
7
|
+
def initialize(xml)
|
8
|
+
@xml = Nokogiri::XML(xml)
|
9
|
+
end
|
10
|
+
|
11
|
+
def [](xpath)
|
12
|
+
node = @xml.css(xpath)
|
13
|
+
return node ? node.text : ""
|
14
|
+
end
|
15
|
+
|
16
|
+
def collect(ns, tag, &block)
|
17
|
+
result = []
|
18
|
+
# Tenta primeiro com uso de namespace
|
19
|
+
begin
|
20
|
+
@xml.xpath("//#{ns}:#{tag}").each do |det|
|
21
|
+
result << yield(det)
|
22
|
+
end
|
23
|
+
rescue
|
24
|
+
# Caso dê erro, tenta sem
|
25
|
+
@xml.xpath("//#{tag}").each do |det|
|
26
|
+
result << yield(det)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
result
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
module BrDanfe
|
2
|
+
class Xprod
|
3
|
+
def self.generate(det)
|
4
|
+
xprod = "#{det.css('prod/xProd').text}"
|
5
|
+
|
6
|
+
if has_infAdProd?(det)
|
7
|
+
xprod += "\n"
|
8
|
+
xprod += det.css("infAdProd").text
|
9
|
+
end
|
10
|
+
|
11
|
+
if has_fci?(det)
|
12
|
+
xprod += "\n"
|
13
|
+
xprod += I18n.t("danfe.det.prod.xProdFCI", nFCI: det.css('prod/nFCI').text)
|
14
|
+
end
|
15
|
+
|
16
|
+
if has_st?(det)
|
17
|
+
xprod += "\n"
|
18
|
+
xprod += I18n.t("danfe.det.prod.xProdST",
|
19
|
+
pMVAST: det.css('ICMS/*/pMVAST').text,
|
20
|
+
pICMSST: det.css('ICMS/*/pICMSST').text,
|
21
|
+
vBCST: det.css('ICMS/*/vBCST').text,
|
22
|
+
vICMSST: det.css('ICMS/*/vICMSST').text)
|
23
|
+
end
|
24
|
+
|
25
|
+
xprod
|
26
|
+
end
|
27
|
+
|
28
|
+
private
|
29
|
+
def self.has_infAdProd?(det)
|
30
|
+
!det.css("infAdProd").text.empty?
|
31
|
+
end
|
32
|
+
|
33
|
+
def self.has_fci?(det)
|
34
|
+
!det.css("prod/nFCI").text.empty?
|
35
|
+
end
|
36
|
+
|
37
|
+
def self.has_st?(det)
|
38
|
+
det.css("ICMS/*/vBCST").text.to_i > 0
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe "BrDanfe generated pdf files" do
|
4
|
+
let(:base_dir) { "./spec/fixtures/"}
|
5
|
+
let(:output_pdf) { "#{base_dir}output.pdf" }
|
6
|
+
|
7
|
+
before { File.delete(output_pdf) if File.exist?(output_pdf) }
|
8
|
+
|
9
|
+
it "renders a basic NF-e with namespace" do
|
10
|
+
expect(File.exist?(output_pdf)).to be_false
|
11
|
+
|
12
|
+
BrDanfe.generate(output_pdf, "#{base_dir}nfe_with_ns.xml")
|
13
|
+
|
14
|
+
expect("#{base_dir}nfe_with_ns.xml.fixture.pdf").to be_same_file_as(output_pdf)
|
15
|
+
end
|
16
|
+
|
17
|
+
it "renders another basic NF-e without namespace" do
|
18
|
+
expect(File.exist?(output_pdf)).to be_false
|
19
|
+
|
20
|
+
BrDanfe.generate(output_pdf, "#{base_dir}nfe_without_ns.xml")
|
21
|
+
|
22
|
+
expect("#{base_dir}nfe_without_ns.xml.fixture.pdf").to be_same_file_as(output_pdf)
|
23
|
+
end
|
24
|
+
|
25
|
+
it "renders a NF-e having FCI in its items" do
|
26
|
+
expect(File.exist?(output_pdf)).to be_false
|
27
|
+
|
28
|
+
BrDanfe.generate(output_pdf, "#{base_dir}nfe_with_fci.xml")
|
29
|
+
|
30
|
+
expect("#{base_dir}nfe_with_fci.xml.fixture.pdf").to be_same_file_as(output_pdf)
|
31
|
+
end
|
32
|
+
|
33
|
+
it "renders a Simples Nacional NF-e using CSOSN" do
|
34
|
+
expect(File.exist?(output_pdf)).to be_false
|
35
|
+
|
36
|
+
BrDanfe.generate(output_pdf, "#{base_dir}nfe_simples_nacional.xml")
|
37
|
+
|
38
|
+
expect("#{base_dir}nfe_simples_nacional.xml.fixture.pdf").to be_same_file_as(output_pdf)
|
39
|
+
end
|
40
|
+
|
41
|
+
it "renders a NF-e with extra volumes" do
|
42
|
+
expect(File.exist?(output_pdf)).to be_false
|
43
|
+
|
44
|
+
BrDanfe.generate(output_pdf, "#{base_dir}nfe_with_extra_volumes.xml")
|
45
|
+
|
46
|
+
expect("#{base_dir}nfe_with_extra_volumes.xml.fixture.pdf").to be_same_file_as(output_pdf)
|
47
|
+
end
|
48
|
+
end
|
@@ -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.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>
|
@@ -0,0 +1,4 @@
|
|
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>
|
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>MIIGKzCCBROgAwIBAgIIGvdPUH91twgwDQYJKoZIhvcNAQEFBQAwTDELMAkGA1UEBhMCQlIxEzARBgNVBAoTCklDUC1CcmFzaWwxKDAmBgNVBAMTH1NFUkFTQSBDZXJ0aWZpY2Fkb3JhIERpZ2l0YWwgdjEwHhcNMTEwNTE5MTYxNjMwWhcNMTIwNTE4MTYxNjMwWjCB4zELMAkGA1UEBhMCQlIxEzARBgNVBAoTCklDUC1CcmFzaWwxFDASBgNVBAsTCyhFTSBCUkFOQ08pMRgwFgYDVQQLEw8wMDAwMDEwMDE4NTYxNjUxFDASBgNVBAsTCyhFTSBCUkFOQ08pMRQwEgYDVQQLEwsoRU0gQlJBTkNPKTEUMBIG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gUaBPhk1odHRwOi8vcmVwb3NpdG9yaW8uaWNwYnJhc2lsLmdvdi5ici9sY3IvU2VyYXNhL3JlcG9zaXRvcmlvL2xjci9zZXJhc2FjZHYxLmNybDCBlwYIKwYBBQUHAQEEgYowgYcwRwYIKwYBBQUHMAKGO2h0dHA6Ly93d3cuY2VydGlmaWNhZG9kaWdpdGFsLmNvbS5ici9jYWRlaWFzL3NlcmFzYWNkdjEucDdiMDwGCCsGAQUFBzABhjBodHRwOi8vb2NzcC5jZXJ0aWZpY2Fkb2RpZ2l0YWwuY29tLmJyL3NlcmFzYWNkdjEwDQYJKoZIhvcNAQEFBQADggEBAKU/8hHBNvVqW2TR7Yn5AEZbDhDDU3OEDAQOZIuRjW7jSyLapsEhinh1Etujql7xc0zEbJiMStq6HGq5xARWoY9Sd1/tFC1Fnw3zAre4I0r4ZlXIAJEO0EBv3WRA8ACnjdTXrz++8CJuXb+xm55RLb+GgcB+zLbvwy/r1MP7PO5QZFQEEYgx3/6VR71RPph/Olgmevdkyj//g/d0m9HLobI845+WBuQKPdSfWSoaZwWP4bOYBU6VvY5+jUB3u2K4hfYNCJZpEiUesKA7z0dlbm3we/zc1j26mCmPwwJuvunXDjU5T/XISk/GthFLVbtCh7xDrp4V7uuRMGlNR67+DWY=</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>
|
@@ -0,0 +1 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?><nfeProc xmlns="http://www.portalfiscal.inf.br/nfe" versao="2.00"><NFe xmlns="http://www.portalfiscal.inf.br/nfe"><infNFe Id="NFe35131060891033000109550010000445251634720505" versao="2.00"><ide><cUF>35</cUF><cNF>63472050</cNF><natOp>VENDA DE PRODUCAO DO ESTABELECIMENTO</natOp><indPag>1</indPag><mod>55</mod><serie>1</serie><nNF>44525</nNF><dEmi>2013-10-18</dEmi><tpNF>1</tpNF><cMunFG>3550308</cMunFG><tpImp>1</tpImp><tpEmis>1</tpEmis><cDV>5</cDV><tpAmb>1</tpAmb><finNFe>1</finNFe><procEmi>0</procEmi><verProc>5.0</verProc></ide><emit><CNPJ>60891033000109</CNPJ><xNome>KRON INSTRUMENTOS ELETRICOS LTDA</xNome><xFant>KRON</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>3</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><email>nfemerc.sumare@br.schneider-electric.com</email></dest><det nItem="1"><prod><cProd>F211130101000</cProd><cEAN></cEAN><xProd>AMPERIMETRO FM72PC 300/5A COD 3491192843 RL</xProd><NCM>90303329</NCM><EXTIPI>00</EXTIPI><CFOP>5101</CFOP><uCom>PC</uCom><qCom>1.00</qCom><vUnCom>49.23</vUnCom><vProd>49.23</vProd><cEANTrib></cEANTrib><uTrib>PC</uTrib><qTrib>1.00</qTrib><vUnTrib>49.23</vUnTrib><indTot>1</indTot><xPed>98001921</xPed><nItemPed>10</nItemPed><nFCI>12232531-74B2-4FDD-87A6-CF0AD3E55386</nFCI></prod><imposto><ICMS><ICMS00><orig>5</orig><CST>00</CST><modBC>3</modBC><vBC>49.23</vBC><pICMS>12.00</pICMS><vICMS>5.90</vICMS></ICMS00></ICMS><IPI><cEnq>999</cEnq><IPITrib><CST>50</CST><vBC>49.23</vBC><pIPI>5.00</pIPI><vIPI>2.46</vIPI></IPITrib></IPI><PIS><PISAliq><CST>01</CST><vBC>49.23</vBC><pPIS>0.65</pPIS><vPIS>0.32</vPIS></PISAliq></PIS><COFINS><COFINSAliq><CST>01</CST><vBC>49.23</vBC><pCOFINS>3.00</pCOFINS><vCOFINS>1.48</vCOFINS></COFINSAliq></COFINS></imposto></det><total><ICMSTot><vBC>49.23</vBC><vICMS>5.90</vICMS><vBCST>0.00</vBCST><vST>0.00</vST><vProd>49.23</vProd><vFrete>0.00</vFrete><vSeg>0.00</vSeg><vDesc>0.00</vDesc><vII>0.00</vII><vIPI>2.46</vIPI><vPIS>0.32</vPIS><vCOFINS>1.48</vCOFINS><vOutro>0.00</vOutro><vNF>51.69</vNF></ICMSTot><retTrib></retTrib></total><transp><modFrete>0</modFrete><transporta><CNPJ>50547058000128</CNPJ><xNome>POST MASTER COMERCIAL LTDA</xNome><IE>111768652113</IE><xEnder>RUA VIEIRA DE MORAES 558</xEnder><xMun>SAO PAULO</xMun><UF>SP</UF></transporta><vol><qVol>1</qVol><esp>CAIXA</esp><marca>KRON</marca><nVol>1</nVol><pesoL>1.000</pesoL><pesoB>1.000</pesoB></vol></transp><cobr><dup><nDup>0044525/01</nDup><dVenc>2013-12-17</dVenc><vDup>51.69</vDup></dup></cobr><infAdic><infCpl>FRETE CIF / INDUSTRIALIZACAO PEDIDO 98001921 VENC. DAS DUPLICATAS 01/ 10 / 20 DO MES - VIA DEPOSITO [EMAIL=nfemerc.sumare@br.schneider-electric.com]</infCpl></infAdic><compra><xPed>98001921</xPed></compra></infNFe><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo xmlns="http://www.w3.org/2000/09/xmldsig#"><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></CanonicalizationMethod><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></SignatureMethod><Reference URI="#NFe35131060891033000109550010000445251634720505"><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></Transform><Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></Transform></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod><DigestValue>dndW1koiOiYKZkXf7cWtg5vfL2Y=</DigestValue></Reference></SignedInfo><SignatureValue>JXN6WtG/sLQgtEI0n0BhajaphVDAX99A+QcrC3XxTkP4vZ/yHpwr2ngvs3t0M1uLECymakCxjT/qMmanJDiaAGxfWmBJkdgDFa80zJ2RoS9RqF48QmNXHfDNtjwwgw12RlFC8reLWGw7qXD9Nre5E9bTWJqEH4RHhKcg/akiWsQ2uy6M2O/m3IgznCG6wMnhaE98BbXTqcHLrvRignT86HQssaV6DDVm2kXyL1FM8YMZF3TtbsMQ8PJs70FrwddVzFIPoYxSq7iBw40ZdveuexYApVYJdyUssBZcxnlWtaS9aOWpd1fqHiQy5fKRRycBwOdMEPcQXGKqkNUs1hlUtg==</SignatureValue><KeyInfo><X509Data><X509Certificate>MIIIQjCCBiqgAwIBAgIQdHnQdADNdDiHWqCYm1mh6zANBgkqhkiG9w0BAQsFADB4MQswCQYDVQQGEwJCUjETMBEGA1UEChMKSUNQLUJyYXNpbDE2MDQGA1UECxMtU2VjcmV0YXJpYSBkYSBSZWNlaXRhIEZlZGVyYWwgZG8gQnJhc2lsIC0gUkZCMRwwGgYDVQQDExNBQyBDZXJ0aXNpZ24gUkZCIEc0MB4XDTEzMDIyNTAwMDAwMFoXDTE0MDIyNDIzNTk1OVowgfExCzAJBgNVBAYTAkJSMRMwEQYDVQQKFApJQ1AtQnJhc2lsMQswCQYDVQQ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fhhu8X/MxqztTpEEUrKfxRLkIUdVkho3a2/GfD3ePcy7k+Zexu2u1vTkXSGXKDvrJkowOXI11Xob6CP6ZNCCaftdQ+8WA+kZpthjILhY6G7jYy20OFiPTPLwC70funz+wkAB2upX7fMkxctTuAEEbecwcshJS4IgOJCOWPjuOFVMrCOKi1xgPZTxmmHZ9JcVik2Z7JlwV2r+j2sjAYYCFExipw2PmbTDtSL3worhASMsllWYaSmGM524aPEWXiemR0zfKEUuS5wDBdFJrsZkjJDIFJs0AmP2rXf2ftoN73g/ap2ycqbgpt5NYBhhN1az9sc/n6062WatrXVrj94Vx8j+8j6L42Qwx+PrB9Fzrr</X509Certificate></X509Data></KeyInfo></Signature></NFe><protNFe xmlns="http://www.portalfiscal.inf.br/nfe" versao="2.00"><infProt><tpAmb>1</tpAmb><verAplic>SP_NFE_PL_006q</verAplic><chNFe>35131060891033000109550010000445251634720505</chNFe><dhRecbto>2013-10-18T13:54:04</dhRecbto><nProt>135130636167763</nProt><digVal>dndW1koiOiYKZkXf7cWtg5vfL2Y=</digVal><cStat>100</cStat><xMotivo>Autorizado o uso da NF-e</xMotivo></infProt></protNFe></nfeProc>
|
@@ -0,0 +1,4 @@
|
|
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>
|
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>MIIGKzCCBROgAwIBAgIIGvdPUH91twgwDQYJKoZIhvcNAQEFBQAwTDELMAkGA1UEBhMCQlIxEzARBgNVBAoTCklDUC1CcmFzaWwxKDAmBgNVBAMTH1NFUkFTQSBDZXJ0aWZpY2Fkb3JhIERpZ2l0YWwgdjEwHhcNMTEwNTE5MTYxNjMwWhcNMTIwNTE4MTYxNjMwWjCB4zELMAkGA1UEBhMCQlIxEzARBgNVBAoTCklDUC1CcmFzaWwxFDASBgNVBAsTCyhFTSBCUkFOQ08pMRgwFgYDVQQLEw8wMDAwMDEwMDE4NTYxNjUxFDASBgNVBAsTCyhFTSBCUkFOQ08pMRQwEgYDV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bGNyL3NlcmFzYWNkdjEuY3JsMFOgUaBPhk1odHRwOi8vcmVwb3NpdG9yaW8uaWNwYnJhc2lsLmdvdi5ici9sY3IvU2VyYXNhL3JlcG9zaXRvcmlvL2xjci9zZXJhc2FjZHYxLmNybDCBlwYIKwYBBQUHAQEEgYowgYcwRwYIKwYBBQUHMAKGO2h0dHA6Ly93d3cuY2VydGlmaWNhZG9kaWdpdGFsLmNvbS5ici9jYWRlaWFzL3NlcmFzYWNkdjEucDdiMDwGCCsGAQUFBzABhjBodHRwOi8vb2NzcC5jZXJ0aWZpY2Fkb2RpZ2l0YWwuY29tLmJyL3NlcmFzYWNkdjEwDQYJKoZIhvcNAQEFBQADggEBAKU/8hHBNvVqW2TR7Yn5AEZbDhDDU3OEDAQOZIuRjW7jSyLapsEhinh1Etujql7xc0zEbJiMStq6HGq5xARWoY9Sd1/tFC1Fnw3zAre4I0r4ZlXIAJEO0EBv3WRA8ACnjdTXrz++8CJuXb+xm55RLb+GgcB+zLbvwy/r1MP7PO5QZFQEEYgx3/6VR71RPph/Olgmevdkyj//g/d0m9HLobI845+WBuQKPdSfWSoaZwWP4bOYBU6VvY5+jUB3u2K4hfYNCJZpEiUesKA7z0dlbm3we/zc1j26mCmPwwJuvunXDjU5T/XISk/GthFLVbtCh7xDrp4V7uuRMGlNR67+DWY=</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>
|
@@ -0,0 +1,2 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<nfeProc versao="2.00"><NFe><infNFe versao="2.00" Id="NFe31130212345678901234551000000121181911360507"><ide><cUF>31</cUF><cNF>91136050</cNF><natOp>REMESSA MERC. P/ CONSERTO</natOp><indPag>0</indPag><mod>55</mod><serie>100</serie><nNF>12118</nNF><dEmi>2013-02-22</dEmi><tpNF>1</tpNF><cMunFG>3118601</cMunFG><tpImp>1</tpImp><tpEmis>1</tpEmis><cDV>7</cDV><tpAmb>1</tpAmb><finNFe>1</finNFe><procEmi>0</procEmi><verProc>5.0</verProc></ide><emit><CNPJ>99984626000136</CNPJ><xNome>ACME SA</xNome><xFant>ACME</xFant><enderEmit><xLgr>VIA EXPRESSA DE CONTAGEM</xLgr><nro>3850</nro><xBairro>CINCAO</xBairro><cMun>3118601</cMun><xMun>CONTAGEM</xMun><UF>MG</UF><CEP>32370485</CEP><cPais>1058</cPais><xPais>BRASIL</xPais><fone>3133996600</fone></enderEmit><IE>1862422430000</IE><CRT>3</CRT></emit><dest><CNPJ>98765432101234</CNPJ><xNome>BLABLABLA LTDA</xNome><enderDest><xLgr>AV. MARGINAL DO RIB. DOS CRISTAIS</xLgr><nro>200</nro><xBairro>JORDANESIA</xBairro><cMun>3509205</cMun><xMun>CAJAMAR</xMun><UF>SP</UF><CEP>07760000</CEP><cPais>1058</cPais><xPais>BRASIL</xPais><fone>3130698013</fone></enderDest><IE>241029868119</IE></dest><det nItem="1"><prod><cProd>F-MERCPC</cProd><cEAN/><xProd>MONITOR DE ARCO ELETRICO COD:1-VAMP2213A3AAA NS: V221-006630</xProd><NCM>85369090</NCM><EXTIPI>00</EXTIPI><CFOP>6915</CFOP><uCom>pc</uCom><qCom>1.00</qCom><vUnCom>4491.25</vUnCom><vProd>4491.25</vProd><cEANTrib/><uTrib>pc</uTrib><qTrib>1.00</qTrib><vUnTrib>4491.25</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS90><orig>0</orig><CST>90</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS><modBCST>4</modBCST><vBCST>0.00</vBCST><pICMSST>0.00</pICMSST><vICMSST>0.00</vICMSST></ICMS90></ICMS><IPI><cEnq>999</cEnq><IPINT><CST>51</CST></IPINT></IPI><PIS><PISNT><CST>07</CST></PISNT></PIS><COFINS><COFINSNT><CST>07</CST></COFINSNT></COFINS></imposto></det><det nItem="2"><prod><cProd>F-MERCPC</cProd><cEAN/><xProd>DETECTOR FALHA ISOLAMENTO COD:1-XD312127-01 NS: 1518385V1</xProd><NCM>85369090</NCM><EXTIPI>00</EXTIPI><CFOP>6915</CFOP><uCom>pc</uCom><qCom>1.00</qCom><vUnCom>1588.70</vUnCom><vProd>1588.70</vProd><cEANTrib/><uTrib>pc</uTrib><qTrib>1.00</qTrib><vUnTrib>1588.70</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS90><orig>0</orig><CST>90</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS><modBCST>4</modBCST><vBCST>0.00</vBCST><pICMSST>0.00</pICMSST><vICMSST>0.00</vICMSST></ICMS90></ICMS><IPI><cEnq>999</cEnq><IPINT><CST>51</CST></IPINT></IPI><PIS><PISNT><CST>07</CST></PISNT></PIS><COFINS><COFINSNT><CST>07</CST></COFINSNT></COFINS></imposto></det><det nItem="3"><prod><cProd>F-MERCPC</cProd><cEAN/><xProd>MONITOR DE ARCO ELETRICO COD:1-VAMP2213A3AAA NS: V221-006824</xProd><NCM>85369090</NCM><EXTIPI>00</EXTIPI><CFOP>6915</CFOP><uCom>pc</uCom><qCom>1.00</qCom><vUnCom>4038.75</vUnCom><vProd>4038.75</vProd><cEANTrib/><uTrib>pc</uTrib><qTrib>1.00</qTrib><vUnTrib>4038.75</vUnTrib><indTot>1</indTot></prod><imposto><ICMS><ICMS90><orig>0</orig><CST>90</CST><modBC>3</modBC><vBC>0.00</vBC><pICMS>0.00</pICMS><vICMS>0.00</vICMS><modBCST>4</modBCST><vBCST>0.00</vBCST><pICMSST>0.00</pICMSST><vICMSST>0.00</vICMSST></ICMS90></ICMS><IPI><cEnq>999</cEnq><IPINT><CST>51</CST></IPINT></IPI><PIS><PISNT><CST>07</CST></PISNT></PIS><COFINS><COFINSNT><CST>07</CST></COFINSNT></COFINS></imposto></det><total><ICMSTot><vBC>0.00</vBC><vICMS>0.00</vICMS><vBCST>0.00</vBCST><vST>0.00</vST><vProd>10118.70</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>10118.70</vNF></ICMSTot><retTrib/></total><transp><modFrete>0</modFrete><transporta><CNPJ>20147617000141</CNPJ><xNome>JAMEF TRANSPORTADORA LTDA</xNome><IE>0624426220024</IE><xEnder>RUA DR JOSE AMERICO CANCADO BAHIA 1810</xEnder><xMun>CONTAGEM</xMun><UF>MG</UF></transporta><vol><qVol>2</qVol><esp>.</esp><pesoL>10.000</pesoL><pesoB>10.000</pesoB></vol></transp><infAdic><infCpl>MATERIAL DE NOSSA PROPRIEDADE QUE SEGUE PARA REPAROS, DEVENDO RETORNAR AO NOSSO ESTABELECIMENTO. **** ICMS SUSPENSO CONF.ART.19 ITEM 1 ANEXO III DEC.43080 IPI SUSPENSO CONF.ART.42 INCISO XIII DEC.4544 DEZ/02 ROMA-491 | Cod.Repart.Fiscal: 00001</infCpl></infAdic></infNFe><Signature><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="#NFe31130212345678901234551000000121181911360507"><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>CAmkmMtOyPC1hfWU/LLGQ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nYzLmNybDBGoESgQoZAaHR0cDovL3JlcG9zaXRvcmlvLmljcGJyYXNpbC5nb3YuYnIvbGNyL3NlcnByby9hY3NlcnByb3JmYnYzLmNybDBOBggrBgEFBQcBAQRCMEAwPgYIKwYBBQUHMAKGMmh0dHA6Ly9jY2Quc2VycHJvLmdvdi5ici9jYWRlaWFzL2Fjc2VycHJvcmZidjMucDdiMA0GCSqGSIb3DQEBCwUAA4ICAQBIMN+16Ohzx7nR3V/udK85NlFD0UJh2X9wjewGj3Iu5b8GPllq6NVXxbv6ToSrsdg32Zcs4W8xSxuVXqx+sQWbVBko6XAqkTzGPGh0JcwbOOB0qorKUmsUO4/MP2MTGzmbUC4EKMoxdSagZjis5S8bgbtChe5NMKCG3qL3j7pRopRDvPnjCgCDKpy1jamjWlMwuNLFEGhbCnUiITr6YGwarbj8RtUdJ+OTXeOAwDEd6qXOQEvazKVNM2+zbkz9Ou1Bu3IAxVHRXiOL2suUxXXruibULdeoGroXNGQOVH6tzEmlVw041cBt/oHxzdUlkWvQlSMzcgzyxUiO/cpAcW60xUSdhmtVnt/HEpvTTBOVvODD/Y+PKETv/iZ2+md4iEDGmbkPY76sAYw+zLWEdSOHLZm3HVzwkYM82XrpPhBWMfg6YFAgoXYhNY0BzITIM32DnHhFSsk/ohIopdGi+fz3fgl+Ndt+CHjge2Dibp0zx6j2bkSW2xp25+W4CvD8z/hEYVvIjOK40jmeEvyCt6e6ausdyF99Ox9e9CHXyWBt8xzicH8pj0B6GapsuFmTLlG6oITiis2qnA3LR6QlhIkI7dxQoGFBWr9OWRr66El76zm5u1SQxInJ1Tab24J80mYjMPA2vbB5n87lo3pVPwraWoHUifzxJX/YoLCl/23kLQ==</X509Certificate></X509Data></KeyInfo></Signature></NFe><protNFe versao="2.00"><infProt><tpAmb>1</tpAmb><verAplic>13_0_61</verAplic><chNFe>31130212345678901234551000000121181911360507</chNFe><dhRecbto>2013-02-22T09:32:54</dhRecbto><nProt>131131006404486</nProt><digVal>CAmkmMtOyPC1hfWU/LLGQUdAZ6Q=</digVal><cStat>100</cStat><xMotivo>Autorizado o uso da NF-e</xMotivo></infProt></protNFe></nfeProc>
|
@@ -0,0 +1,51 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe BrDanfe::Cst do
|
4
|
+
let(:xml_cst) do
|
5
|
+
xml = <<-eos
|
6
|
+
<imposto>
|
7
|
+
<ICMS>
|
8
|
+
<ICMS00>
|
9
|
+
<orig>5</orig>
|
10
|
+
<CST>00</CST>
|
11
|
+
<modBC>3</modBC>
|
12
|
+
<vBC>49.23</vBC>
|
13
|
+
<pICMS>12.00</pICMS>
|
14
|
+
<vICMS>5.90</vICMS>
|
15
|
+
</ICMS00>
|
16
|
+
</ICMS>
|
17
|
+
</imposto>
|
18
|
+
eos
|
19
|
+
|
20
|
+
Nokogiri::XML(xml)
|
21
|
+
end
|
22
|
+
|
23
|
+
let(:xml_csosn) do
|
24
|
+
xml = <<-eos
|
25
|
+
<imposto>
|
26
|
+
<ICMS>
|
27
|
+
<ICMSSN102>
|
28
|
+
<orig>4</orig>
|
29
|
+
<CSOSN>102</CSOSN>
|
30
|
+
</ICMSSN102>
|
31
|
+
</ICMS>
|
32
|
+
</imposto>
|
33
|
+
eos
|
34
|
+
|
35
|
+
Nokogiri::XML(xml)
|
36
|
+
end
|
37
|
+
|
38
|
+
describe ".to_danfe" do
|
39
|
+
context "when CST" do
|
40
|
+
it "returns origin + CST" do
|
41
|
+
expect(BrDanfe::Cst.to_danfe(xml_cst)).to eq "500"
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
context "when CSOSN" do
|
46
|
+
it "returns origin + CSOSN" do
|
47
|
+
expect(BrDanfe::Cst.to_danfe(xml_csosn)).to eq "4102"
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,84 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe BrDanfe::Helper do
|
4
|
+
describe ".format_date" do
|
5
|
+
it "returns a formated string" do
|
6
|
+
string = "2013-10-18T13:54:04"
|
7
|
+
expect(BrDanfe::Helper.format_date(string)).to eq "18/10/2013 13:54:04"
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
describe ".without_fiscal_value?" do
|
12
|
+
let(:xml_homologation) do
|
13
|
+
xml = <<-eos
|
14
|
+
<nfeProc>
|
15
|
+
<NFe>
|
16
|
+
<infNFe>
|
17
|
+
<ide>
|
18
|
+
<tpAmb>2</tpAmb>
|
19
|
+
</ide>
|
20
|
+
</infNFe>
|
21
|
+
<protNFe>
|
22
|
+
<infProt>
|
23
|
+
<dhRecbto>2011-10-29T14:37:09</dhRecbto>
|
24
|
+
</infProt>
|
25
|
+
</protNFe>
|
26
|
+
</NFe>
|
27
|
+
</nfeProc>
|
28
|
+
eos
|
29
|
+
|
30
|
+
Nokogiri::XML(xml)
|
31
|
+
end
|
32
|
+
|
33
|
+
let(:xml_unauthorized) do
|
34
|
+
xml = <<-eos
|
35
|
+
<nfeProc>
|
36
|
+
<protNFe>
|
37
|
+
<infProt></infProt>
|
38
|
+
</protNFe>
|
39
|
+
</nfeProc>
|
40
|
+
eos
|
41
|
+
|
42
|
+
Nokogiri::XML(xml)
|
43
|
+
end
|
44
|
+
|
45
|
+
let(:xml_authorized) do
|
46
|
+
xml = <<-eos
|
47
|
+
<nfeProc>
|
48
|
+
<NFe>
|
49
|
+
<infNFe>
|
50
|
+
<ide>
|
51
|
+
<tpAmb>1</tpAmb>
|
52
|
+
</ide>
|
53
|
+
</infNFe>
|
54
|
+
</NFe>
|
55
|
+
<protNFe>
|
56
|
+
<infProt>
|
57
|
+
<dhRecbto>2011-10-29T14:37:09</dhRecbto>
|
58
|
+
</infProt>
|
59
|
+
</protNFe>
|
60
|
+
</nfeProc>
|
61
|
+
eos
|
62
|
+
|
63
|
+
Nokogiri::XML(xml)
|
64
|
+
end
|
65
|
+
|
66
|
+
context "when XML is unauthorized" do
|
67
|
+
it "returns true" do
|
68
|
+
expect(BrDanfe::Helper.without_fiscal_value?(xml_unauthorized)).to eq true
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
context "when XML is in homologation environment" do
|
73
|
+
it "returns true" do
|
74
|
+
expect(BrDanfe::Helper.without_fiscal_value?(xml_homologation)).to eq true
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
context "when XML is authorized" do
|
79
|
+
it "returns false" do
|
80
|
+
expect(BrDanfe::Helper.without_fiscal_value?(xml_authorized)).to eq false
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|