Subversion Repositories Integrator Subversion

Rev

Details | Last modification | View Log | RSS feed

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