Subversion Repositories Integrator Subversion

Rev

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

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