Subversion Repositories Integrator Subversion

Rev

Rev 182 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 espaco 1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- edited with XMLSpy v2008 (http://www.altova.com) by softwares@procergs.rs.gov.br (PROCERGS) -->
3
<!-- PL_008g  alterações de esquema decorrentes da - NT2015.002  - 15/07/2015 -->
4
<!-- PL_008h  alterações de esquema decorrentes da - NT2015.003 - 17/09/2015 -->
5
<!-- PL_008i -->
6
<xs:schema xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/nfe" targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified" attributeFormDefault="unqualified">
7
        <xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema_v1.01.xsd"/>
8
        <xs:include schemaLocation="tiposBasico_v3.10.xsd"/>
9
        <xs:complexType name="TNFe">
10
                <xs:annotation>
11
                        <xs:documentation>Tipo Nota Fiscal Eletrônica</xs:documentation>
12
                </xs:annotation>
13
                <xs:sequence>
14
                        <xs:element name="infNFe">
15
                                <xs:annotation>
16
                                        <xs:documentation>Informações da Nota Fiscal eletrônica</xs:documentation>
17
                                </xs:annotation>
18
                                <xs:complexType>
19
                                        <xs:sequence>
20
                                                <xs:element name="ide">
21
                                                        <xs:annotation>
22
                                                                <xs:documentation>identificação da NF-e</xs:documentation>
23
                                                        </xs:annotation>
24
                                                        <xs:complexType>
25
                                                                <xs:sequence>
26
                                                                        <xs:element name="cUF" type="TCodUfIBGE">
27
                                                                                <xs:annotation>
28
                                                                                        <xs:documentation>Código da UF do emitente do Documento Fiscal. Utilizar a Tabela do IBGE.</xs:documentation>
29
                                                                                </xs:annotation>
30
                                                                        </xs:element>
31
                                                                        <xs:element name="cNF">
32
                                                                                <xs:annotation>
33
                                                                                        <xs:documentation>Código numérico que compõe a Chave de Acesso. Número aleatório gerado pelo emitente para cada NF-e.</xs:documentation>
34
                                                                                </xs:annotation>
35
                                                                                <xs:simpleType>
36
                                                                                        <xs:restriction base="xs:string">
37
                                                                                                <xs:whiteSpace value="preserve"/>
38
                                                                                                <xs:pattern value="[0-9]{8}"/>
39
                                                                                        </xs:restriction>
40
                                                                                </xs:simpleType>
41
                                                                        </xs:element>
42
                                                                        <xs:element name="natOp">
43
                                                                                <xs:annotation>
44
                                                                                        <xs:documentation>Descrição da Natureza da Operação</xs:documentation>
45
                                                                                </xs:annotation>
46
                                                                                <xs:simpleType>
47
                                                                                        <xs:restriction base="TString">
48
                                                                                                <xs:minLength value="1"/>
49
                                                                                                <xs:maxLength value="60"/>
50
                                                                                        </xs:restriction>
51
                                                                                </xs:simpleType>
52
                                                                        </xs:element>
53
                                                                        <xs:element name="indPag">
54
                                                                                <xs:annotation>
55
                                                                                        <xs:documentation>Indicador da forma de pagamento:
56
 
57
1 – pagamento à prazo;
58
2 – outros.</xs:documentation>
59
                                                                                </xs:annotation>
60
                                                                                <xs:simpleType>
61
                                                                                        <xs:restriction base="xs:string">
62
                                                                                                <xs:whiteSpace value="preserve"/>
63
                                                                                                <xs:enumeration value="0"/>
64
                                                                                                <xs:enumeration value="1"/>
65
                                                                                                <xs:enumeration value="2"/>
66
                                                                                        </xs:restriction>
67
                                                                                </xs:simpleType>
68
                                                                        </xs:element>
69
                                                                        <xs:element name="mod" type="TMod">
70
                                                                                <xs:annotation>
71
                                                                                        <xs:documentation>Código do modelo do Documento Fiscal. 55 = NF-e; 65 = NFC-e.</xs:documentation>
72
                                                                                </xs:annotation>
73
                                                                        </xs:element>
74
                                                                        <xs:element name="serie" type="TSerie">
75
                                                                                <xs:annotation>
76
                                                                                        <xs:documentation>Série do Documento Fiscal
77
série normal 0-889
78
Avulsa Fisco 890-899
79
SCAN 900-999</xs:documentation>
80
                                                                                </xs:annotation>
81
                                                                        </xs:element>
82
                                                                        <xs:element name="nNF" type="TNF">
83
                                                                                <xs:annotation>
84
                                                                                        <xs:documentation>Número do Documento Fiscal</xs:documentation>
85
                                                                                </xs:annotation>
86
                                                                        </xs:element>
87
                                                                        <xs:element name="dhEmi" type="TDateTimeUTC">
88
                                                                                <xs:annotation>
89
                                                                                        <xs:documentation>Data e Hora de emissão do Documento Fiscal (AAAA-MM-DDThh:mm:ssTZD) ex.: 2012-09-01T13:00:00-03:00</xs:documentation>
90
                                                                                </xs:annotation>
91
                                                                        </xs:element>
92
                                                                        <xs:element name="dhSaiEnt" type="TDateTimeUTC" minOccurs="0">
93
                                                                                <xs:annotation>
94
                                                                                        <xs:documentation>Data e Hora da saída ou de entrada da mercadoria / produto (AAAA-MM-DDTHH:mm:ssTZD)</xs:documentation>
95
                                                                                </xs:annotation>
96
                                                                        </xs:element>
97
                                                                        <xs:element name="tpNF">
98
                                                                                <xs:annotation>
99
                                                                                        <xs:documentation>Tipo do Documento Fiscal (0 - entrada; 1 - saída)</xs:documentation>
100
                                                                                </xs:annotation>
101
                                                                                <xs:simpleType>
102
                                                                                        <xs:restriction base="xs:string">
103
                                                                                                <xs:whiteSpace value="preserve"/>
104
                                                                                                <xs:enumeration value="0"/>
105
                                                                                                <xs:enumeration value="1"/>
106
                                                                                        </xs:restriction>
107
                                                                                </xs:simpleType>
108
                                                                        </xs:element>
109
                                                                        <xs:element name="idDest">
110
                                                                                <xs:annotation>
111
                                                                                        <xs:documentation>Identificador de Local de destino da operação (1-Interna;2-Interestadual;3-Exterior)</xs:documentation>
112
                                                                                </xs:annotation>
113
                                                                                <xs:simpleType>
114
                                                                                        <xs:restriction base="xs:string">
115
                                                                                                <xs:whiteSpace value="preserve"/>
116
                                                                                                <xs:enumeration value="1"/>
117
                                                                                                <xs:enumeration value="2"/>
118
                                                                                                <xs:enumeration value="3"/>
119
                                                                                        </xs:restriction>
120
                                                                                </xs:simpleType>
121
                                                                        </xs:element>
122
                                                                        <xs:element name="cMunFG" type="TCodMunIBGE">
123
                                                                                <xs:annotation>
124
                                                                                        <xs:documentation>Código do Município de Ocorrência do Fato Gerador (utilizar a tabela do IBGE)</xs:documentation>
125
                                                                                </xs:annotation>
126
                                                                        </xs:element>
127
                                                                        <xs:element name="tpImp">
128
                                                                                <xs:annotation>
129
                                                                                        <xs:documentation>Formato de impressão do DANFE (0-sem DANFE;1-DANFe Retrato; 2-DANFe Paisagem;3-DANFe Simplificado;
130
                                                                                        4-DANFe NFC-e;5-DANFe NFC-e em mensagem eletrônica)
131
                                                                                        </xs:documentation>
132
                                                                                </xs:annotation>
133
                                                                                <xs:simpleType>
134
                                                                                        <xs:restriction base="xs:string">
135
                                                                                                <xs:whiteSpace value="preserve"/>
136
                                                                                                <xs:enumeration value="0"/>
137
                                                                                                <xs:enumeration value="1"/>
138
                                                                                                <xs:enumeration value="2"/>
139
                                                                                                <xs:enumeration value="3"/>
140
                                                                                                <xs:enumeration value="4"/>
141
                                                                                                <xs:enumeration value="5"/>
142
                                                                                        </xs:restriction>
143
                                                                                </xs:simpleType>
144
                                                                        </xs:element>
145
                                                                        <xs:element name="tpEmis">
146
                                                                                <xs:annotation>
147
                                                                                        <xs:documentation>Forma de emissão da NF-e
148
1 - Normal;
149
2 - Contingência FS
150
3 - Contingência SCAN
151
4 - Contingência DPEC
152
5 - Contingência FSDA
153
6 - Contingência SVC - AN
154
7 - Contingência SVC - RS
155
9 - Contingência off-line NFC-e</xs:documentation>
156
                                                                                </xs:annotation>
157
                                                                                <xs:simpleType>
158
                                                                                        <xs:restriction base="xs:string">
159
                                                                                                <xs:whiteSpace value="preserve"/>
160
                                                                                                <xs:enumeration value="1"/>
161
                                                                                                <xs:enumeration value="2"/>
162
                                                                                                <xs:enumeration value="3"/>
163
                                                                                                <xs:enumeration value="4"/>
164
                                                                                                <xs:enumeration value="5"/>
165
                                                                                                <xs:enumeration value="6"/>
166
                                                                                                <xs:enumeration value="7"/>
167
                                                                                                <xs:enumeration value="9"/>
168
                                                                                        </xs:restriction>
169
                                                                                </xs:simpleType>
170
                                                                        </xs:element>
171
                                                                        <xs:element name="cDV">
172
                                                                                <xs:annotation>
173
                                                                                        <xs:documentation>Digito Verificador da Chave de Acesso da NF-e</xs:documentation>
174
                                                                                </xs:annotation>
175
                                                                                <xs:simpleType>
176
                                                                                        <xs:restriction base="xs:string">
177
                                                                                                <xs:whiteSpace value="preserve"/>
178
                                                                                                <xs:pattern value="[0-9]{1}"/>
179
                                                                                        </xs:restriction>
180
                                                                                </xs:simpleType>
181
                                                                        </xs:element>
182
                                                                        <xs:element name="tpAmb" type="TAmb">
183
                                                                                <xs:annotation>
184
                                                                                        <xs:documentation>Identificação do Ambiente:
185
1 - Produção
186
2 - Homologação</xs:documentation>
187
                                                                                </xs:annotation>
188
                                                                        </xs:element>
189
                                                                        <xs:element name="finNFe" type="TFinNFe">
190
                                                                                <xs:annotation>
191
                                                                                        <xs:documentation>Finalidade da emissão da NF-e:
192
1 - NFe normal
193
2 - NFe complementar
194
3 - NFe de ajuste
195
4 - Devolução/Retorno</xs:documentation>
196
                                                                                </xs:annotation>
197
                                                                        </xs:element>
198
                                                                        <xs:element name="indFinal">
199
                                                                                <xs:annotation>
200
                                                                                        <xs:documentation>Indica operação com consumidor final (0-Não;1-Consumidor Final)</xs:documentation>
201
                                                                                </xs:annotation>
202
                                                                                <xs:simpleType>
203
                                                                                        <xs:restriction base="xs:string">
204
                                                                                                <xs:whiteSpace value="preserve"/>
205
                                                                                                <xs:enumeration value="0"/>
206
                                                                                                <xs:enumeration value="1"/>
207
                                                                                        </xs:restriction>
208
                                                                                </xs:simpleType>
209
                                                                        </xs:element>
210
                                                                        <xs:element name="indPres">
211
                                                                                <xs:annotation>
212
                                                                                        <xs:documentation>Indicador de presença do comprador no estabelecimento comercial no momento da oepração
213
                                                                                        (0-Não se aplica (ex.: Nota Fiscal complementar ou de ajuste;1-Operação presencial;2-Não presencial, internet;3-Não presencial, teleatendimento;4-NFC-e entrega em domicílio;9-Não presencial, outros)</xs:documentation>
214
                                                                                </xs:annotation>
215
                                                                                <xs:simpleType>
216
                                                                                        <xs:restriction base="xs:string">
217
                                                                                                <xs:whiteSpace value="preserve"/>
218
                                                                                                <xs:enumeration value="0"/>
219
                                                                                                <xs:enumeration value="1"/>
220
                                                                                                <xs:enumeration value="2"/>
221
                                                                                                <xs:enumeration value="3"/>
222
                                                                                                <xs:enumeration value="4"/>
223
                                                                                                <xs:enumeration value="9"/>
224
                                                                                        </xs:restriction>
225
                                                                                </xs:simpleType>
226
                                                                        </xs:element>
227
                                                                        <xs:element name="procEmi" type="TProcEmi">
228
                                                                                <xs:annotation>
229
                                                                                        <xs:documentation>Processo de emissão utilizado com a seguinte codificação:
230
 
231
1 - emissão de NF-e avulsa pelo Fisco;
232
2 - emissão de NF-e avulsa, pelo contribuinte com seu certificado digital, através do site
233
do Fisco;
234
3- emissão de NF-e pelo contribuinte com aplicativo fornecido pelo Fisco.</xs:documentation>
235
                                                                                </xs:annotation>
236
                                                                        </xs:element>
237
                                                                        <xs:element name="verProc">
238
                                                                                <xs:annotation>
239
                                                                                        <xs:documentation>versão do aplicativo utilizado no processo de
240
emissão</xs:documentation>
241
                                                                                </xs:annotation>
242
                                                                                <xs:simpleType>
243
                                                                                        <xs:restriction base="TString">
244
                                                                                                <xs:minLength value="1"/>
245
                                                                                                <xs:maxLength value="20"/>
246
                                                                                        </xs:restriction>
247
                                                                                </xs:simpleType>
248
                                                                        </xs:element>
249
                                                                        <xs:sequence minOccurs="0">
250
                                                                                <xs:annotation>
251
                                                                                        <xs:documentation>Informar apenas
252
para tpEmis diferente de 1</xs:documentation>
253
                                                                                </xs:annotation>
254
                                                                                <xs:element name="dhCont" type="TDateTimeUTC">
255
                                                                                        <xs:annotation>
256
                                                                                                <xs:documentation>Informar a data e hora de entrada em contingência contingência no formato  (AAAA-MM-DDThh:mm:ssTZD) ex.: 2012-09-01T13:00:00-03:00.</xs:documentation>
257
                                                                                        </xs:annotation>
258
                                                                                </xs:element>
259
                                                                                <xs:element name="xJust">
260
                                                                                        <xs:annotation>
261
                                                                                                <xs:documentation>Informar a Justificativa da entrada</xs:documentation>
262
                                                                                        </xs:annotation>
263
                                                                                        <xs:simpleType>
264
                                                                                                <xs:restriction base="TString">
265
                                                                                                        <xs:minLength value="15"/>
266
                                                                                                        <xs:maxLength value="256"/>
267
                                                                                                </xs:restriction>
268
                                                                                        </xs:simpleType>
269
                                                                                </xs:element>
270
                                                                        </xs:sequence>
271
                                                                        <xs:element name="NFref" minOccurs="0" maxOccurs="500">
272
                                                                                <xs:annotation>
273
                                                                                        <xs:documentation>Grupo de infromações da NF referenciada</xs:documentation>
274
                                                                                </xs:annotation>
275
                                                                                <xs:complexType>
276
                                                                                        <xs:choice>
277
                                                                                                <xs:element name="refNFe" type="TChNFe">
278
                                                                                                        <xs:annotation>
279
                                                                                                                <xs:documentation>Chave de acesso das NF-e referenciadas. Chave de acesso compostas por Código da UF (tabela do IBGE) + AAMM da emissão + CNPJ do Emitente + modelo, série e número da NF-e Referenciada + Código Numérico + DV.</xs:documentation>
280
                                                                                                        </xs:annotation>
281
                                                                                                </xs:element>
282
                                                                                                <xs:element name="refNF">
283
                                                                                                        <xs:annotation>
284
                                                                                                                <xs:documentation>Dados da NF modelo 1/1A referenciada</xs:documentation>
285
                                                                                                        </xs:annotation>
286
                                                                                                        <xs:complexType>
287
                                                                                                                <xs:sequence>
288
                                                                                                                        <xs:element name="cUF" type="TCodUfIBGE">
289
                                                                                                                                <xs:annotation>
290
                                                                                                                                        <xs:documentation>Código da UF do emitente do Documento Fiscal. Utilizar a Tabela do IBGE.</xs:documentation>
291
                                                                                                                                </xs:annotation>
292
                                                                                                                        </xs:element>
293
                                                                                                                        <xs:element name="AAMM">
294
                                                                                                                                <xs:annotation>
295
                                                                                                                                        <xs:documentation>AAMM da emissão</xs:documentation>
296
                                                                                                                                </xs:annotation>
297
                                                                                                                                <xs:simpleType>
298
                                                                                                                                        <xs:restriction base="xs:string">
299
                                                                                                                                                <xs:whiteSpace value="preserve"/>
300
                                                                                                                                                <xs:pattern value="[0-9]{2}[0]{1}[1-9]{1}|[0-9]{2}[1]{1}[0-2]{1}"/>
301
                                                                                                                                        </xs:restriction>
302
                                                                                                                                </xs:simpleType>
303
                                                                                                                        </xs:element>
304
                                                                                                                        <xs:element name="CNPJ" type="TCnpj">
305
                                                                                                                                <xs:annotation>
306
                                                                                                                                        <xs:documentation>CNPJ do emitente do documento fiscal referenciado</xs:documentation>
307
                                                                                                                                </xs:annotation>
308
                                                                                                                        </xs:element>
309
                                                                                                                        <xs:element name="mod">
310
                                                                                                                                <xs:annotation>
311
                                                                                                                                        <xs:documentation>Código do modelo do Documento Fiscal. Utilizar 01 para NF modelo 1/1A</xs:documentation>
312
                                                                                                                                </xs:annotation>
313
                                                                                                                                <xs:simpleType>
314
                                                                                                                                        <xs:restriction base="xs:string">
315
                                                                                                                                                <xs:whiteSpace value="preserve"/>
316
                                                                                                                                                <xs:enumeration value="01"/>
317
                                                                                                                                        </xs:restriction>
318
                                                                                                                                </xs:simpleType>
319
                                                                                                                        </xs:element>
320
                                                                                                                        <xs:element name="serie" type="TSerie">
321
                                                                                                                                <xs:annotation>
322
                                                                                                                                        <xs:documentation>Série do Documento Fiscal, informar zero se inexistente</xs:documentation>
323
                                                                                                                                </xs:annotation>
324
                                                                                                                        </xs:element>
325
                                                                                                                        <xs:element name="nNF" type="TNF">
326
                                                                                                                                <xs:annotation>
327
                                                                                                                                        <xs:documentation>Número do Documento Fiscal</xs:documentation>
328
                                                                                                                                </xs:annotation>
329
                                                                                                                        </xs:element>
330
                                                                                                                </xs:sequence>
331
                                                                                                        </xs:complexType>
332
                                                                                                </xs:element>
333
                                                                                                <xs:element name="refNFP">
334
                                                                                                        <xs:annotation>
335
                                                                                                                <xs:documentation>Grupo com as informações NF de produtor referenciada</xs:documentation>
336
                                                                                                        </xs:annotation>
337
                                                                                                        <xs:complexType>
338
                                                                                                                <xs:sequence>
339
                                                                                                                        <xs:element name="cUF" type="TCodUfIBGE">
340
                                                                                                                                <xs:annotation>
341
                                                                                                                                        <xs:documentation>Código da UF do emitente do Documento FiscalUtilizar a Tabela do IBGE (Anexo IV - Tabela de UF, Município e País)</xs:documentation>
342
                                                                                                                                </xs:annotation>
343
                                                                                                                        </xs:element>
344
                                                                                                                        <xs:element name="AAMM">
345
                                                                                                                                <xs:annotation>
346
                                                                                                                                        <xs:documentation>AAMM da emissão da NF de produtor</xs:documentation>
347
                                                                                                                                </xs:annotation>
348
                                                                                                                                <xs:simpleType>
349
                                                                                                                                        <xs:restriction base="xs:string">
350
                                                                                                                                                <xs:whiteSpace value="preserve"/>
351
                                                                                                                                                <xs:pattern value="[0-9]{2}[0]{1}[1-9]{1}|[0-9]{2}[1]{1}[0-2]{1}"/>
352
                                                                                                                                        </xs:restriction>
353
                                                                                                                                </xs:simpleType>
354
                                                                                                                        </xs:element>
355
                                                                                                                        <xs:choice>
356
                                                                                                                                <xs:element name="CNPJ" type="TCnpj">
357
                                                                                                                                        <xs:annotation>
358
                                                                                                                                                <xs:documentation>CNPJ do emitente da NF de produtor</xs:documentation>
359
                                                                                                                                        </xs:annotation>
360
                                                                                                                                </xs:element>
361
                                                                                                                                <xs:element name="CPF" type="TCpf">
362
                                                                                                                                        <xs:annotation>
363
                                                                                                                                                <xs:documentation>CPF do emitente da NF de produtor</xs:documentation>
364
                                                                                                                                        </xs:annotation>
365
                                                                                                                                </xs:element>
366
                                                                                                                        </xs:choice>
367
                                                                                                                        <xs:element name="IE" type="TIeDest">
368
                                                                                                                                <xs:annotation>
369
                                                                                                                                        <xs:documentation>IE do emitente da NF de Produtor</xs:documentation>
370
                                                                                                                                </xs:annotation>
371
                                                                                                                        </xs:element>
372
                                                                                                                        <xs:element name="mod">
373
                                                                                                                                <xs:annotation>
374
                                                                                                                                        <xs:documentation>Código do modelo do Documento Fiscal - utilizar 04 para NF de produtor  ou 01 para NF Avulsa</xs:documentation>
375
                                                                                                                                </xs:annotation>
376
                                                                                                                                <xs:simpleType>
377
                                                                                                                                        <xs:restriction base="xs:string">
378
                                                                                                                                                <xs:whiteSpace value="preserve"/>
379
                                                                                                                                                <xs:enumeration value="01"/>
380
                                                                                                                                                <xs:enumeration value="04"/>
381
                                                                                                                                        </xs:restriction>
382
                                                                                                                                </xs:simpleType>
383
                                                                                                                        </xs:element>
384
                                                                                                                        <xs:element name="serie" type="TSerie">
385
                                                                                                                                <xs:annotation>
386
                                                                                                                                        <xs:documentation>Série do Documento Fiscal, informar zero se inexistentesérie</xs:documentation>
387
                                                                                                                                </xs:annotation>
388
                                                                                                                        </xs:element>
389
                                                                                                                        <xs:element name="nNF" type="TNF">
390
                                                                                                                                <xs:annotation>
391
                                                                                                                                        <xs:documentation>Número do Documento Fiscal - 1 – 999999999</xs:documentation>
392
                                                                                                                                </xs:annotation>
393
                                                                                                                        </xs:element>
394
                                                                                                                </xs:sequence>
395
                                                                                                        </xs:complexType>
396
                                                                                                </xs:element>
397
                                                                                                <xs:element name="refCTe" type="TChNFe">
398
                                                                                                        <xs:annotation>
399
                                                                                                                <xs:documentation>Utilizar esta TAG para referenciar um CT-e emitido anteriormente, vinculada a NF-e atual</xs:documentation>
400
                                                                                                        </xs:annotation>
401
                                                                                                </xs:element>
402
                                                                                                <xs:element name="refECF">
403
                                                                                                        <xs:annotation>
404
                                                                                                                <xs:documentation>Grupo do Cupom Fiscal vinculado à NF-e</xs:documentation>
405
                                                                                                        </xs:annotation>
406
                                                                                                        <xs:complexType>
407
                                                                                                                <xs:sequence>
408
                                                                                                                        <xs:element name="mod">
409
                                                                                                                                <xs:annotation>
410
                                                                                                                                        <xs:documentation>Código do modelo do Documento Fiscal
411
Preencher com "2B", quando se tratar de Cupom Fiscal emitido por máquina registradora (não ECF), com "2C", quando se tratar de Cupom Fiscal PDV, ou "2D", quando se tratar de Cupom Fiscal (emitido por ECF)</xs:documentation>
412
                                                                                                                                </xs:annotation>
413
                                                                                                                                <xs:simpleType>
414
                                                                                                                                        <xs:restriction base="xs:string">
415
                                                                                                                                                <xs:whiteSpace value="preserve"/>
416
                                                                                                                                                <xs:enumeration value="2B"/>
417
                                                                                                                                                <xs:enumeration value="2C"/>
418
                                                                                                                                                <xs:enumeration value="2D"/>
419
                                                                                                                                        </xs:restriction>
420
                                                                                                                                </xs:simpleType>
421
                                                                                                                        </xs:element>
422
                                                                                                                        <xs:element name="nECF">
423
                                                                                                                                <xs:annotation>
424
                                                                                                                                        <xs:documentation>Informar o número de ordem seqüencial do ECF que emitiu o Cupom Fiscal vinculado à NF-e</xs:documentation>
425
                                                                                                                                </xs:annotation>
426
                                                                                                                                <xs:simpleType>
427
                                                                                                                                        <xs:restriction base="xs:string">
428
                                                                                                                                                <xs:whiteSpace value="preserve"/>
429
                                                                                                                                                <xs:pattern value="[0-9]{1,3}"/>
430
                                                                                                                                        </xs:restriction>
431
                                                                                                                                </xs:simpleType>
432
                                                                                                                        </xs:element>
433
                                                                                                                        <xs:element name="nCOO">
434
                                                                                                                                <xs:annotation>
435
                                                                                                                                        <xs:documentation>Informar o Número do Contador de Ordem de Operação - COO vinculado à NF-e</xs:documentation>
436
                                                                                                                                </xs:annotation>
437
                                                                                                                                <xs:simpleType>
438
                                                                                                                                        <xs:restriction base="xs:string">
439
                                                                                                                                                <xs:whiteSpace value="preserve"/>
440
                                                                                                                                                <xs:pattern value="[0-9]{1,6}"/>
441
                                                                                                                                        </xs:restriction>
442
                                                                                                                                </xs:simpleType>
443
                                                                                                                        </xs:element>
444
                                                                                                                </xs:sequence>
445
                                                                                                        </xs:complexType>
446
                                                                                                </xs:element>
447
                                                                                        </xs:choice>
448
                                                                                </xs:complexType>
449
                                                                        </xs:element>
450
                                                                </xs:sequence>
451
                                                        </xs:complexType>
452
                                                </xs:element>
453
                                                <xs:element name="emit">
454
                                                        <xs:annotation>
455
                                                                <xs:documentation>Identificação do emitente</xs:documentation>
456
                                                        </xs:annotation>
457
                                                        <xs:complexType>
458
                                                                <xs:sequence>
459
                                                                        <xs:choice>
460
                                                                                <xs:element name="CNPJ" type="TCnpj">
461
                                                                                        <xs:annotation>
462
                                                                                                <xs:documentation>Número do CNPJ do emitente</xs:documentation>
463
                                                                                        </xs:annotation>
464
                                                                                </xs:element>
465
                                                                                <xs:element name="CPF" type="TCpf">
466
                                                                                        <xs:annotation>
467
                                                                                                <xs:documentation>Número do CPF do emitente</xs:documentation>
468
                                                                                        </xs:annotation>
469
                                                                                </xs:element>
470
                                                                        </xs:choice>
471
                                                                        <xs:element name="xNome">
472
                                                                                <xs:annotation>
473
                                                                                        <xs:documentation>Razão Social ou Nome do emitente</xs:documentation>
474
                                                                                </xs:annotation>
475
                                                                                <xs:simpleType>
476
                                                                                        <xs:restriction base="TString">
477
                                                                                                <xs:maxLength value="60"/>
478
                                                                                                <xs:minLength value="2"/>
479
                                                                                        </xs:restriction>
480
                                                                                </xs:simpleType>
481
                                                                        </xs:element>
482
                                                                        <xs:element name="xFant" minOccurs="0">
483
                                                                                <xs:annotation>
484
                                                                                        <xs:documentation>Nome fantasia</xs:documentation>
485
                                                                                </xs:annotation>
486
                                                                                <xs:simpleType>
487
                                                                                        <xs:restriction base="TString">
488
                                                                                                <xs:maxLength value="60"/>
489
                                                                                                <xs:minLength value="1"/>
490
                                                                                        </xs:restriction>
491
                                                                                </xs:simpleType>
492
                                                                        </xs:element>
493
                                                                        <xs:element name="enderEmit" type="TEnderEmi">
494
                                                                                <xs:annotation>
495
                                                                                        <xs:documentation>Endereço do emitente</xs:documentation>
496
                                                                                </xs:annotation>
497
                                                                        </xs:element>
498
                                                                        <xs:element name="IE" type="TIe">
499
                                                                                <xs:annotation>
500
                                                                                        <xs:documentation>Inscrição Estadual do Emitente</xs:documentation>
501
                                                                                </xs:annotation>
502
                                                                        </xs:element>
503
                                                                        <xs:element name="IEST" type="TIeST" minOccurs="0">
504
                                                                                <xs:annotation>
505
                                                                                        <xs:documentation>Inscricao Estadual do Substituto Tributário</xs:documentation>
506
                                                                                </xs:annotation>
507
                                                                        </xs:element>
508
                                                                        <xs:sequence minOccurs="0">
509
                                                                                <xs:annotation>
510
                                                                                        <xs:documentation>Grupo de informações de interesse da Prefeitura</xs:documentation>
511
                                                                                </xs:annotation>
512
                                                                                <xs:element name="IM">
513
                                                                                        <xs:annotation>
514
                                                                                                <xs:documentation>Inscrição Municipal</xs:documentation>
515
                                                                                        </xs:annotation>
516
                                                                                        <xs:simpleType>
517
                                                                                                <xs:restriction base="TString">
518
                                                                                                        <xs:minLength value="1"/>
519
                                                                                                        <xs:maxLength value="15"/>
520
                                                                                                </xs:restriction>
521
                                                                                        </xs:simpleType>
522
                                                                                </xs:element>
523
                                                                                <xs:element name="CNAE" minOccurs="0">
524
                                                                                        <xs:annotation>
525
                                                                                                <xs:documentation>CNAE Fiscal</xs:documentation>
526
                                                                                        </xs:annotation>
527
                                                                                        <xs:simpleType>
528
                                                                                                <xs:restriction base="xs:string">
529
                                                                                                        <xs:whiteSpace value="preserve"/>
530
                                                                                                        <xs:pattern value="[0-9]{7}"/>
531
                                                                                                </xs:restriction>
532
                                                                                        </xs:simpleType>
533
                                                                                </xs:element>
534
                                                                        </xs:sequence>
535
                                                                        <xs:element name="CRT">
536
                                                                                <xs:annotation>
537
                                                                                        <xs:documentation>Código de Regime Tributário.
538
Este campo será obrigatoriamente preenchido com:
539
1 – Simples Nacional;
540
2 – Simples Nacional – excesso de sublimite de receita bruta;
541
3 – Regime Normal.
542
</xs:documentation>
543
                                                                                </xs:annotation>
544
                                                                                <xs:simpleType>
545
                                                                                        <xs:restriction base="xs:string">
546
                                                                                                <xs:whiteSpace value="preserve"/>
547
                                                                                                <xs:enumeration value="1"/>
548
                                                                                                <xs:enumeration value="2"/>
549
                                                                                                <xs:enumeration value="3"/>
550
                                                                                        </xs:restriction>
551
                                                                                </xs:simpleType>
552
                                                                        </xs:element>
553
                                                                </xs:sequence>
554
                                                        </xs:complexType>
555
                                                </xs:element>
556
                                                <xs:element name="avulsa" minOccurs="0">
557
                                                        <xs:annotation>
558
                                                                <xs:documentation>Emissão de avulsa, informar os dados do Fisco emitente</xs:documentation>
559
                                                        </xs:annotation>
560
                                                        <xs:complexType>
561
                                                                <xs:sequence>
562
                                                                        <xs:element name="CNPJ" type="TCnpj">
563
                                                                                <xs:annotation>
564
                                                                                        <xs:documentation>CNPJ do Órgão emissor</xs:documentation>
565
                                                                                </xs:annotation>
566
                                                                        </xs:element>
567
                                                                        <xs:element name="xOrgao">
568
                                                                                <xs:annotation>
569
                                                                                        <xs:documentation>Órgão emitente</xs:documentation>
570
                                                                                </xs:annotation>
571
                                                                                <xs:simpleType>
572
                                                                                        <xs:restriction base="TString">
573
                                                                                                <xs:maxLength value="60"/>
574
                                                                                                <xs:minLength value="1"/>
575
                                                                                        </xs:restriction>
576
                                                                                </xs:simpleType>
577
                                                                        </xs:element>
578
                                                                        <xs:element name="matr">
579
                                                                                <xs:annotation>
580
                                                                                        <xs:documentation>Matrícula do agente</xs:documentation>
581
                                                                                </xs:annotation>
582
                                                                                <xs:simpleType>
583
                                                                                        <xs:restriction base="TString">
584
                                                                                                <xs:minLength value="1"/>
585
                                                                                                <xs:maxLength value="60"/>
586
                                                                                        </xs:restriction>
587
                                                                                </xs:simpleType>
588
                                                                        </xs:element>
589
                                                                        <xs:element name="xAgente">
590
                                                                                <xs:annotation>
591
                                                                                        <xs:documentation>Nome do agente</xs:documentation>
592
                                                                                </xs:annotation>
593
                                                                                <xs:simpleType>
594
                                                                                        <xs:restriction base="TString">
595
                                                                                                <xs:maxLength value="60"/>
596
                                                                                                <xs:minLength value="1"/>
597
                                                                                        </xs:restriction>
598
                                                                                </xs:simpleType>
599
                                                                        </xs:element>
600
                                                                        <xs:element name="fone" minOccurs="0">
601
                                                                                <xs:annotation>
602
                                                                                        <xs:documentation>Telefone</xs:documentation>
603
                                                                                </xs:annotation>
604
                                                                                <xs:simpleType>
605
                                                                                        <xs:restriction base="xs:string">
606
                                                                                                <xs:whiteSpace value="preserve"/>
607
                                                                                                <xs:pattern value="[0-9]{6,14}"/>
608
                                                                                        </xs:restriction>
609
                                                                                </xs:simpleType>
610
                                                                        </xs:element>
611
                                                                        <xs:element name="UF" type="TUfEmi">
612
                                                                                <xs:annotation>
613
                                                                                        <xs:documentation>Sigla da Unidade da Federação</xs:documentation>
614
                                                                                </xs:annotation>
615
                                                                        </xs:element>
616
                                                                        <xs:element name="nDAR" minOccurs="0">
617
                                                                                <xs:annotation>
618
                                                                                        <xs:documentation>Número do Documento de Arrecadação de Receita</xs:documentation>
619
                                                                                </xs:annotation>
620
                                                                                <xs:simpleType>
621
                                                                                        <xs:restriction base="TString">
622
                                                                                                <xs:minLength value="1"/>
623
                                                                                                <xs:maxLength value="60"/>
624
                                                                                        </xs:restriction>
625
                                                                                </xs:simpleType>
626
                                                                        </xs:element>
627
                                                                        <xs:element name="dEmi" type="TData" minOccurs="0">
628
                                                                                <xs:annotation>
629
                                                                                        <xs:documentation>Data de emissão do DAR (AAAA-MM-DD)</xs:documentation>
630
                                                                                </xs:annotation>
631
                                                                        </xs:element>
632
                                                                        <xs:element name="vDAR" type="TDec_1302" minOccurs="0">
633
                                                                                <xs:annotation>
634
                                                                                        <xs:documentation>Valor Total constante no DAR</xs:documentation>
635
                                                                                </xs:annotation>
636
                                                                        </xs:element>
637
                                                                        <xs:element name="repEmi">
638
                                                                                <xs:annotation>
639
                                                                                        <xs:documentation>Repartição Fiscal emitente</xs:documentation>
640
                                                                                </xs:annotation>
641
                                                                                <xs:simpleType>
642
                                                                                        <xs:restriction base="TString">
643
                                                                                                <xs:minLength value="1"/>
644
                                                                                                <xs:maxLength value="60"/>
645
                                                                                        </xs:restriction>
646
                                                                                </xs:simpleType>
647
                                                                        </xs:element>
648
                                                                        <xs:element name="dPag" type="TData" minOccurs="0">
649
                                                                                <xs:annotation>
650
                                                                                        <xs:documentation>Data de pagamento do DAR (AAAA-MM-DD)</xs:documentation>
651
                                                                                </xs:annotation>
652
                                                                        </xs:element>
653
                                                                </xs:sequence>
654
                                                        </xs:complexType>
655
                                                </xs:element>
656
                                                <xs:element name="dest" minOccurs="0">
657
                                                        <xs:annotation>
658
                                                                <xs:documentation>Identificação do Destinatário  </xs:documentation>
659
                                                        </xs:annotation>
660
                                                        <xs:complexType>
661
                                                                <xs:sequence>
662
                                                                        <xs:choice>
663
                                                                                <xs:element name="CNPJ" type="TCnpj">
664
                                                                                        <xs:annotation>
665
                                                                                                <xs:documentation>Número do CNPJ</xs:documentation>
666
                                                                                        </xs:annotation>
667
                                                                                </xs:element>
668
                                                                                <xs:element name="CPF" type="TCpf">
669
                                                                                        <xs:annotation>
670
                                                                                                <xs:documentation>Número do CPF</xs:documentation>
671
                                                                                        </xs:annotation>
672
                                                                                </xs:element>
673
                                                                                <xs:element name="idEstrangeiro">
674
                                                                                        <xs:annotation>
675
                                                                                                <xs:documentation>Identificador do destinatário, em caso de comprador estrangeiro</xs:documentation>
676
                                                                                        </xs:annotation>
677
                                                                                        <xs:simpleType>
678
                                                                                                <xs:restriction base="xs:string">
679
                                                                                                        <xs:whiteSpace value="preserve"/>
680
                                                                                                        <xs:pattern value="([!-ÿ]{0}|[!-ÿ]{5,20})?"/>
681
                                                                                                </xs:restriction>
682
                                                                                        </xs:simpleType>
683
                                                                                </xs:element>
684
                                                                        </xs:choice>
685
                                                                        <xs:element name="xNome" minOccurs="0">
686
                                                                                <xs:annotation>
687
                                                                                        <xs:documentation>Razão Social ou nome do destinatário</xs:documentation>
688
                                                                                </xs:annotation>
689
                                                                                <xs:simpleType>
690
                                                                                        <xs:restriction base="TString">
691
                                                                                                <xs:maxLength value="60"/>
692
                                                                                                <xs:minLength value="2"/>
693
                                                                                        </xs:restriction>
694
                                                                                </xs:simpleType>
695
                                                                        </xs:element>
696
                                                                        <xs:element name="enderDest" type="TEndereco" minOccurs="0">
697
                                                                                <xs:annotation>
698
                                                                                        <xs:documentation>Dados do endereço</xs:documentation>
699
                                                                                </xs:annotation>
700
                                                                        </xs:element>
701
                                                                        <xs:element name="indIEDest">
702
                                                                                <xs:annotation>
703
                                                                                        <xs:documentation>Indicador da IE do destinatário:
704
1 – Contribuinte ICMSpagamento à vista;
705
2 – Contribuinte isento de inscrição;
706
9 – Não Contribuinte</xs:documentation>
707
                                                                                </xs:annotation>
708
                                                                                <xs:simpleType>
709
                                                                                        <xs:restriction base="xs:string">
710
                                                                                                <xs:whiteSpace value="preserve"/>
711
                                                                                                <xs:enumeration value="1"/>
712
                                                                                                <xs:enumeration value="2"/>
713
                                                                                                <xs:enumeration value="9"/>
714
                                                                                        </xs:restriction>
715
                                                                                </xs:simpleType>
716
                                                                        </xs:element>
717
                                                                        <xs:element name="IE" type="TIeDestNaoIsento" minOccurs="0">
718
                                                                                <xs:annotation>
719
                                                                                        <xs:documentation>Inscrição Estadual (obrigatório nas operações com contribuintes do ICMS)</xs:documentation>
720
                                                                                </xs:annotation>
721
                                                                        </xs:element>
722
                                                                        <xs:element name="ISUF" minOccurs="0">
723
                                                                                <xs:annotation>
724
                                                                                        <xs:documentation>Inscrição na SUFRAMA (Obrigatório nas operações com as áreas com benefícios de incentivos fiscais sob controle da SUFRAMA) PL_005d - 11/08/09 - alterado para aceitar 8 ou 9 dígitos</xs:documentation>
725
                                                                                </xs:annotation>
726
                                                                                <xs:simpleType>
727
                                                                                        <xs:restriction base="xs:string">
728
                                                                                                <xs:whiteSpace value="preserve"/>
729
                                                                                                <xs:pattern value="[0-9]{8,9}"/>
730
                                                                                        </xs:restriction>
731
                                                                                </xs:simpleType>
732
                                                                        </xs:element>
733
                                                                        <xs:element name="IM" minOccurs="0">
734
                                                                                <xs:annotation>
735
                                                                                        <xs:documentation>Inscrição Municipal do tomador do serviço</xs:documentation>
736
                                                                                </xs:annotation>
737
                                                                                <xs:simpleType>
738
                                                                                        <xs:restriction base="TString">
739
                                                                                                <xs:minLength value="1"/>
740
                                                                                                <xs:maxLength value="15"/>
741
                                                                                        </xs:restriction>
742
                                                                                </xs:simpleType>
743
                                                                        </xs:element>
744
                                                                        <xs:element name="email" minOccurs="0">
745
                                                                                <xs:annotation>
746
                                                                                        <xs:documentation>Informar o e-mail do destinatário. O campo pode ser utilizado para informar o e-mail
747
de recepção da NF-e indicada pelo destinatário</xs:documentation>
748
                                                                                </xs:annotation>
749
                                                                                <xs:simpleType>
750
                                                                                        <xs:restriction base="TString">
751
                                                                                                <xs:whiteSpace value="preserve"/>
752
                                                                                                <xs:minLength value="1"/>
753
                                                                                                <xs:maxLength value="60"/>
754
                                                                                        </xs:restriction>
755
                                                                                </xs:simpleType>
756
                                                                        </xs:element>
757
                                                                </xs:sequence>
758
                                                        </xs:complexType>
759
                                                </xs:element>
760
                                                <xs:element name="retirada" type="TLocal" minOccurs="0">
761
                                                        <xs:annotation>
762
                                                                <xs:documentation>Identificação do Local de Retirada (informar apenas quando for diferente do endereço do remetente)</xs:documentation>
763
                                                        </xs:annotation>
764
                                                </xs:element>
765
                                                <xs:element name="entrega" type="TLocal" minOccurs="0">
766
                                                        <xs:annotation>
767
                                                                <xs:documentation>Identificação do Local de Entrega (informar apenas quando for diferente do endereço do destinatário)</xs:documentation>
768
                                                        </xs:annotation>
769
                                                </xs:element>
770
                                                <xs:element name="autXML" minOccurs="0" maxOccurs="10">
771
                                                        <xs:annotation>
772
                                                                <xs:documentation>Pessoas autorizadas para o download do XML da NF-e</xs:documentation>
773
                                                        </xs:annotation>
774
                                                        <xs:complexType>
775
                                                                <xs:choice>
776
                                                                        <xs:element name="CNPJ" type="TCnpj">
777
                                                                                <xs:annotation>
778
                                                                                        <xs:documentation>CNPJ Autorizado</xs:documentation>
779
                                                                                </xs:annotation>
780
                                                                        </xs:element>
781
                                                                        <xs:element name="CPF" type="TCpf">
782
                                                                                <xs:annotation>
783
                                                                                        <xs:documentation>CPF Autorizado</xs:documentation>
784
                                                                                </xs:annotation>
785
                                                                        </xs:element>
786
                                                                </xs:choice>
787
                                                        </xs:complexType>
788
                                                </xs:element>
789
                                                <xs:element name="det" maxOccurs="990">
790
                                                        <xs:annotation>
791
                                                                <xs:documentation>Dados dos detalhes da NF-e</xs:documentation>
792
                                                        </xs:annotation>
793
                                                        <xs:complexType>
794
                                                                <xs:sequence>
795
                                                                        <xs:element name="prod">
796
                                                                                <xs:annotation>
797
                                                                                        <xs:documentation>Dados dos produtos e serviços da NF-e</xs:documentation>
798
                                                                                </xs:annotation>
799
                                                                                <xs:complexType>
800
                                                                                        <xs:sequence>
801
                                                                                                <xs:element name="cProd">
802
                                                                                                        <xs:annotation>
803
                                                                                                                <xs:documentation>Código do produto ou serviço. Preencher com CFOP caso se trate de itens não relacionados com mercadorias/produto e que o contribuinte não possua codificação própria
804
Formato ”CFOP9999”.</xs:documentation>
805
                                                                                                        </xs:annotation>
806
                                                                                                        <xs:simpleType>
807
                                                                                                                <xs:restriction base="TString">
808
                                                                                                                        <xs:maxLength value="60"/>
809
                                                                                                                        <xs:minLength value="1"/>
810
                                                                                                                </xs:restriction>
811
                                                                                                        </xs:simpleType>
812
                                                                                                </xs:element>
813
                                                                                                <xs:element name="cEAN">
814
                                                                                                        <xs:annotation>
815
                                                                                                                <xs:documentation>GTIN (Global Trade Item Number) do produto, antigo código EAN ou código de barras</xs:documentation>
816
                                                                                                        </xs:annotation>
817
                                                                                                        <xs:simpleType>
818
                                                                                                                <xs:restriction base="xs:string">
819
                                                                                                                        <xs:whiteSpace value="preserve"/>
820
                                                                                                                        <xs:pattern value="[0-9]{0}|[0-9]{8}|[0-9]{12,14}"/>
821
                                                                                                                </xs:restriction>
822
                                                                                                        </xs:simpleType>
823
                                                                                                </xs:element>
824
                                                                                                <xs:element name="xProd">
825
                                                                                                        <xs:annotation>
826
                                                                                                                <xs:documentation>Descrição do produto ou serviço</xs:documentation>
827
                                                                                                        </xs:annotation>
828
                                                                                                        <xs:simpleType>
829
                                                                                                                <xs:restriction base="TString">
830
                                                                                                                        <xs:maxLength value="120"/>
831
                                                                                                                        <xs:minLength value="1"/>
832
                                                                                                                </xs:restriction>
833
                                                                                                        </xs:simpleType>
834
                                                                                                </xs:element>
835
                                                                                                <xs:element name="NCM">
836
                                                                                                        <xs:annotation>
837
                                                                                                                <xs:documentation>Código NCM (8 posições), será permitida a informação do gênero (posição do capítulo do NCM) quando a operação não for de comércio exterior (importação/exportação) ou o produto não seja tributado pelo IPI. Em caso de item de serviço ou item que não tenham produto (Ex. transferência de crédito, crédito do ativo imobilizado, etc.), informar o código 00 (zeros) (v2.0)</xs:documentation>
838
                                                                                                        </xs:annotation>
839
                                                                                                        <xs:simpleType>
840
                                                                                                                <xs:restriction base="xs:string">
841
                                                                                                                        <xs:whiteSpace value="preserve"/>
842
                                                                                                                        <xs:pattern value="[0-9]{2}|[0-9]{8}"/>
843
                                                                                                                </xs:restriction>
844
                                                                                                        </xs:simpleType>
845
                                                                                                </xs:element>
846
                                                                                                <xs:element name="NVE" minOccurs="0" maxOccurs="8">
847
                                                                                                        <xs:annotation>
848
                                                                                                                <xs:documentation>Nomenclatura de Valor aduaneio e Estatístico</xs:documentation>
849
                                                                                                        </xs:annotation>
850
                                                                                                        <xs:simpleType>
851
                                                                                                                <xs:restriction base="xs:string">
852
                                                                                                                        <xs:whiteSpace value="preserve"/>
853
                                                                                                                        <xs:pattern value="[A-Z]{2}[0-9]{4}"/>
854
                                                                                                                </xs:restriction>
855
                                                                                                        </xs:simpleType>
856
                                                                                                </xs:element>
857
                                                                                                <xs:element name="CEST" minOccurs="0">
858
                                                                                                        <xs:annotation>
859
                                                                                                                <xs:documentation>Codigo especificador da Substuicao Tributaria - CEST, que identifica a mercadoria sujeita aos regimes de  substituicao tributária e de antecipação do recolhimento  do imposto
860
                                                                                                                </xs:documentation>
861
                                                                                                        </xs:annotation>
862
                                                                                                        <xs:simpleType>
863
                                                                                                                <xs:restriction base="xs:string">
864
                                                                                                                        <xs:whiteSpace value="preserve"/>
865
                                                                                                                        <xs:pattern value="[0-9]{7}"/>
866
                                                                                                                </xs:restriction>
867
                                                                                                        </xs:simpleType>
868
                                                                                                </xs:element>
869
                                                                                                <xs:element name="EXTIPI" minOccurs="0">
870
                                                                                                        <xs:annotation>
871
                                                                                                                <xs:documentation>Código EX TIPI (3 posições)</xs:documentation>
872
                                                                                                        </xs:annotation>
873
                                                                                                        <xs:simpleType>
874
                                                                                                                <xs:restriction base="xs:string">
875
                                                                                                                        <xs:whiteSpace value="preserve"/>
876
                                                                                                                        <xs:pattern value="[0-9]{2,3}"/>
877
                                                                                                                </xs:restriction>
878
                                                                                                        </xs:simpleType>
879
                                                                                                </xs:element>
880
                                                                                                <xs:element name="CFOP">
881
                                                                                                        <xs:annotation>
882
                                                                                                                <xs:documentation>Cfop</xs:documentation>
883
                                                                                                        </xs:annotation>
884
                                                                                                        <xs:simpleType>
885
                                                                                                                <xs:restriction base="xs:string">
886
                                                                                                                        <xs:whiteSpace value="preserve"/>
887
                                                                                                                        <xs:pattern value="[1,2,3,5,6,7]{1}[0-9]{3}"/>
888
                                                                                                                </xs:restriction>
889
                                                                                                        </xs:simpleType>
890
                                                                                                </xs:element>
891
                                                                                                <xs:element name="uCom">
892
                                                                                                        <xs:annotation>
893
                                                                                                                <xs:documentation>Unidade comercial</xs:documentation>
894
                                                                                                        </xs:annotation>
895
                                                                                                        <xs:simpleType>
896
                                                                                                                <xs:restriction base="TString">
897
                                                                                                                        <xs:maxLength value="6"/>
898
                                                                                                                        <xs:minLength value="1"/>
899
                                                                                                                </xs:restriction>
900
                                                                                                        </xs:simpleType>
901
                                                                                                </xs:element>
902
                                                                                                <xs:element name="qCom" type="TDec_1104v">
903
                                                                                                        <xs:annotation>
904
                                                                                                                <xs:documentation>Quantidade Comercial  do produto, alterado para aceitar de 0 a 4 casas decimais e 11 inteiros.</xs:documentation>
905
                                                                                                        </xs:annotation>
906
                                                                                                </xs:element>
907
                                                                                                <xs:element name="vUnCom" type="TDec_1110v">
908
                                                                                                        <xs:annotation>
909
                                                                                                                <xs:documentation>Valor unitário de comercialização  - alterado para aceitar 0 a 10 casas decimais e 11 inteiros </xs:documentation>
910
                                                                                                        </xs:annotation>
911
                                                                                                </xs:element>
912
                                                                                                <xs:element name="vProd" type="TDec_1302">
913
                                                                                                        <xs:annotation>
914
                                                                                                                <xs:documentation>Valor bruto do produto ou serviço.</xs:documentation>
915
                                                                                                        </xs:annotation>
916
                                                                                                </xs:element>
917
                                                                                                <xs:element name="cEANTrib">
918
                                                                                                        <xs:annotation>
919
                                                                                                                <xs:documentation>GTIN (Global Trade Item Number) da unidade tributável, antigo código EAN ou código de barras</xs:documentation>
920
                                                                                                        </xs:annotation>
921
                                                                                                        <xs:simpleType>
922
                                                                                                                <xs:restriction base="xs:string">
923
                                                                                                                        <xs:whiteSpace value="preserve"/>
924
                                                                                                                        <xs:pattern value="[0-9]{0}|[0-9]{8}|[0-9]{12,14}"/>
925
                                                                                                                </xs:restriction>
926
                                                                                                        </xs:simpleType>
927
                                                                                                </xs:element>
928
                                                                                                <xs:element name="uTrib">
929
                                                                                                        <xs:annotation>
930
                                                                                                                <xs:documentation>Unidade Tributável</xs:documentation>
931
                                                                                                        </xs:annotation>
932
                                                                                                        <xs:simpleType>
933
                                                                                                                <xs:restriction base="TString">
934
                                                                                                                        <xs:maxLength value="6"/>
935
                                                                                                                        <xs:minLength value="1"/>
936
                                                                                                                </xs:restriction>
937
                                                                                                        </xs:simpleType>
938
                                                                                                </xs:element>
939
                                                                                                <xs:element name="qTrib" type="TDec_1104v">
940
                                                                                                        <xs:annotation>
941
                                                                                                                <xs:documentation>Quantidade Tributável - alterado para aceitar de 0 a 4 casas decimais e 11 inteiros </xs:documentation>
942
                                                                                                        </xs:annotation>
943
                                                                                                </xs:element>
944
                                                                                                <xs:element name="vUnTrib" type="TDec_1110v">
945
                                                                                                        <xs:annotation>
946
                                                                                                                <xs:documentation>Valor unitário de tributação - - alterado para aceitar 0 a 10 casas decimais e 11 inteiros </xs:documentation>
947
                                                                                                        </xs:annotation>
948
                                                                                                </xs:element>
949
                                                                                                <xs:element name="vFrete" type="TDec_1302Opc" minOccurs="0">
950
                                                                                                        <xs:annotation>
951
                                                                                                                <xs:documentation>Valor Total do Frete</xs:documentation>
952
                                                                                                        </xs:annotation>
953
                                                                                                </xs:element>
954
                                                                                                <xs:element name="vSeg" type="TDec_1302Opc" minOccurs="0">
955
                                                                                                        <xs:annotation>
956
                                                                                                                <xs:documentation>Valor Total do Seguro</xs:documentation>
957
                                                                                                        </xs:annotation>
958
                                                                                                </xs:element>
959
                                                                                                <xs:element name="vDesc" type="TDec_1302Opc" minOccurs="0">
960
                                                                                                        <xs:annotation>
961
                                                                                                                <xs:documentation>Valor do Desconto</xs:documentation>
962
                                                                                                        </xs:annotation>
963
                                                                                                </xs:element>
964
                                                                                                <xs:element name="vOutro" type="TDec_1302Opc" minOccurs="0">
965
                                                                                                        <xs:annotation>
966
                                                                                                                <xs:documentation>Outras despesas acessórias</xs:documentation>
967
                                                                                                        </xs:annotation>
968
                                                                                                </xs:element>
969
                                                                                                <xs:element name="indTot">
970
                                                                                                        <xs:annotation>
971
                                                                                                                <xs:documentation>Este campo deverá ser preenchido com:
972
 
973
 1  – o valor do item (vProd) compõe o valor total da NF-e (vProd)
974
</xs:documentation>
975
                                                                                                        </xs:annotation>
976
                                                                                                        <xs:simpleType>
977
                                                                                                                <xs:restriction base="xs:string">
978
                                                                                                                        <xs:whiteSpace value="preserve"/>
979
                                                                                                                        <xs:enumeration value="0"/>
980
                                                                                                                        <xs:enumeration value="1"/>
981
                                                                                                                </xs:restriction>
982
                                                                                                        </xs:simpleType>
983
                                                                                                </xs:element>
984
                                                                                                <xs:element name="DI" minOccurs="0" maxOccurs="100">
985
                                                                                                        <xs:annotation>
986
                                                                                                                <xs:documentation>Delcaração de Importação
987
(NT 2011/004)</xs:documentation>
988
                                                                                                        </xs:annotation>
989
                                                                                                        <xs:complexType>
990
                                                                                                                <xs:sequence>
991
                                                                                                                        <xs:element name="nDI">
992
                                                                                                                                <xs:annotation>
993
                                                                                                                                        <xs:documentation>Numero do Documento de Importação DI/DSI/DA/DRI-E (DI/DSI/DA/DRI-E) (NT2011/004)</xs:documentation>
994
                                                                                                                                </xs:annotation>
995
                                                                                                                                <xs:simpleType>
996
                                                                                                                                        <xs:restriction base="TString">
997
                                                                                                                                                <xs:minLength value="1"/>
998
                                                                                                                                                <xs:maxLength value="12"/>
999
                                                                                                                                        </xs:restriction>
1000
                                                                                                                                </xs:simpleType>
1001
                                                                                                                        </xs:element>
1002
                                                                                                                        <xs:element name="dDI" type="TData">
1003
                                                                                                                                <xs:annotation>
1004
                                                                                                                                        <xs:documentation>Data de registro da DI/DSI/DA (AAAA-MM-DD)</xs:documentation>
1005
                                                                                                                                </xs:annotation>
1006
                                                                                                                        </xs:element>
1007
                                                                                                                        <xs:element name="xLocDesemb">
1008
                                                                                                                                <xs:annotation>
1009
                                                                                                                                        <xs:documentation>Local do desembaraço aduaneiro</xs:documentation>
1010
                                                                                                                                </xs:annotation>
1011
                                                                                                                                <xs:simpleType>
1012
                                                                                                                                        <xs:restriction base="TString">
1013
                                                                                                                                                <xs:minLength value="1"/>
1014
                                                                                                                                                <xs:maxLength value="60"/>
1015
                                                                                                                                        </xs:restriction>
1016
                                                                                                                                </xs:simpleType>
1017
                                                                                                                        </xs:element>
1018
                                                                                                                        <xs:element name="UFDesemb" type="TUfEmi">
1019
                                                                                                                                <xs:annotation>
1020
                                                                                                                                        <xs:documentation>UF onde ocorreu o desembaraço aduaneiro</xs:documentation>
1021
                                                                                                                                </xs:annotation>
1022
                                                                                                                        </xs:element>
1023
                                                                                                                        <xs:element name="dDesemb" type="TData">
1024
                                                                                                                                <xs:annotation>
1025
                                                                                                                                        <xs:documentation>Data do desembaraço aduaneiro (AAAA-MM-DD)</xs:documentation>
1026
                                                                                                                                </xs:annotation>
1027
                                                                                                                        </xs:element>
1028
                                                                                                                        <xs:element name="tpViaTransp">
1029
                                                                                                                                <xs:annotation>
1030
                                                                                                                                        <xs:documentation>Via de transporte internacional informada na DI
1031
                                                                                                                                        1-Maritima;2-Fluvial;3-Lacustre;4-Aerea;5-Postal;6-Ferroviaria;7-Rodoviaria;8-Conduto;9-Meios Proprios;10-Entrada/Saida Ficta.</xs:documentation>
1032
                                                                                                                                </xs:annotation>
1033
                                                                                                                                <xs:simpleType>
1034
                                                                                                                                        <xs:restriction base="xs:string">
1035
                                                                                                                                                <xs:whiteSpace value="preserve"/>
1036
                                                                                                                                                <xs:enumeration value="1"/>
1037
                                                                                                                                                <xs:enumeration value="2"/>
1038
                                                                                                                                                <xs:enumeration value="3"/>
1039
                                                                                                                                                <xs:enumeration value="4"/>
1040
                                                                                                                                                <xs:enumeration value="5"/>
1041
                                                                                                                                                <xs:enumeration value="6"/>
1042
                                                                                                                                                <xs:enumeration value="7"/>
1043
                                                                                                                                                <xs:enumeration value="8"/>
1044
                                                                                                                                                <xs:enumeration value="9"/>
1045
                                                                                                                                                <xs:enumeration value="10"/>
1046
                                                                                                                                                <xs:enumeration value="11"/>
1047
                                                                                                                                                <xs:enumeration value="12"/>
1048
                                                                                                                                        </xs:restriction>
1049
                                                                                                                                </xs:simpleType>
1050
                                                                                                                        </xs:element>
1051
                                                                                                                        <xs:element name="vAFRMM" type="TDec_1302" minOccurs="0">
1052
                                                                                                                                <xs:annotation>
1053
                                                                                                                                        <xs:documentation>Valor Adicional ao frete para renovação de marinha mercante</xs:documentation>
1054
                                                                                                                                </xs:annotation>
1055
                                                                                                                        </xs:element>
1056
                                                                                                                        <xs:element name="tpIntermedio">
1057
                                                                                                                                <xs:annotation>
1058
                                                                                                                                        <xs:documentation>Forma de Importação quanto a intermediação
1059
                                                                                                                                        1-por conta propria;2-por conta e ordem;3-encomenda</xs:documentation>
1060
                                                                                                                                </xs:annotation>
1061
                                                                                                                                <xs:simpleType>
1062
                                                                                                                                        <xs:restriction base="xs:string">
1063
                                                                                                                                                <xs:whiteSpace value="preserve"/>
1064
                                                                                                                                                <xs:enumeration value="1"/>
1065
                                                                                                                                                <xs:enumeration value="2"/>
1066
                                                                                                                                                <xs:enumeration value="3"/>
1067
                                                                                                                                        </xs:restriction>
1068
                                                                                                                                </xs:simpleType>
1069
                                                                                                                        </xs:element>
1070
                                                                                                                        <xs:element name="CNPJ" type="TCnpj" minOccurs="0">
1071
                                                                                                                                <xs:annotation>
1072
                                                                                                                                        <xs:documentation>CNPJ do adquirente ou do encomendante</xs:documentation>
1073
                                                                                                                                </xs:annotation>
1074
                                                                                                                        </xs:element>
1075
                                                                                                                        <xs:element name="UFTerceiro" type="TUfEmi" minOccurs="0">
1076
                                                                                                                                <xs:annotation>
1077
                                                                                                                                        <xs:documentation>Sigla da UF do adquirente ou do encomendante</xs:documentation>
1078
                                                                                                                                </xs:annotation>
1079
                                                                                                                        </xs:element>
1080
                                                                                                                        <xs:element name="cExportador">
1081
                                                                                                                                <xs:annotation>
1082
                                                                                                                                        <xs:documentation>Código do exportador (usado nos sistemas internos de informação do emitente da NF-e)</xs:documentation>
1083
                                                                                                                                </xs:annotation>
1084
                                                                                                                                <xs:simpleType>
1085
                                                                                                                                        <xs:restriction base="TString">
1086
                                                                                                                                                <xs:minLength value="1"/>
1087
                                                                                                                                                <xs:maxLength value="60"/>
1088
                                                                                                                                        </xs:restriction>
1089
                                                                                                                                </xs:simpleType>
1090
                                                                                                                        </xs:element>
1091
                                                                                                                        <xs:element name="adi" maxOccurs="100">
1092
                                                                                                                                <xs:annotation>
1093
                                                                                                                                        <xs:documentation>Adições (NT 2011/004)</xs:documentation>
1094
                                                                                                                                </xs:annotation>
1095
                                                                                                                                <xs:complexType>
1096
                                                                                                                                        <xs:sequence>
1097
                                                                                                                                                <xs:element name="nAdicao">
1098
                                                                                                                                                        <xs:annotation>
1099
                                                                                                                                                                <xs:documentation>Número da Adição</xs:documentation>
1100
                                                                                                                                                        </xs:annotation>
1101
                                                                                                                                                        <xs:simpleType>
1102
                                                                                                                                                                <xs:restriction base="xs:string">
1103
                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
1104
                                                                                                                                                                        <xs:pattern value="[1-9]{1}[0-9]{0,2}"/>
1105
                                                                                                                                                                </xs:restriction>
1106
                                                                                                                                                        </xs:simpleType>
1107
                                                                                                                                                </xs:element>
1108
                                                                                                                                                <xs:element name="nSeqAdic">
1109
                                                                                                                                                        <xs:annotation>
1110
                                                                                                                                                                <xs:documentation>Número seqüencial do item dentro da Adição</xs:documentation>
1111
                                                                                                                                                        </xs:annotation>
1112
                                                                                                                                                        <xs:simpleType>
1113
                                                                                                                                                                <xs:restriction base="xs:string">
1114
                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
1115
                                                                                                                                                                        <xs:pattern value="[1-9]{1}[0-9]{0,2}"/>
1116
                                                                                                                                                                </xs:restriction>
1117
                                                                                                                                                        </xs:simpleType>
1118
                                                                                                                                                </xs:element>
1119
                                                                                                                                                <xs:element name="cFabricante">
1120
                                                                                                                                                        <xs:annotation>
1121
                                                                                                                                                                <xs:documentation>Código do fabricante estrangeiro (usado nos sistemas internos de informação do emitente da NF-e)</xs:documentation>
1122
                                                                                                                                                        </xs:annotation>
1123
                                                                                                                                                        <xs:simpleType>
1124
                                                                                                                                                                <xs:restriction base="TString">
1125
                                                                                                                                                                        <xs:minLength value="1"/>
1126
                                                                                                                                                                        <xs:maxLength value="60"/>
1127
                                                                                                                                                                </xs:restriction>
1128
                                                                                                                                                        </xs:simpleType>
1129
                                                                                                                                                </xs:element>
1130
                                                                                                                                                <xs:element name="vDescDI" type="TDec_1302Opc" minOccurs="0">
1131
                                                                                                                                                        <xs:annotation>
1132
                                                                                                                                                                <xs:documentation>Valor do desconto do item da DI – adição</xs:documentation>
1133
                                                                                                                                                        </xs:annotation>
1134
                                                                                                                                                </xs:element>
1135
                                                                                                                                                <xs:element name="nDraw" minOccurs="0">
1136
                                                                                                                                                        <xs:annotation>
1137
                                                                                                                                                                <xs:documentation>Número do ato concessório de Drawback</xs:documentation>
1138
                                                                                                                                                        </xs:annotation>
1139
                                                                                                                                                        <xs:simpleType>
1140
                                                                                                                                                                <xs:restriction base="xs:string">
1141
                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
1142
                                                                                                                                                                        <xs:pattern value="[0-9]{0,11}"/>
1143
                                                                                                                                                                </xs:restriction>
1144
                                                                                                                                                        </xs:simpleType>
1145
                                                                                                                                                </xs:element>
1146
                                                                                                                                        </xs:sequence>
1147
                                                                                                                                </xs:complexType>
1148
                                                                                                                        </xs:element>
1149
                                                                                                                </xs:sequence>
1150
                                                                                                        </xs:complexType>
1151
                                                                                                </xs:element>
1152
                                                                                                <xs:element name="detExport" minOccurs="0" maxOccurs="500">
1153
                                                                                                        <xs:annotation>
1154
                                                                                                                <xs:documentation>Detalhe da exportação</xs:documentation>
1155
                                                                                                        </xs:annotation>
1156
                                                                                                        <xs:complexType>
1157
                                                                                                                <xs:sequence>
1158
                                                                                                                        <xs:element name="nDraw" minOccurs="0">
1159
                                                                                                                                <xs:annotation>
1160
                                                                                                                                        <xs:documentation>Número do ato concessório de Drawback</xs:documentation>
1161
                                                                                                                                </xs:annotation>
1162
                                                                                                                                <xs:simpleType>
1163
                                                                                                                                        <xs:restriction base="xs:string">
1164
                                                                                                                                                <xs:whiteSpace value="preserve"/>
1165
                                                                                                                                                <xs:pattern value="[0-9]{0,11}"/>
1166
                                                                                                                                        </xs:restriction>
1167
                                                                                                                                </xs:simpleType>
1168
                                                                                                                        </xs:element>
1169
                                                                                                                        <xs:element name="exportInd" minOccurs="0">
1170
                                                                                                                                <xs:annotation>
1171
                                                                                                                                        <xs:documentation>Exportação indireta</xs:documentation>
1172
                                                                                                                                </xs:annotation>
1173
                                                                                                                                <xs:complexType>
1174
                                                                                                                                        <xs:sequence>
1175
                                                                                                                                                <xs:element name="nRE">
1176
                                                                                                                                                        <xs:annotation>
1177
                                                                                                                                                                <xs:documentation>Registro de exportação</xs:documentation>
1178
                                                                                                                                                        </xs:annotation>
1179
                                                                                                                                                        <xs:simpleType>
1180
                                                                                                                                                                <xs:restriction base="xs:string">
1181
                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
1182
                                                                                                                                                                        <xs:pattern value="[0-9]{0,12}"/>
1183
                                                                                                                                                                </xs:restriction>
1184
                                                                                                                                                        </xs:simpleType>
1185
                                                                                                                                                </xs:element>
1186
                                                                                                                                                <xs:element name="chNFe" type="TChNFe">
1187
                                                                                                                                                        <xs:annotation>
1188
                                                                                                                                                                <xs:documentation>Chave de acesso da NF-e recebida para exportação</xs:documentation>
1189
                                                                                                                                                        </xs:annotation>
1190
                                                                                                                                                </xs:element>
1191
                                                                                                                                                <xs:element name="qExport" type="TDec_1104v">
1192
                                                                                                                                                        <xs:annotation>
1193
                                                                                                                                                                <xs:documentation>Quantidade do item efetivamente exportado</xs:documentation>
1194
                                                                                                                                                        </xs:annotation>
1195
                                                                                                                                                </xs:element>
1196
                                                                                                                                        </xs:sequence>
1197
                                                                                                                                </xs:complexType>
1198
                                                                                                                        </xs:element>
1199
                                                                                                                </xs:sequence>
1200
                                                                                                        </xs:complexType>
1201
                                                                                                </xs:element>
1202
                                                                                                <xs:element name="xPed" minOccurs="0">
1203
                                                                                                        <xs:annotation>
1204
                                                                                                                <xs:documentation>pedido de compra - Informação de interesse do emissor para controle do B2B.</xs:documentation>
1205
                                                                                                        </xs:annotation>
1206
                                                                                                        <xs:simpleType>
1207
                                                                                                                <xs:restriction base="TString">
1208
                                                                                                                        <xs:minLength value="1"/>
1209
                                                                                                                        <xs:maxLength value="15"/>
1210
                                                                                                                </xs:restriction>
1211
                                                                                                        </xs:simpleType>
1212
                                                                                                </xs:element>
1213
                                                                                                <xs:element name="nItemPed" minOccurs="0">
1214
                                                                                                        <xs:annotation>
1215
                                                                                                                <xs:documentation>Número do Item do Pedido de Compra - Identificação do número do item do pedido de Compra</xs:documentation>
1216
                                                                                                        </xs:annotation>
1217
                                                                                                        <xs:simpleType>
1218
                                                                                                                <xs:restriction base="xs:string">
1219
                                                                                                                        <xs:whiteSpace value="preserve"/>
1220
                                                                                                                        <xs:pattern value="[0-9]{1,6}"/>
1221
                                                                                                                </xs:restriction>
1222
                                                                                                        </xs:simpleType>
1223
                                                                                                </xs:element>
1224
                                                                                                <xs:element name="nFCI" type="TGuid" minOccurs="0">
1225
                                                                                                        <xs:annotation>
1226
                                                                                                                <xs:documentation>Número de controle da FCI - Ficha de Conteúdo de Importação.</xs:documentation>
1227
                                                                                                        </xs:annotation>
1228
                                                                                                </xs:element>
1229
                                                                                                <xs:choice minOccurs="0">
1230
                                                                                                        <xs:annotation>
1231
                                                                                                                <xs:documentation>Informações específicas de produtos e serviços</xs:documentation>
1232
                                                                                                        </xs:annotation>
1233
                                                                                                        <xs:element name="veicProd">
1234
                                                                                                                <xs:annotation>
1235
                                                                                                                        <xs:documentation>Veículos novos</xs:documentation>
1236
                                                                                                                </xs:annotation>
1237
                                                                                                                <xs:complexType>
1238
                                                                                                                        <xs:sequence>
1239
                                                                                                                                <xs:element name="tpOp">
1240
                                                                                                                                        <xs:annotation>
1241
                                                                                                                                                <xs:documentation>Tipo da Operação (1 - Venda concessionária; 2 - Faturamento direto; 3 - Venda direta; 0 - Outros)</xs:documentation>
1242
                                                                                                                                        </xs:annotation>
1243
                                                                                                                                        <xs:simpleType>
1244
                                                                                                                                                <xs:restriction base="xs:string">
1245
                                                                                                                                                        <xs:whiteSpace value="preserve"/>
1246
                                                                                                                                                        <xs:enumeration value="0"/>
1247
                                                                                                                                                        <xs:enumeration value="1"/>
1248
                                                                                                                                                        <xs:enumeration value="2"/>
1249
                                                                                                                                                        <xs:enumeration value="3"/>
1250
                                                                                                                                                </xs:restriction>
1251
                                                                                                                                        </xs:simpleType>
1252
                                                                                                                                </xs:element>
1253
                                                                                                                                <xs:element name="chassi">
1254
                                                                                                                                        <xs:annotation>
1255
                                                                                                                                                <xs:documentation>Chassi do veículo - VIN (código-identificação-veículo)</xs:documentation>
1256
                                                                                                                                        </xs:annotation>
1257
                                                                                                                                        <xs:simpleType>
1258
                                                                                                                                                <xs:restriction base="xs:string">
1259
                                                                                                                                                        <xs:length value="17"/>
1260
                                                                                                                                                        <xs:whiteSpace value="preserve"/>
1261
                                                                                                                                                        <xs:pattern value="[A-Z0-9]+"/>
1262
                                                                                                                                                </xs:restriction>
1263
                                                                                                                                        </xs:simpleType>
1264
                                                                                                                                </xs:element>
1265
                                                                                                                                <xs:element name="cCor">
1266
                                                                                                                                        <xs:annotation>
1267
                                                                                                                                                <xs:documentation>Cor do veículo (código de cada montadora)</xs:documentation>
1268
                                                                                                                                        </xs:annotation>
1269
                                                                                                                                        <xs:simpleType>
1270
                                                                                                                                                <xs:restriction base="TString">
1271
                                                                                                                                                        <xs:minLength value="1"/>
1272
                                                                                                                                                        <xs:maxLength value="4"/>
1273
                                                                                                                                                </xs:restriction>
1274
                                                                                                                                        </xs:simpleType>
1275
                                                                                                                                </xs:element>
1276
                                                                                                                                <xs:element name="xCor">
1277
                                                                                                                                        <xs:annotation>
1278
                                                                                                                                                <xs:documentation>Descrição da cor</xs:documentation>
1279
                                                                                                                                        </xs:annotation>
1280
                                                                                                                                        <xs:simpleType>
1281
                                                                                                                                                <xs:restriction base="TString">
1282
                                                                                                                                                        <xs:minLength value="1"/>
1283
                                                                                                                                                        <xs:maxLength value="40"/>
1284
                                                                                                                                                </xs:restriction>
1285
                                                                                                                                        </xs:simpleType>
1286
                                                                                                                                </xs:element>
1287
                                                                                                                                <xs:element name="pot">
1288
                                                                                                                                        <xs:annotation>
1289
                                                                                                                                                <xs:documentation>Potência máxima do motor do veículo em cavalo vapor (CV). (potência-veículo)</xs:documentation>
1290
                                                                                                                                        </xs:annotation>
1291
                                                                                                                                        <xs:simpleType>
1292
                                                                                                                                                <xs:restriction base="TString">
1293
                                                                                                                                                        <xs:minLength value="1"/>
1294
                                                                                                                                                        <xs:maxLength value="4"/>
1295
                                                                                                                                                </xs:restriction>
1296
                                                                                                                                        </xs:simpleType>
1297
                                                                                                                                </xs:element>
1298
                                                                                                                                <xs:element name="cilin">
1299
                                                                                                                                        <xs:annotation>
1300
                                                                                                                                                <xs:documentation>Capacidade voluntária do motor expressa em centímetros cúbicos (CC). (cilindradas)</xs:documentation>
1301
                                                                                                                                        </xs:annotation>
1302
                                                                                                                                        <xs:simpleType>
1303
                                                                                                                                                <xs:restriction base="TString">
1304
                                                                                                                                                        <xs:minLength value="1"/>
1305
                                                                                                                                                        <xs:maxLength value="4"/>
1306
                                                                                                                                                </xs:restriction>
1307
                                                                                                                                        </xs:simpleType>
1308
                                                                                                                                </xs:element>
1309
                                                                                                                                <xs:element name="pesoL">
1310
                                                                                                                                        <xs:annotation>
1311
                                                                                                                                                <xs:documentation>Peso líquido</xs:documentation>
1312
                                                                                                                                        </xs:annotation>
1313
                                                                                                                                        <xs:simpleType>
1314
                                                                                                                                                <xs:restriction base="TString">
1315
                                                                                                                                                        <xs:minLength value="1"/>
1316
                                                                                                                                                        <xs:maxLength value="9"/>
1317
                                                                                                                                                </xs:restriction>
1318
                                                                                                                                        </xs:simpleType>
1319
                                                                                                                                </xs:element>
1320
                                                                                                                                <xs:element name="pesoB">
1321
                                                                                                                                        <xs:annotation>
1322
                                                                                                                                                <xs:documentation>Peso bruto</xs:documentation>
1323
                                                                                                                                        </xs:annotation>
1324
                                                                                                                                        <xs:simpleType>
1325
                                                                                                                                                <xs:restriction base="TString">
1326
                                                                                                                                                        <xs:minLength value="1"/>
1327
                                                                                                                                                        <xs:maxLength value="9"/>
1328
                                                                                                                                                </xs:restriction>
1329
                                                                                                                                        </xs:simpleType>
1330
                                                                                                                                </xs:element>
1331
                                                                                                                                <xs:element name="nSerie">
1332
                                                                                                                                        <xs:annotation>
1333
                                                                                                                                                <xs:documentation>Serial (série)</xs:documentation>
1334
                                                                                                                                        </xs:annotation>
1335
                                                                                                                                        <xs:simpleType>
1336
                                                                                                                                                <xs:restriction base="TString">
1337
                                                                                                                                                        <xs:minLength value="1"/>
1338
                                                                                                                                                        <xs:maxLength value="9"/>
1339
                                                                                                                                                </xs:restriction>
1340
                                                                                                                                        </xs:simpleType>
1341
                                                                                                                                </xs:element>
1342
                                                                                                                                <xs:element name="tpComb">
1343
                                                                                                                                        <xs:annotation>
1344
                                                                                                                                                <xs:documentation>Tipo de combustível-Tabela RENAVAM: 01-Álcool; 02-Gasolina; 03-Diesel; 16-Álcool/Gas.; 17-Gas./Álcool/GNV; 18-Gasolina/Elétrico</xs:documentation>
1345
                                                                                                                                        </xs:annotation>
1346
                                                                                                                                        <xs:simpleType>
1347
                                                                                                                                                <xs:restriction base="TString">
1348
                                                                                                                                                        <xs:minLength value="1"/>
1349
                                                                                                                                                        <xs:maxLength value="2"/>
1350
                                                                                                                                                </xs:restriction>
1351
                                                                                                                                        </xs:simpleType>
1352
                                                                                                                                </xs:element>
1353
                                                                                                                                <xs:element name="nMotor">
1354
                                                                                                                                        <xs:annotation>
1355
                                                                                                                                                <xs:documentation>Número do motor</xs:documentation>
1356
                                                                                                                                        </xs:annotation>
1357
                                                                                                                                        <xs:simpleType>
1358
                                                                                                                                                <xs:restriction base="TString">
1359
                                                                                                                                                        <xs:minLength value="1"/>
1360
                                                                                                                                                        <xs:maxLength value="21"/>
1361
                                                                                                                                                </xs:restriction>
1362
                                                                                                                                        </xs:simpleType>
1363
                                                                                                                                </xs:element>
1364
                                                                                                                                <xs:element name="CMT">
1365
                                                                                                                                        <xs:annotation>
1366
                                                                                                                                                <xs:documentation>CMT-Capacidade Máxima de Tração - em Toneladas 4 casas decimais</xs:documentation>
1367
                                                                                                                                        </xs:annotation>
1368
                                                                                                                                        <xs:simpleType>
1369
                                                                                                                                                <xs:restriction base="TString">
1370
                                                                                                                                                        <xs:minLength value="1"/>
1371
                                                                                                                                                        <xs:maxLength value="9"/>
1372
                                                                                                                                                </xs:restriction>
1373
                                                                                                                                        </xs:simpleType>
1374
                                                                                                                                </xs:element>
1375
                                                                                                                                <xs:element name="dist">
1376
                                                                                                                                        <xs:annotation>
1377
                                                                                                                                                <xs:documentation>Distância entre eixos</xs:documentation>
1378
                                                                                                                                        </xs:annotation>
1379
                                                                                                                                        <xs:simpleType>
1380
                                                                                                                                                <xs:restriction base="TString">
1381
                                                                                                                                                        <xs:minLength value="1"/>
1382
                                                                                                                                                        <xs:maxLength value="4"/>
1383
                                                                                                                                                </xs:restriction>
1384
                                                                                                                                        </xs:simpleType>
1385
                                                                                                                                </xs:element>
1386
                                                                                                                                <xs:element name="anoMod">
1387
                                                                                                                                        <xs:annotation>
1388
                                                                                                                                                <xs:documentation>Ano Modelo de Fabricação</xs:documentation>
1389
                                                                                                                                        </xs:annotation>
1390
                                                                                                                                        <xs:simpleType>
1391
                                                                                                                                                <xs:restriction base="xs:string">
1392
                                                                                                                                                        <xs:whiteSpace value="preserve"/>
1393
                                                                                                                                                        <xs:pattern value="[0-9]{4}"/>
1394
                                                                                                                                                </xs:restriction>
1395
                                                                                                                                        </xs:simpleType>
1396
                                                                                                                                </xs:element>
1397
                                                                                                                                <xs:element name="anoFab">
1398
                                                                                                                                        <xs:annotation>
1399
                                                                                                                                                <xs:documentation>Ano de Fabricação</xs:documentation>
1400
                                                                                                                                        </xs:annotation>
1401
                                                                                                                                        <xs:simpleType>
1402
                                                                                                                                                <xs:restriction base="xs:string">
1403
                                                                                                                                                        <xs:whiteSpace value="preserve"/>
1404
                                                                                                                                                        <xs:pattern value="[0-9]{4}"/>
1405
                                                                                                                                                </xs:restriction>
1406
                                                                                                                                        </xs:simpleType>
1407
                                                                                                                                </xs:element>
1408
                                                                                                                                <xs:element name="tpPint">
1409
                                                                                                                                        <xs:annotation>
1410
                                                                                                                                                <xs:documentation>Tipo de pintura</xs:documentation>
1411
                                                                                                                                        </xs:annotation>
1412
                                                                                                                                        <xs:simpleType>
1413
                                                                                                                                                <xs:restriction base="TString">
1414
                                                                                                                                                        <xs:length value="1"/>
1415
                                                                                                                                                </xs:restriction>
1416
                                                                                                                                        </xs:simpleType>
1417
                                                                                                                                </xs:element>
1418
                                                                                                                                <xs:element name="tpVeic">
1419
                                                                                                                                        <xs:annotation>
1420
                                                                                                                                                <xs:documentation>Tipo de veículo (utilizar tabela RENAVAM)</xs:documentation>
1421
                                                                                                                                        </xs:annotation>
1422
                                                                                                                                        <xs:simpleType>
1423
                                                                                                                                                <xs:restriction base="xs:string">
1424
                                                                                                                                                        <xs:whiteSpace value="preserve"/>
1425
                                                                                                                                                        <xs:pattern value="[0-9]{1,2}"/>
1426
                                                                                                                                                </xs:restriction>
1427
                                                                                                                                        </xs:simpleType>
1428
                                                                                                                                </xs:element>
1429
                                                                                                                                <xs:element name="espVeic">
1430
                                                                                                                                        <xs:annotation>
1431
                                                                                                                                                <xs:documentation>Espécie de veículo (utilizar tabela RENAVAM)</xs:documentation>
1432
                                                                                                                                        </xs:annotation>
1433
                                                                                                                                        <xs:simpleType>
1434
                                                                                                                                                <xs:restriction base="xs:string">
1435
                                                                                                                                                        <xs:whiteSpace value="preserve"/>
1436
                                                                                                                                                        <xs:pattern value="[0-9]{1}"/>
1437
                                                                                                                                                </xs:restriction>
1438
                                                                                                                                        </xs:simpleType>
1439
                                                                                                                                </xs:element>
1440
                                                                                                                                <xs:element name="VIN">
1441
                                                                                                                                        <xs:annotation>
1442
                                                                                                                                                <xs:documentation>Informa-se o veículo tem VIN (chassi) remarcado.
1443
R-Remarcado
1444
N-NormalVIN </xs:documentation>
1445
                                                                                                                                        </xs:annotation>
1446
                                                                                                                                        <xs:simpleType>
1447
                                                                                                                                                <xs:restriction base="TString">
1448
                                                                                                                                                        <xs:length value="1"/>
1449
                                                                                                                                                        <xs:enumeration value="R"/>
1450
                                                                                                                                                        <xs:enumeration value="N"/>
1451
                                                                                                                                                </xs:restriction>
1452
                                                                                                                                        </xs:simpleType>
1453
                                                                                                                                </xs:element>
1454
                                                                                                                                <xs:element name="condVeic">
1455
                                                                                                                                        <xs:annotation>
1456
                                                                                                                                                <xs:documentation>Condição do veículo (1 - acabado; 2 - inacabado; 3 - semi-acabado)</xs:documentation>
1457
                                                                                                                                        </xs:annotation>
1458
                                                                                                                                        <xs:simpleType>
1459
                                                                                                                                                <xs:restriction base="xs:string">
1460
                                                                                                                                                        <xs:whiteSpace value="preserve"/>
1461
                                                                                                                                                        <xs:enumeration value="1"/>
1462
                                                                                                                                                        <xs:enumeration value="2"/>
1463
                                                                                                                                                        <xs:enumeration value="3"/>
1464
                                                                                                                                                </xs:restriction>
1465
                                                                                                                                        </xs:simpleType>
1466
                                                                                                                                </xs:element>
1467
                                                                                                                                <xs:element name="cMod">
1468
                                                                                                                                        <xs:annotation>
1469
                                                                                                                                                <xs:documentation>Código Marca Modelo (utilizar tabela RENAVAM)</xs:documentation>
1470
                                                                                                                                        </xs:annotation>
1471
                                                                                                                                        <xs:simpleType>
1472
                                                                                                                                                <xs:restriction base="xs:string">
1473
                                                                                                                                                        <xs:whiteSpace value="preserve"/>
1474
                                                                                                                                                        <xs:pattern value="[0-9]{1,6}"/>
1475
                                                                                                                                                </xs:restriction>
1476
                                                                                                                                        </xs:simpleType>
1477
                                                                                                                                </xs:element>
1478
                                                                                                                                <xs:element name="cCorDENATRAN">
1479
                                                                                                                                        <xs:annotation>
1480
                                                                                                                                                <xs:documentation>Código da Cor Segundo as regras de pré-cadastro do DENATRAN: 01-AMARELO;02-AZUL;03-BEGE;04-BRANCA;05-CINZA;06-DOURADA;07-GRENA
1481
08-LARANJA;09-MARROM;10-PRATA;11-PRETA;12-ROSA;13-ROXA;14-VERDE;15-VERMELHA;16-FANTASIA</xs:documentation>
1482
                                                                                                                                        </xs:annotation>
1483
                                                                                                                                        <xs:simpleType>
1484
                                                                                                                                                <xs:restriction base="xs:string">
1485
                                                                                                                                                        <xs:whiteSpace value="preserve"/>
1486
                                                                                                                                                        <xs:minLength value="1"/>
1487
                                                                                                                                                        <xs:maxLength value="2"/>
1488
                                                                                                                                                        <xs:pattern value="[0-9]{1,2}"/>
1489
                                                                                                                                                </xs:restriction>
1490
                                                                                                                                        </xs:simpleType>
1491
                                                                                                                                </xs:element>
1492
                                                                                                                                <xs:element name="lota">
1493
                                                                                                                                        <xs:annotation>
1494
                                                                                                                                                <xs:documentation>Quantidade máxima de permitida de passageiros sentados, inclusive motorista.</xs:documentation>
1495
                                                                                                                                        </xs:annotation>
1496
                                                                                                                                        <xs:simpleType>
1497
                                                                                                                                                <xs:restriction base="xs:string">
1498
                                                                                                                                                        <xs:minLength value="1"/>
1499
                                                                                                                                                        <xs:maxLength value="3"/>
1500
                                                                                                                                                        <xs:whiteSpace value="preserve"/>
1501
                                                                                                                                                        <xs:pattern value="[0-9]{1,3}"/>
1502
                                                                                                                                                </xs:restriction>
1503
                                                                                                                                        </xs:simpleType>
1504
                                                                                                                                </xs:element>
1505
                                                                                                                                <xs:element name="tpRest">
1506
                                                                                                                                        <xs:annotation>
1507
                                                                                                                                                <xs:documentation>Restrição
1508
 
1509
1 - Alienação Fiduciária;
1510
2 - Arrendamento Mercantil;
1511
3 - Reserva de Domínio;
1512
4 - Penhor de Veículos;
1513
9 - outras.</xs:documentation>
1514
                                                                                                                                        </xs:annotation>
1515
                                                                                                                                        <xs:simpleType>
1516
                                                                                                                                                <xs:restriction base="xs:string">
1517
                                                                                                                                                        <xs:whiteSpace value="preserve"/>
1518
                                                                                                                                                        <xs:enumeration value="0"/>
1519
                                                                                                                                                        <xs:enumeration value="1"/>
1520
                                                                                                                                                        <xs:enumeration value="2"/>
1521
                                                                                                                                                        <xs:enumeration value="3"/>
1522
                                                                                                                                                        <xs:enumeration value="4"/>
1523
                                                                                                                                                        <xs:enumeration value="9"/>
1524
                                                                                                                                                </xs:restriction>
1525
                                                                                                                                        </xs:simpleType>
1526
                                                                                                                                </xs:element>
1527
                                                                                                                        </xs:sequence>
1528
                                                                                                                </xs:complexType>
1529
                                                                                                        </xs:element>
1530
                                                                                                        <xs:element name="med" maxOccurs="500">
1531
                                                                                                                <xs:annotation>
1532
                                                                                                                        <xs:documentation>grupo do detalhamento de Medicamentos e de matérias-primas farmacêuticas</xs:documentation>
1533
                                                                                                                </xs:annotation>
1534
                                                                                                                <xs:complexType>
1535
                                                                                                                        <xs:sequence>
1536
                                                                                                                                <xs:element name="nLote">
1537
                                                                                                                                        <xs:annotation>
1538
                                                                                                                                                <xs:documentation>Número do lote do medicamento</xs:documentation>
1539
                                                                                                                                        </xs:annotation>
1540
                                                                                                                                        <xs:simpleType>
1541
                                                                                                                                                <xs:restriction base="TString">
1542
                                                                                                                                                        <xs:minLength value="1"/>
1543
                                                                                                                                                        <xs:maxLength value="20"/>
1544
                                                                                                                                                </xs:restriction>
1545
                                                                                                                                        </xs:simpleType>
1546
                                                                                                                                </xs:element>
1547
                                                                                                                                <xs:element name="qLote" type="TDec_0803v">
1548
                                                                                                                                        <xs:annotation>
1549
                                                                                                                                                <xs:documentation>Quantidade de produtos no lote</xs:documentation>
1550
                                                                                                                                        </xs:annotation>
1551
                                                                                                                                </xs:element>
1552
                                                                                                                                <xs:element name="dFab" type="TData">
1553
                                                                                                                                        <xs:annotation>
1554
                                                                                                                                                <xs:documentation>Data de Fabricação do medicamento (AAAA-MM-DD)</xs:documentation>
1555
                                                                                                                                        </xs:annotation>
1556
                                                                                                                                </xs:element>
1557
                                                                                                                                <xs:element name="dVal" type="TData">
1558
                                                                                                                                        <xs:annotation>
1559
                                                                                                                                                <xs:documentation>Data de validade do medicamento (AAAA-MM-DD)</xs:documentation>
1560
                                                                                                                                        </xs:annotation>
1561
                                                                                                                                </xs:element>
1562
                                                                                                                                <xs:element name="vPMC" type="TDec_1302">
1563
                                                                                                                                        <xs:annotation>
1564
                                                                                                                                                <xs:documentation>Preço Máximo ao Consumidor</xs:documentation>
1565
                                                                                                                                        </xs:annotation>
1566
                                                                                                                                </xs:element>
1567
                                                                                                                        </xs:sequence>
1568
                                                                                                                </xs:complexType>
1569
                                                                                                        </xs:element>
1570
                                                                                                        <xs:element name="arma" maxOccurs="500">
1571
                                                                                                                <xs:annotation>
1572
                                                                                                                        <xs:documentation>Armamentos</xs:documentation>
1573
                                                                                                                </xs:annotation>
1574
                                                                                                                <xs:complexType>
1575
                                                                                                                        <xs:sequence>
1576
                                                                                                                                <xs:element name="tpArma">
1577
                                                                                                                                        <xs:annotation>
1578
                                                                                                                                                <xs:documentation>Indicador do tipo de arma de fogo (0 - Uso permitido; 1 - Uso restrito)</xs:documentation>
1579
                                                                                                                                        </xs:annotation>
1580
                                                                                                                                        <xs:simpleType>
1581
                                                                                                                                                <xs:restriction base="xs:string">
1582
                                                                                                                                                        <xs:whiteSpace value="preserve"/>
1583
                                                                                                                                                        <xs:enumeration value="0"/>
1584
                                                                                                                                                        <xs:enumeration value="1"/>
1585
                                                                                                                                                </xs:restriction>
1586
                                                                                                                                        </xs:simpleType>
1587
                                                                                                                                </xs:element>
1588
                                                                                                                                <xs:element name="nSerie">
1589
                                                                                                                                        <xs:annotation>
1590
                                                                                                                                                <xs:documentation>Número de série da arma</xs:documentation>
1591
                                                                                                                                        </xs:annotation>
1592
                                                                                                                                        <xs:simpleType>
1593
                                                                                                                                                <xs:restriction base="TString">
1594
                                                                                                                                                        <xs:minLength value="1"/>
1595
                                                                                                                                                        <xs:maxLength value="15"/>
1596
                                                                                                                                                </xs:restriction>
1597
                                                                                                                                        </xs:simpleType>
1598
                                                                                                                                </xs:element>
1599
                                                                                                                                <xs:element name="nCano">
1600
                                                                                                                                        <xs:annotation>
1601
                                                                                                                                                <xs:documentation>Número de série do cano</xs:documentation>
1602
                                                                                                                                        </xs:annotation>
1603
                                                                                                                                        <xs:simpleType>
1604
                                                                                                                                                <xs:restriction base="TString">
1605
                                                                                                                                                        <xs:minLength value="1"/>
1606
                                                                                                                                                        <xs:maxLength value="15"/>
1607
                                                                                                                                                </xs:restriction>
1608
                                                                                                                                        </xs:simpleType>
1609
                                                                                                                                </xs:element>
1610
                                                                                                                                <xs:element name="descr">
1611
                                                                                                                                        <xs:annotation>
1612
                                                                                                                                                <xs:documentation>Descrição completa da arma, compreendendo: calibre, marca, capacidade, tipo de funcionamento, comprimento e demais elementos que permitam a sua perfeita identificação.</xs:documentation>
1613
                                                                                                                                        </xs:annotation>
1614
                                                                                                                                        <xs:simpleType>
1615
                                                                                                                                                <xs:restriction base="TString">
1616
                                                                                                                                                        <xs:minLength value="1"/>
1617
                                                                                                                                                        <xs:maxLength value="256"/>
1618
                                                                                                                                                </xs:restriction>
1619
                                                                                                                                        </xs:simpleType>
1620
                                                                                                                                </xs:element>
1621
                                                                                                                        </xs:sequence>
1622
                                                                                                                </xs:complexType>
1623
                                                                                                        </xs:element>
1624
                                                                                                        <xs:element name="comb">
1625
                                                                                                                <xs:annotation>
1626
                                                                                                                        <xs:documentation>Informar apenas para operações com combustíveis líquidos</xs:documentation>
1627
                                                                                                                </xs:annotation>
1628
                                                                                                                <xs:complexType>
1629
                                                                                                                        <xs:sequence>
1630
                                                                                                                                <xs:element name="cProdANP">
1631
                                                                                                                                        <xs:annotation>
1632
                                                                                                                                                <xs:documentation>Código de produto da ANP. codificação de produtos do SIMP (http://www.anp.gov.br)</xs:documentation>
1633
                                                                                                                                        </xs:annotation>
1634
                                                                                                                                        <xs:simpleType>
1635
                                                                                                                                                <xs:restriction base="xs:string">
1636
                                                                                                                                                        <xs:whiteSpace value="preserve"/>
1637
                                                                                                                                                        <xs:pattern value="[0-9]{9}"/>
1638
                                                                                                                                                </xs:restriction>
1639
                                                                                                                                        </xs:simpleType>
1640
                                                                                                                                </xs:element>
1641
                                                                                                                                <xs:element name="pMixGN" type="TDec_0204v" minOccurs="0">
1642
                                                                                                                                        <xs:annotation>
1643
                                                                                                                                                <xs:documentation>Percentual de gas natural para o produto GLP</xs:documentation>
1644
                                                                                                                                        </xs:annotation>
1645
                                                                                                                                </xs:element>
1646
                                                                                                                                <xs:element name="CODIF" minOccurs="0">
1647
                                                                                                                                        <xs:annotation>
1648
                                                                                                                                                <xs:documentation>Código de autorização / registro do CODIF. Informar apenas quando a UF utilizar o CODIF (Sistema de Controle do                    Diferimento do Imposto nas Operações com AEAC - Álcool Etílico Anidro Combustível).</xs:documentation>
1649
                                                                                                                                        </xs:annotation>
1650
                                                                                                                                        <xs:simpleType>
1651
                                                                                                                                                <xs:restriction base="xs:string">
1652
                                                                                                                                                        <xs:whiteSpace value="preserve"/>
1653
                                                                                                                                                        <xs:pattern value="[0-9]{1,21}"/>
1654
                                                                                                                                                </xs:restriction>
1655
                                                                                                                                        </xs:simpleType>
1656
                                                                                                                                </xs:element>
1657
                                                                                                                                <xs:element name="qTemp" type="TDec_1204temperatura" minOccurs="0">
1658
                                                                                                                                        <xs:annotation>
1659
                                                                                                                                                <xs:documentation>Quantidade de combustível
1660
faturada à temperatura ambiente.
1661
Informar quando a quantidade
1662
faturada informada no campo
1663
qCom (I10) tiver sido ajustada para
1664
uma temperatura diferente da
1665
ambiente.</xs:documentation>
1666
                                                                                                                                        </xs:annotation>
1667
                                                                                                                                </xs:element>
1668
                                                                                                                                <xs:element name="UFCons" type="TUf">
1669
                                                                                                                                        <xs:annotation>
1670
                                                                                                                                                <xs:documentation>Sigla da UF de Consumo</xs:documentation>
1671
                                                                                                                                        </xs:annotation>
1672
                                                                                                                                </xs:element>
1673
                                                                                                                                <xs:element name="CIDE" minOccurs="0">
1674
                                                                                                                                        <xs:annotation>
1675
                                                                                                                                                <xs:documentation>CIDE Combustíveis</xs:documentation>
1676
                                                                                                                                        </xs:annotation>
1677
                                                                                                                                        <xs:complexType>
1678
                                                                                                                                                <xs:sequence>
1679
                                                                                                                                                        <xs:element name="qBCProd" type="TDec_1204v">
1680
                                                                                                                                                                <xs:annotation>
1681
                                                                                                                                                                        <xs:documentation>BC do CIDE ( Quantidade comercializada) </xs:documentation>
1682
                                                                                                                                                                </xs:annotation>
1683
                                                                                                                                                        </xs:element>
1684
                                                                                                                                                        <xs:element name="vAliqProd" type="TDec_1104">
1685
                                                                                                                                                                <xs:annotation>
1686
                                                                                                                                                                        <xs:documentation>Alíquota do CIDE  (em reais)</xs:documentation>
1687
                                                                                                                                                                </xs:annotation>
1688
                                                                                                                                                        </xs:element>
1689
                                                                                                                                                        <xs:element name="vCIDE" type="TDec_1302">
1690
                                                                                                                                                                <xs:annotation>
1691
                                                                                                                                                                        <xs:documentation>Valor do CIDE</xs:documentation>
1692
                                                                                                                                                                </xs:annotation>
1693
                                                                                                                                                        </xs:element>
1694
                                                                                                                                                </xs:sequence>
1695
                                                                                                                                        </xs:complexType>
1696
                                                                                                                                </xs:element>
1697
                                                                                                                                <xs:element name="encerrante" minOccurs="0">
1698
                                                                                                                                        <xs:annotation>
1699
                                                                                                                                                <xs:documentation>Informações do grupo de "encerrante"</xs:documentation>
1700
                                                                                                                                        </xs:annotation>
1701
                                                                                                                                        <xs:complexType>
1702
                                                                                                                                                <xs:sequence>
1703
                                                                                                                                                        <xs:element name="nBico">
1704
                                                                                                                                                                <xs:annotation>
1705
                                                                                                                                                                        <xs:documentation>Numero de identificação do Bico utilizado no abastecimento</xs:documentation>
1706
                                                                                                                                                                </xs:annotation>
1707
                                                                                                                                                                <xs:simpleType>
1708
                                                                                                                                                                        <xs:restriction base="xs:string">
1709
                                                                                                                                                                                <xs:whiteSpace value="preserve"/>
1710
                                                                                                                                                                                <xs:pattern value="[0-9]{1,3}"/>
1711
                                                                                                                                                                        </xs:restriction>
1712
                                                                                                                                                                </xs:simpleType>
1713
                                                                                                                                                        </xs:element>
1714
                                                                                                                                                        <xs:element name="nBomba" minOccurs="0">
1715
                                                                                                                                                                <xs:annotation>
1716
                                                                                                                                                                        <xs:documentation>Numero de identificação da bomba ao qual o bico está interligado</xs:documentation>
1717
                                                                                                                                                                </xs:annotation>
1718
                                                                                                                                                                <xs:simpleType>
1719
                                                                                                                                                                        <xs:restriction base="xs:string">
1720
                                                                                                                                                                                <xs:whiteSpace value="preserve"/>
1721
                                                                                                                                                                                <xs:pattern value="[0-9]{1,3}"/>
1722
                                                                                                                                                                        </xs:restriction>
1723
                                                                                                                                                                </xs:simpleType>
1724
                                                                                                                                                        </xs:element>
1725
                                                                                                                                                        <xs:element name="nTanque">
1726
                                                                                                                                                                <xs:annotation>
1727
                                                                                                                                                                        <xs:documentation>Numero de identificação do tanque ao qual o bico está interligado</xs:documentation>
1728
                                                                                                                                                                </xs:annotation>
1729
                                                                                                                                                                <xs:simpleType>
1730
                                                                                                                                                                        <xs:restriction base="xs:string">
1731
                                                                                                                                                                                <xs:whiteSpace value="preserve"/>
1732
                                                                                                                                                                                <xs:pattern value="[0-9]{1,3}"/>
1733
                                                                                                                                                                        </xs:restriction>
1734
                                                                                                                                                                </xs:simpleType>
1735
                                                                                                                                                        </xs:element>
1736
                                                                                                                                                        <xs:element name="vEncIni" type="TDec_1203">
1737
                                                                                                                                                                <xs:annotation>
1738
                                                                                                                                                                        <xs:documentation>Valor do Encerrante no ínicio do abastecimento</xs:documentation>
1739
                                                                                                                                                                </xs:annotation>
1740
                                                                                                                                                        </xs:element>
1741
                                                                                                                                                        <xs:element name="vEncFin" type="TDec_1203">
1742
                                                                                                                                                                <xs:annotation>
1743
                                                                                                                                                                        <xs:documentation>Valor do Encerrante no final do abastecimento</xs:documentation>
1744
                                                                                                                                                                </xs:annotation>
1745
                                                                                                                                                        </xs:element>
1746
                                                                                                                                                </xs:sequence>
1747
                                                                                                                                        </xs:complexType>
1748
                                                                                                                                </xs:element>
1749
                                                                                                                        </xs:sequence>
1750
                                                                                                                </xs:complexType>
1751
                                                                                                        </xs:element>
1752
                                                                                                        <xs:element name="nRECOPI">
1753
                                                                                                                <xs:annotation>
1754
                                                                                                                        <xs:documentation>Número do RECOPI</xs:documentation>
1755
                                                                                                                </xs:annotation>
1756
                                                                                                                <xs:simpleType>
1757
                                                                                                                        <xs:restriction base="xs:string">
1758
                                                                                                                                <xs:whiteSpace value="preserve"/>
1759
                                                                                                                                <xs:maxLength value="20"/>
1760
                                                                                                                                <xs:pattern value="[0-9]{20}"/>
1761
                                                                                                                        </xs:restriction>
1762
                                                                                                                </xs:simpleType>
1763
                                                                                                        </xs:element>
1764
                                                                                                </xs:choice>
1765
                                                                                        </xs:sequence>
1766
                                                                                </xs:complexType>
1767
                                                                        </xs:element>
1768
                                                                        <xs:element name="imposto">
1769
                                                                                <xs:annotation>
1770
                                                                                        <xs:documentation>Tributos incidentes nos produtos ou serviços da NF-e</xs:documentation>
1771
                                                                                </xs:annotation>
1772
                                                                                <xs:complexType>
1773
                                                                                        <xs:sequence>
1774
                                                                                                <xs:element name="vTotTrib" type="TDec_1302" minOccurs="0">
1775
                                                                                                        <xs:annotation>
1776
                                                                                                                <xs:documentation>Valor estimado total de impostos federais, estaduais e municipais</xs:documentation>
1777
                                                                                                        </xs:annotation>
1778
                                                                                                </xs:element>
1779
                                                                                                <xs:choice>
1780
                                                                                                        <xs:sequence>
1781
                                                                                                                <xs:element name="ICMS">
1782
                                                                                                                        <xs:annotation>
1783
                                                                                                                                <xs:documentation>Dados do ICMS Normal e ST</xs:documentation>
1784
                                                                                                                        </xs:annotation>
1785
                                                                                                                        <xs:complexType>
1786
                                                                                                                                <xs:choice>
1787
                                                                                                                                        <xs:element name="ICMS00">
1788
                                                                                                                                                <xs:annotation>
1789
                                                                                                                                                        <xs:documentation>Tributação pelo ICMS
1790
00 - Tributada integralmente</xs:documentation>
1791
                                                                                                                                                </xs:annotation>
1792
                                                                                                                                                <xs:complexType>
1793
                                                                                                                                                        <xs:sequence>
1794
                                                                                                                                                                <xs:element name="orig" type="Torig">
1795
                                                                                                                                                                        <xs:annotation>
1796
                                                                                                                                                                                <xs:documentation>origem da mercadoria: 0 - Nacional
1797
1 - Estrangeira - Importação direta
1798
2 - Estrangeira - Adquirida no mercado interno
1799
</xs:documentation>
1800
                                                                                                                                                                        </xs:annotation>
1801
                                                                                                                                                                </xs:element>
1802
                                                                                                                                                                <xs:element name="CST">
1803
                                                                                                                                                                        <xs:annotation>
1804
                                                                                                                                                                                <xs:documentation>Tributção pelo ICMS
1805
00 - Tributada integralmente
1806
</xs:documentation>
1807
                                                                                                                                                                        </xs:annotation>
1808
                                                                                                                                                                        <xs:simpleType>
1809
                                                                                                                                                                                <xs:restriction base="xs:string">
1810
                                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
1811
                                                                                                                                                                                        <xs:enumeration value="00"/>
1812
                                                                                                                                                                                </xs:restriction>
1813
                                                                                                                                                                        </xs:simpleType>
1814
                                                                                                                                                                </xs:element>
1815
                                                                                                                                                                <xs:element name="modBC">
1816
                                                                                                                                                                        <xs:annotation>
1817
                                                                                                                                                                                <xs:documentation>Modalidade de determinação da BC do ICMS:
1818
 
1819
1 - Pauta (valor);
1820
2 - Preço Tabelado Máximo (valor);
1821
3 - Valor da Operação.</xs:documentation>
1822
                                                                                                                                                                        </xs:annotation>
1823
                                                                                                                                                                        <xs:simpleType>
1824
                                                                                                                                                                                <xs:restriction base="xs:string">
1825
                                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
1826
                                                                                                                                                                                        <xs:enumeration value="0"/>
1827
                                                                                                                                                                                        <xs:enumeration value="1"/>
1828
                                                                                                                                                                                        <xs:enumeration value="2"/>
1829
                                                                                                                                                                                        <xs:enumeration value="3"/>
1830
                                                                                                                                                                                </xs:restriction>
1831
                                                                                                                                                                        </xs:simpleType>
1832
                                                                                                                                                                </xs:element>
1833
                                                                                                                                                                <xs:element name="vBC" type="TDec_1302">
1834
                                                                                                                                                                        <xs:annotation>
1835
                                                                                                                                                                                <xs:documentation>Valor da BC do ICMS</xs:documentation>
1836
                                                                                                                                                                        </xs:annotation>
1837
                                                                                                                                                                </xs:element>
1838
                                                                                                                                                                <xs:element name="pICMS" type="TDec_0302a04">
1839
                                                                                                                                                                        <xs:annotation>
1840
                                                                                                                                                                                <xs:documentation>Alíquota do ICMS</xs:documentation>
1841
                                                                                                                                                                        </xs:annotation>
1842
                                                                                                                                                                </xs:element>
1843
                                                                                                                                                                <xs:element name="vICMS" type="TDec_1302">
1844
                                                                                                                                                                        <xs:annotation>
1845
                                                                                                                                                                                <xs:documentation>Valor do ICMS</xs:documentation>
1846
                                                                                                                                                                        </xs:annotation>
1847
                                                                                                                                                                </xs:element>
1848
                                                                                                                                                        </xs:sequence>
1849
                                                                                                                                                </xs:complexType>
1850
                                                                                                                                        </xs:element>
1851
                                                                                                                                        <xs:element name="ICMS10">
1852
                                                                                                                                                <xs:annotation>
1853
                                                                                                                                                        <xs:documentation>Tributação pelo ICMS
1854
10 - Tributada e com cobrança do ICMS por substituição tributária </xs:documentation>
1855
                                                                                                                                                </xs:annotation>
1856
                                                                                                                                                <xs:complexType>
1857
                                                                                                                                                        <xs:sequence>
1858
                                                                                                                                                                <xs:element name="orig" type="Torig">
1859
                                                                                                                                                                        <xs:annotation>
1860
                                                                                                                                                                                <xs:documentation>origem da mercadoria: 0 - Nacional
1861
1 - Estrangeira - Importação direta
1862
2 - Estrangeira - Adquirida no mercado interno
1863
</xs:documentation>
1864
                                                                                                                                                                        </xs:annotation>
1865
                                                                                                                                                                </xs:element>
1866
                                                                                                                                                                <xs:element name="CST">
1867
                                                                                                                                                                        <xs:annotation>
1868
                                                                                                                                                                                <xs:documentation>10 - Tributada e com cobrança do ICMS por substituição tributária </xs:documentation>
1869
                                                                                                                                                                        </xs:annotation>
1870
                                                                                                                                                                        <xs:simpleType>
1871
                                                                                                                                                                                <xs:restriction base="xs:string">
1872
                                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
1873
                                                                                                                                                                                        <xs:enumeration value="10"/>
1874
                                                                                                                                                                                </xs:restriction>
1875
                                                                                                                                                                        </xs:simpleType>
1876
                                                                                                                                                                </xs:element>
1877
                                                                                                                                                                <xs:element name="modBC">
1878
                                                                                                                                                                        <xs:annotation>
1879
                                                                                                                                                                                <xs:documentation>Modalidade de determinação da BC do ICMS:
1880
 
1881
1 - Pauta (valor);
1882
2 - Preço Tabelado Máximo (valor);
1883
3 - Valor da Operação.</xs:documentation>
1884
                                                                                                                                                                        </xs:annotation>
1885
                                                                                                                                                                        <xs:simpleType>
1886
                                                                                                                                                                                <xs:restriction base="xs:string">
1887
                                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
1888
                                                                                                                                                                                        <xs:enumeration value="0"/>
1889
                                                                                                                                                                                        <xs:enumeration value="1"/>
1890
                                                                                                                                                                                        <xs:enumeration value="2"/>
1891
                                                                                                                                                                                        <xs:enumeration value="3"/>
1892
                                                                                                                                                                                </xs:restriction>
1893
                                                                                                                                                                        </xs:simpleType>
1894
                                                                                                                                                                </xs:element>
1895
                                                                                                                                                                <xs:element name="vBC" type="TDec_1302">
1896
                                                                                                                                                                        <xs:annotation>
1897
                                                                                                                                                                                <xs:documentation>Valor da BC do ICMS</xs:documentation>
1898
                                                                                                                                                                        </xs:annotation>
1899
                                                                                                                                                                </xs:element>
1900
                                                                                                                                                                <xs:element name="pICMS" type="TDec_0302a04">
1901
                                                                                                                                                                        <xs:annotation>
1902
                                                                                                                                                                                <xs:documentation>Alíquota do ICMS</xs:documentation>
1903
                                                                                                                                                                        </xs:annotation>
1904
                                                                                                                                                                </xs:element>
1905
                                                                                                                                                                <xs:element name="vICMS" type="TDec_1302">
1906
                                                                                                                                                                        <xs:annotation>
1907
                                                                                                                                                                                <xs:documentation>Valor do ICMS</xs:documentation>
1908
                                                                                                                                                                        </xs:annotation>
1909
                                                                                                                                                                </xs:element>
1910
                                                                                                                                                                <xs:element name="modBCST">
1911
                                                                                                                                                                        <xs:annotation>
1912
                                                                                                                                                                                <xs:documentation>Modalidade de determinação da BC do ICMS ST:
1913
 
1914
1 - Lista Negativa (valor);
1915
2 - Lista Positiva (valor);
1916
3 - Lista Neutra (valor);
1917
4 - Margem Valor Agregado (%);
1918
5 - Pauta (valor);</xs:documentation>
1919
                                                                                                                                                                        </xs:annotation>
1920
                                                                                                                                                                        <xs:simpleType>
1921
                                                                                                                                                                                <xs:restriction base="xs:string">
1922
                                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
1923
                                                                                                                                                                                        <xs:enumeration value="0"/>
1924
                                                                                                                                                                                        <xs:enumeration value="1"/>
1925
                                                                                                                                                                                        <xs:enumeration value="2"/>
1926
                                                                                                                                                                                        <xs:enumeration value="3"/>
1927
                                                                                                                                                                                        <xs:enumeration value="4"/>
1928
                                                                                                                                                                                        <xs:enumeration value="5"/>
1929
                                                                                                                                                                                </xs:restriction>
1930
                                                                                                                                                                        </xs:simpleType>
1931
                                                                                                                                                                </xs:element>
1932
                                                                                                                                                                <xs:element name="pMVAST" type="TDec_0302a04Opc" minOccurs="0">
1933
                                                                                                                                                                        <xs:annotation>
1934
                                                                                                                                                                                <xs:documentation>Percentual da Margem de Valor Adicionado ICMS ST</xs:documentation>
1935
                                                                                                                                                                        </xs:annotation>
1936
                                                                                                                                                                </xs:element>
1937
                                                                                                                                                                <xs:element name="pRedBCST" type="TDec_0302a04Opc" minOccurs="0">
1938
                                                                                                                                                                        <xs:annotation>
1939
                                                                                                                                                                                <xs:documentation>Percentual de redução da BC ICMS ST </xs:documentation>
1940
                                                                                                                                                                        </xs:annotation>
1941
                                                                                                                                                                </xs:element>
1942
                                                                                                                                                                <xs:element name="vBCST" type="TDec_1302">
1943
                                                                                                                                                                        <xs:annotation>
1944
                                                                                                                                                                                <xs:documentation>Valor da BC do ICMS ST</xs:documentation>
1945
                                                                                                                                                                        </xs:annotation>
1946
                                                                                                                                                                </xs:element>
1947
                                                                                                                                                                <xs:element name="pICMSST" type="TDec_0302a04">
1948
                                                                                                                                                                        <xs:annotation>
1949
                                                                                                                                                                                <xs:documentation>Alíquota do ICMS ST</xs:documentation>
1950
                                                                                                                                                                        </xs:annotation>
1951
                                                                                                                                                                </xs:element>
1952
                                                                                                                                                                <xs:element name="vICMSST" type="TDec_1302">
1953
                                                                                                                                                                        <xs:annotation>
1954
                                                                                                                                                                                <xs:documentation>Valor do ICMS ST</xs:documentation>
1955
                                                                                                                                                                        </xs:annotation>
1956
                                                                                                                                                                </xs:element>
1957
                                                                                                                                                        </xs:sequence>
1958
                                                                                                                                                </xs:complexType>
1959
                                                                                                                                        </xs:element>
1960
                                                                                                                                        <xs:element name="ICMS20">
1961
                                                                                                                                                <xs:annotation>
1962
                                                                                                                                                        <xs:documentation>Tributção pelo ICMS
1963
20 - Com redução de base de cálculo </xs:documentation>
1964
                                                                                                                                                </xs:annotation>
1965
                                                                                                                                                <xs:complexType>
1966
                                                                                                                                                        <xs:sequence>
1967
                                                                                                                                                                <xs:element name="orig" type="Torig">
1968
                                                                                                                                                                        <xs:annotation>
1969
                                                                                                                                                                                <xs:documentation>origem da mercadoria: 0 - Nacional
1970
1 - Estrangeira - Importação direta
1971
2 - Estrangeira - Adquirida no mercado interno
1972
</xs:documentation>
1973
                                                                                                                                                                        </xs:annotation>
1974
                                                                                                                                                                </xs:element>
1975
                                                                                                                                                                <xs:element name="CST">
1976
                                                                                                                                                                        <xs:annotation>
1977
                                                                                                                                                                                <xs:documentation>Tributção pelo ICMS
1978
20 - Com redução de base de cálculo</xs:documentation>
1979
                                                                                                                                                                        </xs:annotation>
1980
                                                                                                                                                                        <xs:simpleType>
1981
                                                                                                                                                                                <xs:restriction base="xs:string">
1982
                                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
1983
                                                                                                                                                                                        <xs:enumeration value="20"/>
1984
                                                                                                                                                                                </xs:restriction>
1985
                                                                                                                                                                        </xs:simpleType>
1986
                                                                                                                                                                </xs:element>
1987
                                                                                                                                                                <xs:element name="modBC">
1988
                                                                                                                                                                        <xs:annotation>
1989
                                                                                                                                                                                <xs:documentation>Modalidade de determinação da BC do ICMS:
1990
 
1991
1 - Pauta (valor);
1992
2 - Preço Tabelado Máximo (valor);
1993
3 - Valor da Operação.</xs:documentation>
1994
                                                                                                                                                                        </xs:annotation>
1995
                                                                                                                                                                        <xs:simpleType>
1996
                                                                                                                                                                                <xs:restriction base="xs:string">
1997
                                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
1998
                                                                                                                                                                                        <xs:enumeration value="0"/>
1999
                                                                                                                                                                                        <xs:enumeration value="1"/>
2000
                                                                                                                                                                                        <xs:enumeration value="2"/>
2001
                                                                                                                                                                                        <xs:enumeration value="3"/>
2002
                                                                                                                                                                                </xs:restriction>
2003
                                                                                                                                                                        </xs:simpleType>
2004
                                                                                                                                                                </xs:element>
2005
                                                                                                                                                                <xs:element name="pRedBC" type="TDec_0302a04">
2006
                                                                                                                                                                        <xs:annotation>
2007
                                                                                                                                                                                <xs:documentation>Percentual de redução da BC</xs:documentation>
2008
                                                                                                                                                                        </xs:annotation>
2009
                                                                                                                                                                </xs:element>
2010
                                                                                                                                                                <xs:element name="vBC" type="TDec_1302">
2011
                                                                                                                                                                        <xs:annotation>
2012
                                                                                                                                                                                <xs:documentation>Valor da BC do ICMS</xs:documentation>
2013
                                                                                                                                                                        </xs:annotation>
2014
                                                                                                                                                                </xs:element>
2015
                                                                                                                                                                <xs:element name="pICMS" type="TDec_0302a04">
2016
                                                                                                                                                                        <xs:annotation>
2017
                                                                                                                                                                                <xs:documentation>Alíquota do ICMS</xs:documentation>
2018
                                                                                                                                                                        </xs:annotation>
2019
                                                                                                                                                                </xs:element>
2020
                                                                                                                                                                <xs:element name="vICMS" type="TDec_1302">
2021
                                                                                                                                                                        <xs:annotation>
2022
                                                                                                                                                                                <xs:documentation>Valor do ICMS</xs:documentation>
2023
                                                                                                                                                                        </xs:annotation>
2024
                                                                                                                                                                </xs:element>
2025
                                                                                                                                                                <xs:sequence minOccurs="0">
2026
                                                                                                                                                                        <xs:annotation>
2027
                                                                                                                                                                                <xs:documentation>Grupo desoneração</xs:documentation>
2028
                                                                                                                                                                        </xs:annotation>
2029
                                                                                                                                                                        <xs:element name="vICMSDeson" type="TDec_1302">
2030
                                                                                                                                                                                <xs:annotation>
2031
                                                                                                                                                                                        <xs:documentation>Valor do ICMS de desoneração</xs:documentation>
2032
                                                                                                                                                                                </xs:annotation>
2033
                                                                                                                                                                        </xs:element>
2034
                                                                                                                                                                        <xs:element name="motDesICMS">
2035
                                                                                                                                                                                <xs:annotation>
2036
                                                                                                                                                                                        <xs:documentation>Motivo da desoneração do ICMS:3-Uso na agropecuária;9-Outros;12-Fomento agropecuário</xs:documentation>
2037
                                                                                                                                                                                </xs:annotation>
2038
                                                                                                                                                                                <xs:simpleType>
2039
                                                                                                                                                                                        <xs:restriction base="xs:string">
2040
                                                                                                                                                                                                <xs:whiteSpace value="preserve"/>
2041
                                                                                                                                                                                                <xs:enumeration value="3"/>
2042
                                                                                                                                                                                                <xs:enumeration value="9"/>
2043
                                                                                                                                                                                                <xs:enumeration value="12"/>
2044
                                                                                                                                                                                        </xs:restriction>
2045
                                                                                                                                                                                </xs:simpleType>
2046
                                                                                                                                                                        </xs:element>
2047
                                                                                                                                                                </xs:sequence>
2048
                                                                                                                                                        </xs:sequence>
2049
                                                                                                                                                </xs:complexType>
2050
                                                                                                                                        </xs:element>
2051
                                                                                                                                        <xs:element name="ICMS30">
2052
                                                                                                                                                <xs:annotation>
2053
                                                                                                                                                        <xs:documentation>Tributação pelo ICMS
2054
30 - Isenta ou não tributada e com cobrança do ICMS por substituição tributária</xs:documentation>
2055
                                                                                                                                                </xs:annotation>
2056
                                                                                                                                                <xs:complexType>
2057
                                                                                                                                                        <xs:sequence>
2058
                                                                                                                                                                <xs:element name="orig" type="Torig">
2059
                                                                                                                                                                        <xs:annotation>
2060
                                                                                                                                                                                <xs:documentation>origem da mercadoria: 0 - Nacional
2061
1 - Estrangeira - Importação direta
2062
2 - Estrangeira - Adquirida no mercado interno
2063
</xs:documentation>
2064
                                                                                                                                                                        </xs:annotation>
2065
                                                                                                                                                                </xs:element>
2066
                                                                                                                                                                <xs:element name="CST">
2067
                                                                                                                                                                        <xs:annotation>
2068
                                                                                                                                                                                <xs:documentation>Tributção pelo ICMS
2069
30 - Isenta ou não tributada e com cobrança do ICMS por substituição tributária </xs:documentation>
2070
                                                                                                                                                                        </xs:annotation>
2071
                                                                                                                                                                        <xs:simpleType>
2072
                                                                                                                                                                                <xs:restriction base="xs:string">
2073
                                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
2074
                                                                                                                                                                                        <xs:enumeration value="30"/>
2075
                                                                                                                                                                                </xs:restriction>
2076
                                                                                                                                                                        </xs:simpleType>
2077
                                                                                                                                                                </xs:element>
2078
                                                                                                                                                                <xs:element name="modBCST">
2079
                                                                                                                                                                        <xs:annotation>
2080
                                                                                                                                                                                <xs:documentation>Modalidade de determinação da BC do ICMS ST:
2081
 
2082
1 - Lista Negativa (valor);
2083
2 - Lista Positiva (valor);
2084
3 - Lista Neutra (valor);
2085
4 - Margem Valor Agregado (%);
2086
5 - Pauta (valor).</xs:documentation>
2087
                                                                                                                                                                        </xs:annotation>
2088
                                                                                                                                                                        <xs:simpleType>
2089
                                                                                                                                                                                <xs:restriction base="xs:string">
2090
                                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
2091
                                                                                                                                                                                        <xs:enumeration value="0"/>
2092
                                                                                                                                                                                        <xs:enumeration value="1"/>
2093
                                                                                                                                                                                        <xs:enumeration value="2"/>
2094
                                                                                                                                                                                        <xs:enumeration value="3"/>
2095
                                                                                                                                                                                        <xs:enumeration value="4"/>
2096
                                                                                                                                                                                        <xs:enumeration value="5"/>
2097
                                                                                                                                                                                </xs:restriction>
2098
                                                                                                                                                                        </xs:simpleType>
2099
                                                                                                                                                                </xs:element>
2100
                                                                                                                                                                <xs:element name="pMVAST" type="TDec_0302a04Opc" minOccurs="0">
2101
                                                                                                                                                                        <xs:annotation>
2102
                                                                                                                                                                                <xs:documentation>Percentual da Margem de Valor Adicionado ICMS ST</xs:documentation>
2103
                                                                                                                                                                        </xs:annotation>
2104
                                                                                                                                                                </xs:element>
2105
                                                                                                                                                                <xs:element name="pRedBCST" type="TDec_0302a04Opc" minOccurs="0">
2106
                                                                                                                                                                        <xs:annotation>
2107
                                                                                                                                                                                <xs:documentation>Percentual de redução da BC ICMS ST </xs:documentation>
2108
                                                                                                                                                                        </xs:annotation>
2109
                                                                                                                                                                </xs:element>
2110
                                                                                                                                                                <xs:element name="vBCST" type="TDec_1302">
2111
                                                                                                                                                                        <xs:annotation>
2112
                                                                                                                                                                                <xs:documentation>Valor da BC do ICMS ST</xs:documentation>
2113
                                                                                                                                                                        </xs:annotation>
2114
                                                                                                                                                                </xs:element>
2115
                                                                                                                                                                <xs:element name="pICMSST" type="TDec_0302a04">
2116
                                                                                                                                                                        <xs:annotation>
2117
                                                                                                                                                                                <xs:documentation>Alíquota do ICMS ST</xs:documentation>
2118
                                                                                                                                                                        </xs:annotation>
2119
                                                                                                                                                                </xs:element>
2120
                                                                                                                                                                <xs:element name="vICMSST" type="TDec_1302">
2121
                                                                                                                                                                        <xs:annotation>
2122
                                                                                                                                                                                <xs:documentation>Valor do ICMS ST</xs:documentation>
2123
                                                                                                                                                                        </xs:annotation>
2124
                                                                                                                                                                </xs:element>
2125
                                                                                                                                                                <xs:sequence minOccurs="0">
2126
                                                                                                                                                                        <xs:annotation>
2127
                                                                                                                                                                                <xs:documentation>Grupo desoneração</xs:documentation>
2128
                                                                                                                                                                        </xs:annotation>
2129
                                                                                                                                                                        <xs:element name="vICMSDeson" type="TDec_1302">
2130
                                                                                                                                                                                <xs:annotation>
2131
                                                                                                                                                                                        <xs:documentation>Valor do ICMS de desoneração</xs:documentation>
2132
                                                                                                                                                                                </xs:annotation>
2133
                                                                                                                                                                        </xs:element>
2134
                                                                                                                                                                        <xs:element name="motDesICMS">
2135
                                                                                                                                                                                <xs:annotation>
2136
                                                                                                                                                                                        <xs:documentation>Motivo da desoneração do ICMS:6-Utilitários Motocicleta AÁrea Livre;7-SUFRAMA;9-Outros</xs:documentation>
2137
                                                                                                                                                                                </xs:annotation>
2138
                                                                                                                                                                                <xs:simpleType>
2139
                                                                                                                                                                                        <xs:restriction base="xs:string">
2140
                                                                                                                                                                                                <xs:whiteSpace value="preserve"/>
2141
                                                                                                                                                                                                <xs:enumeration value="6"/>
2142
                                                                                                                                                                                                <xs:enumeration value="7"/>
2143
                                                                                                                                                                                                <xs:enumeration value="9"/>
2144
                                                                                                                                                                                        </xs:restriction>
2145
                                                                                                                                                                                </xs:simpleType>
2146
                                                                                                                                                                        </xs:element>
2147
                                                                                                                                                                </xs:sequence>
2148
                                                                                                                                                        </xs:sequence>
2149
                                                                                                                                                </xs:complexType>
2150
                                                                                                                                        </xs:element>
2151
                                                                                                                                        <xs:element name="ICMS40">
2152
                                                                                                                                                <xs:annotation>
2153
                                                                                                                                                        <xs:documentation>Tributação pelo ICMS
2154
40 - Isenta
2155
41 - Não tributada
2156
50 - Suspensão  </xs:documentation>
2157
                                                                                                                                                </xs:annotation>
2158
                                                                                                                                                <xs:complexType>
2159
                                                                                                                                                        <xs:sequence>
2160
                                                                                                                                                                <xs:element name="orig" type="Torig">
2161
                                                                                                                                                                        <xs:annotation>
2162
                                                                                                                                                                                <xs:documentation>origem da mercadoria: 0 - Nacional
2163
1 - Estrangeira - Importação direta
2164
2 - Estrangeira - Adquirida no mercado interno
2165
</xs:documentation>
2166
                                                                                                                                                                        </xs:annotation>
2167
                                                                                                                                                                </xs:element>
2168
                                                                                                                                                                <xs:element name="CST">
2169
                                                                                                                                                                        <xs:annotation>
2170
                                                                                                                                                                                <xs:documentation>Tributação pelo ICMS
2171
40 - Isenta
2172
41 - Não tributada
2173
50 - Suspensão
2174
51 - Diferimento </xs:documentation>
2175
                                                                                                                                                                        </xs:annotation>
2176
                                                                                                                                                                        <xs:simpleType>
2177
                                                                                                                                                                                <xs:restriction base="xs:string">
2178
                                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
2179
                                                                                                                                                                                        <xs:enumeration value="40"/>
2180
                                                                                                                                                                                        <xs:enumeration value="41"/>
2181
                                                                                                                                                                                        <xs:enumeration value="50"/>
2182
                                                                                                                                                                                </xs:restriction>
2183
                                                                                                                                                                        </xs:simpleType>
2184
                                                                                                                                                                </xs:element>
2185
                                                                                                                                                                <xs:sequence minOccurs="0">
2186
                                                                                                                                                                        <xs:element name="vICMSDeson" type="TDec_1302">
2187
                                                                                                                                                                                <xs:annotation>
2188
                                                                                                                                                                                        <xs:documentation>O valor do ICMS será informado apenas nas operações com veículos beneficiados com a desoneração condicional do ICMS.</xs:documentation>
2189
                                                                                                                                                                                </xs:annotation>
2190
                                                                                                                                                                        </xs:element>
2191
                                                                                                                                                                        <xs:element name="motDesICMS">
2192
                                                                                                                                                                                <xs:annotation>
2193
                                                                                                                                                                                        <xs:documentation>Este campo será preenchido quando o campo anterior estiver preenchido.
2194
Informar o motivo da desoneração:
2195
1 – Táxi;
2196
3 – Produtor Agropecuário;
2197
4 – Frotista/Locadora;
2198
5 – Diplomático/Consular;
2199
6 – Utilitários e Motocicletas da Amazônia Ocidental e Áreas de Livre Comércio (Resolução 714/88 e 790/94 – CONTRAN e suas alterações);
2200
7 – SUFRAMA;
2201
8 - Venda a órgão Público;
2202
9 – Outros
2203
10- Deficiente Condutor
2204
11- Deficiente não condutor
2205
16 - Olimpíadas Rio 2016
2206
                                                        </xs:documentation>
2207
                                                                                                                                                                                </xs:annotation>
2208
                                                                                                                                                                                <xs:simpleType>
2209
                                                                                                                                                                                        <xs:restriction base="xs:string">
2210
                                                                                                                                                                                                <xs:whiteSpace value="preserve"/>
2211
                                                                                                                                                                                                <xs:enumeration value="1"/>
2212
                                                                                                                                                                                                <xs:enumeration value="3"/>
2213
                                                                                                                                                                                                <xs:enumeration value="4"/>
2214
                                                                                                                                                                                                <xs:enumeration value="5"/>
2215
                                                                                                                                                                                                <xs:enumeration value="6"/>
2216
                                                                                                                                                                                                <xs:enumeration value="7"/>
2217
                                                                                                                                                                                                <xs:enumeration value="8"/>
2218
                                                                                                                                                                                                <xs:enumeration value="9"/>
2219
                                                                                                                                                                                                <xs:enumeration value="10"/>
2220
                                                                                                                                                                                                <xs:enumeration value="11"/>
2221
                                                                                                                                                                                                <xs:enumeration value="16"/>
2222
                                                                                                                                                                                        </xs:restriction>
2223
                                                                                                                                                                                </xs:simpleType>
2224
                                                                                                                                                                        </xs:element>
2225
                                                                                                                                                                </xs:sequence>
2226
                                                                                                                                                        </xs:sequence>
2227
                                                                                                                                                </xs:complexType>
2228
                                                                                                                                        </xs:element>
2229
                                                                                                                                        <xs:element name="ICMS51">
2230
                                                                                                                                                <xs:annotation>
2231
                                                                                                                                                        <xs:documentation>Tributção pelo ICMS
2232
51 - Diferimento
2233
A exigência do preenchimento das informações do ICMS diferido fica à critério de cada UF.</xs:documentation>
2234
                                                                                                                                                </xs:annotation>
2235
                                                                                                                                                <xs:complexType>
2236
                                                                                                                                                        <xs:sequence>
2237
                                                                                                                                                                <xs:element name="orig" type="Torig">
2238
                                                                                                                                                                        <xs:annotation>
2239
                                                                                                                                                                                <xs:documentation>origem da mercadoria: 0 - Nacional
2240
1 - Estrangeira - Importação direta
2241
2 - Estrangeira - Adquirida no mercado interno
2242
</xs:documentation>
2243
                                                                                                                                                                        </xs:annotation>
2244
                                                                                                                                                                </xs:element>
2245
                                                                                                                                                                <xs:element name="CST">
2246
                                                                                                                                                                        <xs:annotation>
2247
                                                                                                                                                                                <xs:documentation>Tributção pelo ICMS
2248
20 - Com redução de base de cálculo</xs:documentation>
2249
                                                                                                                                                                        </xs:annotation>
2250
                                                                                                                                                                        <xs:simpleType>
2251
                                                                                                                                                                                <xs:restriction base="xs:string">
2252
                                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
2253
                                                                                                                                                                                        <xs:enumeration value="51"/>
2254
                                                                                                                                                                                </xs:restriction>
2255
                                                                                                                                                                        </xs:simpleType>
2256
                                                                                                                                                                </xs:element>
2257
                                                                                                                                                                <xs:element name="modBC" minOccurs="0">
2258
                                                                                                                                                                        <xs:annotation>
2259
                                                                                                                                                                                <xs:documentation>Modalidade de determinação da BC do ICMS:
2260
 
2261
1 - Pauta (valor);
2262
2 - Preço Tabelado Máximo (valor);
2263
3 - Valor da Operação.</xs:documentation>
2264
                                                                                                                                                                        </xs:annotation>
2265
                                                                                                                                                                        <xs:simpleType>
2266
                                                                                                                                                                                <xs:restriction base="xs:string">
2267
                                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
2268
                                                                                                                                                                                        <xs:enumeration value="0"/>
2269
                                                                                                                                                                                        <xs:enumeration value="1"/>
2270
                                                                                                                                                                                        <xs:enumeration value="2"/>
2271
                                                                                                                                                                                        <xs:enumeration value="3"/>
2272
                                                                                                                                                                                </xs:restriction>
2273
                                                                                                                                                                        </xs:simpleType>
2274
                                                                                                                                                                </xs:element>
2275
                                                                                                                                                                <xs:element name="pRedBC" type="TDec_0302a04" minOccurs="0">
2276
                                                                                                                                                                        <xs:annotation>
2277
                                                                                                                                                                                <xs:documentation>Percentual de redução da BC</xs:documentation>
2278
                                                                                                                                                                        </xs:annotation>
2279
                                                                                                                                                                </xs:element>
2280
                                                                                                                                                                <xs:element name="vBC" type="TDec_1302" minOccurs="0">
2281
                                                                                                                                                                        <xs:annotation>
2282
                                                                                                                                                                                <xs:documentation>Valor da BC do ICMS</xs:documentation>
2283
                                                                                                                                                                        </xs:annotation>
2284
                                                                                                                                                                </xs:element>
2285
                                                                                                                                                                <xs:element name="pICMS" type="TDec_0302a04" minOccurs="0">
2286
                                                                                                                                                                        <xs:annotation>
2287
                                                                                                                                                                                <xs:documentation>Alíquota do ICMS</xs:documentation>
2288
                                                                                                                                                                        </xs:annotation>
2289
                                                                                                                                                                </xs:element>
2290
                                                                                                                                                                <xs:element name="vICMSOp" type="TDec_1302" minOccurs="0">
2291
                                                                                                                                                                        <xs:annotation>
2292
                                                                                                                                                                                <xs:documentation>Valor do ICMS da Operação</xs:documentation>
2293
                                                                                                                                                                        </xs:annotation>
2294
                                                                                                                                                                </xs:element>
2295
                                                                                                                                                                <xs:element name="pDif" type="TDec_0302a04Max100" minOccurs="0">
2296
                                                                                                                                                                        <xs:annotation>
2297
                                                                                                                                                                                <xs:documentation>Percentual do diferemento</xs:documentation>
2298
                                                                                                                                                                        </xs:annotation>
2299
                                                                                                                                                                </xs:element>
2300
                                                                                                                                                                <xs:element name="vICMSDif" type="TDec_1302" minOccurs="0">
2301
                                                                                                                                                                        <xs:annotation>
2302
                                                                                                                                                                                <xs:documentation>Valor do ICMS da diferido</xs:documentation>
2303
                                                                                                                                                                        </xs:annotation>
2304
                                                                                                                                                                </xs:element>
2305
                                                                                                                                                                <xs:element name="vICMS" type="TDec_1302" minOccurs="0">
2306
                                                                                                                                                                        <xs:annotation>
2307
                                                                                                                                                                                <xs:documentation>Valor do ICMS</xs:documentation>
2308
                                                                                                                                                                        </xs:annotation>
2309
                                                                                                                                                                </xs:element>
2310
                                                                                                                                                        </xs:sequence>
2311
                                                                                                                                                </xs:complexType>
2312
                                                                                                                                        </xs:element>
2313
                                                                                                                                        <xs:element name="ICMS60">
2314
                                                                                                                                                <xs:annotation>
2315
                                                                                                                                                        <xs:documentation>Tributação pelo ICMS
2316
60 - ICMS cobrado anteriormente por substituição tributária </xs:documentation>
2317
                                                                                                                                                </xs:annotation>
2318
                                                                                                                                                <xs:complexType>
2319
                                                                                                                                                        <xs:sequence>
2320
                                                                                                                                                                <xs:element name="orig" type="Torig">
2321
                                                                                                                                                                        <xs:annotation>
2322
                                                                                                                                                                                <xs:documentation>origem da mercadoria: 0 - Nacional
2323
1 - Estrangeira - Importação direta
2324
2 - Estrangeira - Adquirida no mercado interno
2325
</xs:documentation>
2326
                                                                                                                                                                        </xs:annotation>
2327
                                                                                                                                                                </xs:element>
2328
                                                                                                                                                                <xs:element name="CST">
2329
                                                                                                                                                                        <xs:annotation>
2330
                                                                                                                                                                                <xs:documentation>Tributação pelo ICMS
2331
60 - ICMS cobrado anteriormente por substituição tributária </xs:documentation>
2332
                                                                                                                                                                        </xs:annotation>
2333
                                                                                                                                                                        <xs:simpleType>
2334
                                                                                                                                                                                <xs:restriction base="xs:string">
2335
                                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
2336
                                                                                                                                                                                        <xs:enumeration value="60"/>
2337
                                                                                                                                                                                </xs:restriction>
2338
                                                                                                                                                                        </xs:simpleType>
2339
                                                                                                                                                                </xs:element>
2340
                                                                                                                                                                <xs:sequence minOccurs="0">
2341
                                                                                                                                                                        <xs:annotation>
2342
                                                                                                                                                                                <xs:documentation>NT2010/004</xs:documentation>
2343
                                                                                                                                                                        </xs:annotation>
2344
                                                                                                                                                                        <xs:element name="vBCSTRet" type="TDec_1302">
2345
                                                                                                                                                                                <xs:annotation>
2346
                                                                                                                                                                                        <xs:documentation>Valor da BC do ICMS ST retido anteriormente</xs:documentation>
2347
                                                                                                                                                                                </xs:annotation>
2348
                                                                                                                                                                        </xs:element>
2349
                                                                                                                                                                        <xs:element name="vICMSSTRet" type="TDec_1302">
2350
                                                                                                                                                                                <xs:annotation>
2351
                                                                                                                                                                                        <xs:documentation>Valor do ICMS ST retido anteriormente</xs:documentation>
2352
                                                                                                                                                                                </xs:annotation>
2353
                                                                                                                                                                        </xs:element>
2354
                                                                                                                                                                </xs:sequence>
2355
                                                                                                                                                        </xs:sequence>
2356
                                                                                                                                                </xs:complexType>
2357
                                                                                                                                        </xs:element>
2358
                                                                                                                                        <xs:element name="ICMS70">
2359
                                                                                                                                                <xs:annotation>
2360
                                                                                                                                                        <xs:documentation>Tributação pelo ICMS
2361
70 - Com redução de base de cálculo e cobrança do ICMS por substituição tributária </xs:documentation>
2362
                                                                                                                                                </xs:annotation>
2363
                                                                                                                                                <xs:complexType>
2364
                                                                                                                                                        <xs:sequence>
2365
                                                                                                                                                                <xs:element name="orig" type="Torig">
2366
                                                                                                                                                                        <xs:annotation>
2367
                                                                                                                                                                                <xs:documentation>origem da mercadoria: 0 - Nacional
2368
1 - Estrangeira - Importação direta
2369
2 - Estrangeira - Adquirida no mercado interno
2370
</xs:documentation>
2371
                                                                                                                                                                        </xs:annotation>
2372
                                                                                                                                                                </xs:element>
2373
                                                                                                                                                                <xs:element name="CST">
2374
                                                                                                                                                                        <xs:annotation>
2375
                                                                                                                                                                                <xs:documentation>Tributção pelo ICMS
2376
70 - Com redução de base de cálculo e cobrança do ICMS por substituição tributária </xs:documentation>
2377
                                                                                                                                                                        </xs:annotation>
2378
                                                                                                                                                                        <xs:simpleType>
2379
                                                                                                                                                                                <xs:restriction base="xs:string">
2380
                                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
2381
                                                                                                                                                                                        <xs:enumeration value="70"/>
2382
                                                                                                                                                                                </xs:restriction>
2383
                                                                                                                                                                        </xs:simpleType>
2384
                                                                                                                                                                </xs:element>
2385
                                                                                                                                                                <xs:element name="modBC">
2386
                                                                                                                                                                        <xs:annotation>
2387
                                                                                                                                                                                <xs:documentation>Modalidade de determinação da BC do ICMS:
2388
 
2389
1 - Pauta (valor);
2390
2 - Preço Tabelado Máximo (valor);
2391
3 - Valor da Operação.</xs:documentation>
2392
                                                                                                                                                                        </xs:annotation>
2393
                                                                                                                                                                        <xs:simpleType>
2394
                                                                                                                                                                                <xs:restriction base="xs:string">
2395
                                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
2396
                                                                                                                                                                                        <xs:enumeration value="0"/>
2397
                                                                                                                                                                                        <xs:enumeration value="1"/>
2398
                                                                                                                                                                                        <xs:enumeration value="2"/>
2399
                                                                                                                                                                                        <xs:enumeration value="3"/>
2400
                                                                                                                                                                                </xs:restriction>
2401
                                                                                                                                                                        </xs:simpleType>
2402
                                                                                                                                                                </xs:element>
2403
                                                                                                                                                                <xs:element name="pRedBC" type="TDec_0302a04">
2404
                                                                                                                                                                        <xs:annotation>
2405
                                                                                                                                                                                <xs:documentation>Percentual de redução da BC</xs:documentation>
2406
                                                                                                                                                                        </xs:annotation>
2407
                                                                                                                                                                </xs:element>
2408
                                                                                                                                                                <xs:element name="vBC" type="TDec_1302">
2409
                                                                                                                                                                        <xs:annotation>
2410
                                                                                                                                                                                <xs:documentation>Valor da BC do ICMS</xs:documentation>
2411
                                                                                                                                                                        </xs:annotation>
2412
                                                                                                                                                                </xs:element>
2413
                                                                                                                                                                <xs:element name="pICMS" type="TDec_0302a04">
2414
                                                                                                                                                                        <xs:annotation>
2415
                                                                                                                                                                                <xs:documentation>Alíquota do ICMS</xs:documentation>
2416
                                                                                                                                                                        </xs:annotation>
2417
                                                                                                                                                                </xs:element>
2418
                                                                                                                                                                <xs:element name="vICMS" type="TDec_1302">
2419
                                                                                                                                                                        <xs:annotation>
2420
                                                                                                                                                                                <xs:documentation>Valor do ICMS</xs:documentation>
2421
                                                                                                                                                                        </xs:annotation>
2422
                                                                                                                                                                </xs:element>
2423
                                                                                                                                                                <xs:element name="modBCST">
2424
                                                                                                                                                                        <xs:annotation>
2425
                                                                                                                                                                                <xs:documentation>Modalidade de determinação da BC do ICMS ST:
2426
 
2427
1 - Lista Negativa (valor);
2428
2 - Lista Positiva (valor);
2429
3 - Lista Neutra (valor);
2430
4 - Margem Valor Agregado (%);
2431
5 - Pauta (valor).</xs:documentation>
2432
                                                                                                                                                                        </xs:annotation>
2433
                                                                                                                                                                        <xs:simpleType>
2434
                                                                                                                                                                                <xs:restriction base="xs:string">
2435
                                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
2436
                                                                                                                                                                                        <xs:enumeration value="0"/>
2437
                                                                                                                                                                                        <xs:enumeration value="1"/>
2438
                                                                                                                                                                                        <xs:enumeration value="2"/>
2439
                                                                                                                                                                                        <xs:enumeration value="3"/>
2440
                                                                                                                                                                                        <xs:enumeration value="4"/>
2441
                                                                                                                                                                                        <xs:enumeration value="5"/>
2442
                                                                                                                                                                                </xs:restriction>
2443
                                                                                                                                                                        </xs:simpleType>
2444
                                                                                                                                                                </xs:element>
2445
                                                                                                                                                                <xs:element name="pMVAST" type="TDec_0302a04Opc" minOccurs="0">
2446
                                                                                                                                                                        <xs:annotation>
2447
                                                                                                                                                                                <xs:documentation>Percentual da Margem de Valor Adicionado ICMS ST</xs:documentation>
2448
                                                                                                                                                                        </xs:annotation>
2449
                                                                                                                                                                </xs:element>
2450
                                                                                                                                                                <xs:element name="pRedBCST" type="TDec_0302a04Opc" minOccurs="0">
2451
                                                                                                                                                                        <xs:annotation>
2452
                                                                                                                                                                                <xs:documentation>Percentual de redução da BC ICMS ST </xs:documentation>
2453
                                                                                                                                                                        </xs:annotation>
2454
                                                                                                                                                                </xs:element>
2455
                                                                                                                                                                <xs:element name="vBCST" type="TDec_1302">
2456
                                                                                                                                                                        <xs:annotation>
2457
                                                                                                                                                                                <xs:documentation>Valor da BC do ICMS ST</xs:documentation>
2458
                                                                                                                                                                        </xs:annotation>
2459
                                                                                                                                                                </xs:element>
2460
                                                                                                                                                                <xs:element name="pICMSST" type="TDec_0302a04">
2461
                                                                                                                                                                        <xs:annotation>
2462
                                                                                                                                                                                <xs:documentation>Alíquota do ICMS ST</xs:documentation>
2463
                                                                                                                                                                        </xs:annotation>
2464
                                                                                                                                                                </xs:element>
2465
                                                                                                                                                                <xs:element name="vICMSST" type="TDec_1302">
2466
                                                                                                                                                                        <xs:annotation>
2467
                                                                                                                                                                                <xs:documentation>Valor do ICMS ST</xs:documentation>
2468
                                                                                                                                                                        </xs:annotation>
2469
                                                                                                                                                                </xs:element>
2470
                                                                                                                                                                <xs:sequence minOccurs="0">
2471
                                                                                                                                                                        <xs:annotation>
2472
                                                                                                                                                                                <xs:documentation>Grupo desoneração</xs:documentation>
2473
                                                                                                                                                                        </xs:annotation>
2474
                                                                                                                                                                        <xs:element name="vICMSDeson" type="TDec_1302">
2475
                                                                                                                                                                                <xs:annotation>
2476
                                                                                                                                                                                        <xs:documentation>Valor do ICMS de desoneração</xs:documentation>
2477
                                                                                                                                                                                </xs:annotation>
2478
                                                                                                                                                                        </xs:element>
2479
                                                                                                                                                                        <xs:element name="motDesICMS">
2480
                                                                                                                                                                                <xs:annotation>
2481
                                                                                                                                                                                        <xs:documentation>Motivo da desoneração do ICMS:3-Uso na agropecuária;9-Outros;12-Fomento agropecuário</xs:documentation>
2482
                                                                                                                                                                                </xs:annotation>
2483
                                                                                                                                                                                <xs:simpleType>
2484
                                                                                                                                                                                        <xs:restriction base="xs:string">
2485
                                                                                                                                                                                                <xs:whiteSpace value="preserve"/>
2486
                                                                                                                                                                                                <xs:enumeration value="3"/>
2487
                                                                                                                                                                                                <xs:enumeration value="9"/>
2488
                                                                                                                                                                                                <xs:enumeration value="12"/>
2489
                                                                                                                                                                                        </xs:restriction>
2490
                                                                                                                                                                                </xs:simpleType>
2491
                                                                                                                                                                        </xs:element>
2492
                                                                                                                                                                </xs:sequence>
2493
                                                                                                                                                        </xs:sequence>
2494
                                                                                                                                                </xs:complexType>
2495
                                                                                                                                        </xs:element>
2496
                                                                                                                                        <xs:element name="ICMS90">
2497
                                                                                                                                                <xs:annotation>
2498
                                                                                                                                                        <xs:documentation>Tributação pelo ICMS
2499
90 - Outras</xs:documentation>
2500
                                                                                                                                                </xs:annotation>
2501
                                                                                                                                                <xs:complexType>
2502
                                                                                                                                                        <xs:sequence>
2503
                                                                                                                                                                <xs:element name="orig" type="Torig">
2504
                                                                                                                                                                        <xs:annotation>
2505
                                                                                                                                                                                <xs:documentation>origem da mercadoria: 0 - Nacional
2506
1 - Estrangeira - Importação direta
2507
2 - Estrangeira - Adquirida no mercado interno
2508
</xs:documentation>
2509
                                                                                                                                                                        </xs:annotation>
2510
                                                                                                                                                                </xs:element>
2511
                                                                                                                                                                <xs:element name="CST">
2512
                                                                                                                                                                        <xs:annotation>
2513
                                                                                                                                                                                <xs:documentation>Tributção pelo ICMS
2514
90 - Outras</xs:documentation>
2515
                                                                                                                                                                        </xs:annotation>
2516
                                                                                                                                                                        <xs:simpleType>
2517
                                                                                                                                                                                <xs:restriction base="xs:string">
2518
                                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
2519
                                                                                                                                                                                        <xs:enumeration value="90"/>
2520
                                                                                                                                                                                </xs:restriction>
2521
                                                                                                                                                                        </xs:simpleType>
2522
                                                                                                                                                                </xs:element>
2523
                                                                                                                                                                <xs:sequence minOccurs="0">
2524
                                                                                                                                                                        <xs:element name="modBC">
2525
                                                                                                                                                                                <xs:annotation>
2526
                                                                                                                                                                                        <xs:documentation>Modalidade de determinação da BC do ICMS:
2527
 
2528
1 - Pauta (valor);
2529
2 - Preço Tabelado Máximo (valor);
2530
3 - Valor da Operação.</xs:documentation>
2531
                                                                                                                                                                                </xs:annotation>
2532
                                                                                                                                                                                <xs:simpleType>
2533
                                                                                                                                                                                        <xs:restriction base="xs:string">
2534
                                                                                                                                                                                                <xs:whiteSpace value="preserve"/>
2535
                                                                                                                                                                                                <xs:enumeration value="0"/>
2536
                                                                                                                                                                                                <xs:enumeration value="1"/>
2537
                                                                                                                                                                                                <xs:enumeration value="2"/>
2538
                                                                                                                                                                                                <xs:enumeration value="3"/>
2539
                                                                                                                                                                                        </xs:restriction>
2540
                                                                                                                                                                                </xs:simpleType>
2541
                                                                                                                                                                        </xs:element>
2542
                                                                                                                                                                        <xs:element name="vBC" type="TDec_1302">
2543
                                                                                                                                                                                <xs:annotation>
2544
                                                                                                                                                                                        <xs:documentation>Valor da BC do ICMS</xs:documentation>
2545
                                                                                                                                                                                </xs:annotation>
2546
                                                                                                                                                                        </xs:element>
2547
                                                                                                                                                                        <xs:element name="pRedBC" type="TDec_0302a04Opc" minOccurs="0">
2548
                                                                                                                                                                                <xs:annotation>
2549
                                                                                                                                                                                        <xs:documentation>Percentual de redução da BC</xs:documentation>
2550
                                                                                                                                                                                </xs:annotation>
2551
                                                                                                                                                                        </xs:element>
2552
                                                                                                                                                                        <xs:element name="pICMS" type="TDec_0302a04">
2553
                                                                                                                                                                                <xs:annotation>
2554
                                                                                                                                                                                        <xs:documentation>Alíquota do ICMS</xs:documentation>
2555
                                                                                                                                                                                </xs:annotation>
2556
                                                                                                                                                                        </xs:element>
2557
                                                                                                                                                                        <xs:element name="vICMS" type="TDec_1302">
2558
                                                                                                                                                                                <xs:annotation>
2559
                                                                                                                                                                                        <xs:documentation>Valor do ICMS</xs:documentation>
2560
                                                                                                                                                                                </xs:annotation>
2561
                                                                                                                                                                        </xs:element>
2562
                                                                                                                                                                </xs:sequence>
2563
                                                                                                                                                                <xs:sequence minOccurs="0">
2564
                                                                                                                                                                        <xs:element name="modBCST">
2565
                                                                                                                                                                                <xs:annotation>
2566
                                                                                                                                                                                        <xs:documentation>Modalidade de determinação da BC do ICMS ST:
2567
 
2568
1 - Lista Negativa (valor);
2569
2 - Lista Positiva (valor);
2570
3 - Lista Neutra (valor);
2571
4 - Margem Valor Agregado (%);
2572
5 - Pauta (valor).</xs:documentation>
2573
                                                                                                                                                                                </xs:annotation>
2574
                                                                                                                                                                                <xs:simpleType>
2575
                                                                                                                                                                                        <xs:restriction base="xs:string">
2576
                                                                                                                                                                                                <xs:whiteSpace value="preserve"/>
2577
                                                                                                                                                                                                <xs:enumeration value="0"/>
2578
                                                                                                                                                                                                <xs:enumeration value="1"/>
2579
                                                                                                                                                                                                <xs:enumeration value="2"/>
2580
                                                                                                                                                                                                <xs:enumeration value="3"/>
2581
                                                                                                                                                                                                <xs:enumeration value="4"/>
2582
                                                                                                                                                                                                <xs:enumeration value="5"/>
2583
                                                                                                                                                                                        </xs:restriction>
2584
                                                                                                                                                                                </xs:simpleType>
2585
                                                                                                                                                                        </xs:element>
2586
                                                                                                                                                                        <xs:element name="pMVAST" type="TDec_0302a04Opc" minOccurs="0">
2587
                                                                                                                                                                                <xs:annotation>
2588
                                                                                                                                                                                        <xs:documentation>Percentual da Margem de Valor Adicionado ICMS ST</xs:documentation>
2589
                                                                                                                                                                                </xs:annotation>
2590
                                                                                                                                                                        </xs:element>
2591
                                                                                                                                                                        <xs:element name="pRedBCST" type="TDec_0302a04Opc" minOccurs="0">
2592
                                                                                                                                                                                <xs:annotation>
2593
                                                                                                                                                                                        <xs:documentation>Percentual de redução da BC ICMS ST </xs:documentation>
2594
                                                                                                                                                                                </xs:annotation>
2595
                                                                                                                                                                        </xs:element>
2596
                                                                                                                                                                        <xs:element name="vBCST" type="TDec_1302">
2597
                                                                                                                                                                                <xs:annotation>
2598
                                                                                                                                                                                        <xs:documentation>Valor da BC do ICMS ST</xs:documentation>
2599
                                                                                                                                                                                </xs:annotation>
2600
                                                                                                                                                                        </xs:element>
2601
                                                                                                                                                                        <xs:element name="pICMSST" type="TDec_0302a04">
2602
                                                                                                                                                                                <xs:annotation>
2603
                                                                                                                                                                                        <xs:documentation>Alíquota do ICMS ST</xs:documentation>
2604
                                                                                                                                                                                </xs:annotation>
2605
                                                                                                                                                                        </xs:element>
2606
                                                                                                                                                                        <xs:element name="vICMSST" type="TDec_1302">
2607
                                                                                                                                                                                <xs:annotation>
2608
                                                                                                                                                                                        <xs:documentation>Valor do ICMS ST</xs:documentation>
2609
                                                                                                                                                                                </xs:annotation>
2610
                                                                                                                                                                        </xs:element>
2611
                                                                                                                                                                </xs:sequence>
2612
                                                                                                                                                                <xs:sequence minOccurs="0">
2613
                                                                                                                                                                        <xs:annotation>
2614
                                                                                                                                                                                <xs:documentation>Grupo desoneração</xs:documentation>
2615
                                                                                                                                                                        </xs:annotation>
2616
                                                                                                                                                                        <xs:element name="vICMSDeson" type="TDec_1302">
2617
                                                                                                                                                                                <xs:annotation>
2618
                                                                                                                                                                                        <xs:documentation>Valor do ICMS de desoneração</xs:documentation>
2619
                                                                                                                                                                                </xs:annotation>
2620
                                                                                                                                                                        </xs:element>
2621
                                                                                                                                                                        <xs:element name="motDesICMS">
2622
                                                                                                                                                                                <xs:annotation>
2623
                                                                                                                                                                                        <xs:documentation>Motivo da desoneração do ICMS:3-Uso na agropecuária;9-Outros;12-Fomento agropecuário</xs:documentation>
2624
                                                                                                                                                                                </xs:annotation>
2625
                                                                                                                                                                                <xs:simpleType>
2626
                                                                                                                                                                                        <xs:restriction base="xs:string">
2627
                                                                                                                                                                                                <xs:whiteSpace value="preserve"/>
2628
                                                                                                                                                                                                <xs:enumeration value="3"/>
2629
                                                                                                                                                                                                <xs:enumeration value="9"/>
2630
                                                                                                                                                                                                <xs:enumeration value="12"/>
2631
                                                                                                                                                                                        </xs:restriction>
2632
                                                                                                                                                                                </xs:simpleType>
2633
                                                                                                                                                                        </xs:element>
2634
                                                                                                                                                                </xs:sequence>
2635
                                                                                                                                                        </xs:sequence>
2636
                                                                                                                                                </xs:complexType>
2637
                                                                                                                                        </xs:element>
2638
                                                                                                                                        <xs:element name="ICMSPart">
2639
                                                                                                                                                <xs:annotation>
2640
                                                                                                                                                        <xs:documentation>Partilha do ICMS entre a UF de origem e UF de destino ou a UF definida na legislação
2641
Operação interestadual para consumidor final com partilha do ICMS  devido na operação entre a UF de origem e a UF do destinatário ou ou a UF definida na legislação. (Ex. UF da concessionária de entrega do  veículos)</xs:documentation>
2642
                                                                                                                                                </xs:annotation>
2643
                                                                                                                                                <xs:complexType>
2644
                                                                                                                                                        <xs:sequence>
2645
                                                                                                                                                                <xs:element name="orig" type="Torig">
2646
                                                                                                                                                                        <xs:annotation>
2647
                                                                                                                                                                                <xs:documentation>origem da mercadoria: 0 - Nacional
2648
1 - Estrangeira - Importação direta
2649
2 - Estrangeira - Adquirida no mercado interno
2650
</xs:documentation>
2651
                                                                                                                                                                        </xs:annotation>
2652
                                                                                                                                                                </xs:element>
2653
                                                                                                                                                                <xs:element name="CST">
2654
                                                                                                                                                                        <xs:annotation>
2655
                                                                                                                                                                                <xs:documentation>Tributação pelo ICMS
2656
10 - Tributada e com cobrança do ICMS por substituição tributária;
2657
90 – Outros.</xs:documentation>
2658
                                                                                                                                                                        </xs:annotation>
2659
                                                                                                                                                                        <xs:simpleType>
2660
                                                                                                                                                                                <xs:restriction base="xs:string">
2661
                                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
2662
                                                                                                                                                                                        <xs:enumeration value="10"/>
2663
                                                                                                                                                                                        <xs:enumeration value="90"/>
2664
                                                                                                                                                                                </xs:restriction>
2665
                                                                                                                                                                        </xs:simpleType>
2666
                                                                                                                                                                </xs:element>
2667
                                                                                                                                                                <xs:element name="modBC">
2668
                                                                                                                                                                        <xs:annotation>
2669
                                                                                                                                                                                <xs:documentation>Modalidade de determinação da BC do ICMS:
2670
 
2671
1 - Pauta (valor);
2672
2 - Preço Tabelado Máximo (valor);
2673
3 - Valor da Operação.</xs:documentation>
2674
                                                                                                                                                                        </xs:annotation>
2675
                                                                                                                                                                        <xs:simpleType>
2676
                                                                                                                                                                                <xs:restriction base="xs:string">
2677
                                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
2678
                                                                                                                                                                                        <xs:enumeration value="0"/>
2679
                                                                                                                                                                                        <xs:enumeration value="1"/>
2680
                                                                                                                                                                                        <xs:enumeration value="2"/>
2681
                                                                                                                                                                                        <xs:enumeration value="3"/>
2682
                                                                                                                                                                                </xs:restriction>
2683
                                                                                                                                                                        </xs:simpleType>
2684
                                                                                                                                                                </xs:element>
2685
                                                                                                                                                                <xs:element name="vBC" type="TDec_1302">
2686
                                                                                                                                                                        <xs:annotation>
2687
                                                                                                                                                                                <xs:documentation>Valor da BC do ICMS</xs:documentation>
2688
                                                                                                                                                                        </xs:annotation>
2689
                                                                                                                                                                </xs:element>
2690
                                                                                                                                                                <xs:element name="pRedBC" type="TDec_0302a04Opc" minOccurs="0">
2691
                                                                                                                                                                        <xs:annotation>
2692
                                                                                                                                                                                <xs:documentation>Percentual de redução da BC</xs:documentation>
2693
                                                                                                                                                                        </xs:annotation>
2694
                                                                                                                                                                </xs:element>
2695
                                                                                                                                                                <xs:element name="pICMS" type="TDec_0302a04">
2696
                                                                                                                                                                        <xs:annotation>
2697
                                                                                                                                                                                <xs:documentation>Alíquota do ICMS</xs:documentation>
2698
                                                                                                                                                                        </xs:annotation>
2699
                                                                                                                                                                </xs:element>
2700
                                                                                                                                                                <xs:element name="vICMS" type="TDec_1302">
2701
                                                                                                                                                                        <xs:annotation>
2702
                                                                                                                                                                                <xs:documentation>Valor do ICMS</xs:documentation>
2703
                                                                                                                                                                        </xs:annotation>
2704
                                                                                                                                                                </xs:element>
2705
                                                                                                                                                                <xs:element name="modBCST">
2706
                                                                                                                                                                        <xs:annotation>
2707
                                                                                                                                                                                <xs:documentation>Modalidade de determinação da BC do ICMS ST:
2708
 
2709
1 - Lista Negativa (valor);
2710
2 - Lista Positiva (valor);
2711
3 - Lista Neutra (valor);
2712
4 - Margem Valor Agregado (%);
2713
5 - Pauta (valor).</xs:documentation>
2714
                                                                                                                                                                        </xs:annotation>
2715
                                                                                                                                                                        <xs:simpleType>
2716
                                                                                                                                                                                <xs:restriction base="xs:string">
2717
                                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
2718
                                                                                                                                                                                        <xs:enumeration value="0"/>
2719
                                                                                                                                                                                        <xs:enumeration value="1"/>
2720
                                                                                                                                                                                        <xs:enumeration value="2"/>
2721
                                                                                                                                                                                        <xs:enumeration value="3"/>
2722
                                                                                                                                                                                        <xs:enumeration value="4"/>
2723
                                                                                                                                                                                        <xs:enumeration value="5"/>
2724
                                                                                                                                                                                </xs:restriction>
2725
                                                                                                                                                                        </xs:simpleType>
2726
                                                                                                                                                                </xs:element>
2727
                                                                                                                                                                <xs:element name="pMVAST" type="TDec_0302a04Opc" minOccurs="0">
2728
                                                                                                                                                                        <xs:annotation>
2729
                                                                                                                                                                                <xs:documentation>Percentual da Margem de Valor Adicionado ICMS ST</xs:documentation>
2730
                                                                                                                                                                        </xs:annotation>
2731
                                                                                                                                                                </xs:element>
2732
                                                                                                                                                                <xs:element name="pRedBCST" type="TDec_0302a04Opc" minOccurs="0">
2733
                                                                                                                                                                        <xs:annotation>
2734
                                                                                                                                                                                <xs:documentation>Percentual de redução da BC ICMS ST</xs:documentation>
2735
                                                                                                                                                                        </xs:annotation>
2736
                                                                                                                                                                </xs:element>
2737
                                                                                                                                                                <xs:element name="vBCST" type="TDec_1302">
2738
                                                                                                                                                                        <xs:annotation>
2739
                                                                                                                                                                                <xs:documentation>Valor da BC do ICMS ST</xs:documentation>
2740
                                                                                                                                                                        </xs:annotation>
2741
                                                                                                                                                                </xs:element>
2742
                                                                                                                                                                <xs:element name="pICMSST" type="TDec_0302a04">
2743
                                                                                                                                                                        <xs:annotation>
2744
                                                                                                                                                                                <xs:documentation>Alíquota do ICMS ST</xs:documentation>
2745
                                                                                                                                                                        </xs:annotation>
2746
                                                                                                                                                                </xs:element>
2747
                                                                                                                                                                <xs:element name="vICMSST" type="TDec_1302">
2748
                                                                                                                                                                        <xs:annotation>
2749
                                                                                                                                                                                <xs:documentation>Valor do ICMS ST</xs:documentation>
2750
                                                                                                                                                                        </xs:annotation>
2751
                                                                                                                                                                </xs:element>
2752
                                                                                                                                                                <xs:element name="pBCOp" type="TDec_0302a04Opc">
2753
                                                                                                                                                                        <xs:annotation>
2754
                                                                                                                                                                                <xs:documentation>Percentual para determinação do valor  da Base de Cálculo da operação própria.</xs:documentation>
2755
                                                                                                                                                                        </xs:annotation>
2756
                                                                                                                                                                </xs:element>
2757
                                                                                                                                                                <xs:element name="UFST" type="TUf">
2758
                                                                                                                                                                        <xs:annotation>
2759
                                                                                                                                                                                <xs:documentation>Sigla da UF para qual é devido o ICMS ST da operação.</xs:documentation>
2760
                                                                                                                                                                        </xs:annotation>
2761
                                                                                                                                                                </xs:element>
2762
                                                                                                                                                        </xs:sequence>
2763
                                                                                                                                                </xs:complexType>
2764
                                                                                                                                        </xs:element>
2765
                                                                                                                                        <xs:element name="ICMSST">
2766
                                                                                                                                                <xs:annotation>
2767
                                                                                                                                                        <xs:documentation>Grupo de informação do ICMSST devido para a UF de destino, nas operações interestaduais de produtos que tiveram retenção antecipada de ICMS por ST na UF do remetente. Repasse via Substituto Tributário.</xs:documentation>
2768
                                                                                                                                                </xs:annotation>
2769
                                                                                                                                                <xs:complexType>
2770
                                                                                                                                                        <xs:sequence>
2771
                                                                                                                                                                <xs:element name="orig" type="Torig">
2772
                                                                                                                                                                        <xs:annotation>
2773
                                                                                                                                                                                <xs:documentation>origem da mercadoria: 0 - Nacional
2774
1 - Estrangeira - Importação direta
2775
2 - Estrangeira - Adquirida no mercado interno
2776
</xs:documentation>
2777
                                                                                                                                                                        </xs:annotation>
2778
                                                                                                                                                                </xs:element>
2779
                                                                                                                                                                <xs:element name="CST">
2780
                                                                                                                                                                        <xs:annotation>
2781
                                                                                                                                                                                <xs:documentation>Tributção pelo ICMS
2782
41-Não Tributado</xs:documentation>
2783
                                                                                                                                                                        </xs:annotation>
2784
                                                                                                                                                                        <xs:simpleType>
2785
                                                                                                                                                                                <xs:restriction base="xs:string">
2786
                                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
2787
                                                                                                                                                                                        <xs:enumeration value="41"/>
2788
                                                                                                                                                                                </xs:restriction>
2789
                                                                                                                                                                        </xs:simpleType>
2790
                                                                                                                                                                </xs:element>
2791
                                                                                                                                                                <xs:element name="vBCSTRet" type="TDec_1302">
2792
                                                                                                                                                                        <xs:annotation>
2793
                                                                                                                                                                                <xs:documentation>Informar o valor da BC do ICMS ST retido na UF remetente</xs:documentation>
2794
                                                                                                                                                                        </xs:annotation>
2795
                                                                                                                                                                </xs:element>
2796
                                                                                                                                                                <xs:element name="vICMSSTRet" type="TDec_1302">
2797
                                                                                                                                                                        <xs:annotation>
2798
                                                                                                                                                                                <xs:documentation> Informar o valor do ICMS ST retido na UF remetente (iv2.0))</xs:documentation>
2799
                                                                                                                                                                        </xs:annotation>
2800
                                                                                                                                                                </xs:element>
2801
                                                                                                                                                                <xs:element name="vBCSTDest" type="TDec_1302">
2802
                                                                                                                                                                        <xs:annotation>
2803
                                                                                                                                                                                <xs:documentation> Informar o valor da BC do ICMS ST da UF destino</xs:documentation>
2804
                                                                                                                                                                        </xs:annotation>
2805
                                                                                                                                                                </xs:element>
2806
                                                                                                                                                                <xs:element name="vICMSSTDest" type="TDec_1302">
2807
                                                                                                                                                                        <xs:annotation>
2808
                                                                                                                                                                                <xs:documentation>Informar o valor da BC do ICMS ST da UF destino (v2.0)</xs:documentation>
2809
                                                                                                                                                                        </xs:annotation>
2810
                                                                                                                                                                </xs:element>
2811
                                                                                                                                                        </xs:sequence>
2812
                                                                                                                                                </xs:complexType>
2813
                                                                                                                                        </xs:element>
2814
                                                                                                                                        <xs:element name="ICMSSN101">
2815
                                                                                                                                                <xs:annotation>
2816
                                                                                                                                                        <xs:documentation>Tributação do ICMS pelo SIMPLES NACIONAL e CSOSN=101 (v.2.0)</xs:documentation>
2817
                                                                                                                                                </xs:annotation>
2818
                                                                                                                                                <xs:complexType>
2819
                                                                                                                                                        <xs:sequence>
2820
                                                                                                                                                                <xs:element name="orig" type="Torig">
2821
                                                                                                                                                                        <xs:annotation>
2822
                                                                                                                                                                                <xs:documentation>origem da mercadoria: 0 - Nacional
2823
1 - Estrangeira - Importação direta
2824
2 - Estrangeira - Adquirida no mercado interno
2825
(v2.0)</xs:documentation>
2826
                                                                                                                                                                        </xs:annotation>
2827
                                                                                                                                                                </xs:element>
2828
                                                                                                                                                                <xs:element name="CSOSN">
2829
                                                                                                                                                                        <xs:annotation>
2830
                                                                                                                                                                                <xs:documentation>101- Tributada pelo Simples Nacional com permissão de crédito. (v.2.0)</xs:documentation>
2831
                                                                                                                                                                        </xs:annotation>
2832
                                                                                                                                                                        <xs:simpleType>
2833
                                                                                                                                                                                <xs:restriction base="xs:string">
2834
                                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
2835
                                                                                                                                                                                        <xs:enumeration value="101"/>
2836
                                                                                                                                                                                </xs:restriction>
2837
                                                                                                                                                                        </xs:simpleType>
2838
                                                                                                                                                                </xs:element>
2839
                                                                                                                                                                <xs:element name="pCredSN" type="TDec_0302a04">
2840
                                                                                                                                                                        <xs:annotation>
2841
                                                                                                                                                                                <xs:documentation>Alíquota aplicável de cálculo do crédito (Simples Nacional). (v2.0)</xs:documentation>
2842
                                                                                                                                                                        </xs:annotation>
2843
                                                                                                                                                                </xs:element>
2844
                                                                                                                                                                <xs:element name="vCredICMSSN" type="TDec_1302">
2845
                                                                                                                                                                        <xs:annotation>
2846
                                                                                                                                                                                <xs:documentation>Valor crédito do ICMS que pode ser aproveitado nos termos do art. 23 da LC 123 (Simples Nacional) (v2.0)</xs:documentation>
2847
                                                                                                                                                                        </xs:annotation>
2848
                                                                                                                                                                </xs:element>
2849
                                                                                                                                                        </xs:sequence>
2850
                                                                                                                                                </xs:complexType>
2851
                                                                                                                                        </xs:element>
2852
                                                                                                                                        <xs:element name="ICMSSN102">
2853
                                                                                                                                                <xs:annotation>
2854
                                                                                                                                                        <xs:documentation>Tributação do ICMS pelo SIMPLES NACIONAL e CSOSN=102, 103, 300 ou 400 (v.2.0))</xs:documentation>
2855
                                                                                                                                                </xs:annotation>
2856
                                                                                                                                                <xs:complexType>
2857
                                                                                                                                                        <xs:sequence>
2858
                                                                                                                                                                <xs:element name="orig" type="Torig">
2859
                                                                                                                                                                        <xs:annotation>
2860
                                                                                                                                                                                <xs:documentation>origem da mercadoria: 0 - Nacional
2861
1 - Estrangeira - Importação direta
2862
2 - Estrangeira - Adquirida no mercado interno
2863
(v2.0)</xs:documentation>
2864
                                                                                                                                                                        </xs:annotation>
2865
                                                                                                                                                                </xs:element>
2866
                                                                                                                                                                <xs:element name="CSOSN">
2867
                                                                                                                                                                        <xs:annotation>
2868
                                                                                                                                                                                <xs:documentation>102- Tributada pelo Simples Nacional sem permissão de crédito.
2869
103 – Isenção do ICMS  no Simples Nacional para faixa de receita bruta.
2870
300 – Imune.
2871
400 – Não tributda pelo Simples Nacional (v.2.0) (v.2.0)</xs:documentation>
2872
                                                                                                                                                                        </xs:annotation>
2873
                                                                                                                                                                        <xs:simpleType>
2874
                                                                                                                                                                                <xs:restriction base="xs:string">
2875
                                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
2876
                                                                                                                                                                                        <xs:enumeration value="102"/>
2877
                                                                                                                                                                                        <xs:enumeration value="103"/>
2878
                                                                                                                                                                                        <xs:enumeration value="300"/>
2879
                                                                                                                                                                                        <xs:enumeration value="400"/>
2880
                                                                                                                                                                                </xs:restriction>
2881
                                                                                                                                                                        </xs:simpleType>
2882
                                                                                                                                                                </xs:element>
2883
                                                                                                                                                        </xs:sequence>
2884
                                                                                                                                                </xs:complexType>
2885
                                                                                                                                        </xs:element>
2886
                                                                                                                                        <xs:element name="ICMSSN201">
2887
                                                                                                                                                <xs:annotation>
2888
                                                                                                                                                        <xs:documentation>Tributação do ICMS pelo SIMPLES NACIONAL e CSOSN=201 (v.2.0)</xs:documentation>
2889
                                                                                                                                                </xs:annotation>
2890
                                                                                                                                                <xs:complexType>
2891
                                                                                                                                                        <xs:sequence>
2892
                                                                                                                                                                <xs:element name="orig" type="Torig">
2893
                                                                                                                                                                        <xs:annotation>
2894
                                                                                                                                                                                <xs:documentation>Origem da mercadoria:
2895
 
2896
1 – Estrangeira – Importação direta;
2897
2 – Estrangeira – Adquirida no mercado interno. (v2.0)</xs:documentation>
2898
                                                                                                                                                                        </xs:annotation>
2899
                                                                                                                                                                </xs:element>
2900
                                                                                                                                                                <xs:element name="CSOSN">
2901
                                                                                                                                                                        <xs:annotation>
2902
                                                                                                                                                                                <xs:documentation>201- Tributada pelo Simples Nacional com permissão de crédito e com cobrança do ICMS por Substituição Tributária (v.2.0)</xs:documentation>
2903
                                                                                                                                                                        </xs:annotation>
2904
                                                                                                                                                                        <xs:simpleType>
2905
                                                                                                                                                                                <xs:restriction base="xs:string">
2906
                                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
2907
                                                                                                                                                                                        <xs:enumeration value="201"/>
2908
                                                                                                                                                                                </xs:restriction>
2909
                                                                                                                                                                        </xs:simpleType>
2910
                                                                                                                                                                </xs:element>
2911
                                                                                                                                                                <xs:element name="modBCST">
2912
                                                                                                                                                                        <xs:annotation>
2913
                                                                                                                                                                                <xs:documentation>Modalidade de determinação da BC do ICMS ST:
2914
 
2915
1 - Lista Negativa (valor);
2916
2 - Lista Positiva (valor);
2917
3 - Lista Neutra (valor);
2918
4 - Margem Valor Agregado (%);
2919
5 - Pauta (valor). (v2.0)</xs:documentation>
2920
                                                                                                                                                                        </xs:annotation>
2921
                                                                                                                                                                        <xs:simpleType>
2922
                                                                                                                                                                                <xs:restriction base="xs:string">
2923
                                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
2924
                                                                                                                                                                                        <xs:enumeration value="0"/>
2925
                                                                                                                                                                                        <xs:enumeration value="1"/>
2926
                                                                                                                                                                                        <xs:enumeration value="2"/>
2927
                                                                                                                                                                                        <xs:enumeration value="3"/>
2928
                                                                                                                                                                                        <xs:enumeration value="4"/>
2929
                                                                                                                                                                                        <xs:enumeration value="5"/>
2930
                                                                                                                                                                                </xs:restriction>
2931
                                                                                                                                                                        </xs:simpleType>
2932
                                                                                                                                                                </xs:element>
2933
                                                                                                                                                                <xs:element name="pMVAST" type="TDec_0302a04Opc" minOccurs="0">
2934
                                                                                                                                                                        <xs:annotation>
2935
                                                                                                                                                                                <xs:documentation>Percentual da Margem de Valor Adicionado ICMS ST (v2.0)</xs:documentation>
2936
                                                                                                                                                                        </xs:annotation>
2937
                                                                                                                                                                </xs:element>
2938
                                                                                                                                                                <xs:element name="pRedBCST" type="TDec_0302a04Opc" minOccurs="0">
2939
                                                                                                                                                                        <xs:annotation>
2940
                                                                                                                                                                                <xs:documentation>Percentual de redução da BC ICMS ST  (v2.0)</xs:documentation>
2941
                                                                                                                                                                        </xs:annotation>
2942
                                                                                                                                                                </xs:element>
2943
                                                                                                                                                                <xs:element name="vBCST" type="TDec_1302">
2944
                                                                                                                                                                        <xs:annotation>
2945
                                                                                                                                                                                <xs:documentation>Valor da BC do ICMS ST (v2.0)</xs:documentation>
2946
                                                                                                                                                                        </xs:annotation>
2947
                                                                                                                                                                </xs:element>
2948
                                                                                                                                                                <xs:element name="pICMSST" type="TDec_0302a04">
2949
                                                                                                                                                                        <xs:annotation>
2950
                                                                                                                                                                                <xs:documentation>Alíquota do ICMS ST (v2.0)</xs:documentation>
2951
                                                                                                                                                                        </xs:annotation>
2952
                                                                                                                                                                </xs:element>
2953
                                                                                                                                                                <xs:element name="vICMSST" type="TDec_1302">
2954
                                                                                                                                                                        <xs:annotation>
2955
                                                                                                                                                                                <xs:documentation>Valor do ICMS ST (v2.0)</xs:documentation>
2956
                                                                                                                                                                        </xs:annotation>
2957
                                                                                                                                                                </xs:element>
2958
                                                                                                                                                                <xs:element name="pCredSN" type="TDec_0302a04">
2959
                                                                                                                                                                        <xs:annotation>
2960
                                                                                                                                                                                <xs:documentation>Alíquota aplicável de cálculo do crédito (Simples Nacional). (v2.0)</xs:documentation>
2961
                                                                                                                                                                        </xs:annotation>
2962
                                                                                                                                                                </xs:element>
2963
                                                                                                                                                                <xs:element name="vCredICMSSN" type="TDec_1302">
2964
                                                                                                                                                                        <xs:annotation>
2965
                                                                                                                                                                                <xs:documentation>Valor crédito do ICMS que pode ser aproveitado nos termos do art. 23 da LC 123 (Simples Nacional) (v2.0)</xs:documentation>
2966
                                                                                                                                                                        </xs:annotation>
2967
                                                                                                                                                                </xs:element>
2968
                                                                                                                                                        </xs:sequence>
2969
                                                                                                                                                </xs:complexType>
2970
                                                                                                                                        </xs:element>
2971
                                                                                                                                        <xs:element name="ICMSSN202">
2972
                                                                                                                                                <xs:annotation>
2973
                                                                                                                                                        <xs:documentation>Tributação do ICMS pelo SIMPLES NACIONAL e CSOSN=202 ou 203 (v.2.0)</xs:documentation>
2974
                                                                                                                                                </xs:annotation>
2975
                                                                                                                                                <xs:complexType>
2976
                                                                                                                                                        <xs:sequence>
2977
                                                                                                                                                                <xs:element name="orig" type="Torig">
2978
                                                                                                                                                                        <xs:annotation>
2979
                                                                                                                                                                                <xs:documentation>Origem da mercadoria:
2980
 
2981
1 – Estrangeira – Importação direta;
2982
2 – Estrangeira – Adquirida no mercado interno. (v2.0)</xs:documentation>
2983
                                                                                                                                                                        </xs:annotation>
2984
                                                                                                                                                                </xs:element>
2985
                                                                                                                                                                <xs:element name="CSOSN">
2986
                                                                                                                                                                        <xs:annotation>
2987
                                                                                                                                                                                <xs:documentation>202- Tributada pelo Simples Nacional sem permissão de crédito e com cobrança do ICMS por Substituição Tributária;
2988
203-  Isenção do ICMS nos Simples Nacional para faixa de receita bruta e com cobrança do ICMS por Substituição Tributária (v.2.0)</xs:documentation>
2989
                                                                                                                                                                        </xs:annotation>
2990
                                                                                                                                                                        <xs:simpleType>
2991
                                                                                                                                                                                <xs:restriction base="xs:string">
2992
                                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
2993
                                                                                                                                                                                        <xs:enumeration value="202"/>
2994
                                                                                                                                                                                        <xs:enumeration value="203"/>
2995
                                                                                                                                                                                </xs:restriction>
2996
                                                                                                                                                                        </xs:simpleType>
2997
                                                                                                                                                                </xs:element>
2998
                                                                                                                                                                <xs:element name="modBCST">
2999
                                                                                                                                                                        <xs:annotation>
3000
                                                                                                                                                                                <xs:documentation>Modalidade de determinação da BC do ICMS ST:
3001
 
3002
1 - Lista Negativa (valor);
3003
2 - Lista Positiva (valor);
3004
3 - Lista Neutra (valor);
3005
4 - Margem Valor Agregado (%);
3006
5 - Pauta (valor). (v2.0)</xs:documentation>
3007
                                                                                                                                                                        </xs:annotation>
3008
                                                                                                                                                                        <xs:simpleType>
3009
                                                                                                                                                                                <xs:restriction base="xs:string">
3010
                                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
3011
                                                                                                                                                                                        <xs:enumeration value="0"/>
3012
                                                                                                                                                                                        <xs:enumeration value="1"/>
3013
                                                                                                                                                                                        <xs:enumeration value="2"/>
3014
                                                                                                                                                                                        <xs:enumeration value="3"/>
3015
                                                                                                                                                                                        <xs:enumeration value="4"/>
3016
                                                                                                                                                                                        <xs:enumeration value="5"/>
3017
                                                                                                                                                                                </xs:restriction>
3018
                                                                                                                                                                        </xs:simpleType>
3019
                                                                                                                                                                </xs:element>
3020
                                                                                                                                                                <xs:element name="pMVAST" type="TDec_0302a04Opc" minOccurs="0">
3021
                                                                                                                                                                        <xs:annotation>
3022
                                                                                                                                                                                <xs:documentation>Percentual da Margem de Valor Adicionado ICMS ST (v2.0)</xs:documentation>
3023
                                                                                                                                                                        </xs:annotation>
3024
                                                                                                                                                                </xs:element>
3025
                                                                                                                                                                <xs:element name="pRedBCST" type="TDec_0302a04Opc" minOccurs="0">
3026
                                                                                                                                                                        <xs:annotation>
3027
                                                                                                                                                                                <xs:documentation>Percentual de redução da BC ICMS ST  (v2.0)</xs:documentation>
3028
                                                                                                                                                                        </xs:annotation>
3029
                                                                                                                                                                </xs:element>
3030
                                                                                                                                                                <xs:element name="vBCST" type="TDec_1302">
3031
                                                                                                                                                                        <xs:annotation>
3032
                                                                                                                                                                                <xs:documentation>Valor da BC do ICMS ST (v2.0)</xs:documentation>
3033
                                                                                                                                                                        </xs:annotation>
3034
                                                                                                                                                                </xs:element>
3035
                                                                                                                                                                <xs:element name="pICMSST" type="TDec_0302a04">
3036
                                                                                                                                                                        <xs:annotation>
3037
                                                                                                                                                                                <xs:documentation>Alíquota do ICMS ST (v2.0)</xs:documentation>
3038
                                                                                                                                                                        </xs:annotation>
3039
                                                                                                                                                                </xs:element>
3040
                                                                                                                                                                <xs:element name="vICMSST" type="TDec_1302">
3041
                                                                                                                                                                        <xs:annotation>
3042
                                                                                                                                                                                <xs:documentation>Valor do ICMS ST (v2.0)</xs:documentation>
3043
                                                                                                                                                                        </xs:annotation>
3044
                                                                                                                                                                </xs:element>
3045
                                                                                                                                                        </xs:sequence>
3046
                                                                                                                                                </xs:complexType>
3047
                                                                                                                                        </xs:element>
3048
                                                                                                                                        <xs:element name="ICMSSN500">
3049
                                                                                                                                                <xs:annotation>
3050
                                                                                                                                                        <xs:documentation>Tributação do ICMS pelo SIMPLES NACIONAL,CRT=1 – Simples Nacional e CSOSN=500 (v.2.0)</xs:documentation>
3051
                                                                                                                                                </xs:annotation>
3052
                                                                                                                                                <xs:complexType>
3053
                                                                                                                                                        <xs:sequence>
3054
                                                                                                                                                                <xs:element name="orig" type="Torig">
3055
                                                                                                                                                                        <xs:annotation>
3056
                                                                                                                                                                                <xs:documentation>origem da mercadoria: 0 - Nacional
3057
1 - Estrangeira - Importação direta
3058
2 - Estrangeira - Adquirida no mercado interno
3059
</xs:documentation>
3060
                                                                                                                                                                        </xs:annotation>
3061
                                                                                                                                                                </xs:element>
3062
                                                                                                                                                                <xs:element name="CSOSN">
3063
                                                                                                                                                                        <xs:annotation>
3064
                                                                                                                                                                                <xs:documentation>500 – ICMS cobrado anterirmente por substituição tributária (substituído) ou por antecipação
3065
(v.2.0)</xs:documentation>
3066
                                                                                                                                                                        </xs:annotation>
3067
                                                                                                                                                                        <xs:simpleType>
3068
                                                                                                                                                                                <xs:restriction base="xs:string">
3069
                                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
3070
                                                                                                                                                                                        <xs:enumeration value="500"/>
3071
                                                                                                                                                                                </xs:restriction>
3072
                                                                                                                                                                        </xs:simpleType>
3073
                                                                                                                                                                </xs:element>
3074
                                                                                                                                                                <xs:sequence minOccurs="0">
3075
                                                                                                                                                                        <xs:annotation>
3076
                                                                                                                                                                                <xs:documentation/>
3077
                                                                                                                                                                        </xs:annotation>
3078
                                                                                                                                                                        <xs:element name="vBCSTRet" type="TDec_1302">
3079
                                                                                                                                                                                <xs:annotation>
3080
                                                                                                                                                                                        <xs:documentation>Valor da BC do ICMS ST retido anteriormente (v2.0) </xs:documentation>
3081
                                                                                                                                                                                </xs:annotation>
3082
                                                                                                                                                                        </xs:element>
3083
                                                                                                                                                                        <xs:element name="vICMSSTRet" type="TDec_1302">
3084
                                                                                                                                                                                <xs:annotation>
3085
                                                                                                                                                                                        <xs:documentation>Valor do ICMS ST retido anteriormente  (v2.0)</xs:documentation>
3086
                                                                                                                                                                                </xs:annotation>
3087
                                                                                                                                                                        </xs:element>
3088
                                                                                                                                                                </xs:sequence>
3089
                                                                                                                                                        </xs:sequence>
3090
                                                                                                                                                </xs:complexType>
3091
                                                                                                                                        </xs:element>
3092
                                                                                                                                        <xs:element name="ICMSSN900">
3093
                                                                                                                                                <xs:annotation>
3094
                                                                                                                                                        <xs:documentation>Tributação do ICMS pelo SIMPLES NACIONAL, CRT=1 – Simples Nacional e CSOSN=900 (v2.0)</xs:documentation>
3095
                                                                                                                                                </xs:annotation>
3096
                                                                                                                                                <xs:complexType>
3097
                                                                                                                                                        <xs:sequence>
3098
                                                                                                                                                                <xs:element name="orig" type="Torig">
3099
                                                                                                                                                                        <xs:annotation>
3100
                                                                                                                                                                                <xs:documentation>origem da mercadoria: 0 - Nacional
3101
1 - Estrangeira - Importação direta
3102
2 - Estrangeira - Adquirida no mercado interno
3103
</xs:documentation>
3104
                                                                                                                                                                        </xs:annotation>
3105
                                                                                                                                                                </xs:element>
3106
                                                                                                                                                                <xs:element name="CSOSN">
3107
                                                                                                                                                                        <xs:annotation>
3108
                                                                                                                                                                                <xs:documentation>Tributação pelo ICMS 900 - Outros(v2.0)</xs:documentation>
3109
                                                                                                                                                                        </xs:annotation>
3110
                                                                                                                                                                        <xs:simpleType>
3111
                                                                                                                                                                                <xs:restriction base="xs:string">
3112
                                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
3113
                                                                                                                                                                                        <xs:enumeration value="900"/>
3114
                                                                                                                                                                                </xs:restriction>
3115
                                                                                                                                                                        </xs:simpleType>
3116
                                                                                                                                                                </xs:element>
3117
                                                                                                                                                                <xs:sequence minOccurs="0">
3118
                                                                                                                                                                        <xs:element name="modBC">
3119
                                                                                                                                                                                <xs:annotation>
3120
                                                                                                                                                                                        <xs:documentation>Modalidade de determinação da BC do ICMS:
3121
 
3122
1 - Pauta (valor);
3123
2 - Preço Tabelado Máximo (valor);
3124
3 - Valor da Operação.</xs:documentation>
3125
                                                                                                                                                                                </xs:annotation>
3126
                                                                                                                                                                                <xs:simpleType>
3127
                                                                                                                                                                                        <xs:restriction base="xs:string">
3128
                                                                                                                                                                                                <xs:whiteSpace value="preserve"/>
3129
                                                                                                                                                                                                <xs:enumeration value="0"/>
3130
                                                                                                                                                                                                <xs:enumeration value="1"/>
3131
                                                                                                                                                                                                <xs:enumeration value="2"/>
3132
                                                                                                                                                                                                <xs:enumeration value="3"/>
3133
                                                                                                                                                                                        </xs:restriction>
3134
                                                                                                                                                                                </xs:simpleType>
3135
                                                                                                                                                                        </xs:element>
3136
                                                                                                                                                                        <xs:element name="vBC" type="TDec_1302">
3137
                                                                                                                                                                                <xs:annotation>
3138
                                                                                                                                                                                        <xs:documentation>Valor da BC do ICMS</xs:documentation>
3139
                                                                                                                                                                                </xs:annotation>
3140
                                                                                                                                                                        </xs:element>
3141
                                                                                                                                                                        <xs:element name="pRedBC" type="TDec_0302a04Opc" minOccurs="0">
3142
                                                                                                                                                                                <xs:annotation>
3143
                                                                                                                                                                                        <xs:documentation>Percentual de redução da BC</xs:documentation>
3144
                                                                                                                                                                                </xs:annotation>
3145
                                                                                                                                                                        </xs:element>
3146
                                                                                                                                                                        <xs:element name="pICMS" type="TDec_0302a04">
3147
                                                                                                                                                                                <xs:annotation>
3148
                                                                                                                                                                                        <xs:documentation>Alíquota do ICMS</xs:documentation>
3149
                                                                                                                                                                                </xs:annotation>
3150
                                                                                                                                                                        </xs:element>
3151
                                                                                                                                                                        <xs:element name="vICMS" type="TDec_1302">
3152
                                                                                                                                                                                <xs:annotation>
3153
                                                                                                                                                                                        <xs:documentation>Valor do ICMS</xs:documentation>
3154
                                                                                                                                                                                </xs:annotation>
3155
                                                                                                                                                                        </xs:element>
3156
                                                                                                                                                                </xs:sequence>
3157
                                                                                                                                                                <xs:sequence minOccurs="0">
3158
                                                                                                                                                                        <xs:element name="modBCST">
3159
                                                                                                                                                                                <xs:annotation>
3160
                                                                                                                                                                                        <xs:documentation>Modalidade de determinação da BC do ICMS ST:
3161
 
3162
1 - Lista Negativa (valor);
3163
2 - Lista Positiva (valor);
3164
3 - Lista Neutra (valor);
3165
4 - Margem Valor Agregado (%);
3166
5 - Pauta (valor).</xs:documentation>
3167
                                                                                                                                                                                </xs:annotation>
3168
                                                                                                                                                                                <xs:simpleType>
3169
                                                                                                                                                                                        <xs:restriction base="xs:string">
3170
                                                                                                                                                                                                <xs:whiteSpace value="preserve"/>
3171
                                                                                                                                                                                                <xs:enumeration value="0"/>
3172
                                                                                                                                                                                                <xs:enumeration value="1"/>
3173
                                                                                                                                                                                                <xs:enumeration value="2"/>
3174
                                                                                                                                                                                                <xs:enumeration value="3"/>
3175
                                                                                                                                                                                                <xs:enumeration value="4"/>
3176
                                                                                                                                                                                                <xs:enumeration value="5"/>
3177
                                                                                                                                                                                        </xs:restriction>
3178
                                                                                                                                                                                </xs:simpleType>
3179
                                                                                                                                                                        </xs:element>
3180
                                                                                                                                                                        <xs:element name="pMVAST" type="TDec_0302a04Opc" minOccurs="0">
3181
                                                                                                                                                                                <xs:annotation>
3182
                                                                                                                                                                                        <xs:documentation>Percentual da Margem de Valor Adicionado ICMS ST</xs:documentation>
3183
                                                                                                                                                                                </xs:annotation>
3184
                                                                                                                                                                        </xs:element>
3185
                                                                                                                                                                        <xs:element name="pRedBCST" type="TDec_0302a04Opc" minOccurs="0">
3186
                                                                                                                                                                                <xs:annotation>
3187
                                                                                                                                                                                        <xs:documentation>Percentual de redução da BC ICMS ST </xs:documentation>
3188
                                                                                                                                                                                </xs:annotation>
3189
                                                                                                                                                                        </xs:element>
3190
                                                                                                                                                                        <xs:element name="vBCST" type="TDec_1302">
3191
                                                                                                                                                                                <xs:annotation>
3192
                                                                                                                                                                                        <xs:documentation>Valor da BC do ICMS ST</xs:documentation>
3193
                                                                                                                                                                                </xs:annotation>
3194
                                                                                                                                                                        </xs:element>
3195
                                                                                                                                                                        <xs:element name="pICMSST" type="TDec_0302a04">
3196
                                                                                                                                                                                <xs:annotation>
3197
                                                                                                                                                                                        <xs:documentation>Alíquota do ICMS ST</xs:documentation>
3198
                                                                                                                                                                                </xs:annotation>
3199
                                                                                                                                                                        </xs:element>
3200
                                                                                                                                                                        <xs:element name="vICMSST" type="TDec_1302">
3201
                                                                                                                                                                                <xs:annotation>
3202
                                                                                                                                                                                        <xs:documentation>Valor do ICMS ST</xs:documentation>
3203
                                                                                                                                                                                </xs:annotation>
3204
                                                                                                                                                                        </xs:element>
3205
                                                                                                                                                                </xs:sequence>
3206
                                                                                                                                                                <xs:sequence minOccurs="0">
3207
                                                                                                                                                                        <xs:element name="pCredSN" type="TDec_0302a04">
3208
                                                                                                                                                                                <xs:annotation>
3209
                                                                                                                                                                                        <xs:documentation>Alíquota aplicável de cálculo do crédito (Simples Nacional). (v2.0)</xs:documentation>
3210
                                                                                                                                                                                </xs:annotation>
3211
                                                                                                                                                                        </xs:element>
3212
                                                                                                                                                                        <xs:element name="vCredICMSSN" type="TDec_1302">
3213
                                                                                                                                                                                <xs:annotation>
3214
                                                                                                                                                                                        <xs:documentation>Valor crédito do ICMS que pode ser aproveitado nos termos do art. 23 da LC 123 (Simples Nacional) (v2.0)</xs:documentation>
3215
                                                                                                                                                                                </xs:annotation>
3216
                                                                                                                                                                        </xs:element>
3217
                                                                                                                                                                </xs:sequence>
3218
                                                                                                                                                        </xs:sequence>
3219
                                                                                                                                                </xs:complexType>
3220
                                                                                                                                        </xs:element>
3221
                                                                                                                                </xs:choice>
3222
                                                                                                                        </xs:complexType>
3223
                                                                                                                </xs:element>
3224
                                                                                                                <xs:element name="IPI" type="TIpi" minOccurs="0"/>
3225
                                                                                                                <xs:element name="II" minOccurs="0">
3226
                                                                                                                        <xs:annotation>
3227
                                                                                                                                <xs:documentation>Dados do Imposto de Importação</xs:documentation>
3228
                                                                                                                        </xs:annotation>
3229
                                                                                                                        <xs:complexType>
3230
                                                                                                                                <xs:sequence>
3231
                                                                                                                                        <xs:element name="vBC" type="TDec_1302">
3232
                                                                                                                                                <xs:annotation>
3233
                                                                                                                                                        <xs:documentation>Base da BC do Imposto de Importação</xs:documentation>
3234
                                                                                                                                                </xs:annotation>
3235
                                                                                                                                        </xs:element>
3236
                                                                                                                                        <xs:element name="vDespAdu" type="TDec_1302">
3237
                                                                                                                                                <xs:annotation>
3238
                                                                                                                                                        <xs:documentation>Valor das despesas aduaneiras</xs:documentation>
3239
                                                                                                                                                </xs:annotation>
3240
                                                                                                                                        </xs:element>
3241
                                                                                                                                        <xs:element name="vII" type="TDec_1302">
3242
                                                                                                                                                <xs:annotation>
3243
                                                                                                                                                        <xs:documentation>Valor do Imposto de Importação</xs:documentation>
3244
                                                                                                                                                </xs:annotation>
3245
                                                                                                                                        </xs:element>
3246
                                                                                                                                        <xs:element name="vIOF" type="TDec_1302">
3247
                                                                                                                                                <xs:annotation>
3248
                                                                                                                                                        <xs:documentation>Valor do Imposto sobre Operações Financeiras</xs:documentation>
3249
                                                                                                                                                </xs:annotation>
3250
                                                                                                                                        </xs:element>
3251
                                                                                                                                </xs:sequence>
3252
                                                                                                                        </xs:complexType>
3253
                                                                                                                </xs:element>
3254
                                                                                                        </xs:sequence>
3255
                                                                                                        <xs:sequence>
3256
                                                                                                                <xs:element name="IPI" type="TIpi" minOccurs="0"/>
3257
                                                                                                                <xs:element name="ISSQN">
3258
                                                                                                                        <xs:annotation>
3259
                                                                                                                                <xs:documentation>ISSQN</xs:documentation>
3260
                                                                                                                        </xs:annotation>
3261
                                                                                                                        <xs:complexType>
3262
                                                                                                                                <xs:sequence>
3263
                                                                                                                                        <xs:element name="vBC" type="TDec_1302">
3264
                                                                                                                                                <xs:annotation>
3265
                                                                                                                                                        <xs:documentation>Valor da BC do ISSQN</xs:documentation>
3266
                                                                                                                                                </xs:annotation>
3267
                                                                                                                                        </xs:element>
3268
                                                                                                                                        <xs:element name="vAliq" type="TDec_0302a04">
3269
                                                                                                                                                <xs:annotation>
3270
                                                                                                                                                        <xs:documentation>Alíquota do ISSQN</xs:documentation>
3271
                                                                                                                                                </xs:annotation>
3272
                                                                                                                                        </xs:element>
3273
                                                                                                                                        <xs:element name="vISSQN" type="TDec_1302">
3274
                                                                                                                                                <xs:annotation>
3275
                                                                                                                                                        <xs:documentation>Valor da do ISSQN</xs:documentation>
3276
                                                                                                                                                </xs:annotation>
3277
                                                                                                                                        </xs:element>
3278
                                                                                                                                        <xs:element name="cMunFG" type="TCodMunIBGE">
3279
                                                                                                                                                <xs:annotation>
3280
                                                                                                                                                        <xs:documentation>Informar o município de ocorrência do fato gerador do ISSQN. Utilizar a Tabela do IBGE (Anexo VII - Tabela de UF, Município e País). “Atenção, não vincular com os campos B12, C10 ou E10” v2.0</xs:documentation>
3281
                                                                                                                                                </xs:annotation>
3282
                                                                                                                                        </xs:element>
3283
                                                                                                                                        <xs:element name="cListServ" type="TCListServ">
3284
                                                                                                                                                <xs:annotation>
3285
                                                                                                                                                        <xs:documentation>Informar o Item da lista de serviços da LC 116/03 em que se classifica o serviço.</xs:documentation>
3286
                                                                                                                                                </xs:annotation>
3287
                                                                                                                                        </xs:element>
3288
                                                                                                                                        <xs:element name="vDeducao" type="TDec_1302Opc" minOccurs="0">
3289
                                                                                                                                                <xs:annotation>
3290
                                                                                                                                                        <xs:documentation>Valor dedução para redução da base de cálculo</xs:documentation>
3291
                                                                                                                                                </xs:annotation>
3292
                                                                                                                                        </xs:element>
3293
                                                                                                                                        <xs:element name="vOutro" type="TDec_1302Opc" minOccurs="0">
3294
                                                                                                                                                <xs:annotation>
3295
                                                                                                                                                        <xs:documentation>Valor outras retenções</xs:documentation>
3296
                                                                                                                                                </xs:annotation>
3297
                                                                                                                                        </xs:element>
3298
                                                                                                                                        <xs:element name="vDescIncond" type="TDec_1302Opc" minOccurs="0">
3299
                                                                                                                                                <xs:annotation>
3300
                                                                                                                                                        <xs:documentation>Valor desconto incondicionado</xs:documentation>
3301
                                                                                                                                                </xs:annotation>
3302
                                                                                                                                        </xs:element>
3303
                                                                                                                                        <xs:element name="vDescCond" type="TDec_1302Opc" minOccurs="0">
3304
                                                                                                                                                <xs:annotation>
3305
                                                                                                                                                        <xs:documentation>Valor desconto condicionado</xs:documentation>
3306
                                                                                                                                                </xs:annotation>
3307
                                                                                                                                        </xs:element>
3308
                                                                                                                                        <xs:element name="vISSRet" type="TDec_1302Opc" minOccurs="0">
3309
                                                                                                                                                <xs:annotation>
3310
                                                                                                                                                        <xs:documentation>Valor Retenção ISS</xs:documentation>
3311
                                                                                                                                                </xs:annotation>
3312
                                                                                                                                        </xs:element>
3313
                                                                                                                                        <xs:element name="indISS">
3314
                                                                                                                                                <xs:annotation>
3315
                                                                                                                                                        <xs:documentation>Exibilidade do ISS:1-Exigível;2-Não incidente;3-Isenção;4-Exportação;5-Imunidade;6-Exig.Susp. Judicial;7-Exig.Susp. ADM</xs:documentation>
3316
                                                                                                                                                </xs:annotation>
3317
                                                                                                                                                <xs:simpleType>
3318
                                                                                                                                                        <xs:restriction base="xs:string">
3319
                                                                                                                                                                <xs:whiteSpace value="preserve"/>
3320
                                                                                                                                                                <xs:enumeration value="1"/>
3321
                                                                                                                                                                <xs:enumeration value="2"/>
3322
                                                                                                                                                                <xs:enumeration value="3"/>
3323
                                                                                                                                                                <xs:enumeration value="4"/>
3324
                                                                                                                                                                <xs:enumeration value="5"/>
3325
                                                                                                                                                                <xs:enumeration value="6"/>
3326
                                                                                                                                                                <xs:enumeration value="7"/>
3327
                                                                                                                                                        </xs:restriction>
3328
                                                                                                                                                </xs:simpleType>
3329
                                                                                                                                        </xs:element>
3330
                                                                                                                                        <xs:element name="cServico" minOccurs="0">
3331
                                                                                                                                                <xs:annotation>
3332
                                                                                                                                                        <xs:documentation>Código do serviço prestado dentro do município</xs:documentation>
3333
                                                                                                                                                </xs:annotation>
3334
                                                                                                                                                <xs:simpleType>
3335
                                                                                                                                                        <xs:restriction base="xs:string">
3336
                                                                                                                                                                <xs:whiteSpace value="preserve"/>
3337
                                                                                                                                                                <xs:minLength value="1"/>
3338
                                                                                                                                                                <xs:maxLength value="20"/>
3339
                                                                                                                                                        </xs:restriction>
3340
                                                                                                                                                </xs:simpleType>
3341
                                                                                                                                        </xs:element>
3342
                                                                                                                                        <xs:element name="cMun" type="TCodMunIBGE" minOccurs="0">
3343
                                                                                                                                                <xs:annotation>
3344
                                                                                                                                                        <xs:documentation>Código do Município de Incidência do Imposto</xs:documentation>
3345
                                                                                                                                                </xs:annotation>
3346
                                                                                                                                        </xs:element>
3347
                                                                                                                                        <xs:element name="cPais">
3348
                                                                                                                                                <xs:annotation>
3349
                                                                                                                                                        <xs:documentation>Código de Pais</xs:documentation>
3350
                                                                                                                                                </xs:annotation>
3351
                                                                                                                                                <xs:simpleType>
3352
                                                                                                                                                        <xs:restriction base="xs:string">
3353
                                                                                                                                                                <xs:whiteSpace value="preserve"/>
3354
                                                                                                                                                                <xs:pattern value="[0-9]{1,4}"/>
3355
                                                                                                                                                        </xs:restriction>
3356
                                                                                                                                                </xs:simpleType>
3357
                                                                                                                                        </xs:element>
3358
                                                                                                                                        <xs:element name="nProcesso" minOccurs="0">
3359
                                                                                                                                                <xs:annotation>
3360
                                                                                                                                                        <xs:documentation>Número do Processo administrativo ou judicial de suspenção do processo</xs:documentation>
3361
                                                                                                                                                </xs:annotation>
3362
                                                                                                                                                <xs:simpleType>
3363
                                                                                                                                                        <xs:restriction base="xs:string">
3364
                                                                                                                                                                <xs:whiteSpace value="preserve"/>
3365
                                                                                                                                                                <xs:minLength value="1"/>
3366
                                                                                                                                                                <xs:maxLength value="30"/>
3367
                                                                                                                                                        </xs:restriction>
3368
                                                                                                                                                </xs:simpleType>
3369
                                                                                                                                        </xs:element>
3370
                                                                                                                                        <xs:element name="indIncentivo">
3371
                                                                                                                                                <xs:annotation>
3372
                                                                                                                                                        <xs:documentation>Indicador de Incentivo Fiscal. 1=Sim; 2=Não</xs:documentation>
3373
                                                                                                                                                </xs:annotation>
3374
                                                                                                                                                <xs:simpleType>
3375
                                                                                                                                                        <xs:restriction base="xs:string">
3376
                                                                                                                                                                <xs:whiteSpace value="preserve"/>
3377
                                                                                                                                                                <xs:enumeration value="1"/>
3378
                                                                                                                                                                <xs:enumeration value="2"/>
3379
                                                                                                                                                        </xs:restriction>
3380
                                                                                                                                                </xs:simpleType>
3381
                                                                                                                                        </xs:element>
3382
                                                                                                                                </xs:sequence>
3383
                                                                                                                        </xs:complexType>
3384
                                                                                                                </xs:element>
3385
                                                                                                        </xs:sequence>
3386
                                                                                                </xs:choice>
3387
                                                                                                <xs:element name="PIS" minOccurs="0">
3388
                                                                                                        <xs:annotation>
3389
                                                                                                                <xs:documentation>Dados do PIS</xs:documentation>
3390
                                                                                                        </xs:annotation>
3391
                                                                                                        <xs:complexType>
3392
                                                                                                                <xs:choice>
3393
                                                                                                                        <xs:element name="PISAliq">
3394
                                                                                                                                <xs:annotation>
3395
                                                                                                                                        <xs:documentation>Código de Situação Tributária do PIS.
3396
 01 – Operação Tributável - Base de Cálculo = Valor da Operação Alíquota Normal (Cumulativo/Não Cumulativo);
3397
02 - Operação Tributável - Base de Calculo = Valor da Operação (Alíquota Diferenciada);</xs:documentation>
3398
                                                                                                                                </xs:annotation>
3399
                                                                                                                                <xs:complexType>
3400
                                                                                                                                        <xs:sequence>
3401
                                                                                                                                                <xs:element name="CST">
3402
                                                                                                                                                        <xs:annotation>
3403
                                                                                                                                                                <xs:documentation>Código de Situação Tributária do PIS.
3404
 01 – Operação Tributável - Base de Cálculo = Valor da Operação Alíquota Normal (Cumulativo/Não Cumulativo);
3405
02 - Operação Tributável - Base de Calculo = Valor da Operação (Alíquota Diferenciada);</xs:documentation>
3406
                                                                                                                                                        </xs:annotation>
3407
                                                                                                                                                        <xs:simpleType>
3408
                                                                                                                                                                <xs:restriction base="xs:string">
3409
                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
3410
                                                                                                                                                                        <xs:enumeration value="01"/>
3411
                                                                                                                                                                        <xs:enumeration value="02"/>
3412
                                                                                                                                                                </xs:restriction>
3413
                                                                                                                                                        </xs:simpleType>
3414
                                                                                                                                                </xs:element>
3415
                                                                                                                                                <xs:element name="vBC" type="TDec_1302">
3416
                                                                                                                                                        <xs:annotation>
3417
                                                                                                                                                                <xs:documentation>Valor da BC do PIS</xs:documentation>
3418
                                                                                                                                                        </xs:annotation>
3419
                                                                                                                                                </xs:element>
3420
                                                                                                                                                <xs:element name="pPIS" type="TDec_0302a04">
3421
                                                                                                                                                        <xs:annotation>
3422
                                                                                                                                                                <xs:documentation>Alíquota do PIS (em percentual)</xs:documentation>
3423
                                                                                                                                                        </xs:annotation>
3424
                                                                                                                                                </xs:element>
3425
                                                                                                                                                <xs:element name="vPIS" type="TDec_1302">
3426
                                                                                                                                                        <xs:annotation>
3427
                                                                                                                                                                <xs:documentation>Valor do PIS</xs:documentation>
3428
                                                                                                                                                        </xs:annotation>
3429
                                                                                                                                                </xs:element>
3430
                                                                                                                                        </xs:sequence>
3431
                                                                                                                                </xs:complexType>
3432
                                                                                                                        </xs:element>
3433
                                                                                                                        <xs:element name="PISQtde">
3434
                                                                                                                                <xs:annotation>
3435
                                                                                                                                        <xs:documentation>Código de Situação Tributária do PIS.
3436
03 - Operação Tributável - Base de Calculo = Quantidade Vendida x Alíquota por Unidade de Produto;</xs:documentation>
3437
                                                                                                                                </xs:annotation>
3438
                                                                                                                                <xs:complexType>
3439
                                                                                                                                        <xs:sequence>
3440
                                                                                                                                                <xs:element name="CST">
3441
                                                                                                                                                        <xs:annotation>
3442
                                                                                                                                                                <xs:documentation>Código de Situação Tributária do PIS.
3443
03 - Operação Tributável - Base de Calculo = Quantidade Vendida x Alíquota por Unidade de Produto;</xs:documentation>
3444
                                                                                                                                                        </xs:annotation>
3445
                                                                                                                                                        <xs:simpleType>
3446
                                                                                                                                                                <xs:restriction base="xs:string">
3447
                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
3448
                                                                                                                                                                        <xs:enumeration value="03"/>
3449
                                                                                                                                                                </xs:restriction>
3450
                                                                                                                                                        </xs:simpleType>
3451
                                                                                                                                                </xs:element>
3452
                                                                                                                                                <xs:element name="qBCProd" type="TDec_1204v">
3453
                                                                                                                                                        <xs:annotation>
3454
                                                                                                                                                                <xs:documentation>Quantidade Vendida  (NT2011/004)</xs:documentation>
3455
                                                                                                                                                        </xs:annotation>
3456
                                                                                                                                                </xs:element>
3457
                                                                                                                                                <xs:element name="vAliqProd" type="TDec_1104v">
3458
                                                                                                                                                        <xs:annotation>
3459
                                                                                                                                                                <xs:documentation>Alíquota do PIS (em reais) (NT2011/004)</xs:documentation>
3460
                                                                                                                                                        </xs:annotation>
3461
                                                                                                                                                </xs:element>
3462
                                                                                                                                                <xs:element name="vPIS" type="TDec_1302">
3463
                                                                                                                                                        <xs:annotation>
3464
                                                                                                                                                                <xs:documentation>Valor do PIS</xs:documentation>
3465
                                                                                                                                                        </xs:annotation>
3466
                                                                                                                                                </xs:element>
3467
                                                                                                                                        </xs:sequence>
3468
                                                                                                                                </xs:complexType>
3469
                                                                                                                        </xs:element>
3470
                                                                                                                        <xs:element name="PISNT">
3471
                                                                                                                                <xs:annotation>
3472
                                                                                                                                        <xs:documentation>Código de Situação Tributária do PIS.
3473
04 - Operação Tributável - Tributação Monofásica - (Alíquota Zero);
3474
06 - Operação Tributável - Alíquota Zero;
3475
07 - Operação Isenta da contribuição;
3476
08 - Operação Sem Incidência da contribuição;
3477
09 - Operação com suspensão da contribuição;</xs:documentation>
3478
                                                                                                                                </xs:annotation>
3479
                                                                                                                                <xs:complexType>
3480
                                                                                                                                        <xs:sequence>
3481
                                                                                                                                                <xs:element name="CST">
3482
                                                                                                                                                        <xs:annotation>
3483
                                                                                                                                                                <xs:documentation>Código de Situação Tributária do PIS.
3484
04 - Operação Tributável - Tributação Monofásica - (Alíquota Zero);
3485
05 - Operação Tributável (ST);
3486
06 - Operação Tributável - Alíquota Zero;
3487
07 - Operação Isenta da contribuição;
3488
08 - Operação Sem Incidência da contribuição;
3489
09 - Operação com suspensão da contribuição;</xs:documentation>
3490
                                                                                                                                                        </xs:annotation>
3491
                                                                                                                                                        <xs:simpleType>
3492
                                                                                                                                                                <xs:restriction base="xs:string">
3493
                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
3494
                                                                                                                                                                        <xs:enumeration value="04"/>
3495
                                                                                                                                                                        <xs:enumeration value="05"/>
3496
                                                                                                                                                                        <xs:enumeration value="06"/>
3497
                                                                                                                                                                        <xs:enumeration value="07"/>
3498
                                                                                                                                                                        <xs:enumeration value="08"/>
3499
                                                                                                                                                                        <xs:enumeration value="09"/>
3500
                                                                                                                                                                </xs:restriction>
3501
                                                                                                                                                        </xs:simpleType>
3502
                                                                                                                                                </xs:element>
3503
                                                                                                                                        </xs:sequence>
3504
                                                                                                                                </xs:complexType>
3505
                                                                                                                        </xs:element>
3506
                                                                                                                        <xs:element name="PISOutr">
3507
                                                                                                                                <xs:annotation>
3508
                                                                                                                                        <xs:documentation>Código de Situação Tributária do PIS.
3509
99 - Outras Operações.</xs:documentation>
3510
                                                                                                                                </xs:annotation>
3511
                                                                                                                                <xs:complexType>
3512
                                                                                                                                        <xs:sequence>
3513
                                                                                                                                                <xs:element name="CST">
3514
                                                                                                                                                        <xs:annotation>
3515
                                                                                                                                                                <xs:documentation>Código de Situação Tributária do PIS.
3516
99 - Outras Operações.</xs:documentation>
3517
                                                                                                                                                        </xs:annotation>
3518
                                                                                                                                                        <xs:simpleType>
3519
                                                                                                                                                                <xs:restriction base="xs:string">
3520
                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
3521
                                                                                                                                                                        <xs:enumeration value="49"/>
3522
                                                                                                                                                                        <xs:enumeration value="50"/>
3523
                                                                                                                                                                        <xs:enumeration value="51"/>
3524
                                                                                                                                                                        <xs:enumeration value="52"/>
3525
                                                                                                                                                                        <xs:enumeration value="53"/>
3526
                                                                                                                                                                        <xs:enumeration value="54"/>
3527
                                                                                                                                                                        <xs:enumeration value="55"/>
3528
                                                                                                                                                                        <xs:enumeration value="56"/>
3529
                                                                                                                                                                        <xs:enumeration value="60"/>
3530
                                                                                                                                                                        <xs:enumeration value="61"/>
3531
                                                                                                                                                                        <xs:enumeration value="62"/>
3532
                                                                                                                                                                        <xs:enumeration value="63"/>
3533
                                                                                                                                                                        <xs:enumeration value="64"/>
3534
                                                                                                                                                                        <xs:enumeration value="65"/>
3535
                                                                                                                                                                        <xs:enumeration value="66"/>
3536
                                                                                                                                                                        <xs:enumeration value="67"/>
3537
                                                                                                                                                                        <xs:enumeration value="70"/>
3538
                                                                                                                                                                        <xs:enumeration value="71"/>
3539
                                                                                                                                                                        <xs:enumeration value="72"/>
3540
                                                                                                                                                                        <xs:enumeration value="73"/>
3541
                                                                                                                                                                        <xs:enumeration value="74"/>
3542
                                                                                                                                                                        <xs:enumeration value="75"/>
3543
                                                                                                                                                                        <xs:enumeration value="98"/>
3544
                                                                                                                                                                        <xs:enumeration value="99"/>
3545
                                                                                                                                                                </xs:restriction>
3546
                                                                                                                                                        </xs:simpleType>
3547
                                                                                                                                                </xs:element>
3548
                                                                                                                                                <xs:choice>
3549
                                                                                                                                                        <xs:sequence>
3550
                                                                                                                                                                <xs:element name="vBC" type="TDec_1302">
3551
                                                                                                                                                                        <xs:annotation>
3552
                                                                                                                                                                                <xs:documentation>Valor da BC do PIS</xs:documentation>
3553
                                                                                                                                                                        </xs:annotation>
3554
                                                                                                                                                                </xs:element>
3555
                                                                                                                                                                <xs:element name="pPIS" type="TDec_0302a04">
3556
                                                                                                                                                                        <xs:annotation>
3557
                                                                                                                                                                                <xs:documentation>Alíquota do PIS (em percentual)</xs:documentation>
3558
                                                                                                                                                                        </xs:annotation>
3559
                                                                                                                                                                </xs:element>
3560
                                                                                                                                                        </xs:sequence>
3561
                                                                                                                                                        <xs:sequence>
3562
                                                                                                                                                                <xs:element name="qBCProd" type="TDec_1204v">
3563
                                                                                                                                                                        <xs:annotation>
3564
                                                                                                                                                                                <xs:documentation>Quantidade Vendida (NT2011/004) </xs:documentation>
3565
                                                                                                                                                                        </xs:annotation>
3566
                                                                                                                                                                </xs:element>
3567
                                                                                                                                                                <xs:element name="vAliqProd" type="TDec_1104v">
3568
                                                                                                                                                                        <xs:annotation>
3569
                                                                                                                                                                                <xs:documentation>Alíquota do PIS (em reais) (NT2011/004)</xs:documentation>
3570
                                                                                                                                                                        </xs:annotation>
3571
                                                                                                                                                                </xs:element>
3572
                                                                                                                                                        </xs:sequence>
3573
                                                                                                                                                </xs:choice>
3574
                                                                                                                                                <xs:element name="vPIS" type="TDec_1302">
3575
                                                                                                                                                        <xs:annotation>
3576
                                                                                                                                                                <xs:documentation>Valor do PIS</xs:documentation>
3577
                                                                                                                                                        </xs:annotation>
3578
                                                                                                                                                </xs:element>
3579
                                                                                                                                        </xs:sequence>
3580
                                                                                                                                </xs:complexType>
3581
                                                                                                                        </xs:element>
3582
                                                                                                                </xs:choice>
3583
                                                                                                        </xs:complexType>
3584
                                                                                                </xs:element>
3585
                                                                                                <xs:element name="PISST" minOccurs="0">
3586
                                                                                                        <xs:annotation>
3587
                                                                                                                <xs:documentation>Dados do PIS Substituição Tributária</xs:documentation>
3588
                                                                                                        </xs:annotation>
3589
                                                                                                        <xs:complexType>
3590
                                                                                                                <xs:sequence>
3591
                                                                                                                        <xs:choice>
3592
                                                                                                                                <xs:sequence>
3593
                                                                                                                                        <xs:element name="vBC" type="TDec_1302Opc">
3594
                                                                                                                                                <xs:annotation>
3595
                                                                                                                                                        <xs:documentation>Valor da BC do PIS ST</xs:documentation>
3596
                                                                                                                                                </xs:annotation>
3597
                                                                                                                                        </xs:element>
3598
                                                                                                                                        <xs:element name="pPIS" type="TDec_0302a04">
3599
                                                                                                                                                <xs:annotation>
3600
                                                                                                                                                        <xs:documentation>Alíquota do PIS ST (em percentual)</xs:documentation>
3601
                                                                                                                                                </xs:annotation>
3602
                                                                                                                                        </xs:element>
3603
                                                                                                                                </xs:sequence>
3604
                                                                                                                                <xs:sequence>
3605
                                                                                                                                        <xs:element name="qBCProd" type="TDec_1204">
3606
                                                                                                                                                <xs:annotation>
3607
                                                                                                                                                        <xs:documentation>Quantidade Vendida </xs:documentation>
3608
                                                                                                                                                </xs:annotation>
3609
                                                                                                                                        </xs:element>
3610
                                                                                                                                        <xs:element name="vAliqProd" type="TDec_1104">
3611
                                                                                                                                                <xs:annotation>
3612
                                                                                                                                                        <xs:documentation>Alíquota do PIS ST (em reais)</xs:documentation>
3613
                                                                                                                                                </xs:annotation>
3614
                                                                                                                                        </xs:element>
3615
                                                                                                                                </xs:sequence>
3616
                                                                                                                        </xs:choice>
3617
                                                                                                                        <xs:element name="vPIS" type="TDec_1302">
3618
                                                                                                                                <xs:annotation>
3619
                                                                                                                                        <xs:documentation>Valor do PIS ST</xs:documentation>
3620
                                                                                                                                </xs:annotation>
3621
                                                                                                                        </xs:element>
3622
                                                                                                                </xs:sequence>
3623
                                                                                                        </xs:complexType>
3624
                                                                                                </xs:element>
3625
                                                                                                <xs:element name="COFINS" minOccurs="0">
3626
                                                                                                        <xs:annotation>
3627
                                                                                                                <xs:documentation>Dados do COFINS</xs:documentation>
3628
                                                                                                        </xs:annotation>
3629
                                                                                                        <xs:complexType>
3630
                                                                                                                <xs:choice>
3631
                                                                                                                        <xs:element name="COFINSAliq">
3632
                                                                                                                                <xs:annotation>
3633
                                                                                                                                        <xs:documentation>Código de Situação Tributária do COFINS.
3634
 01 – Operação Tributável - Base de Cálculo = Valor da Operação Alíquota Normal (Cumulativo/Não Cumulativo);
3635
02 - Operação Tributável - Base de Calculo = Valor da Operação (Alíquota Diferenciada);</xs:documentation>
3636
                                                                                                                                </xs:annotation>
3637
                                                                                                                                <xs:complexType>
3638
                                                                                                                                        <xs:sequence>
3639
                                                                                                                                                <xs:element name="CST">
3640
                                                                                                                                                        <xs:annotation>
3641
                                                                                                                                                                <xs:documentation>Código de Situação Tributária do COFINS.
3642
 01 – Operação Tributável - Base de Cálculo = Valor da Operação Alíquota Normal (Cumulativo/Não Cumulativo);
3643
02 - Operação Tributável - Base de Calculo = Valor da Operação (Alíquota Diferenciada);</xs:documentation>
3644
                                                                                                                                                        </xs:annotation>
3645
                                                                                                                                                        <xs:simpleType>
3646
                                                                                                                                                                <xs:restriction base="xs:string">
3647
                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
3648
                                                                                                                                                                        <xs:enumeration value="01"/>
3649
                                                                                                                                                                        <xs:enumeration value="02"/>
3650
                                                                                                                                                                </xs:restriction>
3651
                                                                                                                                                        </xs:simpleType>
3652
                                                                                                                                                </xs:element>
3653
                                                                                                                                                <xs:element name="vBC" type="TDec_1302">
3654
                                                                                                                                                        <xs:annotation>
3655
                                                                                                                                                                <xs:documentation>Valor da BC do COFINS</xs:documentation>
3656
                                                                                                                                                        </xs:annotation>
3657
                                                                                                                                                </xs:element>
3658
                                                                                                                                                <xs:element name="pCOFINS" type="TDec_0302a04">
3659
                                                                                                                                                        <xs:annotation>
3660
                                                                                                                                                                <xs:documentation>Alíquota do COFINS (em percentual)</xs:documentation>
3661
                                                                                                                                                        </xs:annotation>
3662
                                                                                                                                                </xs:element>
3663
                                                                                                                                                <xs:element name="vCOFINS" type="TDec_1302">
3664
                                                                                                                                                        <xs:annotation>
3665
                                                                                                                                                                <xs:documentation>Valor do COFINS</xs:documentation>
3666
                                                                                                                                                        </xs:annotation>
3667
                                                                                                                                                </xs:element>
3668
                                                                                                                                        </xs:sequence>
3669
                                                                                                                                </xs:complexType>
3670
                                                                                                                        </xs:element>
3671
                                                                                                                        <xs:element name="COFINSQtde">
3672
                                                                                                                                <xs:annotation>
3673
                                                                                                                                        <xs:documentation>Código de Situação Tributária do COFINS.
3674
03 - Operação Tributável - Base de Calculo = Quantidade Vendida x Alíquota por Unidade de Produto;</xs:documentation>
3675
                                                                                                                                </xs:annotation>
3676
                                                                                                                                <xs:complexType>
3677
                                                                                                                                        <xs:sequence>
3678
                                                                                                                                                <xs:element name="CST">
3679
                                                                                                                                                        <xs:annotation>
3680
                                                                                                                                                                <xs:documentation>Código de Situação Tributária do COFINS.
3681
03 - Operação Tributável - Base de Calculo = Quantidade Vendida x Alíquota por Unidade de Produto;</xs:documentation>
3682
                                                                                                                                                        </xs:annotation>
3683
                                                                                                                                                        <xs:simpleType>
3684
                                                                                                                                                                <xs:restriction base="xs:string">
3685
                                                                                                                                                                        <xs:enumeration value="03"/>
3686
                                                                                                                                                                </xs:restriction>
3687
                                                                                                                                                        </xs:simpleType>
3688
                                                                                                                                                </xs:element>
3689
                                                                                                                                                <xs:element name="qBCProd" type="TDec_1204v">
3690
                                                                                                                                                        <xs:annotation>
3691
                                                                                                                                                                <xs:documentation>Quantidade Vendida (NT2011/004)</xs:documentation>
3692
                                                                                                                                                        </xs:annotation>
3693
                                                                                                                                                </xs:element>
3694
                                                                                                                                                <xs:element name="vAliqProd" type="TDec_1104v">
3695
                                                                                                                                                        <xs:annotation>
3696
                                                                                                                                                                <xs:documentation>Alíquota do COFINS (em reais) (NT2011/004)</xs:documentation>
3697
                                                                                                                                                        </xs:annotation>
3698
                                                                                                                                                </xs:element>
3699
                                                                                                                                                <xs:element name="vCOFINS" type="TDec_1302">
3700
                                                                                                                                                        <xs:annotation>
3701
                                                                                                                                                                <xs:documentation>Valor do COFINS</xs:documentation>
3702
                                                                                                                                                        </xs:annotation>
3703
                                                                                                                                                </xs:element>
3704
                                                                                                                                        </xs:sequence>
3705
                                                                                                                                </xs:complexType>
3706
                                                                                                                        </xs:element>
3707
                                                                                                                        <xs:element name="COFINSNT">
3708
                                                                                                                                <xs:annotation>
3709
                                                                                                                                        <xs:documentation>Código de Situação Tributária do COFINS:
3710
04 - Operação Tributável - Tributação Monofásica - (Alíquota Zero);
3711
06 - Operação Tributável - Alíquota Zero;
3712
07 - Operação Isenta da contribuição;
3713
08 - Operação Sem Incidência da contribuição;
3714
09 - Operação com suspensão da contribuição;</xs:documentation>
3715
                                                                                                                                </xs:annotation>
3716
                                                                                                                                <xs:complexType>
3717
                                                                                                                                        <xs:sequence>
3718
                                                                                                                                                <xs:element name="CST">
3719
                                                                                                                                                        <xs:annotation>
3720
                                                                                                                                                                <xs:documentation>Código de Situação Tributária do COFINS:
3721
04 - Operação Tributável - Tributação Monofásica - (Alíquota Zero);
3722
05 - Operação Tributável (ST);
3723
06 - Operação Tributável - Alíquota Zero;
3724
07 - Operação Isenta da contribuição;
3725
08 - Operação Sem Incidência da contribuição;
3726
09 - Operação com suspensão da contribuição;</xs:documentation>
3727
                                                                                                                                                        </xs:annotation>
3728
                                                                                                                                                        <xs:simpleType>
3729
                                                                                                                                                                <xs:restriction base="xs:string">
3730
                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
3731
                                                                                                                                                                        <xs:enumeration value="04"/>
3732
                                                                                                                                                                        <xs:enumeration value="05"/>
3733
                                                                                                                                                                        <xs:enumeration value="06"/>
3734
                                                                                                                                                                        <xs:enumeration value="07"/>
3735
                                                                                                                                                                        <xs:enumeration value="08"/>
3736
                                                                                                                                                                        <xs:enumeration value="09"/>
3737
                                                                                                                                                                </xs:restriction>
3738
                                                                                                                                                        </xs:simpleType>
3739
                                                                                                                                                </xs:element>
3740
                                                                                                                                        </xs:sequence>
3741
                                                                                                                                </xs:complexType>
3742
                                                                                                                        </xs:element>
3743
                                                                                                                        <xs:element name="COFINSOutr">
3744
                                                                                                                                <xs:annotation>
3745
                                                                                                                                        <xs:documentation>Código de Situação Tributária do COFINS:
3746
49 - Outras Operações de Saída
3747
50 - Operação com Direito a Crédito - Vinculada Exclusivamente a Receita Tributada no Mercado Interno
3748
51 - Operação com Direito a Crédito – Vinculada Exclusivamente a Receita Não Tributada no Mercado Interno
3749
52 - Operação com Direito a Crédito - Vinculada Exclusivamente a Receita de Exportação
3750
53 - Operação com Direito a Crédito - Vinculada a Receitas Tributadas e Não-Tributadas no Mercado Interno
3751
54 - Operação com Direito a Crédito - Vinculada a Receitas Tributadas no Mercado Interno e de Exportação
3752
55 - Operação com Direito a Crédito - Vinculada a Receitas Não-Tributadas no Mercado Interno e de Exportação
3753
56 - Operação com Direito a Crédito - Vinculada a Receitas Tributadas e Não-Tributadas no Mercado Interno, e de Exportação
3754
60 - Crédito Presumido - Operação de Aquisição Vinculada Exclusivamente a Receita Tributada no Mercado Interno
3755
61 - Crédito Presumido - Operação de Aquisição Vinculada Exclusivamente a Receita Não-Tributada no Mercado Interno
3756
62 - Crédito Presumido - Operação de Aquisição Vinculada Exclusivamente a Receita de Exportação
3757
63 - Crédito Presumido - Operação de Aquisição Vinculada a Receitas Tributadas e Não-Tributadas no Mercado Interno
3758
64 - Crédito Presumido - Operação de Aquisição Vinculada a Receitas Tributadas no Mercado Interno e de Exportação
3759
65 - Crédito Presumido - Operação de Aquisição Vinculada a Receitas Não-Tributadas no Mercado Interno e de Exportação
3760
66 - Crédito Presumido - Operação de Aquisição Vinculada a Receitas Tributadas e Não-Tributadas no Mercado Interno, e de Exportação
3761
67 - Crédito Presumido - Outras Operações
3762
70 - Operação de Aquisição sem Direito a Crédito
3763
71 - Operação de Aquisição com Isenção
3764
72 - Operação de Aquisição com Suspensão
3765
73 - Operação de Aquisição a Alíquota Zero
3766
74 - Operação de Aquisição sem Incidência da Contribuição
3767
75 - Operação de Aquisição por Substituição Tributária
3768
98 - Outras Operações de Entrada
3769
99 - Outras Operações.</xs:documentation>
3770
                                                                                                                                </xs:annotation>
3771
                                                                                                                                <xs:complexType>
3772
                                                                                                                                        <xs:sequence>
3773
                                                                                                                                                <xs:element name="CST">
3774
                                                                                                                                                        <xs:annotation>
3775
                                                                                                                                                                <xs:documentation>Código de Situação Tributária do COFINS:
3776
49 - Outras Operações de Saída
3777
50 - Operação com Direito a Crédito - Vinculada Exclusivamente a Receita Tributada no Mercado Interno
3778
51 - Operação com Direito a Crédito – Vinculada Exclusivamente a Receita Não Tributada no Mercado Interno
3779
52 - Operação com Direito a Crédito - Vinculada Exclusivamente a Receita de Exportação
3780
53 - Operação com Direito a Crédito - Vinculada a Receitas Tributadas e Não-Tributadas no Mercado Interno
3781
54 - Operação com Direito a Crédito - Vinculada a Receitas Tributadas no Mercado Interno e de Exportação
3782
55 - Operação com Direito a Crédito - Vinculada a Receitas Não-Tributadas no Mercado Interno e de Exportação
3783
56 - Operação com Direito a Crédito - Vinculada a Receitas Tributadas e Não-Tributadas no Mercado Interno, e de Exportação
3784
60 - Crédito Presumido - Operação de Aquisição Vinculada Exclusivamente a Receita Tributada no Mercado Interno
3785
61 - Crédito Presumido - Operação de Aquisição Vinculada Exclusivamente a Receita Não-Tributada no Mercado Interno
3786
62 - Crédito Presumido - Operação de Aquisição Vinculada Exclusivamente a Receita de Exportação
3787
63 - Crédito Presumido - Operação de Aquisição Vinculada a Receitas Tributadas e Não-Tributadas no Mercado Interno
3788
64 - Crédito Presumido - Operação de Aquisição Vinculada a Receitas Tributadas no Mercado Interno e de Exportação
3789
65 - Crédito Presumido - Operação de Aquisição Vinculada a Receitas Não-Tributadas no Mercado Interno e de Exportação
3790
66 - Crédito Presumido - Operação de Aquisição Vinculada a Receitas Tributadas e Não-Tributadas no Mercado Interno, e de Exportação
3791
67 - Crédito Presumido - Outras Operações
3792
70 - Operação de Aquisição sem Direito a Crédito
3793
71 - Operação de Aquisição com Isenção
3794
72 - Operação de Aquisição com Suspensão
3795
73 - Operação de Aquisição a Alíquota Zero
3796
74 - Operação de Aquisição sem Incidência da Contribuição
3797
75 - Operação de Aquisição por Substituição Tributária
3798
98 - Outras Operações de Entrada
3799
99 - Outras Operações.</xs:documentation>
3800
                                                                                                                                                        </xs:annotation>
3801
                                                                                                                                                        <xs:simpleType>
3802
                                                                                                                                                                <xs:restriction base="xs:string">
3803
                                                                                                                                                                        <xs:whiteSpace value="preserve"/>
3804
                                                                                                                                                                        <xs:enumeration value="49"/>
3805
                                                                                                                                                                        <xs:enumeration value="50"/>
3806
                                                                                                                                                                        <xs:enumeration value="51"/>
3807
                                                                                                                                                                        <xs:enumeration value="52"/>
3808
                                                                                                                                                                        <xs:enumeration value="53"/>
3809
                                                                                                                                                                        <xs:enumeration value="54"/>
3810
                                                                                                                                                                        <xs:enumeration value="55"/>
3811
                                                                                                                                                                        <xs:enumeration value="56"/>
3812
                                                                                                                                                                        <xs:enumeration value="60"/>
3813
                                                                                                                                                                        <xs:enumeration value="61"/>
3814
                                                                                                                                                                        <xs:enumeration value="62"/>
3815
                                                                                                                                                                        <xs:enumeration value="63"/>
3816
                                                                                                                                                                        <xs:enumeration value="64"/>
3817
                                                                                                                                                                        <xs:enumeration value="65"/>
3818
                                                                                                                                                                        <xs:enumeration value="66"/>
3819
                                                                                                                                                                        <xs:enumeration value="67"/>
3820
                                                                                                                                                                        <xs:enumeration value="70"/>
3821
                                                                                                                                                                        <xs:enumeration value="71"/>
3822
                                                                                                                                                                        <xs:enumeration value="72"/>
3823
                                                                                                                                                                        <xs:enumeration value="73"/>
3824
                                                                                                                                                                        <xs:enumeration value="74"/>
3825
                                                                                                                                                                        <xs:enumeration value="75"/>
3826
                                                                                                                                                                        <xs:enumeration value="98"/>
3827
                                                                                                                                                                        <xs:enumeration value="99"/>
3828
                                                                                                                                                                </xs:restriction>
3829
                                                                                                                                                        </xs:simpleType>
3830
                                                                                                                                                </xs:element>
3831
                                                                                                                                                <xs:choice>
3832
                                                                                                                                                        <xs:sequence>
3833
                                                                                                                                                                <xs:element name="vBC" type="TDec_1302">
3834
                                                                                                                                                                        <xs:annotation>
3835
                                                                                                                                                                                <xs:documentation>Valor da BC do COFINS</xs:documentation>
3836
                                                                                                                                                                        </xs:annotation>
3837
                                                                                                                                                                </xs:element>
3838
                                                                                                                                                                <xs:element name="pCOFINS" type="TDec_0302a04">
3839
                                                                                                                                                                        <xs:annotation>
3840
                                                                                                                                                                                <xs:documentation>Alíquota do COFINS (em percentual)</xs:documentation>
3841
                                                                                                                                                                        </xs:annotation>
3842
                                                                                                                                                                </xs:element>
3843
                                                                                                                                                        </xs:sequence>
3844
                                                                                                                                                        <xs:sequence>
3845
                                                                                                                                                                <xs:element name="qBCProd" type="TDec_1204v">
3846
                                                                                                                                                                        <xs:annotation>
3847
                                                                                                                                                                                <xs:documentation>Quantidade Vendida (NT2011/004) </xs:documentation>
3848
                                                                                                                                                                        </xs:annotation>
3849
                                                                                                                                                                </xs:element>
3850
                                                                                                                                                                <xs:element name="vAliqProd" type="TDec_1104v">
3851
                                                                                                                                                                        <xs:annotation>
3852
                                                                                                                                                                                <xs:documentation>Alíquota do COFINS (em reais) (NT2011/004)</xs:documentation>
3853
                                                                                                                                                                        </xs:annotation>
3854
                                                                                                                                                                </xs:element>
3855
                                                                                                                                                        </xs:sequence>
3856
                                                                                                                                                </xs:choice>
3857
                                                                                                                                                <xs:element name="vCOFINS" type="TDec_1302">
3858
                                                                                                                                                        <xs:annotation>
3859
                                                                                                                                                                <xs:documentation>Valor do COFINS</xs:documentation>
3860
                                                                                                                                                        </xs:annotation>
3861
                                                                                                                                                </xs:element>
3862
                                                                                                                                        </xs:sequence>
3863
                                                                                                                                </xs:complexType>
3864
                                                                                                                        </xs:element>
3865
                                                                                                                </xs:choice>
3866
                                                                                                        </xs:complexType>
3867
                                                                                                </xs:element>
3868
                                                                                                <xs:element name="COFINSST" minOccurs="0">
3869
                                                                                                        <xs:annotation>
3870
                                                                                                                <xs:documentation>Dados do COFINS da
3871
Substituição Tributaria;</xs:documentation>
3872
                                                                                                        </xs:annotation>
3873
                                                                                                        <xs:complexType>
3874
                                                                                                                <xs:sequence>
3875
                                                                                                                        <xs:choice>
3876
                                                                                                                                <xs:sequence>
3877
                                                                                                                                        <xs:element name="vBC" type="TDec_1302">
3878
                                                                                                                                                <xs:annotation>
3879
                                                                                                                                                        <xs:documentation>Valor da BC do COFINS ST</xs:documentation>
3880
                                                                                                                                                </xs:annotation>
3881
                                                                                                                                        </xs:element>
3882
                                                                                                                                        <xs:element name="pCOFINS" type="TDec_0302a04">
3883
                                                                                                                                                <xs:annotation>
3884
                                                                                                                                                        <xs:documentation>Alíquota do COFINS ST(em percentual)</xs:documentation>
3885
                                                                                                                                                </xs:annotation>
3886
                                                                                                                                        </xs:element>
3887
                                                                                                                                </xs:sequence>
3888
                                                                                                                                <xs:sequence>
3889
                                                                                                                                        <xs:element name="qBCProd" type="TDec_1204">
3890
                                                                                                                                                <xs:annotation>
3891
                                                                                                                                                        <xs:documentation>Quantidade Vendida </xs:documentation>
3892
                                                                                                                                                </xs:annotation>
3893
                                                                                                                                        </xs:element>
3894
                                                                                                                                        <xs:element name="vAliqProd" type="TDec_1104">
3895
                                                                                                                                                <xs:annotation>
3896
                                                                                                                                                        <xs:documentation>Alíquota do COFINS ST(em reais)</xs:documentation>
3897
                                                                                                                                                </xs:annotation>
3898
                                                                                                                                        </xs:element>
3899
                                                                                                                                </xs:sequence>
3900
                                                                                                                        </xs:choice>
3901
                                                                                                                        <xs:element name="vCOFINS" type="TDec_1302">
3902
                                                                                                                                <xs:annotation>
3903
                                                                                                                                        <xs:documentation>Valor do COFINS ST</xs:documentation>
3904
                                                                                                                                </xs:annotation>
3905
                                                                                                                        </xs:element>
3906
                                                                                                                </xs:sequence>
3907
                                                                                                        </xs:complexType>
3908
                                                                                                </xs:element>
3909
                                                                                                <xs:element name="ICMSUFDest" minOccurs="0">
3910
                                                                                                        <xs:annotation>
3911
                                                                                                                <xs:documentation>Grupo a ser informado nas vendas interestarduais para consumidor final, não contribuinte de ICMS</xs:documentation>
3912
                                                                                                        </xs:annotation>
3913
                                                                                                        <xs:complexType>
3914
                                                                                                                <xs:sequence>
3915
                                                                                                                        <xs:element name="vBCUFDest" type="TDec_1302">
3916
                                                                                                                                <xs:annotation>
3917
                                                                                                                                        <xs:documentation>Valor da Base de Cálculo do ICMS na UF do destinatário. </xs:documentation>
3918
                                                                                                                                </xs:annotation>
3919
                                                                                                                        </xs:element>
3920
                                                                                                                        <xs:element name="pFCPUFDest" type="TDec_0302a04">
3921
                                                                                                                                <xs:annotation>
3922
                                                                                                                                        <xs:documentation>Percentual adicional inserido na alíquota interna da UF de destino, relativo ao Fundo de Combate à Pobreza (FCP) naquela UF. </xs:documentation>
3923
                                                                                                                                </xs:annotation>
3924
                                                                                                                        </xs:element>
3925
                                                                                                                        <xs:element name="pICMSUFDest" type="TDec_0302a04">
3926
                                                                                                                                <xs:annotation>
3927
                                                                                                                                        <xs:documentation>Alíquota adotada nas operações internas na UF do destinatário para o produto / mercadoria.</xs:documentation>
3928
                                                                                                                                </xs:annotation>
3929
                                                                                                                        </xs:element>
3930
                                                                                                                        <xs:element name="pICMSInter">
3931
                                                                                                                                <xs:annotation>
3932
                                                                                                                                        <xs:documentation>Alíquota interestadual das UF envolvidas: - 4% alíquota interestadual para produtos importados; - 7% para os Estados de origem do Sul e Sudeste (exceto ES), destinado para os Estados do Norte e Nordeste  ou ES; - 12% para os demais casos.</xs:documentation>
3933
                                                                                                                                </xs:annotation>
3934
                                                                                                                                <xs:simpleType>
3935
                                                                                                                                        <xs:restriction base="xs:string">
3936
                                                                                                                                                <xs:whiteSpace value="preserve"/>
3937
                                                                                                                                                <xs:enumeration value="4.00"/>
3938
                                                                                                                                                <xs:enumeration value="7.00"/>
3939
                                                                                                                                                <xs:enumeration value="12.00"/>
3940
                                                                                                                                        </xs:restriction>
3941
                                                                                                                                </xs:simpleType>
3942
                                                                                                                        </xs:element>
3943
                                                                                                                        <xs:element name="pICMSInterPart" type="TDec_0302a04">
3944
                                                                                                                                <xs:annotation>
3945
                                                                                                                                        <xs:documentation>Percentual de partilha para a UF do destinatário: - 40% em 2016; - 60% em 2017; - 80% em 2018; - 100% a partir de 2019.</xs:documentation>
3946
                                                                                                                                </xs:annotation>
3947
                                                                                                                        </xs:element>
3948
                                                                                                                        <xs:element name="vFCPUFDest" type="TDec_1302">
3949
                                                                                                                                <xs:annotation>
3950
                                                                                                                                        <xs:documentation>Valor do ICMS relativo ao Fundo de Combate à Pobreza (FCP) da UF de destino.</xs:documentation>
3951
                                                                                                                                </xs:annotation>
3952
                                                                                                                        </xs:element>
3953
                                                                                                                        <xs:element name="vICMSUFDest" type="TDec_1302">
3954
                                                                                                                                <xs:annotation>
3955
                                                                                                                                        <xs:documentation>Valor do ICMS de partilha para a UF do destinatário. </xs:documentation>
3956
                                                                                                                                </xs:annotation>
3957
                                                                                                                        </xs:element>
3958
                                                                                                                        <xs:element name="vICMSUFRemet" type="TDec_1302">
3959
                                                                                                                                <xs:annotation>
3960
                                                                                                                                        <xs:documentation>Valor do ICMS de partilha para a UF do remetente. Nota: A partir de 2019, este valor será zero.</xs:documentation>
3961
                                                                                                                                </xs:annotation>
3962
                                                                                                                        </xs:element>
3963
                                                                                                                </xs:sequence>
3964
                                                                                                        </xs:complexType>
3965
                                                                                                </xs:element>
3966
                                                                                        </xs:sequence>
3967
                                                                                </xs:complexType>
3968
                                                                        </xs:element>
3969
                                                                        <xs:element name="impostoDevol" minOccurs="0">
3970
                                                                                <xs:complexType>
3971
                                                                                        <xs:sequence>
3972
                                                                                                <xs:element name="pDevol" type="TDec_0302Max100">
3973
                                                                                                        <xs:annotation>
3974
                                                                                                                <xs:documentation>Percentual de mercadoria devolvida</xs:documentation>
3975
                                                                                                        </xs:annotation>
3976
                                                                                                </xs:element>
3977
                                                                                                <xs:element name="IPI">
3978
                                                                                                        <xs:annotation>
3979
                                                                                                                <xs:documentation>Informação de IPI devolvido</xs:documentation>
3980
                                                                                                        </xs:annotation>
3981
                                                                                                        <xs:complexType>
3982
                                                                                                                <xs:sequence>
3983
                                                                                                                        <xs:element name="vIPIDevol" type="TDec_1302">
3984
                                                                                                                                <xs:annotation>
3985
                                                                                                                                        <xs:documentation>Valor do IPI devolvido</xs:documentation>
3986
                                                                                                                                </xs:annotation>
3987
                                                                                                                        </xs:element>
3988
                                                                                                                </xs:sequence>
3989
                                                                                                        </xs:complexType>
3990
                                                                                                </xs:element>
3991
                                                                                        </xs:sequence>
3992
                                                                                </xs:complexType>
3993
                                                                        </xs:element>
3994
                                                                        <xs:element name="infAdProd" minOccurs="0">
3995
                                                                                <xs:annotation>
3996
                                                                                        <xs:documentation>Informações adicionais do produto (norma referenciada, informações complementares, etc)</xs:documentation>
3997
                                                                                </xs:annotation>
3998
                                                                                <xs:simpleType>
3999
                                                                                        <xs:restriction base="TString">
4000
                                                                                                <xs:minLength value="1"/>
4001
                                                                                                <xs:maxLength value="500"/>
4002
                                                                                        </xs:restriction>
4003
                                                                                </xs:simpleType>
4004
                                                                        </xs:element>
4005
                                                                </xs:sequence>
4006
                                                                <xs:attribute name="nItem" use="required">
4007
                                                                        <xs:annotation>
4008
                                                                                <xs:documentation>Número do item do NF</xs:documentation>
4009
                                                                        </xs:annotation>
4010
                                                                        <xs:simpleType>
4011
                                                                                <xs:restriction base="xs:string">
4012
                                                                                        <xs:whiteSpace value="preserve"/>
4013
                                                                                        <xs:pattern value="[1-9]{1}[0-9]{0,1}|[1-8]{1}[0-9]{2}|[9]{1}[0-8]{1}[0-9]{1}|[9]{1}[9]{1}[0]{1}"/>
4014
                                                                                </xs:restriction>
4015
                                                                        </xs:simpleType>
4016
                                                                </xs:attribute>
4017
                                                        </xs:complexType>
4018
                                                </xs:element>
4019
                                                <xs:element name="total">
4020
                                                        <xs:annotation>
4021
                                                                <xs:documentation>Dados dos totais da NF-e</xs:documentation>
4022
                                                        </xs:annotation>
4023
                                                        <xs:complexType>
4024
                                                                <xs:sequence>
4025
                                                                        <xs:element name="ICMSTot">
4026
                                                                                <xs:annotation>
4027
                                                                                        <xs:documentation>Totais referentes ao ICMS</xs:documentation>
4028
                                                                                </xs:annotation>
4029
                                                                                <xs:complexType>
4030
                                                                                        <xs:sequence>
4031
                                                                                                <xs:element name="vBC" type="TDec_1302">
4032
                                                                                                        <xs:annotation>
4033
                                                                                                                <xs:documentation>BC do ICMS</xs:documentation>
4034
                                                                                                        </xs:annotation>
4035
                                                                                                </xs:element>
4036
                                                                                                <xs:element name="vICMS" type="TDec_1302">
4037
                                                                                                        <xs:annotation>
4038
                                                                                                                <xs:documentation>Valor Total do ICMS</xs:documentation>
4039
                                                                                                        </xs:annotation>
4040
                                                                                                </xs:element>
4041
                                                                                                <xs:element name="vICMSDeson" type="TDec_1302">
4042
                                                                                                        <xs:annotation>
4043
                                                                                                                <xs:documentation>Valor Total do ICMS desonerado</xs:documentation>
4044
                                                                                                        </xs:annotation>
4045
                                                                                                </xs:element>
4046
                                                                                                <xs:element name="vFCPUFDest" type="TDec_1302" minOccurs="0">
4047
                                                                                                        <xs:annotation>
4048
                                                                                                                <xs:documentation>Valor total do ICMS relativo ao Fundo de Combate à Pobreza (FCP) para a UF de destino.</xs:documentation>
4049
                                                                                                        </xs:annotation>
4050
                                                                                                </xs:element>
4051
                                                                                                <xs:element name="vICMSUFDest" type="TDec_1302" minOccurs="0">
4052
                                                                                                        <xs:annotation>
4053
                                                                                                                <xs:documentation>Valor total do ICMS de partilha para a UF do destinatário</xs:documentation>
4054
                                                                                                        </xs:annotation>
4055
                                                                                                </xs:element>
4056
                                                                                                <xs:element name="vICMSUFRemet" type="TDec_1302" minOccurs="0">
4057
                                                                                                        <xs:annotation>
4058
                                                                                                                <xs:documentation>Valor total do ICMS de partilha para a UF do remetente</xs:documentation>
4059
                                                                                                        </xs:annotation>
4060
                                                                                                </xs:element>
4061
                                                                                                <xs:element name="vBCST" type="TDec_1302">
4062
                                                                                                        <xs:annotation>
4063
                                                                                                                <xs:documentation>BC do ICMS ST</xs:documentation>
4064
                                                                                                        </xs:annotation>
4065
                                                                                                </xs:element>
4066
                                                                                                <xs:element name="vST" type="TDec_1302">
4067
                                                                                                        <xs:annotation>
4068
                                                                                                                <xs:documentation>Valor Total do ICMS ST</xs:documentation>
4069
                                                                                                        </xs:annotation>
4070
                                                                                                </xs:element>
4071
                                                                                                <xs:element name="vProd" type="TDec_1302">
4072
                                                                                                        <xs:annotation>
4073
                                                                                                                <xs:documentation>Valor Total dos produtos e serviços</xs:documentation>
4074
                                                                                                        </xs:annotation>
4075
                                                                                                </xs:element>
4076
                                                                                                <xs:element name="vFrete" type="TDec_1302">
4077
                                                                                                        <xs:annotation>
4078
                                                                                                                <xs:documentation>Valor Total do Frete</xs:documentation>
4079
                                                                                                        </xs:annotation>
4080
                                                                                                </xs:element>
4081
                                                                                                <xs:element name="vSeg" type="TDec_1302">
4082
                                                                                                        <xs:annotation>
4083
                                                                                                                <xs:documentation>Valor Total do Seguro</xs:documentation>
4084
                                                                                                        </xs:annotation>
4085
                                                                                                </xs:element>
4086
                                                                                                <xs:element name="vDesc" type="TDec_1302">
4087
                                                                                                        <xs:annotation>
4088
                                                                                                                <xs:documentation>Valor Total do Desconto</xs:documentation>
4089
                                                                                                        </xs:annotation>
4090
                                                                                                </xs:element>
4091
                                                                                                <xs:element name="vII" type="TDec_1302">
4092
                                                                                                        <xs:annotation>
4093
                                                                                                                <xs:documentation>Valor Total do II</xs:documentation>
4094
                                                                                                        </xs:annotation>
4095
                                                                                                </xs:element>
4096
                                                                                                <xs:element name="vIPI" type="TDec_1302">
4097
                                                                                                        <xs:annotation>
4098
                                                                                                                <xs:documentation>Valor Total do IPI</xs:documentation>
4099
                                                                                                        </xs:annotation>
4100
                                                                                                </xs:element>
4101
                                                                                                <xs:element name="vPIS" type="TDec_1302">
4102
                                                                                                        <xs:annotation>
4103
                                                                                                                <xs:documentation>Valor do PIS</xs:documentation>
4104
                                                                                                        </xs:annotation>
4105
                                                                                                </xs:element>
4106
                                                                                                <xs:element name="vCOFINS" type="TDec_1302">
4107
                                                                                                        <xs:annotation>
4108
                                                                                                                <xs:documentation>Valor do COFINS</xs:documentation>
4109
                                                                                                        </xs:annotation>
4110
                                                                                                </xs:element>
4111
                                                                                                <xs:element name="vOutro" type="TDec_1302">
4112
                                                                                                        <xs:annotation>
4113
                                                                                                                <xs:documentation>Outras Despesas acessórias</xs:documentation>
4114
                                                                                                        </xs:annotation>
4115
                                                                                                </xs:element>
4116
                                                                                                <xs:element name="vNF" type="TDec_1302">
4117
                                                                                                        <xs:annotation>
4118
                                                                                                                <xs:documentation>Valor Total da NF-e</xs:documentation>
4119
                                                                                                        </xs:annotation>
4120
                                                                                                </xs:element>
4121
                                                                                                <xs:element name="vTotTrib" type="TDec_1302" minOccurs="0">
4122
                                                                                                        <xs:annotation>
4123
                                                                                                                <xs:documentation>Valor estimado total de impostos federais, estaduais e municipais</xs:documentation>
4124
                                                                                                        </xs:annotation>
4125
                                                                                                </xs:element>
4126
                                                                                        </xs:sequence>
4127
                                                                                </xs:complexType>
4128
                                                                        </xs:element>
4129
                                                                        <xs:element name="ISSQNtot" minOccurs="0">
4130
                                                                                <xs:annotation>
4131
                                                                                        <xs:documentation>Totais referentes ao ISSQN</xs:documentation>
4132
                                                                                </xs:annotation>
4133
                                                                                <xs:complexType>
4134
                                                                                        <xs:sequence>
4135
                                                                                                <xs:element name="vServ" type="TDec_1302Opc" minOccurs="0">
4136
                                                                                                        <xs:annotation>
4137
                                                                                                                <xs:documentation>Valor Total dos Serviços sob não-incidência ou não tributados pelo ICMS </xs:documentation>
4138
                                                                                                        </xs:annotation>
4139
                                                                                                </xs:element>
4140
                                                                                                <xs:element name="vBC" type="TDec_1302Opc" minOccurs="0">
4141
                                                                                                        <xs:annotation>
4142
                                                                                                                <xs:documentation>Base de Cálculo do ISS</xs:documentation>
4143
                                                                                                        </xs:annotation>
4144
                                                                                                </xs:element>
4145
                                                                                                <xs:element name="vISS" type="TDec_1302Opc" minOccurs="0">
4146
                                                                                                        <xs:annotation>
4147
                                                                                                                <xs:documentation>Valor Total do ISS</xs:documentation>
4148
                                                                                                        </xs:annotation>
4149
                                                                                                </xs:element>
4150
                                                                                                <xs:element name="vPIS" type="TDec_1302Opc" minOccurs="0">
4151
                                                                                                        <xs:annotation>
4152
                                                                                                                <xs:documentation>Valor do PIS sobre serviços</xs:documentation>
4153
                                                                                                        </xs:annotation>
4154
                                                                                                </xs:element>
4155
                                                                                                <xs:element name="vCOFINS" type="TDec_1302Opc" minOccurs="0">
4156
                                                                                                        <xs:annotation>
4157
                                                                                                                <xs:documentation>Valor do COFINS sobre serviços</xs:documentation>
4158
                                                                                                        </xs:annotation>
4159
                                                                                                </xs:element>
4160
                                                                                                <xs:element name="dCompet" type="TData">
4161
                                                                                                        <xs:annotation>
4162
                                                                                                                <xs:documentation>Data da prestação do serviço  (AAAA-MM-DD)</xs:documentation>
4163
                                                                                                        </xs:annotation>
4164
                                                                                                </xs:element>
4165
                                                                                                <xs:element name="vDeducao" type="TDec_1302Opc" minOccurs="0">
4166
                                                                                                        <xs:annotation>
4167
                                                                                                                <xs:documentation>Valor dedução para redução da base de cálculo</xs:documentation>
4168
                                                                                                        </xs:annotation>
4169
                                                                                                </xs:element>
4170
                                                                                                <xs:element name="vOutro" type="TDec_1302Opc" minOccurs="0">
4171
                                                                                                        <xs:annotation>
4172
                                                                                                                <xs:documentation>Valor outras retenções</xs:documentation>
4173
                                                                                                        </xs:annotation>
4174
                                                                                                </xs:element>
4175
                                                                                                <xs:element name="vDescIncond" type="TDec_1302Opc" minOccurs="0">
4176
                                                                                                        <xs:annotation>
4177
                                                                                                                <xs:documentation>Valor desconto incondicionado</xs:documentation>
4178
                                                                                                        </xs:annotation>
4179
                                                                                                </xs:element>
4180
                                                                                                <xs:element name="vDescCond" type="TDec_1302Opc" minOccurs="0">
4181
                                                                                                        <xs:annotation>
4182
                                                                                                                <xs:documentation>Valor desconto condicionado</xs:documentation>
4183
                                                                                                        </xs:annotation>
4184
                                                                                                </xs:element>
4185
                                                                                                <xs:element name="vISSRet" type="TDec_1302Opc" minOccurs="0">
4186
                                                                                                        <xs:annotation>
4187
                                                                                                                <xs:documentation>Valor Total Retenção ISS</xs:documentation>
4188
                                                                                                        </xs:annotation>
4189
                                                                                                </xs:element>
4190
                                                                                                <xs:element name="cRegTrib" minOccurs="0">
4191
                                                                                                        <xs:annotation>
4192
                                                                                                                <xs:documentation>Código do regime especial de tributação</xs:documentation>
4193
                                                                                                        </xs:annotation>
4194
                                                                                                        <xs:simpleType>
4195
                                                                                                                <xs:restriction base="xs:string">
4196
                                                                                                                        <xs:whiteSpace value="preserve"/>
4197
                                                                                                                        <xs:enumeration value="1"/>
4198
                                                                                                                        <xs:enumeration value="2"/>
4199
                                                                                                                        <xs:enumeration value="3"/>
4200
                                                                                                                        <xs:enumeration value="4"/>
4201
                                                                                                                        <xs:enumeration value="5"/>
4202
                                                                                                                        <xs:enumeration value="6"/>
4203
                                                                                                                </xs:restriction>
4204
                                                                                                        </xs:simpleType>
4205
                                                                                                </xs:element>
4206
                                                                                        </xs:sequence>
4207
                                                                                </xs:complexType>
4208
                                                                        </xs:element>
4209
                                                                        <xs:element name="retTrib" minOccurs="0">
4210
                                                                                <xs:annotation>
4211
                                                                                        <xs:documentation>Retenção de Tributos Federais</xs:documentation>
4212
                                                                                </xs:annotation>
4213
                                                                                <xs:complexType>
4214
                                                                                        <xs:sequence>
4215
                                                                                                <xs:element name="vRetPIS" type="TDec_1302Opc" minOccurs="0">
4216
                                                                                                        <xs:annotation>
4217
                                                                                                                <xs:documentation>Valor Retido de PIS</xs:documentation>
4218
                                                                                                        </xs:annotation>
4219
                                                                                                </xs:element>
4220
                                                                                                <xs:element name="vRetCOFINS" type="TDec_1302Opc" minOccurs="0">
4221
                                                                                                        <xs:annotation>
4222
                                                                                                                <xs:documentation>Valor Retido de COFINS</xs:documentation>
4223
                                                                                                        </xs:annotation>
4224
                                                                                                </xs:element>
4225
                                                                                                <xs:element name="vRetCSLL" type="TDec_1302Opc" minOccurs="0">
4226
                                                                                                        <xs:annotation>
4227
                                                                                                                <xs:documentation>Valor Retido de CSLL</xs:documentation>
4228
                                                                                                        </xs:annotation>
4229
                                                                                                </xs:element>
4230
                                                                                                <xs:element name="vBCIRRF" type="TDec_1302Opc" minOccurs="0">
4231
                                                                                                        <xs:annotation>
4232
                                                                                                                <xs:documentation>Base de Cálculo do IRRF</xs:documentation>
4233
                                                                                                        </xs:annotation>
4234
                                                                                                </xs:element>
4235
                                                                                                <xs:element name="vIRRF" type="TDec_1302Opc" minOccurs="0">
4236
                                                                                                        <xs:annotation>
4237
                                                                                                                <xs:documentation>Valor Retido de IRRF</xs:documentation>
4238
                                                                                                        </xs:annotation>
4239
                                                                                                </xs:element>
4240
                                                                                                <xs:element name="vBCRetPrev" type="TDec_1302Opc" minOccurs="0">
4241
                                                                                                        <xs:annotation>
4242
                                                                                                                <xs:documentation>Base de Cálculo da Retenção da Previdêncica Social</xs:documentation>
4243
                                                                                                        </xs:annotation>
4244
                                                                                                </xs:element>
4245
                                                                                                <xs:element name="vRetPrev" type="TDec_1302Opc" minOccurs="0">
4246
                                                                                                        <xs:annotation>
4247
                                                                                                                <xs:documentation>Valor da Retenção da Previdêncica Social</xs:documentation>
4248
                                                                                                        </xs:annotation>
4249
                                                                                                </xs:element>
4250
                                                                                        </xs:sequence>
4251
                                                                                </xs:complexType>
4252
                                                                        </xs:element>
4253
                                                                </xs:sequence>
4254
                                                        </xs:complexType>
4255
                                                </xs:element>
4256
                                                <xs:element name="transp">
4257
                                                        <xs:annotation>
4258
                                                                <xs:documentation>Dados dos transportes da NF-e</xs:documentation>
4259
                                                        </xs:annotation>
4260
                                                        <xs:complexType>
4261
                                                                <xs:sequence>
4262
                                                                        <xs:element name="modFrete">
4263
                                                                                <xs:annotation>
4264
                                                                                        <xs:documentation>Modalidade do frete
4265
0- Por conta do emitente;
4266
1- Por conta do destinatário/remetente;
4267
2- Por conta de terceiros;
4268
9- Sem frete (v2.0)</xs:documentation>
4269
                                                                                </xs:annotation>
4270
                                                                                <xs:simpleType>
4271
                                                                                        <xs:restriction base="xs:string">
4272
                                                                                                <xs:whiteSpace value="preserve"/>
4273
                                                                                                <xs:enumeration value="0"/>
4274
                                                                                                <xs:enumeration value="1"/>
4275
                                                                                                <xs:enumeration value="2"/>
4276
                                                                                                <xs:enumeration value="9"/>
4277
                                                                                        </xs:restriction>
4278
                                                                                </xs:simpleType>
4279
                                                                        </xs:element>
4280
                                                                        <xs:element name="transporta" minOccurs="0">
4281
                                                                                <xs:annotation>
4282
                                                                                        <xs:documentation>Dados do transportador</xs:documentation>
4283
                                                                                </xs:annotation>
4284
                                                                                <xs:complexType>
4285
                                                                                        <xs:sequence>
4286
                                                                                                <xs:choice minOccurs="0">
4287
                                                                                                        <xs:element name="CNPJ" type="TCnpj">
4288
                                                                                                                <xs:annotation>
4289
                                                                                                                        <xs:documentation>CNPJ do transportador</xs:documentation>
4290
                                                                                                                </xs:annotation>
4291
                                                                                                        </xs:element>
4292
                                                                                                        <xs:element name="CPF" type="TCpf">
4293
                                                                                                                <xs:annotation>
4294
                                                                                                                        <xs:documentation>CPF do transportador</xs:documentation>
4295
                                                                                                                </xs:annotation>
4296
                                                                                                        </xs:element>
4297
                                                                                                </xs:choice>
4298
                                                                                                <xs:element name="xNome" minOccurs="0">
4299
                                                                                                        <xs:annotation>
4300
                                                                                                                <xs:documentation>Razão Social ou nome do transportador</xs:documentation>
4301
                                                                                                        </xs:annotation>
4302
                                                                                                        <xs:simpleType>
4303
                                                                                                                <xs:restriction base="TString">
4304
                                                                                                                        <xs:maxLength value="60"/>
4305
                                                                                                                        <xs:minLength value="2"/>
4306
                                                                                                                </xs:restriction>
4307
                                                                                                        </xs:simpleType>
4308
                                                                                                </xs:element>
4309
                                                                                                <xs:element name="IE" type="TIeDest" minOccurs="0">
4310
                                                                                                        <xs:annotation>
4311
                                                                                                                <xs:documentation>Inscrição Estadual (v2.0)</xs:documentation>
4312
                                                                                                        </xs:annotation>
4313
                                                                                                </xs:element>
4314
                                                                                                <xs:element name="xEnder" minOccurs="0">
4315
                                                                                                        <xs:annotation>
4316
                                                                                                                <xs:documentation>Endereço completo</xs:documentation>
4317
                                                                                                        </xs:annotation>
4318
                                                                                                        <xs:simpleType>
4319
                                                                                                                <xs:restriction base="TString">
4320
                                                                                                                        <xs:minLength value="1"/>
4321
                                                                                                                        <xs:maxLength value="60"/>
4322
                                                                                                                </xs:restriction>
4323
                                                                                                        </xs:simpleType>
4324
                                                                                                </xs:element>
4325
                                                                                                <xs:element name="xMun" minOccurs="0">
4326
                                                                                                        <xs:annotation>
4327
                                                                                                                <xs:documentation>Nome do munícipio</xs:documentation>
4328
                                                                                                        </xs:annotation>
4329
                                                                                                        <xs:simpleType>
4330
                                                                                                                <xs:restriction base="TString">
4331
                                                                                                                        <xs:maxLength value="60"/>
4332
                                                                                                                        <xs:minLength value="1"/>
4333
                                                                                                                </xs:restriction>
4334
                                                                                                        </xs:simpleType>
4335
                                                                                                </xs:element>
4336
                                                                                                <xs:element name="UF" type="TUf" minOccurs="0">
4337
                                                                                                        <xs:annotation>
4338
                                                                                                                <xs:documentation>Sigla da UF</xs:documentation>
4339
                                                                                                        </xs:annotation>
4340
                                                                                                </xs:element>
4341
                                                                                        </xs:sequence>
4342
                                                                                </xs:complexType>
4343
                                                                        </xs:element>
4344
                                                                        <xs:element name="retTransp" minOccurs="0">
4345
                                                                                <xs:annotation>
4346
                                                                                        <xs:documentation>Dados da retenção  ICMS do Transporte</xs:documentation>
4347
                                                                                </xs:annotation>
4348
                                                                                <xs:complexType>
4349
                                                                                        <xs:sequence>
4350
                                                                                                <xs:element name="vServ" type="TDec_1302">
4351
                                                                                                        <xs:annotation>
4352
                                                                                                                <xs:documentation>Valor do Serviço</xs:documentation>
4353
                                                                                                        </xs:annotation>
4354
                                                                                                </xs:element>
4355
                                                                                                <xs:element name="vBCRet" type="TDec_1302">
4356
                                                                                                        <xs:annotation>
4357
                                                                                                                <xs:documentation>BC da Retenção do ICMS</xs:documentation>
4358
                                                                                                        </xs:annotation>
4359
                                                                                                </xs:element>
4360
                                                                                                <xs:element name="pICMSRet" type="TDec_0302a04">
4361
                                                                                                        <xs:annotation>
4362
                                                                                                                <xs:documentation>Alíquota da Retenção</xs:documentation>
4363
                                                                                                        </xs:annotation>
4364
                                                                                                </xs:element>
4365
                                                                                                <xs:element name="vICMSRet" type="TDec_1302">
4366
                                                                                                        <xs:annotation>
4367
                                                                                                                <xs:documentation>Valor do ICMS Retido</xs:documentation>
4368
                                                                                                        </xs:annotation>
4369
                                                                                                </xs:element>
4370
                                                                                                <xs:element name="CFOP">
4371
                                                                                                        <xs:annotation>
4372
                                                                                                                <xs:documentation>Código Fiscal de Operações e Prestações</xs:documentation>
4373
                                                                                                        </xs:annotation>
4374
                                                                                                        <xs:simpleType>
4375
                                                                                                                <xs:restriction base="xs:string">
4376
                                                                                                                        <xs:whiteSpace value="preserve"/>
4377
                                                                                                                        <xs:pattern value="[1,2,3,5,6,7]{1}[0-9]{3}"/>
4378
                                                                                                                </xs:restriction>
4379
                                                                                                        </xs:simpleType>
4380
                                                                                                </xs:element>
4381
                                                                                                <xs:element name="cMunFG" type="TCodMunIBGE">
4382
                                                                                                        <xs:annotation>
4383
                                                                                                                <xs:documentation>Código do Município de Ocorrência do Fato Gerador (utilizar a tabela do IBGE)</xs:documentation>
4384
                                                                                                        </xs:annotation>
4385
                                                                                                </xs:element>
4386
                                                                                        </xs:sequence>
4387
                                                                                </xs:complexType>
4388
                                                                        </xs:element>
4389
                                                                        <xs:choice>
4390
                                                                                <xs:sequence minOccurs="0">
4391
                                                                                        <xs:element name="veicTransp" type="TVeiculo" minOccurs="0">
4392
                                                                                                <xs:annotation>
4393
                                                                                                        <xs:documentation>Dados do veículo</xs:documentation>
4394
                                                                                                </xs:annotation>
4395
                                                                                        </xs:element>
4396
                                                                                        <xs:element name="reboque" type="TVeiculo" minOccurs="0" maxOccurs="5">
4397
                                                                                                <xs:annotation>
4398
                                                                                                        <xs:documentation>Dados do reboque/Dolly (v2.0)</xs:documentation>
4399
                                                                                                </xs:annotation>
4400
                                                                                        </xs:element>
4401
                                                                                </xs:sequence>
4402
                                                                                <xs:element name="vagao" minOccurs="0">
4403
                                                                                        <xs:annotation>
4404
                                                                                                <xs:documentation>Identificação do vagão (v2.0)</xs:documentation>
4405
                                                                                        </xs:annotation>
4406
                                                                                        <xs:simpleType>
4407
                                                                                                <xs:restriction base="TString">
4408
                                                                                                        <xs:minLength value="1"/>
4409
                                                                                                        <xs:maxLength value="20"/>
4410
                                                                                                </xs:restriction>
4411
                                                                                        </xs:simpleType>
4412
                                                                                </xs:element>
4413
                                                                                <xs:element name="balsa" minOccurs="0">
4414
                                                                                        <xs:annotation>
4415
                                                                                                <xs:documentation>Identificação da balsa (v2.0)</xs:documentation>
4416
                                                                                        </xs:annotation>
4417
                                                                                        <xs:simpleType>
4418
                                                                                                <xs:restriction base="TString">
4419
                                                                                                        <xs:minLength value="1"/>
4420
                                                                                                        <xs:maxLength value="20"/>
4421
                                                                                                </xs:restriction>
4422
                                                                                        </xs:simpleType>
4423
                                                                                </xs:element>
4424
                                                                        </xs:choice>
4425
                                                                        <xs:element name="vol" minOccurs="0" maxOccurs="5000">
4426
                                                                                <xs:annotation>
4427
                                                                                        <xs:documentation>Dados dos volumes</xs:documentation>
4428
                                                                                </xs:annotation>
4429
                                                                                <xs:complexType>
4430
                                                                                        <xs:sequence>
4431
                                                                                                <xs:element name="qVol" minOccurs="0">
4432
                                                                                                        <xs:annotation>
4433
                                                                                                                <xs:documentation>Quantidade de volumes transportados</xs:documentation>
4434
                                                                                                        </xs:annotation>
4435
                                                                                                        <xs:simpleType>
4436
                                                                                                                <xs:restriction base="xs:string">
4437
                                                                                                                        <xs:whiteSpace value="preserve"/>
4438
                                                                                                                        <xs:pattern value="[0-9]{1,15}"/>
4439
                                                                                                                </xs:restriction>
4440
                                                                                                        </xs:simpleType>
4441
                                                                                                </xs:element>
4442
                                                                                                <xs:element name="esp" minOccurs="0">
4443
                                                                                                        <xs:annotation>
4444
                                                                                                                <xs:documentation>Espécie dos volumes transportados</xs:documentation>
4445
                                                                                                        </xs:annotation>
4446
                                                                                                        <xs:simpleType>
4447
                                                                                                                <xs:restriction base="TString">
4448
                                                                                                                        <xs:minLength value="1"/>
4449
                                                                                                                        <xs:maxLength value="60"/>
4450
                                                                                                                </xs:restriction>
4451
                                                                                                        </xs:simpleType>
4452
                                                                                                </xs:element>
4453
                                                                                                <xs:element name="marca" minOccurs="0">
4454
                                                                                                        <xs:annotation>
4455
                                                                                                                <xs:documentation>Marca dos volumes transportados</xs:documentation>
4456
                                                                                                        </xs:annotation>
4457
                                                                                                        <xs:simpleType>
4458
                                                                                                                <xs:restriction base="TString">
4459
                                                                                                                        <xs:minLength value="1"/>
4460
                                                                                                                        <xs:maxLength value="60"/>
4461
                                                                                                                </xs:restriction>
4462
                                                                                                        </xs:simpleType>
4463
                                                                                                </xs:element>
4464
                                                                                                <xs:element name="nVol" minOccurs="0">
4465
                                                                                                        <xs:annotation>
4466
                                                                                                                <xs:documentation>Numeração dos volumes transportados</xs:documentation>
4467
                                                                                                        </xs:annotation>
4468
                                                                                                        <xs:simpleType>
4469
                                                                                                                <xs:restriction base="TString">
4470
                                                                                                                        <xs:minLength value="1"/>
4471
                                                                                                                        <xs:maxLength value="60"/>
4472
                                                                                                                </xs:restriction>
4473
                                                                                                        </xs:simpleType>
4474
                                                                                                </xs:element>
4475
                                                                                                <xs:element name="pesoL" type="TDec_1203" minOccurs="0">
4476
                                                                                                        <xs:annotation>
4477
                                                                                                                <xs:documentation>Peso líquido (em kg)</xs:documentation>
4478
                                                                                                        </xs:annotation>
4479
                                                                                                </xs:element>
4480
                                                                                                <xs:element name="pesoB" type="TDec_1203" minOccurs="0">
4481
                                                                                                        <xs:annotation>
4482
                                                                                                                <xs:documentation>Peso bruto (em kg)</xs:documentation>
4483
                                                                                                        </xs:annotation>
4484
                                                                                                </xs:element>
4485
                                                                                                <xs:element name="lacres" minOccurs="0" maxOccurs="5000">
4486
                                                                                                        <xs:complexType>
4487
                                                                                                                <xs:sequence>
4488
                                                                                                                        <xs:element name="nLacre">
4489
                                                                                                                                <xs:annotation>
4490
                                                                                                                                        <xs:documentation>Número dos Lacres</xs:documentation>
4491
                                                                                                                                </xs:annotation>
4492
                                                                                                                                <xs:simpleType>
4493
                                                                                                                                        <xs:restriction base="TString">
4494
                                                                                                                                                <xs:minLength value="1"/>
4495
                                                                                                                                                <xs:maxLength value="60"/>
4496
                                                                                                                                        </xs:restriction>
4497
                                                                                                                                </xs:simpleType>
4498
                                                                                                                        </xs:element>
4499
                                                                                                                </xs:sequence>
4500
                                                                                                        </xs:complexType>
4501
                                                                                                </xs:element>
4502
                                                                                        </xs:sequence>
4503
                                                                                </xs:complexType>
4504
                                                                        </xs:element>
4505
                                                                </xs:sequence>
4506
                                                        </xs:complexType>
4507
                                                </xs:element>
4508
                                                <xs:element name="cobr" minOccurs="0">
4509
                                                        <xs:annotation>
4510
                                                                <xs:documentation>Dados da cobrança da NF-e</xs:documentation>
4511
                                                        </xs:annotation>
4512
                                                        <xs:complexType>
4513
                                                                <xs:sequence>
4514
                                                                        <xs:element name="fat" minOccurs="0">
4515
                                                                                <xs:annotation>
4516
                                                                                        <xs:documentation>Dados da fatura</xs:documentation>
4517
                                                                                </xs:annotation>
4518
                                                                                <xs:complexType>
4519
                                                                                        <xs:sequence>
4520
                                                                                                <xs:element name="nFat" minOccurs="0">
4521
                                                                                                        <xs:annotation>
4522
                                                                                                                <xs:documentation>Número da fatura</xs:documentation>
4523
                                                                                                        </xs:annotation>
4524
                                                                                                        <xs:simpleType>
4525
                                                                                                                <xs:restriction base="TString">
4526
                                                                                                                        <xs:minLength value="1"/>
4527
                                                                                                                        <xs:maxLength value="60"/>
4528
                                                                                                                </xs:restriction>
4529
                                                                                                        </xs:simpleType>
4530
                                                                                                </xs:element>
4531
                                                                                                <xs:element name="vOrig" type="TDec_1302Opc" minOccurs="0">
4532
                                                                                                        <xs:annotation>
4533
                                                                                                                <xs:documentation>Valor original da fatura</xs:documentation>
4534
                                                                                                        </xs:annotation>
4535
                                                                                                </xs:element>
4536
                                                                                                <xs:element name="vDesc" type="TDec_1302Opc" minOccurs="0">
4537
                                                                                                        <xs:annotation>
4538
                                                                                                                <xs:documentation>Valor do desconto da fatura</xs:documentation>
4539
                                                                                                        </xs:annotation>
4540
                                                                                                </xs:element>
4541
                                                                                                <xs:element name="vLiq" type="TDec_1302Opc" minOccurs="0">
4542
                                                                                                        <xs:annotation>
4543
                                                                                                                <xs:documentation>Valor líquido da fatura</xs:documentation>
4544
                                                                                                        </xs:annotation>
4545
                                                                                                </xs:element>
4546
                                                                                        </xs:sequence>
4547
                                                                                </xs:complexType>
4548
                                                                        </xs:element>
4549
                                                                        <xs:element name="dup" minOccurs="0" maxOccurs="120">
4550
                                                                                <xs:annotation>
4551
                                                                                        <xs:documentation>Dados das duplicatas NT 2011/004</xs:documentation>
4552
                                                                                </xs:annotation>
4553
                                                                                <xs:complexType>
4554
                                                                                        <xs:sequence>
4555
                                                                                                <xs:element name="nDup" minOccurs="0">
4556
                                                                                                        <xs:annotation>
4557
                                                                                                                <xs:documentation>Número da duplicata</xs:documentation>
4558
                                                                                                        </xs:annotation>
4559
                                                                                                        <xs:simpleType>
4560
                                                                                                                <xs:restriction base="TString">
4561
                                                                                                                        <xs:maxLength value="60"/>
4562
                                                                                                                        <xs:minLength value="1"/>
4563
                                                                                                                </xs:restriction>
4564
                                                                                                        </xs:simpleType>
4565
                                                                                                </xs:element>
4566
                                                                                                <xs:element name="dVenc" type="TData" minOccurs="0">
4567
                                                                                                        <xs:annotation>
4568
                                                                                                                <xs:documentation>Data de vencimento da duplicata (AAAA-MM-DD)</xs:documentation>
4569
                                                                                                        </xs:annotation>
4570
                                                                                                </xs:element>
4571
                                                                                                <xs:element name="vDup" type="TDec_1302Opc">
4572
                                                                                                        <xs:annotation>
4573
                                                                                                                <xs:documentation>Valor da duplicata</xs:documentation>
4574
                                                                                                        </xs:annotation>
4575
                                                                                                </xs:element>
4576
                                                                                        </xs:sequence>
4577
                                                                                </xs:complexType>
4578
                                                                        </xs:element>
4579
                                                                </xs:sequence>
4580
                                                        </xs:complexType>
4581
                                                </xs:element>
4582
                                                <xs:element name="pag" minOccurs="0" maxOccurs="100">
4583
                                                        <xs:annotation>
4584
                                                                <xs:documentation>Dados de Pagamento. Obrigatório apenas para (NFC-e) NT 2012/004</xs:documentation>
4585
                                                        </xs:annotation>
4586
                                                        <xs:complexType>
4587
                                                                <xs:sequence>
4588
                                                                        <xs:element name="tPag">
4589
                                                                                <xs:annotation>
4590
                                                                                        <xs:documentation>Forma de Pagamento:01-Dinheiro;02-Cheque;03-Cartão de Crédito;04-Cartão de Débito;05-Crédito Loja;10-Vale Alimentação;11-Vale Refeição;12-Vale Presente;13-Vale Combustível;99 - Outros</xs:documentation>
4591
                                                                                </xs:annotation>
4592
                                                                                <xs:simpleType>
4593
                                                                                        <xs:restriction base="xs:string">
4594
                                                                                                <xs:whiteSpace value="preserve"/>
4595
                                                                                                <xs:enumeration value="01"/>
4596
                                                                                                <xs:enumeration value="02"/>
4597
                                                                                                <xs:enumeration value="03"/>
4598
                                                                                                <xs:enumeration value="04"/>
4599
                                                                                                <xs:enumeration value="05"/>
4600
                                                                                                <xs:enumeration value="10"/>
4601
                                                                                                <xs:enumeration value="11"/>
4602
                                                                                                <xs:enumeration value="12"/>
4603
                                                                                                <xs:enumeration value="13"/>
4604
                                                                                                <xs:enumeration value="99"/>
4605
                                                                                        </xs:restriction>
4606
                                                                                </xs:simpleType>
4607
                                                                        </xs:element>
4608
                                                                        <xs:element name="vPag" type="TDec_1302">
4609
                                                                                <xs:annotation>
4610
                                                                                        <xs:documentation>Valor do Pagamento</xs:documentation>
4611
                                                                                </xs:annotation>
4612
                                                                        </xs:element>
4613
                                                                        <xs:element name="card" minOccurs="0">
4614
                                                                                <xs:annotation>
4615
                                                                                        <xs:documentation>Grupo de Cartões</xs:documentation>
4616
                                                                                </xs:annotation>
4617
                                                                                <xs:complexType>
4618
                                                                                        <xs:sequence>
4619
                                                                                                <xs:element name="tpIntegra" minOccurs="0">
4620
                                                                                                        <xs:annotation>
4621
                                                                                                                <xs:documentation>Tipo de Integração do processo de pagamento com o sistema de automação da empresa/
4622
                                                                                                                                1=Pagamento integrado com o sistema de automação da empresa Ex. equipamento TEF , Comercio Eletronico
4623
                                                                                                                                2=Pagamento não integrado com o sistema de automação da empresa Ex: equipamento POS
4624
                                                                                                                </xs:documentation>
4625
                                                                                                        </xs:annotation>
4626
                                                                                                        <xs:simpleType>
4627
                                                                                                                <xs:restriction base="xs:string">
4628
                                                                                                                        <xs:whiteSpace value="preserve"/>
4629
                                                                                                                        <xs:enumeration value="1"/>
4630
                                                                                                                        <xs:enumeration value="2"/>
4631
                                                                                                                </xs:restriction>
4632
                                                                                                        </xs:simpleType>
4633
                                                                                                </xs:element>
4634
                                                                                                <xs:element name="CNPJ" type="TCnpj" minOccurs="0">
4635
                                                                                                        <xs:annotation>
4636
                                                                                                                <xs:documentation>CNPJ da credenciadora de cartão de crédito/débito</xs:documentation>
4637
                                                                                                        </xs:annotation>
4638
                                                                                                </xs:element>
4639
                                                                                                <xs:element name="tBand" minOccurs="0">
4640
                                                                                                        <xs:annotation>
4641
                                                                                                                <xs:documentation>Bandeira da operadora de cartão de crédito/débito:01–Visa; 02–Mastercard; 03–American Express; 04–Sorocred; 99–Outros</xs:documentation>
4642
                                                                                                        </xs:annotation>
4643
                                                                                                        <xs:simpleType>
4644
                                                                                                                <xs:restriction base="xs:string">
4645
                                                                                                                        <xs:whiteSpace value="preserve"/>
4646
                                                                                                                        <xs:enumeration value="01"/>
4647
                                                                                                                        <xs:enumeration value="02"/>
4648
                                                                                                                        <xs:enumeration value="03"/>
4649
                                                                                                                        <xs:enumeration value="04"/>
4650
                                                                                                                        <xs:enumeration value="99"/>
4651
                                                                                                                </xs:restriction>
4652
                                                                                                        </xs:simpleType>
4653
                                                                                                </xs:element>
4654
                                                                                                <xs:element name="cAut" minOccurs="0">
4655
                                                                                                        <xs:annotation>
4656
                                                                                                                <xs:documentation>Número de autorização da operação cartão de crédito/débito</xs:documentation>
4657
                                                                                                        </xs:annotation>
4658
                                                                                                        <xs:simpleType>
4659
                                                                                                                <xs:restriction base="TString">
4660
                                                                                                                        <xs:minLength value="1"/>
4661
                                                                                                                        <xs:maxLength value="20"/>
4662
                                                                                                                </xs:restriction>
4663
                                                                                                        </xs:simpleType>
4664
                                                                                                </xs:element>
4665
                                                                                        </xs:sequence>
4666
                                                                                </xs:complexType>
4667
                                                                        </xs:element>
4668
                                                                </xs:sequence>
4669
                                                        </xs:complexType>
4670
                                                </xs:element>
4671
                                                <xs:element name="infAdic" minOccurs="0">
4672
                                                        <xs:annotation>
4673
                                                                <xs:documentation>Informações adicionais da NF-e</xs:documentation>
4674
                                                        </xs:annotation>
4675
                                                        <xs:complexType>
4676
                                                                <xs:sequence>
4677
                                                                        <xs:element name="infAdFisco" minOccurs="0">
4678
                                                                                <xs:annotation>
4679
                                                                                        <xs:documentation>Informações adicionais de interesse do Fisco (v2.0)</xs:documentation>
4680
                                                                                </xs:annotation>
4681
                                                                                <xs:simpleType>
4682
                                                                                        <xs:restriction base="TString">
4683
                                                                                                <xs:maxLength value="2000"/>
4684
                                                                                                <xs:minLength value="1"/>
4685
                                                                                        </xs:restriction>
4686
                                                                                </xs:simpleType>
4687
                                                                        </xs:element>
4688
                                                                        <xs:element name="infCpl" minOccurs="0">
4689
                                                                                <xs:annotation>
4690
                                                                                        <xs:documentation>Informações complementares de interesse do Contribuinte</xs:documentation>
4691
                                                                                </xs:annotation>
4692
                                                                                <xs:simpleType>
4693
                                                                                        <xs:restriction base="TString">
4694
                                                                                                <xs:maxLength value="5000"/>
4695
                                                                                                <xs:minLength value="1"/>
4696
                                                                                        </xs:restriction>
4697
                                                                                </xs:simpleType>
4698
                                                                        </xs:element>
4699
                                                                        <xs:element name="obsCont" minOccurs="0" maxOccurs="10">
4700
                                                                                <xs:annotation>
4701
                                                                                        <xs:documentation>Campo de uso livre do contribuinte
4702
informar o nome do campo no atributo xCampo
4703
e o conteúdo do campo no xTexto</xs:documentation>
4704
                                                                                </xs:annotation>
4705
                                                                                <xs:complexType>
4706
                                                                                        <xs:sequence>
4707
                                                                                                <xs:element name="xTexto">
4708
                                                                                                        <xs:simpleType>
4709
                                                                                                                <xs:restriction base="TString">
4710
                                                                                                                        <xs:minLength value="1"/>
4711
                                                                                                                        <xs:maxLength value="60"/>
4712
                                                                                                                </xs:restriction>
4713
                                                                                                        </xs:simpleType>
4714
                                                                                                </xs:element>
4715
                                                                                        </xs:sequence>
4716
                                                                                        <xs:attribute name="xCampo" use="required">
4717
                                                                                                <xs:simpleType>
4718
                                                                                                        <xs:restriction base="TString">
4719
                                                                                                                <xs:minLength value="1"/>
4720
                                                                                                                <xs:maxLength value="20"/>
4721
                                                                                                        </xs:restriction>
4722
                                                                                                </xs:simpleType>
4723
                                                                                        </xs:attribute>
4724
                                                                                </xs:complexType>
4725
                                                                        </xs:element>
4726
                                                                        <xs:element name="obsFisco" minOccurs="0" maxOccurs="10">
4727
                                                                                <xs:annotation>
4728
                                                                                        <xs:documentation>Campo de uso exclusivo do Fisco
4729
informar o nome do campo no atributo xCampo
4730
e o conteúdo do campo no xTexto</xs:documentation>
4731
                                                                                </xs:annotation>
4732
                                                                                <xs:complexType>
4733
                                                                                        <xs:sequence>
4734
                                                                                                <xs:element name="xTexto">
4735
                                                                                                        <xs:simpleType>
4736
                                                                                                                <xs:restriction base="TString">
4737
                                                                                                                        <xs:minLength value="1"/>
4738
                                                                                                                        <xs:maxLength value="60"/>
4739
                                                                                                                </xs:restriction>
4740
                                                                                                        </xs:simpleType>
4741
                                                                                                </xs:element>
4742
                                                                                        </xs:sequence>
4743
                                                                                        <xs:attribute name="xCampo" use="required">
4744
                                                                                                <xs:simpleType>
4745
                                                                                                        <xs:restriction base="TString">
4746
                                                                                                                <xs:minLength value="1"/>
4747
                                                                                                                <xs:maxLength value="20"/>
4748
                                                                                                        </xs:restriction>
4749
                                                                                                </xs:simpleType>
4750
                                                                                        </xs:attribute>
4751
                                                                                </xs:complexType>
4752
                                                                        </xs:element>
4753
                                                                        <xs:element name="procRef" minOccurs="0" maxOccurs="100">
4754
                                                                                <xs:annotation>
4755
                                                                                        <xs:documentation>Grupo de informações do  processo referenciado</xs:documentation>
4756
                                                                                </xs:annotation>
4757
                                                                                <xs:complexType>
4758
                                                                                        <xs:sequence>
4759
                                                                                                <xs:element name="nProc">
4760
                                                                                                        <xs:annotation>
4761
                                                                                                                <xs:documentation>Indentificador do processo ou ato
4762
concessório</xs:documentation>
4763
                                                                                                        </xs:annotation>
4764
                                                                                                        <xs:simpleType>
4765
                                                                                                                <xs:restriction base="TString">
4766
                                                                                                                        <xs:minLength value="1"/>
4767
                                                                                                                        <xs:maxLength value="60"/>
4768
                                                                                                                </xs:restriction>
4769
                                                                                                        </xs:simpleType>
4770
                                                                                                </xs:element>
4771
                                                                                                <xs:element name="indProc">
4772
                                                                                                        <xs:annotation>
4773
                                                                                                                <xs:documentation>Origem do processo, informar com:
4774
 
4775
1 - Justiça Federal;
4776
2 - Justiça Estadual;
4777
3 - Secex/RFB;
4778
9 - Outros</xs:documentation>
4779
                                                                                                        </xs:annotation>
4780
                                                                                                        <xs:simpleType>
4781
                                                                                                                <xs:restriction base="xs:string">
4782
                                                                                                                        <xs:whiteSpace value="preserve"/>
4783
                                                                                                                        <xs:enumeration value="0"/>
4784
                                                                                                                        <xs:enumeration value="1"/>
4785
                                                                                                                        <xs:enumeration value="2"/>
4786
                                                                                                                        <xs:enumeration value="3"/>
4787
                                                                                                                        <xs:enumeration value="9"/>
4788
                                                                                                                </xs:restriction>
4789
                                                                                                        </xs:simpleType>
4790
                                                                                                </xs:element>
4791
                                                                                        </xs:sequence>
4792
                                                                                </xs:complexType>
4793
                                                                        </xs:element>
4794
                                                                </xs:sequence>
4795
                                                        </xs:complexType>
4796
                                                </xs:element>
4797
                                                <xs:element name="exporta" minOccurs="0">
4798
                                                        <xs:annotation>
4799
                                                                <xs:documentation>Informações de exportação</xs:documentation>
4800
                                                        </xs:annotation>
4801
                                                        <xs:complexType>
4802
                                                                <xs:sequence>
4803
                                                                        <xs:element name="UFSaidaPais" type="TUfEmi">
4804
                                                                                <xs:annotation>
4805
                                                                                        <xs:documentation>Sigla da UF de Embarque ou de transposição de fronteira</xs:documentation>
4806
                                                                                </xs:annotation>
4807
                                                                        </xs:element>
4808
                                                                        <xs:element name="xLocExporta">
4809
                                                                                <xs:annotation>
4810
                                                                                        <xs:documentation>Local de Embarque ou de transposição de fronteira</xs:documentation>
4811
                                                                                </xs:annotation>
4812
                                                                                <xs:simpleType>
4813
                                                                                        <xs:restriction base="TString">
4814
                                                                                                <xs:minLength value="1"/>
4815
                                                                                                <xs:maxLength value="60"/>
4816
                                                                                        </xs:restriction>
4817
                                                                                </xs:simpleType>
4818
                                                                        </xs:element>
4819
                                                                        <xs:element name="xLocDespacho" minOccurs="0">
4820
                                                                                <xs:annotation>
4821
                                                                                        <xs:documentation>Descrição do local de despacho</xs:documentation>
4822
                                                                                </xs:annotation>
4823
                                                                                <xs:simpleType>
4824
                                                                                        <xs:restriction base="TString">
4825
                                                                                                <xs:minLength value="1"/>
4826
                                                                                                <xs:maxLength value="60"/>
4827
                                                                                        </xs:restriction>
4828
                                                                                </xs:simpleType>
4829
                                                                        </xs:element>
4830
                                                                </xs:sequence>
4831
                                                        </xs:complexType>
4832
                                                </xs:element>
4833
                                                <xs:element name="compra" minOccurs="0">
4834
                                                        <xs:annotation>
4835
                                                                <xs:documentation>Informações de compras  (Nota de Empenho, Pedido e Contrato)</xs:documentation>
4836
                                                        </xs:annotation>
4837
                                                        <xs:complexType>
4838
                                                                <xs:sequence>
4839
                                                                        <xs:element name="xNEmp" minOccurs="0">
4840
                                                                                <xs:annotation>
4841
                                                                                        <xs:documentation>Informação da Nota de Empenho de compras públicas (NT2011/004)</xs:documentation>
4842
                                                                                </xs:annotation>
4843
                                                                                <xs:simpleType>
4844
                                                                                        <xs:restriction base="TString">
4845
                                                                                                <xs:minLength value="1"/>
4846
                                                                                                <xs:maxLength value="22"/>
4847
                                                                                        </xs:restriction>
4848
                                                                                </xs:simpleType>
4849
                                                                        </xs:element>
4850
                                                                        <xs:element name="xPed" minOccurs="0">
4851
                                                                                <xs:annotation>
4852
                                                                                        <xs:documentation>Informação do pedido</xs:documentation>
4853
                                                                                </xs:annotation>
4854
                                                                                <xs:simpleType>
4855
                                                                                        <xs:restriction base="TString">
4856
                                                                                                <xs:minLength value="1"/>
4857
                                                                                                <xs:maxLength value="60"/>
4858
                                                                                        </xs:restriction>
4859
                                                                                </xs:simpleType>
4860
                                                                        </xs:element>
4861
                                                                        <xs:element name="xCont" minOccurs="0">
4862
                                                                                <xs:annotation>
4863
                                                                                        <xs:documentation>Informação do contrato</xs:documentation>
4864
                                                                                </xs:annotation>
4865
                                                                                <xs:simpleType>
4866
                                                                                        <xs:restriction base="TString">
4867
                                                                                                <xs:minLength value="1"/>
4868
                                                                                                <xs:maxLength value="60"/>
4869
                                                                                        </xs:restriction>
4870
                                                                                </xs:simpleType>
4871
                                                                        </xs:element>
4872
                                                                </xs:sequence>
4873
                                                        </xs:complexType>
4874
                                                </xs:element>
4875
                                                <xs:element name="cana" minOccurs="0">
4876
                                                        <xs:annotation>
4877
                                                                <xs:documentation>Informações de registro aquisições de cana</xs:documentation>
4878
                                                        </xs:annotation>
4879
                                                        <xs:complexType>
4880
                                                                <xs:sequence>
4881
                                                                        <xs:element name="safra">
4882
                                                                                <xs:annotation>
4883
                                                                                        <xs:documentation>Identificação da safra</xs:documentation>
4884
                                                                                </xs:annotation>
4885
                                                                                <xs:simpleType>
4886
                                                                                        <xs:restriction base="TString">
4887
                                                                                                <xs:minLength value="4"/>
4888
                                                                                                <xs:maxLength value="9"/>
4889
                                                                                        </xs:restriction>
4890
                                                                                </xs:simpleType>
4891
                                                                        </xs:element>
4892
                                                                        <xs:element name="ref">
4893
                                                                                <xs:annotation>
4894
                                                                                        <xs:documentation>Mês e Ano de Referência, formato: MM/AAAA</xs:documentation>
4895
                                                                                </xs:annotation>
4896
                                                                                <xs:simpleType>
4897
                                                                                        <xs:restriction base="xs:string">
4898
                                                                                                <xs:whiteSpace value="preserve"/>
4899
                                                                                                <xs:pattern value="(0[1-9]|1[0-2])([/][2][0-9][0-9][0-9])"/>
4900
                                                                                        </xs:restriction>
4901
                                                                                </xs:simpleType>
4902
                                                                        </xs:element>
4903
                                                                        <xs:element name="forDia" maxOccurs="31">
4904
                                                                                <xs:annotation>
4905
                                                                                        <xs:documentation>Fornecimentos diários</xs:documentation>
4906
                                                                                </xs:annotation>
4907
                                                                                <xs:complexType>
4908
                                                                                        <xs:sequence>
4909
                                                                                                <xs:element name="qtde" type="TDec_1110v">
4910
                                                                                                        <xs:annotation>
4911
                                                                                                                <xs:documentation>Quantidade em quilogramas - peso líquido</xs:documentation>
4912
                                                                                                        </xs:annotation>
4913
                                                                                                </xs:element>
4914
                                                                                        </xs:sequence>
4915
                                                                                        <xs:attribute name="dia" use="required">
4916
                                                                                                <xs:annotation>
4917
                                                                                                        <xs:documentation>Número do dia</xs:documentation>
4918
                                                                                                </xs:annotation>
4919
                                                                                                <xs:simpleType>
4920
                                                                                                        <xs:restriction base="xs:string">
4921
                                                                                                                <xs:whiteSpace value="preserve"/>
4922
                                                                                                                <xs:pattern value="[1-9]|[1][0-9]|[2][0-9]|[3][0-1]"/>
4923
                                                                                                        </xs:restriction>
4924
                                                                                                </xs:simpleType>
4925
                                                                                        </xs:attribute>
4926
                                                                                </xs:complexType>
4927
                                                                                <xs:unique name="pk_Dia">
4928
                                                                                        <xs:selector xpath="./*"/>
4929
                                                                                        <xs:field xpath="@dia"/>
4930
                                                                                </xs:unique>
4931
                                                                        </xs:element>
4932
                                                                        <xs:element name="qTotMes" type="TDec_1110v">
4933
                                                                                <xs:annotation>
4934
                                                                                        <xs:documentation>Total do mês</xs:documentation>
4935
                                                                                </xs:annotation>
4936
                                                                        </xs:element>
4937
                                                                        <xs:element name="qTotAnt" type="TDec_1110v">
4938
                                                                                <xs:annotation>
4939
                                                                                        <xs:documentation>Total Anterior</xs:documentation>
4940
                                                                                </xs:annotation>
4941
                                                                        </xs:element>
4942
                                                                        <xs:element name="qTotGer" type="TDec_1110v">
4943
                                                                                <xs:annotation>
4944
                                                                                        <xs:documentation>Total Geral</xs:documentation>
4945
                                                                                </xs:annotation>
4946
                                                                        </xs:element>
4947
                                                                        <xs:element name="deduc" minOccurs="0" maxOccurs="10">
4948
                                                                                <xs:annotation>
4949
                                                                                        <xs:documentation>Deduções - Taxas e Contribuições</xs:documentation>
4950
                                                                                </xs:annotation>
4951
                                                                                <xs:complexType>
4952
                                                                                        <xs:sequence>
4953
                                                                                                <xs:element name="xDed">
4954
                                                                                                        <xs:annotation>
4955
                                                                                                                <xs:documentation>Descrição da Dedução</xs:documentation>
4956
                                                                                                        </xs:annotation>
4957
                                                                                                        <xs:simpleType>
4958
                                                                                                                <xs:restriction base="TString">
4959
                                                                                                                        <xs:minLength value="1"/>
4960
                                                                                                                        <xs:maxLength value="60"/>
4961
                                                                                                                </xs:restriction>
4962
                                                                                                        </xs:simpleType>
4963
                                                                                                </xs:element>
4964
                                                                                                <xs:element name="vDed" type="TDec_1302">
4965
                                                                                                        <xs:annotation>
4966
                                                                                                                <xs:documentation>valor da dedução</xs:documentation>
4967
                                                                                                        </xs:annotation>
4968
                                                                                                </xs:element>
4969
                                                                                        </xs:sequence>
4970
                                                                                </xs:complexType>
4971
                                                                        </xs:element>
4972
                                                                        <xs:element name="vFor" type="TDec_1302">
4973
                                                                                <xs:annotation>
4974
                                                                                        <xs:documentation>Valor  dos fornecimentos</xs:documentation>
4975
                                                                                </xs:annotation>
4976
                                                                        </xs:element>
4977
                                                                        <xs:element name="vTotDed" type="TDec_1302">
4978
                                                                                <xs:annotation>
4979
                                                                                        <xs:documentation>Valor Total das Deduções</xs:documentation>
4980
                                                                                </xs:annotation>
4981
                                                                        </xs:element>
4982
                                                                        <xs:element name="vLiqFor" type="TDec_1302">
4983
                                                                                <xs:annotation>
4984
                                                                                        <xs:documentation>Valor Líquido dos fornecimentos</xs:documentation>
4985
                                                                                </xs:annotation>
4986
                                                                        </xs:element>
4987
                                                                </xs:sequence>
4988
                                                        </xs:complexType>
4989
                                                </xs:element>
4990
                                        </xs:sequence>
4991
                                        <xs:attribute name="versao" type="TVerNFe" use="required">
4992
                                                <xs:annotation>
4993
                                                        <xs:documentation>Versão do leiaute (v2.0)</xs:documentation>
4994
                                                </xs:annotation>
4995
                                        </xs:attribute>
4996
                                        <xs:attribute name="Id" use="required">
4997
                                                <xs:annotation>
4998
                                                        <xs:documentation>PL_005d - 11/08/09 - validação do Id</xs:documentation>
4999
                                                </xs:annotation>
5000
                                                <xs:simpleType>
5001
                                                        <xs:restriction base="xs:ID">
5002
                                                                <xs:pattern value="NFe[0-9]{44}"/>
5003
                                                        </xs:restriction>
5004
                                                </xs:simpleType>
5005
                                        </xs:attribute>
5006
                                </xs:complexType>
5007
                                <xs:unique name="pk_nItem">
5008
                                        <xs:selector xpath="./*"/>
5009
                                        <xs:field xpath="@nItem"/>
5010
                                </xs:unique>
5011
                        </xs:element>
5012
                        <xs:element name="infNFeSupl" minOccurs="0">
5013
                                <xs:annotation>
5014
                                        <xs:documentation>Informações suplementares Nota Fiscal</xs:documentation>
5015
                                </xs:annotation>
5016
                                <xs:complexType>
5017
                                        <xs:sequence>
5018
                                                <xs:element name="qrCode">
5019
                                                        <xs:annotation>
5020
                                                                <xs:documentation>Texto com o QR-Code impresso no DANFE NFC-e</xs:documentation>
5021
                                                        </xs:annotation>
5022
                                                        <xs:simpleType>
5023
                                                                <xs:restriction base="xs:string">
5024
                                                                        <xs:whiteSpace value="preserve"/>
5025
                                                                        <xs:minLength value="100"/>
5026
                                                                        <xs:maxLength value="600"/>
5027
                                                                        <xs:pattern value="((HTTPS?|https?)://.*\?chNFe=[0-9]{44}&amp;nVersao=[0-9]{3}&amp;tpAmb=[1-2](&amp;cDest=([A-Za-z0-9.:+-/)(]{0}|[A-Za-z0-9.:+-/)(]{5,20})?)?&amp;dhEmi=[A-Fa-f0-9]{50}&amp;vNF=(0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?)&amp;vICMS=(0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?)&amp;digVal=[A-Fa-f0-9]{56}&amp;cIdToken=[0-9]{6}&amp;cHashQRCode=[A-Fa-f0-9]{40})"/>
5028
                                                                </xs:restriction>
5029
                                                        </xs:simpleType>
5030
                                                </xs:element>
5031
                                        </xs:sequence>
5032
                                </xs:complexType>
5033
                        </xs:element>
5034
                        <xs:element ref="ds:Signature"/>
5035
                </xs:sequence>
5036
        </xs:complexType>
5037
        <xs:complexType name="TProtNFe">
5038
                <xs:annotation>
5039
                        <xs:documentation>Tipo Protocolo de status resultado do processamento da NF-e</xs:documentation>
5040
                </xs:annotation>
5041
                <xs:sequence>
5042
                        <xs:element name="infProt">
5043
                                <xs:annotation>
5044
                                        <xs:documentation>Dados do protocolo de status</xs:documentation>
5045
                                </xs:annotation>
5046
                                <xs:complexType>
5047
                                        <xs:sequence>
5048
                                                <xs:element name="tpAmb" type="TAmb">
5049
                                                        <xs:annotation>
5050
                                                                <xs:documentation>Identificação do Ambiente:
5051
1 - Produção
5052
2 - Homologação</xs:documentation>
5053
                                                        </xs:annotation>
5054
                                                </xs:element>
5055
                                                <xs:element name="verAplic" type="TVerAplic">
5056
                                                        <xs:annotation>
5057
                                                                <xs:documentation>Versão do Aplicativo que processou a NF-e</xs:documentation>
5058
                                                        </xs:annotation>
5059
                                                </xs:element>
5060
                                                <xs:element name="chNFe" type="TChNFe">
5061
                                                        <xs:annotation>
5062
                                                                <xs:documentation>Chaves de acesso da NF-e, compostas por: UF do emitente, AAMM da emissão da NFe, CNPJ do emitente, modelo, série e número da NF-e e código numérico+DV.</xs:documentation>
5063
                                                        </xs:annotation>
5064
                                                </xs:element>
5065
                                                <xs:element name="dhRecbto" type="TDateTimeUTC">
5066
                                                        <xs:annotation>
5067
                                                                <xs:documentation>Data e hora de processamento, no formato AAAA-MM-DDTHH:MM:SSTZD. Deve ser preenchida com data e hora da gravação no Banco em caso de Confirmação. Em caso de Rejeição, com data e hora do recebimento do Lote de NF-e enviado.</xs:documentation>
5068
                                                        </xs:annotation>
5069
                                                </xs:element>
5070
                                                <xs:element name="nProt" type="TProt" minOccurs="0">
5071
                                                        <xs:annotation>
5072
                                                                <xs:documentation>Número do Protocolo de Status da NF-e. 1 posição (1 – Secretaria de Fazenda Estadual 2 – Receita Federal); 2 - códiga da UF - 2 posições ano; 10 seqüencial no ano.</xs:documentation>
5073
                                                        </xs:annotation>
5074
                                                </xs:element>
5075
                                                <xs:element name="digVal" type="ds:DigestValueType" minOccurs="0">
5076
                                                        <xs:annotation>
5077
                                                                <xs:documentation>Digest Value da NF-e processada. Utilizado para conferir a integridade da NF-e original.</xs:documentation>
5078
                                                        </xs:annotation>
5079
                                                </xs:element>
5080
                                                <xs:element name="cStat" type="TStat">
5081
                                                        <xs:annotation>
5082
                                                                <xs:documentation>Código do status da mensagem enviada.</xs:documentation>
5083
                                                        </xs:annotation>
5084
                                                </xs:element>
5085
                                                <xs:element name="xMotivo" type="TMotivo">
5086
                                                        <xs:annotation>
5087
                                                                <xs:documentation>Descrição literal do status do serviço solicitado.</xs:documentation>
5088
                                                        </xs:annotation>
5089
                                                </xs:element>
5090
                                        </xs:sequence>
5091
                                        <xs:attribute name="Id" type="xs:ID" use="optional"/>
5092
                                </xs:complexType>
5093
                        </xs:element>
5094
                        <xs:element ref="ds:Signature" minOccurs="0"/>
5095
                </xs:sequence>
5096
                <xs:attribute name="versao" type="TVerNFe" use="required"/>
5097
        </xs:complexType>
5098
        <xs:complexType name="TEnviNFe">
5099
                <xs:annotation>
5100
                        <xs:documentation> Tipo Pedido de Concessão de Autorização da Nota Fiscal Eletrônica</xs:documentation>
5101
                </xs:annotation>
5102
                <xs:sequence>
5103
                        <xs:element name="idLote" type="TIdLote"/>
5104
                        <xs:element name="indSinc">
5105
                                <xs:annotation>
5106
                                        <xs:documentation>Indicador de processamento síncrono. 0=NÃO; 1=SIM=Síncrono</xs:documentation>
5107
                                </xs:annotation>
5108
                                <xs:simpleType>
5109
                                        <xs:restriction base="xs:string">
5110
                                                <xs:whiteSpace value="preserve"/>
5111
                                                <xs:enumeration value="0"/>
5112
                                                <xs:enumeration value="1"/>
5113
                                        </xs:restriction>
5114
                                </xs:simpleType>
5115
                        </xs:element>
5116
                        <xs:element name="NFe" type="TNFe" maxOccurs="50"/>
5117
                </xs:sequence>
5118
                <xs:attribute name="versao" type="TVerNFe" use="required"/>
5119
        </xs:complexType>
5120
        <xs:complexType name="TRetEnviNFe">
5121
                <xs:annotation>
5122
                        <xs:documentation>Tipo Retorno do Pedido de Autorização da Nota Fiscal Eletrônica</xs:documentation>
5123
                </xs:annotation>
5124
                <xs:sequence>
5125
                        <xs:element name="tpAmb" type="TAmb">
5126
                                <xs:annotation>
5127
                                        <xs:documentation>Identificação do Ambiente:
5128
1 - Produção
5129
2 - Homologação</xs:documentation>
5130
                                </xs:annotation>
5131
                        </xs:element>
5132
                        <xs:element name="verAplic" type="TVerAplic">
5133
                                <xs:annotation>
5134
                                        <xs:documentation>Versão do Aplicativo que recebeu o Lote.</xs:documentation>
5135
                                </xs:annotation>
5136
                        </xs:element>
5137
                        <xs:element name="cStat" type="TStat">
5138
                                <xs:annotation>
5139
                                        <xs:documentation>Código do status da mensagem enviada.</xs:documentation>
5140
                                </xs:annotation>
5141
                        </xs:element>
5142
                        <xs:element name="xMotivo" type="TMotivo">
5143
                                <xs:annotation>
5144
                                        <xs:documentation>Descrição literal do status do serviço solicitado.</xs:documentation>
5145
                                </xs:annotation>
5146
                        </xs:element>
5147
                        <xs:element name="cUF" type="TCodUfIBGE">
5148
                                <xs:annotation>
5149
                                        <xs:documentation>código da UF de atendimento</xs:documentation>
5150
                                </xs:annotation>
5151
                        </xs:element>
5152
                        <xs:element name="dhRecbto" type="TDateTimeUTC">
5153
                                <xs:annotation>
5154
                                        <xs:documentation>Data e hora do recebimento, no formato AAAA-MM-DDTHH:MM:SSTZD</xs:documentation>
5155
                                </xs:annotation>
5156
                        </xs:element>
5157
                        <xs:choice>
5158
                                <xs:element name="infRec" minOccurs="0">
5159
                                        <xs:annotation>
5160
                                                <xs:documentation>Dados do Recibo do Lote</xs:documentation>
5161
                                        </xs:annotation>
5162
                                        <xs:complexType>
5163
                                                <xs:sequence>
5164
                                                        <xs:element name="nRec" type="TRec">
5165
                                                                <xs:annotation>
5166
                                                                        <xs:documentation>Número do Recibo</xs:documentation>
5167
                                                                </xs:annotation>
5168
                                                        </xs:element>
5169
                                                        <xs:element name="tMed" type="TMed">
5170
                                                                <xs:annotation>
5171
                                                                        <xs:documentation>Tempo médio de resposta do serviço (em segundos) dos últimos 5 minutos</xs:documentation>
5172
                                                                </xs:annotation>
5173
                                                        </xs:element>
5174
                                                </xs:sequence>
5175
                                        </xs:complexType>
5176
                                </xs:element>
5177
                                <xs:element name="protNFe" type="TProtNFe" minOccurs="0">
5178
                                        <xs:annotation>
5179
                                                <xs:documentation>Protocolo de status resultado do processamento sincrono da NFC-e </xs:documentation>
5180
                                        </xs:annotation>
5181
                                </xs:element>
5182
                        </xs:choice>
5183
                </xs:sequence>
5184
                <xs:attribute name="versao" type="TVerNFe" use="required"/>
5185
        </xs:complexType>
5186
        <xs:complexType name="TConsReciNFe">
5187
                <xs:annotation>
5188
                        <xs:documentation>Tipo Pedido de Consulta do Recido do Lote de Notas Fiscais Eletrônicas</xs:documentation>
5189
                </xs:annotation>
5190
                <xs:sequence>
5191
                        <xs:element name="tpAmb" type="TAmb">
5192
                                <xs:annotation>
5193
                                        <xs:documentation>Identificação do Ambiente:
5194
1 - Produção
5195
2 - Homologação</xs:documentation>
5196
                                </xs:annotation>
5197
                        </xs:element>
5198
                        <xs:element name="nRec" type="TRec">
5199
                                <xs:annotation>
5200
                                        <xs:documentation>Número do Recibo</xs:documentation>
5201
                                </xs:annotation>
5202
                        </xs:element>
5203
                </xs:sequence>
5204
                <xs:attribute name="versao" type="TVerNFe" use="required"/>
5205
        </xs:complexType>
5206
        <xs:complexType name="TRetConsReciNFe">
5207
                <xs:annotation>
5208
                        <xs:documentation>Tipo Retorno do Pedido de  Consulta do Recido do Lote de Notas Fiscais Eletrônicas</xs:documentation>
5209
                </xs:annotation>
5210
                <xs:sequence>
5211
                        <xs:element name="tpAmb" type="TAmb">
5212
                                <xs:annotation>
5213
                                        <xs:documentation>Identificação do Ambiente:
5214
1 - Produção
5215
2 - Homologação</xs:documentation>
5216
                                </xs:annotation>
5217
                        </xs:element>
5218
                        <xs:element name="verAplic" type="TVerAplic">
5219
                                <xs:annotation>
5220
                                        <xs:documentation>Versão do Aplicativo que processou a NF-e</xs:documentation>
5221
                                </xs:annotation>
5222
                        </xs:element>
5223
                        <xs:element name="nRec" type="TRec">
5224
                                <xs:annotation>
5225
                                        <xs:documentation>Número do Recibo Consultado</xs:documentation>
5226
                                </xs:annotation>
5227
                        </xs:element>
5228
                        <xs:element name="cStat" type="TStat">
5229
                                <xs:annotation>
5230
                                        <xs:documentation>Código do status da mensagem enviada.</xs:documentation>
5231
                                </xs:annotation>
5232
                        </xs:element>
5233
                        <xs:element name="xMotivo" type="TMotivo">
5234
                                <xs:annotation>
5235
                                        <xs:documentation>Descrição literal do status do serviço solicitado.</xs:documentation>
5236
                                </xs:annotation>
5237
                        </xs:element>
5238
                        <xs:element name="cUF" type="TCodUfIBGE">
5239
                                <xs:annotation>
5240
                                        <xs:documentation>código da UF de atendimento</xs:documentation>
5241
                                </xs:annotation>
5242
                        </xs:element>
5243
                        <xs:element name="dhRecbto" type="TDateTimeUTC">
5244
                                <xs:annotation>
5245
                                        <xs:documentation>Data e hora de processamento, no formato AAAA-MM-DDTHH:MM:SSTZD. Em caso de Rejeição, com data e hora do recebimento do Lote de NF-e enviado.
5246
                                        </xs:documentation>
5247
                                </xs:annotation>
5248
                        </xs:element>
5249
                        <xs:sequence minOccurs="0">
5250
                                <xs:element name="cMsg">
5251
                                        <xs:annotation>
5252
                                                <xs:documentation>Código da Mensagem (v2.0)
5253
alterado para tamanho variavel 1-4. (NT2011/004)</xs:documentation>
5254
                                        </xs:annotation>
5255
                                        <xs:simpleType>
5256
                                                <xs:restriction base="xs:string">
5257
                                                        <xs:whiteSpace value="preserve"/>
5258
                                                        <xs:pattern value="[0-9]{1,4}"/>
5259
                                                </xs:restriction>
5260
                                        </xs:simpleType>
5261
                                </xs:element>
5262
                                <xs:element name="xMsg">
5263
                                        <xs:annotation>
5264
                                                <xs:documentation>Mensagem da SEFAZ para o emissor. (v2.0)</xs:documentation>
5265
                                        </xs:annotation>
5266
                                        <xs:simpleType>
5267
                                                <xs:restriction base="TString">
5268
                                                        <xs:minLength value="1"/>
5269
                                                        <xs:maxLength value="200"/>
5270
                                                </xs:restriction>
5271
                                        </xs:simpleType>
5272
                                </xs:element>
5273
                        </xs:sequence>
5274
                        <xs:element name="protNFe" type="TProtNFe" minOccurs="0" maxOccurs="50">
5275
                                <xs:annotation>
5276
                                        <xs:documentation>Protocolo de status resultado do processamento da NF-e</xs:documentation>
5277
                                </xs:annotation>
5278
                        </xs:element>
5279
                </xs:sequence>
5280
                <xs:attribute name="versao" type="TVerNFe" use="required"/>
5281
        </xs:complexType>
5282
        <xs:complexType name="TNfeProc">
5283
                <xs:annotation>
5284
                        <xs:documentation> Tipo da NF-e processada</xs:documentation>
5285
                </xs:annotation>
5286
                <xs:sequence>
5287
                        <xs:element name="NFe" type="TNFe"/>
5288
                        <xs:element name="protNFe" type="TProtNFe"/>
5289
                </xs:sequence>
5290
                <xs:attribute name="versao" type="TVerNFe" use="required"/>
5291
        </xs:complexType>
5292
        <xs:complexType name="TEndereco">
5293
                <xs:annotation>
5294
                        <xs:documentation>Tipo Dados do Endereço  // 24/10/08 - tamanho mínimo</xs:documentation>
5295
                </xs:annotation>
5296
                <xs:sequence>
5297
                        <xs:element name="xLgr">
5298
                                <xs:annotation>
5299
                                        <xs:documentation>Logradouro</xs:documentation>
5300
                                </xs:annotation>
5301
                                <xs:simpleType>
5302
                                        <xs:restriction base="TString">
5303
                                                <xs:maxLength value="60"/>
5304
                                                <xs:minLength value="2"/>
5305
                                        </xs:restriction>
5306
                                </xs:simpleType>
5307
                        </xs:element>
5308
                        <xs:element name="nro">
5309
                                <xs:annotation>
5310
                                        <xs:documentation>Número</xs:documentation>
5311
                                </xs:annotation>
5312
                                <xs:simpleType>
5313
                                        <xs:restriction base="TString">
5314
                                                <xs:maxLength value="60"/>
5315
                                                <xs:minLength value="1"/>
5316
                                        </xs:restriction>
5317
                                </xs:simpleType>
5318
                        </xs:element>
5319
                        <xs:element name="xCpl" minOccurs="0">
5320
                                <xs:annotation>
5321
                                        <xs:documentation>Complemento</xs:documentation>
5322
                                </xs:annotation>
5323
                                <xs:simpleType>
5324
                                        <xs:restriction base="TString">
5325
                                                <xs:maxLength value="60"/>
5326
                                                <xs:minLength value="1"/>
5327
                                        </xs:restriction>
5328
                                </xs:simpleType>
5329
                        </xs:element>
5330
                        <xs:element name="xBairro">
5331
                                <xs:annotation>
5332
                                        <xs:documentation>Bairro</xs:documentation>
5333
                                </xs:annotation>
5334
                                <xs:simpleType>
5335
                                        <xs:restriction base="TString">
5336
                                                <xs:maxLength value="60"/>
5337
                                                <xs:minLength value="2"/>
5338
                                        </xs:restriction>
5339
                                </xs:simpleType>
5340
                        </xs:element>
5341
                        <xs:element name="cMun" type="TCodMunIBGE">
5342
                                <xs:annotation>
5343
                                        <xs:documentation>Código do município (utilizar a tabela do IBGE), informar 9999999 para operações com o exterior.</xs:documentation>
5344
                                </xs:annotation>
5345
                        </xs:element>
5346
                        <xs:element name="xMun">
5347
                                <xs:annotation>
5348
                                        <xs:documentation>Nome do município, informar EXTERIOR para operações com o exterior.</xs:documentation>
5349
                                </xs:annotation>
5350
                                <xs:simpleType>
5351
                                        <xs:restriction base="TString">
5352
                                                <xs:maxLength value="60"/>
5353
                                                <xs:minLength value="2"/>
5354
                                        </xs:restriction>
5355
                                </xs:simpleType>
5356
                        </xs:element>
5357
                        <xs:element name="UF" type="TUf">
5358
                                <xs:annotation>
5359
                                        <xs:documentation>Sigla da UF, informar EX para operações com o exterior.</xs:documentation>
5360
                                </xs:annotation>
5361
                        </xs:element>
5362
                        <xs:element name="CEP" minOccurs="0">
5363
                                <xs:annotation>
5364
                                        <xs:documentation>CEP</xs:documentation>
5365
                                </xs:annotation>
5366
                                <xs:simpleType>
5367
                                        <xs:restriction base="xs:string">
5368
                                                <xs:whiteSpace value="preserve"/>
5369
                                                <xs:pattern value="[0-9]{8}"/>
5370
                                        </xs:restriction>
5371
                                </xs:simpleType>
5372
                        </xs:element>
5373
                        <xs:element name="cPais">
5374
                                <xs:annotation>
5375
                                        <xs:documentation>Código de Pais</xs:documentation>
5376
                                </xs:annotation>
5377
                                <xs:simpleType>
5378
                                        <xs:restriction base="xs:string">
5379
                                                <xs:whiteSpace value="preserve"/>
5380
                                                <xs:pattern value="[0-9]{3,4}"/>
5381
                                        </xs:restriction>
5382
                                </xs:simpleType>
5383
                        </xs:element>
5384
                        <xs:element name="xPais" minOccurs="0">
5385
                                <xs:annotation>
5386
                                        <xs:documentation>Nome do país</xs:documentation>
5387
                                </xs:annotation>
5388
                                <xs:simpleType>
5389
                                        <xs:restriction base="TString">
5390
                                                <xs:maxLength value="60"/>
5391
                                                <xs:minLength value="2"/>
5392
                                        </xs:restriction>
5393
                                </xs:simpleType>
5394
                        </xs:element>
5395
                        <xs:element name="fone" minOccurs="0">
5396
                                <xs:annotation>
5397
                                        <xs:documentation>Telefone, preencher com Código DDD + número do telefone , nas operações com exterior é permtido informar o código do país + código da localidade + número do telefone</xs:documentation>
5398
                                </xs:annotation>
5399
                                <xs:simpleType>
5400
                                        <xs:restriction base="xs:string">
5401
                                                <xs:whiteSpace value="preserve"/>
5402
                                                <xs:pattern value="[0-9]{6,14}"/>
5403
                                        </xs:restriction>
5404
                                </xs:simpleType>
5405
                        </xs:element>
5406
                </xs:sequence>
5407
        </xs:complexType>
5408
        <xs:complexType name="TEnderEmi">
5409
                <xs:annotation>
5410
                        <xs:documentation>Tipo Dados do Endereço do Emitente  // 24/10/08 - desmembrado / tamanho mínimo</xs:documentation>
5411
                </xs:annotation>
5412
                <xs:sequence>
5413
                        <xs:element name="xLgr">
5414
                                <xs:annotation>
5415
                                        <xs:documentation>Logradouro</xs:documentation>
5416
                                </xs:annotation>
5417
                                <xs:simpleType>
5418
                                        <xs:restriction base="TString">
5419
                                                <xs:maxLength value="60"/>
5420
                                                <xs:minLength value="2"/>
5421
                                        </xs:restriction>
5422
                                </xs:simpleType>
5423
                        </xs:element>
5424
                        <xs:element name="nro">
5425
                                <xs:annotation>
5426
                                        <xs:documentation>Número</xs:documentation>
5427
                                </xs:annotation>
5428
                                <xs:simpleType>
5429
                                        <xs:restriction base="TString">
5430
                                                <xs:maxLength value="60"/>
5431
                                                <xs:minLength value="1"/>
5432
                                        </xs:restriction>
5433
                                </xs:simpleType>
5434
                        </xs:element>
5435
                        <xs:element name="xCpl" minOccurs="0">
5436
                                <xs:annotation>
5437
                                        <xs:documentation>Complemento</xs:documentation>
5438
                                </xs:annotation>
5439
                                <xs:simpleType>
5440
                                        <xs:restriction base="TString">
5441
                                                <xs:maxLength value="60"/>
5442
                                                <xs:minLength value="1"/>
5443
                                        </xs:restriction>
5444
                                </xs:simpleType>
5445
                        </xs:element>
5446
                        <xs:element name="xBairro">
5447
                                <xs:annotation>
5448
                                        <xs:documentation>Bairro</xs:documentation>
5449
                                </xs:annotation>
5450
                                <xs:simpleType>
5451
                                        <xs:restriction base="TString">
5452
                                                <xs:maxLength value="60"/>
5453
                                                <xs:minLength value="2"/>
5454
                                        </xs:restriction>
5455
                                </xs:simpleType>
5456
                        </xs:element>
5457
                        <xs:element name="cMun" type="TCodMunIBGE">
5458
                                <xs:annotation>
5459
                                        <xs:documentation>Código do município</xs:documentation>
5460
                                </xs:annotation>
5461
                        </xs:element>
5462
                        <xs:element name="xMun">
5463
                                <xs:annotation>
5464
                                        <xs:documentation>Nome do município</xs:documentation>
5465
                                </xs:annotation>
5466
                                <xs:simpleType>
5467
                                        <xs:restriction base="TString">
5468
                                                <xs:maxLength value="60"/>
5469
                                                <xs:minLength value="2"/>
5470
                                        </xs:restriction>
5471
                                </xs:simpleType>
5472
                        </xs:element>
5473
                        <xs:element name="UF" type="TUfEmi">
5474
                                <xs:annotation>
5475
                                        <xs:documentation>Sigla da UF</xs:documentation>
5476
                                </xs:annotation>
5477
                        </xs:element>
5478
                        <xs:element name="CEP">
5479
                                <xs:annotation>
5480
                                        <xs:documentation>CEP - NT 2011/004</xs:documentation>
5481
                                </xs:annotation>
5482
                                <xs:simpleType>
5483
                                        <xs:restriction base="xs:string">
5484
                                                <xs:whiteSpace value="preserve"/>
5485
                                                <xs:pattern value="[0-9]{8}"/>
5486
                                        </xs:restriction>
5487
                                </xs:simpleType>
5488
                        </xs:element>
5489
                        <xs:element name="cPais" minOccurs="0">
5490
                                <xs:annotation>
5491
                                        <xs:documentation>Código do país</xs:documentation>
5492
                                </xs:annotation>
5493
                                <xs:simpleType>
5494
                                        <xs:restriction base="TString">
5495
                                                <xs:enumeration value="1058"/>
5496
                                        </xs:restriction>
5497
                                </xs:simpleType>
5498
                        </xs:element>
5499
                        <xs:element name="xPais" minOccurs="0">
5500
                                <xs:annotation>
5501
                                        <xs:documentation>Nome do país</xs:documentation>
5502
                                </xs:annotation>
5503
                                <xs:simpleType>
5504
                                        <xs:restriction base="TString">
5505
                                                <xs:enumeration value="Brasil"/>
5506
                                                <xs:enumeration value="BRASIL"/>
5507
                                        </xs:restriction>
5508
                                </xs:simpleType>
5509
                        </xs:element>
5510
                        <xs:element name="fone" minOccurs="0">
5511
                                <xs:annotation>
5512
                                        <xs:documentation>Preencher com Código DDD + número do telefone (v.2.0)</xs:documentation>
5513
                                </xs:annotation>
5514
                                <xs:simpleType>
5515
                                        <xs:restriction base="xs:string">
5516
                                                <xs:whiteSpace value="preserve"/>
5517
                                                <xs:pattern value="[0-9]{6,14}"/>
5518
                                        </xs:restriction>
5519
                                </xs:simpleType>
5520
                        </xs:element>
5521
                </xs:sequence>
5522
        </xs:complexType>
5523
        <xs:complexType name="TLocal">
5524
                <xs:annotation>
5525
                        <xs:documentation>Tipo Dados do Local de Retirada ou Entrega // 24/10/08 - tamanho mínimo // v2.0</xs:documentation>
5526
                </xs:annotation>
5527
                <xs:sequence>
5528
                        <xs:choice>
5529
                                <xs:element name="CNPJ" type="TCnpjOpc">
5530
                                        <xs:annotation>
5531
                                                <xs:documentation>CNPJ</xs:documentation>
5532
                                        </xs:annotation>
5533
                                </xs:element>
5534
                                <xs:element name="CPF" type="TCpf">
5535
                                        <xs:annotation>
5536
                                                <xs:documentation>CPF (v2.0)</xs:documentation>
5537
                                        </xs:annotation>
5538
                                </xs:element>
5539
                        </xs:choice>
5540
                        <xs:element name="xLgr">
5541
                                <xs:annotation>
5542
                                        <xs:documentation>Logradouro</xs:documentation>
5543
                                </xs:annotation>
5544
                                <xs:simpleType>
5545
                                        <xs:restriction base="TString">
5546
                                                <xs:maxLength value="60"/>
5547
                                                <xs:minLength value="2"/>
5548
                                        </xs:restriction>
5549
                                </xs:simpleType>
5550
                        </xs:element>
5551
                        <xs:element name="nro">
5552
                                <xs:annotation>
5553
                                        <xs:documentation>Número</xs:documentation>
5554
                                </xs:annotation>
5555
                                <xs:simpleType>
5556
                                        <xs:restriction base="TString">
5557
                                                <xs:maxLength value="60"/>
5558
                                                <xs:minLength value="1"/>
5559
                                        </xs:restriction>
5560
                                </xs:simpleType>
5561
                        </xs:element>
5562
                        <xs:element name="xCpl" minOccurs="0">
5563
                                <xs:annotation>
5564
                                        <xs:documentation>Complemento</xs:documentation>
5565
                                </xs:annotation>
5566
                                <xs:simpleType>
5567
                                        <xs:restriction base="TString">
5568
                                                <xs:maxLength value="60"/>
5569
                                                <xs:minLength value="1"/>
5570
                                        </xs:restriction>
5571
                                </xs:simpleType>
5572
                        </xs:element>
5573
                        <xs:element name="xBairro">
5574
                                <xs:annotation>
5575
                                        <xs:documentation>Bairro</xs:documentation>
5576
                                </xs:annotation>
5577
                                <xs:simpleType>
5578
                                        <xs:restriction base="TString">
5579
                                                <xs:maxLength value="60"/>
5580
                                                <xs:minLength value="2"/>
5581
                                        </xs:restriction>
5582
                                </xs:simpleType>
5583
                        </xs:element>
5584
                        <xs:element name="cMun" type="TCodMunIBGE">
5585
                                <xs:annotation>
5586
                                        <xs:documentation>Código do município (utilizar a tabela do IBGE)</xs:documentation>
5587
                                </xs:annotation>
5588
                        </xs:element>
5589
                        <xs:element name="xMun">
5590
                                <xs:annotation>
5591
                                        <xs:documentation>Nome do município</xs:documentation>
5592
                                </xs:annotation>
5593
                                <xs:simpleType>
5594
                                        <xs:restriction base="TString">
5595
                                                <xs:maxLength value="60"/>
5596
                                                <xs:minLength value="2"/>
5597
                                        </xs:restriction>
5598
                                </xs:simpleType>
5599
                        </xs:element>
5600
                        <xs:element name="UF" type="TUf">
5601
                                <xs:annotation>
5602
                                        <xs:documentation>Sigla da UF</xs:documentation>
5603
                                </xs:annotation>
5604
                        </xs:element>
5605
                </xs:sequence>
5606
        </xs:complexType>
5607
        <xs:complexType name="TVeiculo">
5608
                <xs:annotation>
5609
                        <xs:documentation>Tipo Dados do Veículo</xs:documentation>
5610
                </xs:annotation>
5611
                <xs:sequence>
5612
                        <xs:element name="placa">
5613
                                <xs:annotation>
5614
                                        <xs:documentation>Placa do veículo (NT2011/004)</xs:documentation>
5615
                                </xs:annotation>
5616
                                <xs:simpleType>
5617
                                        <xs:restriction base="xs:string">
5618
                                                <xs:whiteSpace value="preserve"/>
5619
                                                <xs:pattern value="[A-Z]{2,3}[0-9]{4}|[A-Z]{3,4}[0-9]{3}"/>
5620
                                        </xs:restriction>
5621
                                </xs:simpleType>
5622
                        </xs:element>
5623
                        <xs:element name="UF" type="TUf">
5624
                                <xs:annotation>
5625
                                        <xs:documentation>Sigla da UF</xs:documentation>
5626
                                </xs:annotation>
5627
                        </xs:element>
5628
                        <xs:element name="RNTC" minOccurs="0">
5629
                                <xs:annotation>
5630
                                        <xs:documentation>Registro Nacional de Transportador de Carga (ANTT)</xs:documentation>
5631
                                </xs:annotation>
5632
                                <xs:simpleType>
5633
                                        <xs:restriction base="TString">
5634
                                                <xs:minLength value="1"/>
5635
                                                <xs:maxLength value="20"/>
5636
                                        </xs:restriction>
5637
                                </xs:simpleType>
5638
                        </xs:element>
5639
                </xs:sequence>
5640
        </xs:complexType>
5641
        <xs:simpleType name="Torig">
5642
                <xs:annotation>
5643
                        <xs:documentation>Tipo Origem da mercadoria CST ICMS  origem da mercadoria: 0-Nacional exceto as indicadas nos códigos 3, 4, 5 e 8;
5644
1-Estrangeira - Importação direta; 2-Estrangeira - Adquirida no mercado interno; 3-Nacional, conteudo superior 40% e inferior ou igual a 70%; 4-Nacional, processos produtivos básicos; 5-Nacional, conteudo inferior 40%; 6-Estrangeira - Importação direta, com similar nacional, lista CAMEX; 7-Estrangeira - mercado interno, sem simular,lista CAMEX;8-Nacional, Conteúdo de Importação superior a 70%.</xs:documentation>
5645
                </xs:annotation>
5646
                <xs:restriction base="xs:string">
5647
                        <xs:whiteSpace value="preserve"/>
5648
                        <xs:enumeration value="0"/>
5649
                        <xs:enumeration value="1"/>
5650
                        <xs:enumeration value="2"/>
5651
                        <xs:enumeration value="3"/>
5652
                        <xs:enumeration value="4"/>
5653
                        <xs:enumeration value="5"/>
5654
                        <xs:enumeration value="6"/>
5655
                        <xs:enumeration value="7"/>
5656
                        <xs:enumeration value="8"/>
5657
                </xs:restriction>
5658
        </xs:simpleType>
5659
        <xs:simpleType name="TFinNFe">
5660
                <xs:annotation>
5661
                        <xs:documentation>Tipo Finalidade da NF-e (1=Normal; 2=Complementar; 3=Ajuste; 4=Devolução/Retorno)</xs:documentation>
5662
                </xs:annotation>
5663
                <xs:restriction base="xs:string">
5664
                        <xs:whiteSpace value="preserve"/>
5665
                        <xs:enumeration value="1"/>
5666
                        <xs:enumeration value="2"/>
5667
                        <xs:enumeration value="3"/>
5668
                        <xs:enumeration value="4"/>
5669
                </xs:restriction>
5670
        </xs:simpleType>
5671
        <xs:simpleType name="TProcEmi">
5672
                <xs:annotation>
5673
                        <xs:documentation>Tipo processo de emissão da NF-e</xs:documentation>
5674
                </xs:annotation>
5675
                <xs:restriction base="xs:string">
5676
                        <xs:whiteSpace value="preserve"/>
5677
                        <xs:enumeration value="0"/>
5678
                        <xs:enumeration value="1"/>
5679
                        <xs:enumeration value="2"/>
5680
                        <xs:enumeration value="3"/>
5681
                </xs:restriction>
5682
        </xs:simpleType>
5683
        <xs:simpleType name="TCListServ">
5684
                <xs:annotation>
5685
                        <xs:documentation>Tipo Código da Lista de Serviços LC 116/2003</xs:documentation>
5686
                </xs:annotation>
5687
                <xs:restriction base="xs:string">
5688
                        <xs:whiteSpace value="preserve"/>
5689
                        <xs:enumeration value="01.01"/>
5690
                        <xs:enumeration value="01.02"/>
5691
                        <xs:enumeration value="01.03"/>
5692
                        <xs:enumeration value="01.04"/>
5693
                        <xs:enumeration value="01.05"/>
5694
                        <xs:enumeration value="01.06"/>
5695
                        <xs:enumeration value="01.07"/>
5696
                        <xs:enumeration value="01.08"/>
5697
                        <xs:enumeration value="02.01"/>
5698
                        <xs:enumeration value="03.02"/>
5699
                        <xs:enumeration value="03.03"/>
5700
                        <xs:enumeration value="03.04"/>
5701
                        <xs:enumeration value="03.05"/>
5702
                        <xs:enumeration value="04.01"/>
5703
                        <xs:enumeration value="04.02"/>
5704
                        <xs:enumeration value="04.03"/>
5705
                        <xs:enumeration value="04.04"/>
5706
                        <xs:enumeration value="04.05"/>
5707
                        <xs:enumeration value="04.06"/>
5708
                        <xs:enumeration value="04.07"/>
5709
                        <xs:enumeration value="04.08"/>
5710
                        <xs:enumeration value="04.09"/>
5711
                        <xs:enumeration value="04.10"/>
5712
                        <xs:enumeration value="04.11"/>
5713
                        <xs:enumeration value="04.12"/>
5714
                        <xs:enumeration value="04.13"/>
5715
                        <xs:enumeration value="04.14"/>
5716
                        <xs:enumeration value="04.15"/>
5717
                        <xs:enumeration value="04.16"/>
5718
                        <xs:enumeration value="04.17"/>
5719
                        <xs:enumeration value="04.18"/>
5720
                        <xs:enumeration value="04.19"/>
5721
                        <xs:enumeration value="04.20"/>
5722
                        <xs:enumeration value="04.21"/>
5723
                        <xs:enumeration value="04.22"/>
5724
                        <xs:enumeration value="04.23"/>
5725
                        <xs:enumeration value="05.01"/>
5726
                        <xs:enumeration value="05.02"/>
5727
                        <xs:enumeration value="05.03"/>
5728
                        <xs:enumeration value="05.04"/>
5729
                        <xs:enumeration value="05.05"/>
5730
                        <xs:enumeration value="05.06"/>
5731
                        <xs:enumeration value="05.07"/>
5732
                        <xs:enumeration value="05.08"/>
5733
                        <xs:enumeration value="05.09"/>
5734
                        <xs:enumeration value="06.01"/>
5735
                        <xs:enumeration value="06.02"/>
5736
                        <xs:enumeration value="06.03"/>
5737
                        <xs:enumeration value="06.04"/>
5738
                        <xs:enumeration value="06.05"/>
5739
                        <xs:enumeration value="07.01"/>
5740
                        <xs:enumeration value="07.02"/>
5741
                        <xs:enumeration value="07.03"/>
5742
                        <xs:enumeration value="07.04"/>
5743
                        <xs:enumeration value="07.05"/>
5744
                        <xs:enumeration value="07.06"/>
5745
                        <xs:enumeration value="07.07"/>
5746
                        <xs:enumeration value="07.08"/>
5747
                        <xs:enumeration value="07.09"/>
5748
                        <xs:enumeration value="07.10"/>
5749
                        <xs:enumeration value="07.11"/>
5750
                        <xs:enumeration value="07.12"/>
5751
                        <xs:enumeration value="07.13"/>
5752
                        <xs:enumeration value="07.16"/>
5753
                        <xs:enumeration value="07.17"/>
5754
                        <xs:enumeration value="07.18"/>
5755
                        <xs:enumeration value="07.19"/>
5756
                        <xs:enumeration value="07.20"/>
5757
                        <xs:enumeration value="07.21"/>
5758
                        <xs:enumeration value="07.22"/>
5759
                        <xs:enumeration value="08.01"/>
5760
                        <xs:enumeration value="08.02"/>
5761
                        <xs:enumeration value="09.01"/>
5762
                        <xs:enumeration value="09.02"/>
5763
                        <xs:enumeration value="09.03"/>
5764
                        <xs:enumeration value="10.01"/>
5765
                        <xs:enumeration value="10.02"/>
5766
                        <xs:enumeration value="10.03"/>
5767
                        <xs:enumeration value="10.04"/>
5768
                        <xs:enumeration value="10.05"/>
5769
                        <xs:enumeration value="10.06"/>
5770
                        <xs:enumeration value="10.07"/>
5771
                        <xs:enumeration value="10.08"/>
5772
                        <xs:enumeration value="10.09"/>
5773
                        <xs:enumeration value="10.10"/>
5774
                        <xs:enumeration value="11.01"/>
5775
                        <xs:enumeration value="11.02"/>
5776
                        <xs:enumeration value="11.03"/>
5777
                        <xs:enumeration value="11.04"/>
5778
                        <xs:enumeration value="12.01"/>
5779
                        <xs:enumeration value="12.02"/>
5780
                        <xs:enumeration value="12.03"/>
5781
                        <xs:enumeration value="12.04"/>
5782
                        <xs:enumeration value="12.05"/>
5783
                        <xs:enumeration value="12.06"/>
5784
                        <xs:enumeration value="12.07"/>
5785
                        <xs:enumeration value="12.08"/>
5786
                        <xs:enumeration value="12.09"/>
5787
                        <xs:enumeration value="12.10"/>
5788
                        <xs:enumeration value="12.11"/>
5789
                        <xs:enumeration value="12.12"/>
5790
                        <xs:enumeration value="12.13"/>
5791
                        <xs:enumeration value="12.14"/>
5792
                        <xs:enumeration value="12.15"/>
5793
                        <xs:enumeration value="12.16"/>
5794
                        <xs:enumeration value="12.17"/>
5795
                        <xs:enumeration value="13.02"/>
5796
                        <xs:enumeration value="13.03"/>
5797
                        <xs:enumeration value="13.04"/>
5798
                        <xs:enumeration value="13.05"/>
5799
                        <xs:enumeration value="14.01"/>
5800
                        <xs:enumeration value="14.02"/>
5801
                        <xs:enumeration value="14.03"/>
5802
                        <xs:enumeration value="14.04"/>
5803
                        <xs:enumeration value="14.05"/>
5804
                        <xs:enumeration value="14.06"/>
5805
                        <xs:enumeration value="14.07"/>
5806
                        <xs:enumeration value="14.08"/>
5807
                        <xs:enumeration value="14.09"/>
5808
                        <xs:enumeration value="14.10"/>
5809
                        <xs:enumeration value="14.11"/>
5810
                        <xs:enumeration value="14.12"/>
5811
                        <xs:enumeration value="14.13"/>
5812
                        <xs:enumeration value="15.01"/>
5813
                        <xs:enumeration value="15.02"/>
5814
                        <xs:enumeration value="15.03"/>
5815
                        <xs:enumeration value="15.04"/>
5816
                        <xs:enumeration value="15.05"/>
5817
                        <xs:enumeration value="15.06"/>
5818
                        <xs:enumeration value="15.07"/>
5819
                        <xs:enumeration value="15.08"/>
5820
                        <xs:enumeration value="15.09"/>
5821
                        <xs:enumeration value="15.10"/>
5822
                        <xs:enumeration value="15.11"/>
5823
                        <xs:enumeration value="15.12"/>
5824
                        <xs:enumeration value="15.13"/>
5825
                        <xs:enumeration value="15.14"/>
5826
                        <xs:enumeration value="15.15"/>
5827
                        <xs:enumeration value="15.16"/>
5828
                        <xs:enumeration value="15.17"/>
5829
                        <xs:enumeration value="15.18"/>
5830
                        <xs:enumeration value="16.01"/>
5831
                        <xs:enumeration value="17.01"/>
5832
                        <xs:enumeration value="17.02"/>
5833
                        <xs:enumeration value="17.03"/>
5834
                        <xs:enumeration value="17.04"/>
5835
                        <xs:enumeration value="17.05"/>
5836
                        <xs:enumeration value="17.06"/>
5837
                        <xs:enumeration value="17.08"/>
5838
                        <xs:enumeration value="17.09"/>
5839
                        <xs:enumeration value="17.10"/>
5840
                        <xs:enumeration value="17.11"/>
5841
                        <xs:enumeration value="17.12"/>
5842
                        <xs:enumeration value="17.13"/>
5843
                        <xs:enumeration value="17.14"/>
5844
                        <xs:enumeration value="17.15"/>
5845
                        <xs:enumeration value="17.16"/>
5846
                        <xs:enumeration value="17.17"/>
5847
                        <xs:enumeration value="17.18"/>
5848
                        <xs:enumeration value="17.19"/>
5849
                        <xs:enumeration value="17.20"/>
5850
                        <xs:enumeration value="17.21"/>
5851
                        <xs:enumeration value="17.22"/>
5852
                        <xs:enumeration value="17.23"/>
5853
                        <xs:enumeration value="17.24"/>
5854
                        <xs:enumeration value="18.01"/>
5855
                        <xs:enumeration value="19.01"/>
5856
                        <xs:enumeration value="20.01"/>
5857
                        <xs:enumeration value="20.02"/>
5858
                        <xs:enumeration value="20.03"/>
5859
                        <xs:enumeration value="21.01"/>
5860
                        <xs:enumeration value="22.01"/>
5861
                        <xs:enumeration value="23.01"/>
5862
                        <xs:enumeration value="24.01"/>
5863
                        <xs:enumeration value="25.01"/>
5864
                        <xs:enumeration value="25.02"/>
5865
                        <xs:enumeration value="25.03"/>
5866
                        <xs:enumeration value="25.04"/>
5867
                        <xs:enumeration value="26.01"/>
5868
                        <xs:enumeration value="27.01"/>
5869
                        <xs:enumeration value="28.01"/>
5870
                        <xs:enumeration value="29.01"/>
5871
                        <xs:enumeration value="30.01"/>
5872
                        <xs:enumeration value="31.01"/>
5873
                        <xs:enumeration value="32.01"/>
5874
                        <xs:enumeration value="33.01"/>
5875
                        <xs:enumeration value="34.01"/>
5876
                        <xs:enumeration value="35.01"/>
5877
                        <xs:enumeration value="36.01"/>
5878
                        <xs:enumeration value="37.01"/>
5879
                        <xs:enumeration value="38.01"/>
5880
                        <xs:enumeration value="39.01"/>
5881
                        <xs:enumeration value="40.01"/>
5882
                </xs:restriction>
5883
        </xs:simpleType>
5884
        <xs:simpleType name="TIdLote">
5885
                <xs:annotation>
5886
                        <xs:documentation> Tipo Identificação de Lote</xs:documentation>
5887
                </xs:annotation>
5888
                <xs:restriction base="xs:string">
5889
                        <xs:whiteSpace value="preserve"/>
5890
                        <xs:pattern value="[0-9]{1,15}"/>
5891
                </xs:restriction>
5892
        </xs:simpleType>
5893
        <xs:simpleType name="TVerNFe">
5894
                <xs:annotation>
5895
                        <xs:documentation> Tipo Versão da NF-e - 3.10</xs:documentation>
5896
                </xs:annotation>
5897
                <xs:restriction base="xs:string">
5898
                        <xs:whiteSpace value="preserve"/>
5899
                        <xs:pattern value="3\.10"/>
5900
                </xs:restriction>
5901
        </xs:simpleType>
5902
        <xs:simpleType name="TGuid">
5903
                <xs:annotation>
5904
                        <xs:documentation>Identificador único (Globally Unique Identifier)</xs:documentation>
5905
                </xs:annotation>
5906
                <xs:restriction base="xs:string">
5907
                        <xs:whiteSpace value="preserve"/>
5908
                        <xs:pattern value="[A-F0-9]{8}-[A-F0-9]{4}-[A-F0-9]{4}-[A-F0-9]{4}-[A-F0-9]{12}"/>
5909
                </xs:restriction>
5910
        </xs:simpleType>
5911
        <xs:complexType name="TIpi">
5912
                <xs:annotation>
5913
                        <xs:documentation>Tipo: Dados do IPI</xs:documentation>
5914
                </xs:annotation>
5915
                <xs:sequence>
5916
                        <xs:element name="clEnq" minOccurs="0">
5917
                                <xs:annotation>
5918
                                        <xs:documentation>Classe de Enquadramento do IPI para Cigarros e Bebidas</xs:documentation>
5919
                                </xs:annotation>
5920
                                <xs:simpleType>
5921
                                        <xs:restriction base="TString">
5922
                                                <xs:minLength value="1"/>
5923
                                                <xs:maxLength value="5"/>
5924
                                        </xs:restriction>
5925
                                </xs:simpleType>
5926
                        </xs:element>
5927
                        <xs:element name="CNPJProd" type="TCnpj" minOccurs="0">
5928
                                <xs:annotation>
5929
                                        <xs:documentation>CNPJ do produtor da mercadoria, quando diferente do emitente. Somente para os casos de exportação direta ou indireta.</xs:documentation>
5930
                                </xs:annotation>
5931
                        </xs:element>
5932
                        <xs:element name="cSelo" minOccurs="0">
5933
                                <xs:annotation>
5934
                                        <xs:documentation>Código do selo de controle do IPI </xs:documentation>
5935
                                </xs:annotation>
5936
                                <xs:simpleType>
5937
                                        <xs:restriction base="TString">
5938
                                                <xs:minLength value="1"/>
5939
                                                <xs:maxLength value="60"/>
5940
                                        </xs:restriction>
5941
                                </xs:simpleType>
5942
                        </xs:element>
5943
                        <xs:element name="qSelo" minOccurs="0">
5944
                                <xs:annotation>
5945
                                        <xs:documentation>Quantidade de selo de controle do IPI</xs:documentation>
5946
                                </xs:annotation>
5947
                                <xs:simpleType>
5948
                                        <xs:restriction base="xs:string">
5949
                                                <xs:whiteSpace value="preserve"/>
5950
                                                <xs:pattern value="[0-9]{1,12}"/>
5951
                                        </xs:restriction>
5952
                                </xs:simpleType>
5953
                        </xs:element>
5954
                        <xs:element name="cEnq">
5955
                                <xs:annotation>
5956
                                        <xs:documentation>Código de Enquadramento Legal do IPI (tabela a ser criada pela RFB)</xs:documentation>
5957
                                </xs:annotation>
5958
                                <xs:simpleType>
5959
                                        <xs:restriction base="TString">
5960
                                                <xs:minLength value="1"/>
5961
                                                <xs:maxLength value="3"/>
5962
                                        </xs:restriction>
5963
                                </xs:simpleType>
5964
                        </xs:element>
5965
                        <xs:choice>
5966
                                <xs:element name="IPITrib">
5967
                                        <xs:complexType>
5968
                                                <xs:sequence>
5969
                                                        <xs:element name="CST">
5970
                                                                <xs:annotation>
5971
                                                                        <xs:documentation>Código da Situação Tributária do IPI:
5972
00-Entrada com recuperação de crédito
5973
49 - Outras entradas
5974
50-Saída tributada
5975
99-Outras saídas</xs:documentation>
5976
                                                                </xs:annotation>
5977
                                                                <xs:simpleType>
5978
                                                                        <xs:restriction base="xs:string">
5979
                                                                                <xs:whiteSpace value="preserve"/>
5980
                                                                                <xs:enumeration value="00"/>
5981
                                                                                <xs:enumeration value="49"/>
5982
                                                                                <xs:enumeration value="50"/>
5983
                                                                                <xs:enumeration value="99"/>
5984
                                                                        </xs:restriction>
5985
                                                                </xs:simpleType>
5986
                                                        </xs:element>
5987
                                                        <xs:choice>
5988
                                                                <xs:sequence>
5989
                                                                        <xs:element name="vBC" type="TDec_1302">
5990
                                                                                <xs:annotation>
5991
                                                                                        <xs:documentation>Valor da BC do IPI</xs:documentation>
5992
                                                                                </xs:annotation>
5993
                                                                        </xs:element>
5994
                                                                        <xs:element name="pIPI" type="TDec_0302a04">
5995
                                                                                <xs:annotation>
5996
                                                                                        <xs:documentation>Alíquota do IPI</xs:documentation>
5997
                                                                                </xs:annotation>
5998
                                                                        </xs:element>
5999
                                                                </xs:sequence>
6000
                                                                <xs:sequence>
6001
                                                                        <xs:element name="qUnid" type="TDec_1204v">
6002
                                                                                <xs:annotation>
6003
                                                                                        <xs:documentation>Quantidade total na unidade padrão para tributação </xs:documentation>
6004
                                                                                </xs:annotation>
6005
                                                                        </xs:element>
6006
                                                                        <xs:element name="vUnid" type="TDec_1104">
6007
                                                                                <xs:annotation>
6008
                                                                                        <xs:documentation>Valor por Unidade Tributável. Informar o valor do imposto Pauta por unidade de medida.</xs:documentation>
6009
                                                                                </xs:annotation>
6010
                                                                        </xs:element>
6011
                                                                </xs:sequence>
6012
                                                        </xs:choice>
6013
                                                        <xs:element name="vIPI" type="TDec_1302">
6014
                                                                <xs:annotation>
6015
                                                                        <xs:documentation>Valor do IPI</xs:documentation>
6016
                                                                </xs:annotation>
6017
                                                        </xs:element>
6018
                                                </xs:sequence>
6019
                                        </xs:complexType>
6020
                                </xs:element>
6021
                                <xs:element name="IPINT">
6022
                                        <xs:complexType>
6023
                                                <xs:sequence>
6024
                                                        <xs:element name="CST">
6025
                                                                <xs:annotation>
6026
                                                                        <xs:documentation>Código da Situação Tributária do IPI:
6027
01-Entrada tributada com alíquota zero
6028
02-Entrada isenta
6029
03-Entrada não-tributada
6030
04-Entrada imune
6031
05-Entrada com suspensão
6032
51-Saída tributada com alíquota zero
6033
52-Saída isenta
6034
53-Saída não-tributada
6035
54-Saída imune
6036
55-Saída com suspensão</xs:documentation>
6037
                                                                </xs:annotation>
6038
                                                                <xs:simpleType>
6039
                                                                        <xs:restriction base="xs:string">
6040
                                                                                <xs:whiteSpace value="preserve"/>
6041
                                                                                <xs:enumeration value="01"/>
6042
                                                                                <xs:enumeration value="02"/>
6043
                                                                                <xs:enumeration value="03"/>
6044
                                                                                <xs:enumeration value="04"/>
6045
                                                                                <xs:enumeration value="05"/>
6046
                                                                                <xs:enumeration value="51"/>
6047
                                                                                <xs:enumeration value="52"/>
6048
                                                                                <xs:enumeration value="53"/>
6049
                                                                                <xs:enumeration value="54"/>
6050
                                                                                <xs:enumeration value="55"/>
6051
                                                                        </xs:restriction>
6052
                                                                </xs:simpleType>
6053
                                                        </xs:element>
6054
                                                </xs:sequence>
6055
                                        </xs:complexType>
6056
                                </xs:element>
6057
                        </xs:choice>
6058
                </xs:sequence>
6059
        </xs:complexType>
6060
</xs:schema>