br_danfe 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +10 -10
- data/config/locales/pt-BR.yml +3 -3
- data/lib/br_danfe/danfe_lib/det_body.rb +14 -13
- data/lib/br_danfe/danfe_lib/det_header.rb +14 -14
- data/lib/br_danfe/version.rb +1 -1
- data/spec/fixtures/nfe/lib/det_body#render-csosn.pdf +197 -260
- data/spec/fixtures/nfe/lib/det_body#render-cst.pdf +116 -144
- data/spec/fixtures/nfe/lib/det_body#render-fci.pdf +53 -74
- data/spec/fixtures/nfe/lib/det_body#render-icms_st.pdf +53 -74
- data/spec/fixtures/nfe/lib/det_body#render-quantity_with_custom_precision.pdf +48 -62
- data/spec/fixtures/nfe/lib/det_body#render-unit_price_with_custom_precision.pdf +48 -62
- data/spec/fixtures/nfe/lib/det_header#render.pdf +35 -35
- data/spec/fixtures/nfe/v2.00/custom_options.fixture.pdf +179 -221
- data/spec/fixtures/nfe/v2.00/nfe_simples_nacional.xml.fixture.pdf +177 -219
- data/spec/fixtures/nfe/v2.00/nfe_with_extra_volumes.xml.fixture.pdf +882 -1092
- data/spec/fixtures/nfe/v2.00/nfe_with_fci.xml.fixture.pdf +107 -128
- data/spec/fixtures/nfe/v2.00/nfe_with_ns.xml.fixture.pdf +882 -1092
- data/spec/fixtures/nfe/v2.00/nfe_without_ns.xml.fixture.pdf +206 -248
- data/spec/fixtures/nfe/v3.10/nfe_simples_nacional.xml.fixture.pdf +453 -593
- metadata +2 -2
@@ -17,254 +17,233 @@ endobj
|
|
17
17
|
>>
|
18
18
|
endobj
|
19
19
|
4 0 obj
|
20
|
-
<< /Length
|
20
|
+
<< /Length 2669
|
21
21
|
>>
|
22
22
|
stream
|
23
23
|
q
|
24
24
|
0.3 w
|
25
|
-
[0.3 0.6] 0.0 d
|
26
25
|
0.3 w
|
27
26
|
/DeviceRGB CS
|
28
27
|
0.000 0.000 0.000 SCN
|
29
|
-
21.2598
|
30
|
-
|
28
|
+
21.2598 304.0747 m
|
29
|
+
66.6142 304.0747 l
|
31
30
|
S
|
32
31
|
[] 0 d
|
33
32
|
0.3 w
|
34
33
|
0.000 0.000 0.000 SCN
|
35
34
|
|
36
35
|
BT
|
37
|
-
23.2598
|
38
|
-
/F1.0 6 Tf
|
39
|
-
[<
|
36
|
+
23.2598 314.7359 Td
|
37
|
+
/F1.0 6.5 Tf
|
38
|
+
[<463231313133303130313030>] TJ
|
39
|
+
ET
|
40
|
+
|
41
|
+
|
42
|
+
BT
|
43
|
+
23.2598 307.4819 Td
|
44
|
+
/F1.0 6.5 Tf
|
45
|
+
[<30>] TJ
|
40
46
|
ET
|
41
47
|
|
42
|
-
[0.3 0.6] 0.0 d
|
43
48
|
0.3 w
|
44
49
|
0.000 0.000 0.000 SCN
|
45
|
-
|
46
|
-
|
50
|
+
66.6142 304.0747 m
|
51
|
+
239.5276 304.0747 l
|
47
52
|
S
|
48
53
|
[] 0 d
|
49
54
|
0.3 w
|
50
55
|
0.000 0.000 0.000 SCN
|
51
56
|
|
52
57
|
BT
|
53
|
-
|
54
|
-
/F1.0 6 Tf
|
55
|
-
[<414d504552494d455452> 40 <
|
58
|
+
68.6142 314.7359 Td
|
59
|
+
/F1.0 6.5 Tf
|
60
|
+
[<414d504552494d455452> 40 <4f20464d37325043203330302f354120434f44203334393131393238343320524c>] TJ
|
56
61
|
ET
|
57
62
|
|
58
63
|
|
59
64
|
BT
|
60
|
-
|
61
|
-
/F1.0 6 Tf
|
62
|
-
[<
|
65
|
+
68.6142 307.4819 Td
|
66
|
+
/F1.0 6.5 Tf
|
67
|
+
[<4643493a2031323233323533312d373442322d344644442d383741362d434630414433453535333836>] TJ
|
63
68
|
ET
|
64
69
|
|
65
|
-
|
66
|
-
BT
|
67
|
-
65.7795 301.7937 Td
|
68
|
-
/F1.0 6 Tf
|
69
|
-
[<4643493a2031323233323533312d373442322d344644442d383741362d>] TJ
|
70
|
-
ET
|
71
|
-
|
72
|
-
|
73
|
-
BT
|
74
|
-
65.7795 295.0977 Td
|
75
|
-
/F1.0 6 Tf
|
76
|
-
[<434630414433453535333836>] TJ
|
77
|
-
ET
|
78
|
-
|
79
|
-
[0.3 0.6] 0.0 d
|
80
70
|
0.3 w
|
81
71
|
0.000 0.000 0.000 SCN
|
82
|
-
|
83
|
-
|
72
|
+
239.5276 304.0747 m
|
73
|
+
269.2913 304.0747 l
|
84
74
|
S
|
85
75
|
[] 0 d
|
86
76
|
0.3 w
|
87
77
|
0.000 0.000 0.000 SCN
|
88
78
|
|
89
79
|
BT
|
90
|
-
|
91
|
-
/F1.0 6 Tf
|
80
|
+
241.5276 314.7359 Td
|
81
|
+
/F1.0 6.5 Tf
|
92
82
|
[<3930333033333239>] TJ
|
93
83
|
ET
|
94
84
|
|
95
|
-
[0.3 0.6] 0.0 d
|
96
85
|
0.3 w
|
97
86
|
0.000 0.000 0.000 SCN
|
98
|
-
|
99
|
-
|
87
|
+
269.2913 304.0747 m
|
88
|
+
286.2992 304.0747 l
|
100
89
|
S
|
101
90
|
[] 0 d
|
102
91
|
0.3 w
|
103
92
|
0.000 0.000 0.000 SCN
|
104
93
|
|
105
94
|
BT
|
106
|
-
|
107
|
-
/F1.0 6 Tf
|
95
|
+
271.2913 314.7359 Td
|
96
|
+
/F1.0 6.5 Tf
|
108
97
|
[<353030>] TJ
|
109
98
|
ET
|
110
99
|
|
111
|
-
[0.3 0.6] 0.0 d
|
112
100
|
0.3 w
|
113
101
|
0.000 0.000 0.000 SCN
|
114
|
-
|
115
|
-
|
102
|
+
286.2992 304.0747 m
|
103
|
+
306.1417 304.0747 l
|
116
104
|
S
|
117
105
|
[] 0 d
|
118
106
|
0.3 w
|
119
107
|
0.000 0.000 0.000 SCN
|
120
108
|
|
121
109
|
BT
|
122
|
-
|
123
|
-
/F1.0 6 Tf
|
110
|
+
288.2992 314.7359 Td
|
111
|
+
/F1.0 6.5 Tf
|
124
112
|
[<35313031>] TJ
|
125
113
|
ET
|
126
114
|
|
127
|
-
[0.3 0.6] 0.0 d
|
128
115
|
0.3 w
|
129
116
|
0.000 0.000 0.000 SCN
|
130
|
-
|
131
|
-
|
117
|
+
306.1417 304.0747 m
|
118
|
+
335.9055 304.0747 l
|
132
119
|
S
|
133
120
|
[] 0 d
|
134
121
|
0.3 w
|
135
122
|
0.000 0.000 0.000 SCN
|
136
123
|
|
137
124
|
BT
|
138
|
-
|
139
|
-
/F1.0 6 Tf
|
125
|
+
308.1417 314.7359 Td
|
126
|
+
/F1.0 6.5 Tf
|
140
127
|
[<5043>] TJ
|
141
128
|
ET
|
142
129
|
|
143
|
-
[0.3 0.6] 0.0 d
|
144
130
|
0.3 w
|
145
131
|
0.000 0.000 0.000 SCN
|
146
|
-
|
147
|
-
|
132
|
+
335.9055 304.0747 m
|
133
|
+
369.9213 304.0747 l
|
148
134
|
S
|
149
135
|
[] 0 d
|
150
136
|
0.3 w
|
151
137
|
0.000 0.000 0.000 SCN
|
152
138
|
|
153
139
|
BT
|
154
|
-
|
155
|
-
/F1.0 6 Tf
|
140
|
+
357.5463 314.7359 Td
|
141
|
+
/F1.0 6.5 Tf
|
156
142
|
[<312c3030>] TJ
|
157
143
|
ET
|
158
144
|
|
159
|
-
[0.3 0.6] 0.0 d
|
160
145
|
0.3 w
|
161
146
|
0.000 0.000 0.000 SCN
|
162
|
-
|
163
|
-
|
147
|
+
369.9213 304.0747 m
|
148
|
+
403.937 304.0747 l
|
164
149
|
S
|
165
150
|
[] 0 d
|
166
151
|
0.3 w
|
167
152
|
0.000 0.000 0.000 SCN
|
168
153
|
|
169
154
|
BT
|
170
|
-
|
171
|
-
/F1.0 6 Tf
|
155
|
+
388.312 314.7359 Td
|
156
|
+
/F1.0 6.5 Tf
|
172
157
|
[<34392c3233>] TJ
|
173
158
|
ET
|
174
159
|
|
175
|
-
[0.3 0.6] 0.0 d
|
176
160
|
0.3 w
|
177
161
|
0.000 0.000 0.000 SCN
|
178
|
-
|
179
|
-
|
162
|
+
403.937 304.0747 m
|
163
|
+
437.9528 304.0747 l
|
180
164
|
S
|
181
165
|
[] 0 d
|
182
166
|
0.3 w
|
183
167
|
0.000 0.000 0.000 SCN
|
184
168
|
|
185
169
|
BT
|
186
|
-
|
187
|
-
/F1.0 6 Tf
|
170
|
+
422.3278 314.7359 Td
|
171
|
+
/F1.0 6.5 Tf
|
188
172
|
[<34392c3233>] TJ
|
189
173
|
ET
|
190
174
|
|
191
|
-
[0.3 0.6] 0.0 d
|
192
175
|
0.3 w
|
193
176
|
0.000 0.000 0.000 SCN
|
194
|
-
|
195
|
-
|
177
|
+
437.9528 304.0747 m
|
178
|
+
471.9685 304.0747 l
|
196
179
|
S
|
197
180
|
[] 0 d
|
198
181
|
0.3 w
|
199
182
|
0.000 0.000 0.000 SCN
|
200
183
|
|
201
184
|
BT
|
202
|
-
|
203
|
-
/F1.0 6 Tf
|
185
|
+
456.3435 314.7359 Td
|
186
|
+
/F1.0 6.5 Tf
|
204
187
|
[<34392c3233>] TJ
|
205
188
|
ET
|
206
189
|
|
207
|
-
[0.3 0.6] 0.0 d
|
208
190
|
0.3 w
|
209
191
|
0.000 0.000 0.000 SCN
|
210
|
-
|
211
|
-
|
192
|
+
471.9685 304.0747 m
|
193
|
+
500.315 304.0747 l
|
212
194
|
S
|
213
195
|
[] 0 d
|
214
196
|
0.3 w
|
215
197
|
0.000 0.000 0.000 SCN
|
216
198
|
|
217
199
|
BT
|
218
|
-
|
219
|
-
/F1.0 6 Tf
|
200
|
+
487.94 314.7359 Td
|
201
|
+
/F1.0 6.5 Tf
|
220
202
|
[<352c3930>] TJ
|
221
203
|
ET
|
222
204
|
|
223
|
-
[0.3 0.6] 0.0 d
|
224
205
|
0.3 w
|
225
206
|
0.000 0.000 0.000 SCN
|
226
|
-
|
227
|
-
|
207
|
+
500.315 304.0747 m
|
208
|
+
528.6614 304.0747 l
|
228
209
|
S
|
229
210
|
[] 0 d
|
230
211
|
0.3 w
|
231
212
|
0.000 0.000 0.000 SCN
|
232
213
|
|
233
214
|
BT
|
234
|
-
|
235
|
-
/F1.0 6 Tf
|
215
|
+
516.2864 314.7359 Td
|
216
|
+
/F1.0 6.5 Tf
|
236
217
|
[<322c3436>] TJ
|
237
218
|
ET
|
238
219
|
|
239
|
-
[0.3 0.6] 0.0 d
|
240
220
|
0.3 w
|
241
221
|
0.000 0.000 0.000 SCN
|
242
|
-
|
243
|
-
|
222
|
+
528.6614 304.0747 m
|
223
|
+
554.1732 304.0747 l
|
244
224
|
S
|
245
225
|
[] 0 d
|
246
226
|
0.3 w
|
247
227
|
0.000 0.000 0.000 SCN
|
248
228
|
|
249
229
|
BT
|
250
|
-
|
251
|
-
/F1.0 6 Tf
|
230
|
+
538.5482 314.7359 Td
|
231
|
+
/F1.0 6.5 Tf
|
252
232
|
[<31322c3030>] TJ
|
253
233
|
ET
|
254
234
|
|
255
|
-
[0.3 0.6] 0.0 d
|
256
235
|
0.3 w
|
257
236
|
0.000 0.000 0.000 SCN
|
258
|
-
|
259
|
-
575.7165
|
237
|
+
554.1732 304.0747 m
|
238
|
+
575.7165 304.0747 l
|
260
239
|
S
|
261
240
|
[] 0 d
|
262
241
|
0.3 w
|
263
242
|
0.000 0.000 0.000 SCN
|
264
243
|
|
265
244
|
BT
|
266
|
-
|
267
|
-
/F1.0 6 Tf
|
245
|
+
563.3415 314.7359 Td
|
246
|
+
/F1.0 6.5 Tf
|
268
247
|
[<352c3030>] TJ
|
269
248
|
ET
|
270
249
|
|
@@ -348,7 +327,7 @@ endobj
|
|
348
327
|
/F3.0 10 0 R
|
349
328
|
>>
|
350
329
|
>>
|
351
|
-
/Length
|
330
|
+
/Length 22746
|
352
331
|
>>
|
353
332
|
stream
|
354
333
|
q
|
@@ -1729,7 +1708,7 @@ BT
|
|
1729
1708
|
[<44> 35 <41444f5320444f205052> 30 <4f445554> 18 <4f202f20534552> 55 <5649c74f>] TJ
|
1730
1709
|
ET
|
1731
1710
|
|
1732
|
-
21.2598 148.5354
|
1711
|
+
21.2598 148.5354 45.3543 181.4173 re
|
1733
1712
|
S
|
1734
1713
|
|
1735
1714
|
BT
|
@@ -1738,119 +1717,119 @@ BT
|
|
1738
1717
|
[<43d34449474f>] TJ
|
1739
1718
|
ET
|
1740
1719
|
|
1741
|
-
|
1720
|
+
66.6142 148.5354 172.9134 181.4173 re
|
1742
1721
|
S
|
1743
1722
|
|
1744
1723
|
BT
|
1745
|
-
|
1724
|
+
68.6142 323.8548 Td
|
1746
1725
|
/F1.0 6 Tf
|
1747
1726
|
[<444553435249c7c3> 55 <4f>] TJ
|
1748
1727
|
ET
|
1749
1728
|
|
1750
|
-
|
1729
|
+
239.5276 148.5354 29.7638 181.4173 re
|
1751
1730
|
S
|
1752
1731
|
|
1753
1732
|
BT
|
1754
|
-
|
1733
|
+
241.5276 323.8548 Td
|
1755
1734
|
/F1.0 6 Tf
|
1756
1735
|
[<4e434d>] TJ
|
1757
1736
|
ET
|
1758
1737
|
|
1759
|
-
|
1738
|
+
269.2913 148.5354 17.0079 181.4173 re
|
1760
1739
|
S
|
1761
1740
|
|
1762
1741
|
BT
|
1763
|
-
|
1742
|
+
271.2913 323.8548 Td
|
1764
1743
|
/F1.0 6 Tf
|
1765
1744
|
[<435354>] TJ
|
1766
1745
|
ET
|
1767
1746
|
|
1768
|
-
|
1747
|
+
286.2992 148.5354 19.8425 181.4173 re
|
1769
1748
|
S
|
1770
1749
|
|
1771
1750
|
BT
|
1772
|
-
|
1751
|
+
288.2992 323.8548 Td
|
1773
1752
|
/F1.0 6 Tf
|
1774
1753
|
[<43464f50>] TJ
|
1775
1754
|
ET
|
1776
1755
|
|
1777
|
-
|
1756
|
+
306.1417 148.5354 29.7638 181.4173 re
|
1778
1757
|
S
|
1779
1758
|
|
1780
1759
|
BT
|
1781
|
-
|
1760
|
+
308.1417 323.8548 Td
|
1782
1761
|
/F1.0 6 Tf
|
1783
1762
|
[<554e4944>] TJ
|
1784
1763
|
ET
|
1785
1764
|
|
1786
|
-
|
1765
|
+
335.9055 148.5354 34.0157 181.4173 re
|
1787
1766
|
S
|
1788
1767
|
|
1789
1768
|
BT
|
1790
|
-
|
1769
|
+
337.9055 323.8548 Td
|
1791
1770
|
/F1.0 6 Tf
|
1792
1771
|
[<51> 10 <55> 40 <414e54>] TJ
|
1793
1772
|
ET
|
1794
1773
|
|
1795
|
-
|
1774
|
+
369.9213 148.5354 34.0157 181.4173 re
|
1796
1775
|
S
|
1797
1776
|
|
1798
1777
|
BT
|
1799
|
-
|
1778
|
+
371.9213 323.8548 Td
|
1800
1779
|
/F1.0 6 Tf
|
1801
|
-
[<
|
1780
|
+
[<564c20554e4954>] TJ
|
1802
1781
|
ET
|
1803
1782
|
|
1804
|
-
|
1783
|
+
403.937 148.5354 34.0157 181.4173 re
|
1805
1784
|
S
|
1806
1785
|
|
1807
1786
|
BT
|
1808
|
-
|
1787
|
+
405.937 323.8548 Td
|
1809
1788
|
/F1.0 6 Tf
|
1810
|
-
[<
|
1789
|
+
[<564c2054> 18 <4f> 40 <54> 93 <414c>] TJ
|
1811
1790
|
ET
|
1812
1791
|
|
1813
|
-
|
1792
|
+
437.9528 148.5354 34.0157 181.4173 re
|
1814
1793
|
S
|
1815
1794
|
|
1816
1795
|
BT
|
1817
|
-
|
1796
|
+
439.9528 323.8548 Td
|
1818
1797
|
/F1.0 6 Tf
|
1819
|
-
[<
|
1798
|
+
[<42432049434d53>] TJ
|
1820
1799
|
ET
|
1821
1800
|
|
1822
|
-
|
1801
|
+
471.9685 148.5354 28.3465 181.4173 re
|
1823
1802
|
S
|
1824
1803
|
|
1825
1804
|
BT
|
1826
|
-
|
1805
|
+
473.9685 323.8548 Td
|
1827
1806
|
/F1.0 6 Tf
|
1828
1807
|
[<564c2049434d53>] TJ
|
1829
1808
|
ET
|
1830
1809
|
|
1831
|
-
|
1810
|
+
500.315 148.5354 28.3465 181.4173 re
|
1832
1811
|
S
|
1833
1812
|
|
1834
1813
|
BT
|
1835
|
-
|
1814
|
+
502.315 323.8548 Td
|
1836
1815
|
/F1.0 6 Tf
|
1837
1816
|
[<564c20495049>] TJ
|
1838
1817
|
ET
|
1839
1818
|
|
1840
|
-
|
1819
|
+
528.6614 148.5354 25.5118 181.4173 re
|
1841
1820
|
S
|
1842
1821
|
|
1843
1822
|
BT
|
1844
|
-
|
1823
|
+
530.6614 323.8548 Td
|
1845
1824
|
/F1.0 6 Tf
|
1846
1825
|
[<252049434d53>] TJ
|
1847
1826
|
ET
|
1848
1827
|
|
1849
|
-
|
1828
|
+
554.1732 148.5354 21.5433 181.4173 re
|
1850
1829
|
S
|
1851
1830
|
|
1852
1831
|
BT
|
1853
|
-
|
1832
|
+
556.1732 323.8548 Td
|
1854
1833
|
/F1.0 6 Tf
|
1855
1834
|
[<2520495049>] TJ
|
1856
1835
|
ET
|
@@ -1964,17 +1943,17 @@ xref
|
|
1964
1943
|
0000000109 00000 n
|
1965
1944
|
0000000158 00000 n
|
1966
1945
|
0000000215 00000 n
|
1967
|
-
|
1968
|
-
|
1969
|
-
|
1970
|
-
|
1971
|
-
|
1972
|
-
|
1946
|
+
0000002936 00000 n
|
1947
|
+
0000003157 00000 n
|
1948
|
+
0000003654 00000 n
|
1949
|
+
0000003753 00000 n
|
1950
|
+
0000026674 00000 n
|
1951
|
+
0000026772 00000 n
|
1973
1952
|
trailer
|
1974
1953
|
<< /Size 11
|
1975
1954
|
/Root 2 0 R
|
1976
1955
|
/Info 1 0 R
|
1977
1956
|
>>
|
1978
1957
|
startxref
|
1979
|
-
|
1958
|
+
26873
|
1980
1959
|
%%EOF
|