br_danfe 0.6.1 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +25 -25
  3. data/lib/br_danfe/danfe.rb +52 -25
  4. data/lib/br_danfe/danfe_lib/det_body.rb +105 -46
  5. data/lib/br_danfe/danfe_lib/document.rb +3 -7
  6. data/lib/br_danfe/danfe_lib/emit_header.rb +36 -20
  7. data/lib/br_danfe/danfe_lib/infadic.rb +12 -12
  8. data/lib/br_danfe/danfe_lib/issqn.rb +19 -8
  9. data/lib/br_danfe/version.rb +1 -1
  10. data/spec/features/danfe_spec.rb +45 -0
  11. data/spec/fixtures/nfe/lib/det_body#render-csosn.pdf +1932 -332
  12. data/spec/fixtures/nfe/lib/det_body#render-cst.pdf +1182 -138
  13. data/spec/fixtures/nfe/lib/det_body#render-fci.pdf +809 -43
  14. data/spec/fixtures/nfe/lib/det_body#render-icms_st.pdf +809 -43
  15. data/spec/fixtures/nfe/lib/det_body#render-quantity_with_custom_precision.pdf +807 -41
  16. data/spec/fixtures/nfe/lib/det_body#render-three_pages.pdf +22414 -0
  17. data/spec/fixtures/nfe/lib/det_body#render-two_pages.pdf +21442 -0
  18. data/spec/fixtures/nfe/lib/det_body#render-unit_price_with_custom_precision.pdf +807 -41
  19. data/spec/fixtures/nfe/lib/det_body#render-with_infadprod.pdf +1012 -0
  20. data/spec/fixtures/nfe/lib/det_body#render-with_issqn.pdf +10124 -0
  21. data/spec/fixtures/nfe/lib/det_body#render-without_issqn.pdf +10124 -0
  22. data/spec/fixtures/nfe/lib/emit_header#render-second_page.pdf +792 -0
  23. data/spec/fixtures/nfe/lib/emit_header#render-with_logo.pdf +88 -8
  24. data/spec/fixtures/nfe/lib/emit_header#render-without_logo.pdf +85 -5
  25. data/spec/fixtures/nfe/lib/infadic#render-footer_information.pdf +111 -0
  26. data/spec/fixtures/nfe/lib/{issqn#render.pdf → issqn#render-with_issqn.pdf} +0 -0
  27. data/spec/fixtures/nfe/lib/issqn#render-with_one_issqn_value.pdf +129 -0
  28. data/spec/fixtures/nfe/lib/issqn#render-without_issqn.pdf +54 -0
  29. data/spec/fixtures/nfe/v2.00/custom_options.fixture.pdf +2190 -1067
  30. data/spec/fixtures/nfe/v2.00/nfe_simples_nacional.xml.fixture.pdf +2183 -1059
  31. data/spec/fixtures/nfe/v2.00/nfe_with_extra_volumes.xml.fixture.pdf +8803 -3208
  32. data/spec/fixtures/nfe/v2.00/nfe_with_fci.xml.fixture.pdf +1825 -1258
  33. data/spec/fixtures/nfe/v2.00/nfe_with_ns.xml.fixture.pdf +8609 -3014
  34. data/spec/fixtures/nfe/v2.00/nfe_without_ns.xml.fixture.pdf +2664 -1541
  35. data/spec/fixtures/nfe/v3.10/nfe_simples_nacional.xml.fixture.pdf +4701 -1909
  36. data/spec/fixtures/nfe/v3.10/with_footer.fixture.pdf +8660 -0
  37. data/spec/fixtures/nfe/v3.10/with_footer.xml +621 -0
  38. data/spec/fixtures/nfe/v3.10/with_issqn.fixture.pdf +8646 -0
  39. data/spec/fixtures/nfe/v3.10/with_issqn.xml +621 -0
  40. data/spec/fixtures/nfe/v3.10/with_three_pages.fixture.pdf +25420 -0
  41. data/spec/fixtures/nfe/v3.10/with_three_pages.xml +1281 -0
  42. data/spec/fixtures/nfe/v3.10/withot_issqn.fixture.pdf +10338 -0
  43. data/spec/fixtures/nfe/v3.10/withot_issqn.xml +688 -0
  44. data/spec/lib/danfe_lib/det_body_spec.rb +350 -264
  45. data/spec/lib/danfe_lib/emit_header_spec.rb +42 -18
  46. data/spec/lib/danfe_lib/issqn_spec.rb +39 -7
  47. metadata +38 -14
  48. data/lib/br_danfe/danfe_lib/det_header.rb +0 -40
  49. data/lib/br_danfe/danfe_lib/emit.rb +0 -23
  50. data/spec/fixtures/nfe/lib/det_header#render.pdf +0 -207
  51. data/spec/fixtures/nfe/lib/emit#render.pdf +0 -143
  52. data/spec/lib/danfe_lib/det_header_spec.rb +0 -26
  53. data/spec/lib/danfe_lib/emit_spec.rb +0 -60
@@ -0,0 +1,621 @@
1
+ <NFe xmlns="http://www.portalfiscal.inf.br/nfe">
2
+ <infNFe versao="3.10" Id="NFe35150162013294000143550010000000011000000017">
3
+ <ide>
4
+ <cUF>35</cUF>
5
+ <cNF>00000001</cNF>
6
+ <natOp>5101-Venda de producao do estabelecimento</natOp>
7
+ <indPag>1</indPag>
8
+ <mod>55</mod>
9
+ <serie>1</serie>
10
+ <nNF>1</nNF>
11
+ <dhEmi>2015-01-14T00:00:00-02:00</dhEmi>
12
+ <dhSaiEnt>2011-10-30T15:32:45-02:00</dhSaiEnt>
13
+ <tpNF>1</tpNF>
14
+ <idDest>1</idDest>
15
+ <cMunFG>3550308</cMunFG>
16
+ <tpImp>1</tpImp>
17
+ <tpEmis>1</tpEmis>
18
+ <cDV>7</cDV>
19
+ <tpAmb>1</tpAmb>
20
+ <finNFe>1</finNFe>
21
+ <indFinal>0</indFinal>
22
+ <indPres>0</indPres>
23
+ <procEmi>0</procEmi>
24
+ <verProc>1</verProc>
25
+ </ide>
26
+ <emit>
27
+ <CNPJ>62013294000143</CNPJ>
28
+ <xNome>Nome do Remetente Ltda</xNome>
29
+ <xFant>Nome Fantasia do Remetente Ltda</xFant>
30
+ <enderEmit>
31
+ <xLgr>Rua do Remetente, Casa</xLgr>
32
+ <nro>123</nro>
33
+ <xBairro>Bairro do Remetente</xBairro>
34
+ <cMun>3550308</cMun>
35
+ <xMun>SAO PAULO</xMun>
36
+ <UF>SP</UF>
37
+ <CEP>12345678</CEP>
38
+ <cPais>1058</cPais>
39
+ <xPais>BRASIL</xPais>
40
+ <fone>1112345678</fone>
41
+ </enderEmit>
42
+ <IE>526926313553</IE>
43
+ <CRT>1</CRT>
44
+ </emit>
45
+ <dest>
46
+ <CNPJ>71058884000183</CNPJ>
47
+ <xNome>Nome do Destinatario Pj Ltda</xNome>
48
+ <enderDest>
49
+ <xLgr>Rua do Destinatario Pj, Sl 1 e 2</xLgr>
50
+ <nro>345</nro>
51
+ <xBairro>Bairro do Destinatario Pj</xBairro>
52
+ <cMun>3552403</cMun>
53
+ <xMun>SUMARE</xMun>
54
+ <UF>SP</UF>
55
+ <CEP>23456789</CEP>
56
+ <cPais>1058</cPais>
57
+ <xPais>BRASIL</xPais>
58
+ <fone>1923456789</fone>
59
+ </enderDest>
60
+ <indIEDest>1</indIEDest>
61
+ <IE>671008375110</IE>
62
+ </dest>
63
+ <det nItem="1">
64
+ <prod>
65
+ <cProd>1</cProd>
66
+ <cEAN />
67
+ <xProd>Produto Com Csosn 101</xProd>
68
+ <NCM />
69
+ <CFOP>5101</CFOP>
70
+ <uCom>UN</uCom>
71
+ <qCom>2.00</qCom>
72
+ <vUnCom>1.01</vUnCom>
73
+ <vProd>2.02</vProd>
74
+ <cEANTrib />
75
+ <uTrib>UN</uTrib>
76
+ <qTrib>2.00</qTrib>
77
+ <vUnTrib>1.01</vUnTrib>
78
+ <indTot>1</indTot>
79
+ </prod>
80
+ <imposto>
81
+ <ICMS>
82
+ <ICMSSN101>
83
+ <orig>0</orig>
84
+ <CSOSN>101</CSOSN>
85
+ <pCredSN>0.00</pCredSN>
86
+ <vCredICMSSN>0.00</vCredICMSSN>
87
+ </ICMSSN101>
88
+ </ICMS>
89
+ <PIS>
90
+ <PISOutr>
91
+ <CST>99</CST>
92
+ <vBC>0.00</vBC>
93
+ <pPIS>0.00</pPIS>
94
+ <vPIS>0.00</vPIS>
95
+ </PISOutr>
96
+ </PIS>
97
+ <COFINS>
98
+ <COFINSOutr>
99
+ <CST>99</CST>
100
+ <vBC>0.00</vBC>
101
+ <pCOFINS>0.00</pCOFINS>
102
+ <vCOFINS>0.00</vCOFINS>
103
+ </COFINSOutr>
104
+ </COFINS>
105
+ </imposto>
106
+ </det>
107
+ <det nItem="2">
108
+ <prod>
109
+ <cProd>2</cProd>
110
+ <cEAN />
111
+ <xProd>Produto Com Csosn102</xProd>
112
+ <NCM />
113
+ <CFOP>5101</CFOP>
114
+ <uCom>UN</uCom>
115
+ <qCom>4.00</qCom>
116
+ <vUnCom>1.02</vUnCom>
117
+ <vProd>4.08</vProd>
118
+ <cEANTrib />
119
+ <uTrib>UN</uTrib>
120
+ <qTrib>4.00</qTrib>
121
+ <vUnTrib>1.02</vUnTrib>
122
+ <indTot>1</indTot>
123
+ </prod>
124
+ <imposto>
125
+ <ICMS>
126
+ <ICMSSN102>
127
+ <orig>0</orig>
128
+ <CSOSN>102</CSOSN>
129
+ </ICMSSN102>
130
+ </ICMS>
131
+ <PIS>
132
+ <PISOutr>
133
+ <CST>99</CST>
134
+ <vBC>0.00</vBC>
135
+ <pPIS>0.00</pPIS>
136
+ <vPIS>0.00</vPIS>
137
+ </PISOutr>
138
+ </PIS>
139
+ <COFINS>
140
+ <COFINSOutr>
141
+ <CST>99</CST>
142
+ <vBC>0.00</vBC>
143
+ <pCOFINS>0.00</pCOFINS>
144
+ <vCOFINS>0.00</vCOFINS>
145
+ </COFINSOutr>
146
+ </COFINS>
147
+ </imposto>
148
+ </det>
149
+ <det nItem="3">
150
+ <prod>
151
+ <cProd>3</cProd>
152
+ <cEAN />
153
+ <xProd>Produto Com Csosn 201</xProd>
154
+ <NCM />
155
+ <CFOP>5401</CFOP>
156
+ <uCom>UN</uCom>
157
+ <qCom>6.00</qCom>
158
+ <vUnCom>1.03</vUnCom>
159
+ <vProd>6.18</vProd>
160
+ <cEANTrib />
161
+ <uTrib>UN</uTrib>
162
+ <qTrib>6.00</qTrib>
163
+ <vUnTrib>1.03</vUnTrib>
164
+ <indTot>1</indTot>
165
+ </prod>
166
+ <imposto>
167
+ <ICMS>
168
+ <ICMSSN201>
169
+ <orig>0</orig>
170
+ <CSOSN>201</CSOSN>
171
+ <modBCST>4</modBCST>
172
+ <pMVAST>24.00</pMVAST>
173
+ <pRedBCST>100.00</pRedBCST>
174
+ <vBCST>7.66</vBCST>
175
+ <pICMSST>17.00</pICMSST>
176
+ <vICMSST>0.25</vICMSST>
177
+ <pCredSN>0.00</pCredSN>
178
+ <vCredICMSSN>0.00</vCredICMSSN>
179
+ </ICMSSN201>
180
+ </ICMS>
181
+ <PIS>
182
+ <PISOutr>
183
+ <CST>99</CST>
184
+ <vBC>0.00</vBC>
185
+ <pPIS>0.00</pPIS>
186
+ <vPIS>0.00</vPIS>
187
+ </PISOutr>
188
+ </PIS>
189
+ <COFINS>
190
+ <COFINSOutr>
191
+ <CST>99</CST>
192
+ <vBC>0.00</vBC>
193
+ <pCOFINS>0.00</pCOFINS>
194
+ <vCOFINS>0.00</vCOFINS>
195
+ </COFINSOutr>
196
+ </COFINS>
197
+ </imposto>
198
+ </det>
199
+ <det nItem="4">
200
+ <prod>
201
+ <cProd>4</cProd>
202
+ <cEAN />
203
+ <xProd>Produto Com Csosn 202</xProd>
204
+ <NCM />
205
+ <CFOP>5401</CFOP>
206
+ <uCom>UN</uCom>
207
+ <qCom>8.00</qCom>
208
+ <vUnCom>1.04</vUnCom>
209
+ <vProd>8.32</vProd>
210
+ <cEANTrib />
211
+ <uTrib>UN</uTrib>
212
+ <qTrib>8.00</qTrib>
213
+ <vUnTrib>1.04</vUnTrib>
214
+ <indTot>1</indTot>
215
+ </prod>
216
+ <imposto>
217
+ <ICMS>
218
+ <ICMSSN202>
219
+ <orig>0</orig>
220
+ <CSOSN>202</CSOSN>
221
+ <modBCST>4</modBCST>
222
+ <pMVAST>24.00</pMVAST>
223
+ <pRedBCST>100.00</pRedBCST>
224
+ <vBCST>10.32</vBCST>
225
+ <pICMSST>17.00</pICMSST>
226
+ <vICMSST>0.34</vICMSST>
227
+ </ICMSSN202>
228
+ </ICMS>
229
+ <PIS>
230
+ <PISOutr>
231
+ <CST>99</CST>
232
+ <vBC>0.00</vBC>
233
+ <pPIS>0.00</pPIS>
234
+ <vPIS>0.00</vPIS>
235
+ </PISOutr>
236
+ </PIS>
237
+ <COFINS>
238
+ <COFINSOutr>
239
+ <CST>99</CST>
240
+ <vBC>0.00</vBC>
241
+ <pCOFINS>0.00</pCOFINS>
242
+ <vCOFINS>0.00</vCOFINS>
243
+ </COFINSOutr>
244
+ </COFINS>
245
+ </imposto>
246
+ </det>
247
+ <det nItem="5">
248
+ <prod>
249
+ <cProd>5</cProd>
250
+ <cEAN />
251
+ <xProd>Produto Com Csosn 300</xProd>
252
+ <NCM />
253
+ <CFOP>5101</CFOP>
254
+ <uCom>UN</uCom>
255
+ <qCom>10.00</qCom>
256
+ <vUnCom>1.05</vUnCom>
257
+ <vProd>10.50</vProd>
258
+ <cEANTrib />
259
+ <uTrib>UN</uTrib>
260
+ <qTrib>10.00</qTrib>
261
+ <vUnTrib>1.05</vUnTrib>
262
+ <indTot>1</indTot>
263
+ </prod>
264
+ <imposto>
265
+ <ICMS>
266
+ <ICMSSN102>
267
+ <orig>0</orig>
268
+ <CSOSN>300</CSOSN>
269
+ </ICMSSN102>
270
+ </ICMS>
271
+ <PIS>
272
+ <PISOutr>
273
+ <CST>99</CST>
274
+ <vBC>0.00</vBC>
275
+ <pPIS>0.00</pPIS>
276
+ <vPIS>0.00</vPIS>
277
+ </PISOutr>
278
+ </PIS>
279
+ <COFINS>
280
+ <COFINSOutr>
281
+ <CST>99</CST>
282
+ <vBC>0.00</vBC>
283
+ <pCOFINS>0.00</pCOFINS>
284
+ <vCOFINS>0.00</vCOFINS>
285
+ </COFINSOutr>
286
+ </COFINS>
287
+ </imposto>
288
+ </det>
289
+ <det nItem="6">
290
+ <prod>
291
+ <cProd>6</cProd>
292
+ <cEAN />
293
+ <xProd>Produto Com Csosn 400</xProd>
294
+ <NCM />
295
+ <CFOP>5101</CFOP>
296
+ <uCom>UN</uCom>
297
+ <qCom>12.00</qCom>
298
+ <vUnCom>1.06</vUnCom>
299
+ <vProd>12.72</vProd>
300
+ <cEANTrib />
301
+ <uTrib>UN</uTrib>
302
+ <qTrib>12.00</qTrib>
303
+ <vUnTrib>1.06</vUnTrib>
304
+ <indTot>1</indTot>
305
+ </prod>
306
+ <imposto>
307
+ <ICMS>
308
+ <ICMSSN102>
309
+ <orig>0</orig>
310
+ <CSOSN>400</CSOSN>
311
+ </ICMSSN102>
312
+ </ICMS>
313
+ <PIS>
314
+ <PISOutr>
315
+ <CST>99</CST>
316
+ <vBC>0.00</vBC>
317
+ <pPIS>0.00</pPIS>
318
+ <vPIS>0.00</vPIS>
319
+ </PISOutr>
320
+ </PIS>
321
+ <COFINS>
322
+ <COFINSOutr>
323
+ <CST>99</CST>
324
+ <vBC>0.00</vBC>
325
+ <pCOFINS>0.00</pCOFINS>
326
+ <vCOFINS>0.00</vCOFINS>
327
+ </COFINSOutr>
328
+ </COFINS>
329
+ </imposto>
330
+ </det>
331
+ <det nItem="7">
332
+ <prod>
333
+ <cProd>7</cProd>
334
+ <cEAN />
335
+ <xProd>Produto Com Csosn 500</xProd>
336
+ <NCM />
337
+ <CFOP>5405</CFOP>
338
+ <uCom>UN</uCom>
339
+ <qCom>14.00</qCom>
340
+ <vUnCom>1.07</vUnCom>
341
+ <vProd>14.98</vProd>
342
+ <cEANTrib />
343
+ <uTrib>UN</uTrib>
344
+ <qTrib>14.00</qTrib>
345
+ <vUnTrib>1.07</vUnTrib>
346
+ <indTot>1</indTot>
347
+ </prod>
348
+ <imposto>
349
+ <ICMS>
350
+ <ICMSSN500>
351
+ <orig>0</orig>
352
+ <CSOSN>500</CSOSN>
353
+ </ICMSSN500>
354
+ </ICMS>
355
+ <PIS>
356
+ <PISOutr>
357
+ <CST>99</CST>
358
+ <vBC>0.00</vBC>
359
+ <pPIS>0.00</pPIS>
360
+ <vPIS>0.00</vPIS>
361
+ </PISOutr>
362
+ </PIS>
363
+ <COFINS>
364
+ <COFINSOutr>
365
+ <CST>99</CST>
366
+ <vBC>0.00</vBC>
367
+ <pCOFINS>0.00</pCOFINS>
368
+ <vCOFINS>0.00</vCOFINS>
369
+ </COFINSOutr>
370
+ </COFINS>
371
+ </imposto>
372
+ </det>
373
+ <det nItem="8">
374
+ <prod>
375
+ <cProd>8</cProd>
376
+ <cEAN />
377
+ <xProd>Produto Com Csosn 900</xProd>
378
+ <NCM />
379
+ <CFOP>5201</CFOP>
380
+ <uCom>UN</uCom>
381
+ <qCom>16.00</qCom>
382
+ <vUnCom>1.08</vUnCom>
383
+ <vProd>17.28</vProd>
384
+ <cEANTrib />
385
+ <uTrib>UN</uTrib>
386
+ <qTrib>16.00</qTrib>
387
+ <vUnTrib>1.08</vUnTrib>
388
+ <indTot>1</indTot>
389
+ </prod>
390
+ <imposto>
391
+ <ICMS>
392
+ <ICMSSN900>
393
+ <orig>0</orig>
394
+ <CSOSN>900</CSOSN>
395
+ <modBC>3</modBC>
396
+ <vBC>17.28</vBC>
397
+ <pRedBC>100.00</pRedBC>
398
+ <pICMS>0.00</pICMS>
399
+ <vICMS>0.00</vICMS>
400
+ </ICMSSN900>
401
+ </ICMS>
402
+ <PIS>
403
+ <PISOutr>
404
+ <CST>99</CST>
405
+ <vBC>0.00</vBC>
406
+ <pPIS>0.00</pPIS>
407
+ <vPIS>0.00</vPIS>
408
+ </PISOutr>
409
+ </PIS>
410
+ <COFINS>
411
+ <COFINSOutr>
412
+ <CST>99</CST>
413
+ <vBC>0.00</vBC>
414
+ <pCOFINS>0.00</pCOFINS>
415
+ <vCOFINS>0.00</vCOFINS>
416
+ </COFINSOutr>
417
+ </COFINS>
418
+ </imposto>
419
+ </det>
420
+ <det nItem="9">
421
+ <prod>
422
+ <cProd>9</cProd>
423
+ <cEAN />
424
+ <xProd>Produto Com DIFAL</xProd>
425
+ <NCM />
426
+ <CFOP>5201</CFOP>
427
+ <uCom>UN</uCom>
428
+ <qCom>16.00</qCom>
429
+ <vUnCom>1.08</vUnCom>
430
+ <vProd>17.28</vProd>
431
+ <cEANTrib />
432
+ <uTrib>UN</uTrib>
433
+ <qTrib>16.00</qTrib>
434
+ <vUnTrib>1.08</vUnTrib>
435
+ <indTot>1</indTot>
436
+ </prod>
437
+ <imposto>
438
+ <ICMS>
439
+ <ICMSSN900>
440
+ <orig>0</orig>
441
+ <CSOSN>900</CSOSN>
442
+ <modBC>3</modBC>
443
+ <vBC>17.28</vBC>
444
+ <pRedBC>100.00</pRedBC>
445
+ <pICMS>0.00</pICMS>
446
+ <vICMS>0.00</vICMS>
447
+ </ICMSSN900>
448
+ </ICMS>
449
+ <ICMSUFDest>
450
+ <vBCUFDest>12000.53</vBCUFDest>
451
+ <pFCPUFDest>17.90</pFCPUFDest>
452
+ <pICMSUFDest>21.51</pICMSUFDest>
453
+ <pICMSInter>12.45</pICMSInter>
454
+ <pICMSInterPart>40</pICMSInterPart>
455
+ <vFCPUFDest>11002.35</vFCPUFDest>
456
+ <vICMSUFDest>19282.47</vICMSUFDest>
457
+ <vICMSUFRemet>12344.56</vICMSUFRemet>
458
+ </ICMSUFDest>
459
+ <PIS>
460
+ <PISOutr>
461
+ <CST>99</CST>
462
+ <vBC>0.00</vBC>
463
+ <pPIS>0.00</pPIS>
464
+ <vPIS>0.00</vPIS>
465
+ </PISOutr>
466
+ </PIS>
467
+ <COFINS>
468
+ <COFINSOutr>
469
+ <CST>99</CST>
470
+ <vBC>0.00</vBC>
471
+ <pCOFINS>0.00</pCOFINS>
472
+ <vCOFINS>0.00</vCOFINS>
473
+ </COFINSOutr>
474
+ </COFINS>
475
+ </imposto>
476
+ </det>
477
+ <det nItem="10">
478
+ <prod>
479
+ <cProd>10</cProd>
480
+ <cEAN />
481
+ <xProd>Produto Com Csosn 101</xProd>
482
+ <NCM />
483
+ <CFOP>5101</CFOP>
484
+ <uCom>UN</uCom>
485
+ <qCom>2.00</qCom>
486
+ <vUnCom>1.01</vUnCom>
487
+ <vProd>2.02</vProd>
488
+ <cEANTrib />
489
+ <uTrib>UN</uTrib>
490
+ <qTrib>2.00</qTrib>
491
+ <vUnTrib>1.01</vUnTrib>
492
+ <indTot>1</indTot>
493
+ </prod>
494
+ </det>
495
+ <det nItem="11">
496
+ <prod>
497
+ <cProd>11</cProd>
498
+ <cEAN />
499
+ <xProd>Produto Com Csosn 101</xProd>
500
+ <NCM />
501
+ <CFOP>5101</CFOP>
502
+ <uCom>UN</uCom>
503
+ <qCom>2.00</qCom>
504
+ <vUnCom>1.01</vUnCom>
505
+ <vProd>2.02</vProd>
506
+ <cEANTrib />
507
+ <uTrib>UN</uTrib>
508
+ <qTrib>2.00</qTrib>
509
+ <vUnTrib>1.01</vUnTrib>
510
+ <indTot>1</indTot>
511
+ </prod>
512
+ </det>
513
+ <det nItem="12">
514
+ <prod>
515
+ <cProd>12</cProd>
516
+ <cEAN />
517
+ <xProd>Produto Com Csosn 101</xProd>
518
+ <NCM />
519
+ <CFOP>5101</CFOP>
520
+ <uCom>UN</uCom>
521
+ <qCom>2.00</qCom>
522
+ <vUnCom>1.01</vUnCom>
523
+ <vProd>2.02</vProd>
524
+ <cEANTrib />
525
+ <uTrib>UN</uTrib>
526
+ <qTrib>2.00</qTrib>
527
+ <vUnTrib>1.01</vUnTrib>
528
+ <indTot>1</indTot>
529
+ </prod>
530
+ </det>
531
+ <det nItem="13">
532
+ <prod>
533
+ <cProd>13</cProd>
534
+ <cEAN />
535
+ <xProd>Produto Com Csosn 101</xProd>
536
+ <NCM />
537
+ <CFOP>5101</CFOP>
538
+ <uCom>UN</uCom>
539
+ <qCom>2.00</qCom>
540
+ <vUnCom>1.01</vUnCom>
541
+ <vProd>2.02</vProd>
542
+ <cEANTrib />
543
+ <uTrib>UN</uTrib>
544
+ <qTrib>2.00</qTrib>
545
+ <vUnTrib>1.01</vUnTrib>
546
+ <indTot>1</indTot>
547
+ </prod>
548
+ </det>
549
+ <det nItem="14">
550
+ <prod>
551
+ <cProd>14</cProd>
552
+ <cEAN />
553
+ <xProd>Produto Com Csosn 101</xProd>
554
+ <NCM />
555
+ <CFOP>5101</CFOP>
556
+ <uCom>UN</uCom>
557
+ <qCom>2.00</qCom>
558
+ <vUnCom>1.01</vUnCom>
559
+ <vProd>2.02</vProd>
560
+ <cEANTrib />
561
+ <uTrib>UN</uTrib>
562
+ <qTrib>2.00</qTrib>
563
+ <vUnTrib>1.01</vUnTrib>
564
+ <indTot>1</indTot>
565
+ </prod>
566
+ </det>
567
+ <total>
568
+ <ICMSTot>
569
+ <vBC>17.28</vBC>
570
+ <vICMS>0.00</vICMS>
571
+ <vICMSDeson>0.00</vICMSDeson>
572
+ <vFCPUFDest>4892.78</vFCPUFDest>
573
+ <vICMSUFDest>2915.78</vICMSUFDest>
574
+ <vICMSUFRemet>75394.78</vICMSUFRemet>
575
+ <vBCST>17.98</vBCST>
576
+ <vST>0.59</vST>
577
+ <vProd>76.08</vProd>
578
+ <vFrete>0.00</vFrete>
579
+ <vSeg>0.00</vSeg>
580
+ <vDesc>0.00</vDesc>
581
+ <vII>0.00</vII>
582
+ <vIPI>0.00</vIPI>
583
+ <vPIS>0.00</vPIS>
584
+ <vCOFINS>0.00</vCOFINS>
585
+ <vOutro>0.00</vOutro>
586
+ <vNF>76.67</vNF>
587
+ </ICMSTot>
588
+ <ISSQNtot>
589
+ <vServ>1.43</vServ>
590
+ <vBC>2.34</vBC>
591
+ <vISS>3.45</vISS>
592
+ </ISSQNtot>
593
+ </total>
594
+ <transp>
595
+ <modFrete>0</modFrete>
596
+ </transp>
597
+ <cobr>
598
+ <fat>
599
+ <nFat>1</nFat>
600
+ </fat>
601
+ <dup>
602
+ <nDup>1</nDup>
603
+ <dVenc>2015-02-13</dVenc>
604
+ <vDup>25.56</vDup>
605
+ </dup>
606
+ <dup>
607
+ <nDup>2</nDup>
608
+ <dVenc>2015-03-15</dVenc>
609
+ <vDup>25.56</vDup>
610
+ </dup>
611
+ <dup>
612
+ <nDup>3</nDup>
613
+ <dVenc>2015-04-14</dVenc>
614
+ <vDup>25.55</vDup>
615
+ </dup>
616
+ </cobr>
617
+ <infAdic>
618
+ <infCpl>Teste Com Observacao * PERMITE O APROVEITAMENTO DO CREDITO DE ICMS NO VALOR DE R$ 0,00; CORRESPONDENTE A ALIQUOTA DE 0,00%; NOS TERMOS DO ARTIGO 23 DA LC 123/2006 * OPERACAO SUJEITA A SUBSTITUICAO TRIBUTARIA CONFORME ANEXO 3 DO RICMS/SC * DOCUMENTO EMITIDO POR ME OU EPP OPTANTE PELO SIMPLES NACIONAL * NAO GERA DIREITO A CREDITO FISCAL DE IPI</infCpl>
619
+ </infAdic>
620
+ </infNFe>
621
+ </NFe>