@useinvio/nfse-sdk 1.0.3 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/certificateValidation.d.ts +7 -0
- package/dist/certificateValidation.js +27 -0
- package/dist/certificateValidation.js.map +1 -0
- package/dist/dpsJson.js +2 -2
- package/dist/dpsJson.js.map +1 -1
- package/dist/emissaoNota.d.ts +9 -0
- package/dist/emissaoNota.js +34 -24
- package/dist/emissaoNota.js.map +1 -1
- package/dist/fiscalValidation.d.ts +26 -3
- package/dist/fiscalValidation.js +159 -10
- package/dist/fiscalValidation.js.map +1 -1
- package/dist/index.d.ts +7 -4
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/sefinClient.d.ts +8 -4
- package/dist/sefinClient.js +15 -4
- package/dist/sefinClient.js.map +1 -1
- package/dist/xsdValidation.d.ts +17 -0
- package/dist/xsdValidation.js +99 -0
- package/dist/xsdValidation.js.map +1 -0
- package/docs/METRICS.md +49 -5
- package/llms.txt +3 -3
- package/package.json +4 -2
- package/schemas/nfse/v1.01/Schemas/1.00/CNC_v1.00.xsd +13 -0
- package/schemas/nfse/v1.01/Schemas/1.00/DPS_v1.00.xsd +13 -0
- package/schemas/nfse/v1.01/Schemas/1.00/NFSe_v1.00.xsd +14 -0
- package/schemas/nfse/v1.01/Schemas/1.00/evento_v1.00.xsd +15 -0
- package/schemas/nfse/v1.01/Schemas/1.00/pedRegEvento_v1.00.xsd +15 -0
- package/schemas/nfse/v1.01/Schemas/1.00/tiposCnc_v1.00.xsd +181 -0
- package/schemas/nfse/v1.01/Schemas/1.00/tiposComplexos_v1.00.xsd +1828 -0
- package/schemas/nfse/v1.01/Schemas/1.00/tiposEventos_v1.00.xsd +733 -0
- package/schemas/nfse/v1.01/Schemas/1.00/tiposSimples_v1.00.xsd +1658 -0
- package/schemas/nfse/v1.01/Schemas/1.00/xmldsig-core-schema.xsd +92 -0
- package/schemas/nfse/v1.01/Schemas/1.01/CNC_v1.00.xsd +14 -0
- package/schemas/nfse/v1.01/Schemas/1.01/DPS_v1.01.xsd +14 -0
- package/schemas/nfse/v1.01/Schemas/1.01/NFSe_v1.01.xsd +15 -0
- package/schemas/nfse/v1.01/Schemas/1.01/evento_v1.01.xsd +15 -0
- package/schemas/nfse/v1.01/Schemas/1.01/pedRegEvento_v1.01.xsd +15 -0
- package/schemas/nfse/v1.01/Schemas/1.01/tiposCnc_v1.00.xsd +166 -0
- package/schemas/nfse/v1.01/Schemas/1.01/tiposComplexos_v1.01.xsd +2709 -0
- package/schemas/nfse/v1.01/Schemas/1.01/tiposEventos_v1.01.xsd +780 -0
- package/schemas/nfse/v1.01/Schemas/1.01/tiposSimples_v1.01.xsd +1844 -0
- package/schemas/nfse/v1.01/Schemas/1.01/xmldsig-core-schema.xsd +318 -0
|
@@ -0,0 +1,733 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
3
|
+
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
|
|
4
|
+
targetNamespace="http://www.sped.fazenda.gov.br/nfse"
|
|
5
|
+
xmlns="http://www.sped.fazenda.gov.br/nfse"
|
|
6
|
+
attributeFormDefault="unqualified"
|
|
7
|
+
elementFormDefault="qualified">
|
|
8
|
+
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
|
|
9
|
+
<xs:include schemaLocation="tiposComplexos_v1.00.xsd"/>
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
<!--TIPO COMPLEXO PARA EVENTO -->
|
|
13
|
+
<xs:complexType name="TCEvento">
|
|
14
|
+
<xs:sequence>
|
|
15
|
+
<xs:element name="infEvento" type="TCInfEvento"/>
|
|
16
|
+
<xs:element ref="ds:Signature"/>
|
|
17
|
+
</xs:sequence>
|
|
18
|
+
<xs:attribute name="versao" type="TVerNFSe" use="required"/>
|
|
19
|
+
</xs:complexType>
|
|
20
|
+
|
|
21
|
+
<!--TIPO COMPLEXO PARA INFORMAÇÕES DO EVENTO-->
|
|
22
|
+
<xs:complexType name="TCInfEvento">
|
|
23
|
+
<xs:sequence>
|
|
24
|
+
<xs:element name="verAplic" type="TSVerAplic" minOccurs="0">
|
|
25
|
+
<xs:annotation>
|
|
26
|
+
<xs:documentation>Versão do aplicativo que gerou o pedido do evento.</xs:documentation>
|
|
27
|
+
</xs:annotation>
|
|
28
|
+
</xs:element>
|
|
29
|
+
<xs:element name="ambGer" type="TSAmbGeradorEvt">
|
|
30
|
+
<xs:annotation>
|
|
31
|
+
<xs:documentation>Ambiente gerador do evento</xs:documentation>
|
|
32
|
+
</xs:annotation>
|
|
33
|
+
</xs:element>
|
|
34
|
+
<xs:element name="nSeqEvento" type="TSNum3Dig">
|
|
35
|
+
<xs:annotation>
|
|
36
|
+
<xs:documentation>Sequencial do evento para o mesmo tipo de evento. Para maioria dos eventos nSeqEvento=1. Nos casos em que possa existir mais de um evento do mesmo tipo o ambiente gerador deverá numerar de forma sequencial.</xs:documentation>
|
|
37
|
+
</xs:annotation>
|
|
38
|
+
</xs:element>
|
|
39
|
+
<xs:element name="dhProc" type="TSDateTimeUTC">
|
|
40
|
+
<xs:annotation>
|
|
41
|
+
<xs:documentation>
|
|
42
|
+
Data/Hora do registro do evento.
|
|
43
|
+
Data e hora no formato UTC (Universal Coordinated Time): AAAA-MM-DDThh:mm:ssTZD"
|
|
44
|
+
</xs:documentation>
|
|
45
|
+
</xs:annotation>
|
|
46
|
+
</xs:element>
|
|
47
|
+
<xs:element name="nDFSe" type="TSNumDFe">
|
|
48
|
+
<xs:annotation>
|
|
49
|
+
<xs:documentation>Ambiente gerador do evento</xs:documentation>
|
|
50
|
+
</xs:annotation>
|
|
51
|
+
</xs:element>
|
|
52
|
+
<xs:element name="pedRegEvento" type="TCPedRegEvt">
|
|
53
|
+
<xs:annotation>
|
|
54
|
+
<xs:documentation>Leiaute do pedido de registro do evento gerado pelo autor do evento</xs:documentation>
|
|
55
|
+
</xs:annotation>
|
|
56
|
+
</xs:element>
|
|
57
|
+
</xs:sequence>
|
|
58
|
+
<xs:attribute name="Id" type="TSIdEvento" use="required"/>
|
|
59
|
+
</xs:complexType>
|
|
60
|
+
|
|
61
|
+
<!--TIPO COMPLEXO PEDIDO DE REGISTRO DE EVENTO -->
|
|
62
|
+
<xs:complexType name="TCPedRegEvt">
|
|
63
|
+
<xs:sequence>
|
|
64
|
+
<xs:element name="infPedReg" type="TCInfPedReg"/>
|
|
65
|
+
<xs:element ref="ds:Signature" minOccurs="0"/>
|
|
66
|
+
</xs:sequence>
|
|
67
|
+
<xs:attribute name="versao" type="TVerNFSe" use="required"/>
|
|
68
|
+
</xs:complexType>
|
|
69
|
+
|
|
70
|
+
<!--TIPO COMPLEXO PARA AS INFORMAÇÕES DO PEDIDO DE REGISTRO DE EVENTO -->
|
|
71
|
+
<xs:complexType name="TCInfPedReg">
|
|
72
|
+
<xs:sequence>
|
|
73
|
+
<xs:element name="tpAmb" type="TSTipoAmbiente">
|
|
74
|
+
<xs:annotation>
|
|
75
|
+
<xs:documentation>Identificação do Ambiente: 1 - Produção; 2 - Homologação</xs:documentation>
|
|
76
|
+
</xs:annotation>
|
|
77
|
+
</xs:element>
|
|
78
|
+
<xs:element name="verAplic" type="TSVerAplic">
|
|
79
|
+
<xs:annotation>
|
|
80
|
+
<xs:documentation>Versão do aplicativo que gerou o pedido de registro de evento.</xs:documentation>
|
|
81
|
+
</xs:annotation>
|
|
82
|
+
</xs:element>
|
|
83
|
+
<xs:element name="dhEvento" type="TSDateTimeUTC">
|
|
84
|
+
<xs:annotation>
|
|
85
|
+
<xs:documentation>
|
|
86
|
+
Data e hora do evento no formato AAAA-MM-DDThh:mm:ssTZD (UTC - Universal Coordinated Time, onde TZD pode ser -02:00 (Fernando de Noronha), -03:00 (Brasília) ou -04:00 (Manaus), no horário de verão serão -01:00, -02:00 e -03:00.
|
|
87
|
+
Ex.: 2010-08-19T13:00:15-03:00.
|
|
88
|
+
</xs:documentation>
|
|
89
|
+
</xs:annotation>
|
|
90
|
+
</xs:element>
|
|
91
|
+
<xs:choice>
|
|
92
|
+
<xs:annotation>
|
|
93
|
+
<xs:documentation>Identificação do Autor do Pedido de Evento</xs:documentation>
|
|
94
|
+
</xs:annotation>
|
|
95
|
+
<xs:element name="CNPJAutor" type="TSCNPJ">
|
|
96
|
+
<xs:annotation>
|
|
97
|
+
<xs:documentation>CNPJ do autor do evento.</xs:documentation>
|
|
98
|
+
</xs:annotation>
|
|
99
|
+
</xs:element>
|
|
100
|
+
<xs:element name="CPFAutor" type="TSCPF">
|
|
101
|
+
<xs:annotation>
|
|
102
|
+
<xs:documentation>CPF do autor do evento.</xs:documentation>
|
|
103
|
+
</xs:annotation>
|
|
104
|
+
</xs:element>
|
|
105
|
+
</xs:choice>
|
|
106
|
+
<xs:element name="chNFSe" type="TSChaveNFSe">
|
|
107
|
+
<xs:annotation>
|
|
108
|
+
<xs:documentation>Chave de Acesso da NFS-e vinculada ao Evento</xs:documentation>
|
|
109
|
+
</xs:annotation>
|
|
110
|
+
</xs:element>
|
|
111
|
+
<xs:choice>
|
|
112
|
+
<xs:element name="e101101" type="TE101101">
|
|
113
|
+
<xs:annotation>
|
|
114
|
+
<xs:documentation>Evento de cancelamento</xs:documentation>
|
|
115
|
+
</xs:annotation>
|
|
116
|
+
</xs:element>
|
|
117
|
+
<xs:element name="e105102" type="TE105102">
|
|
118
|
+
<xs:annotation>
|
|
119
|
+
<xs:documentation>Evento de cancelamento por substituição</xs:documentation>
|
|
120
|
+
</xs:annotation>
|
|
121
|
+
</xs:element>
|
|
122
|
+
<xs:element name="e101103" type="TE101103">
|
|
123
|
+
<xs:annotation>
|
|
124
|
+
<xs:documentation>Solicitação de Análise Fiscal para Cancelamento de NFS-e</xs:documentation>
|
|
125
|
+
</xs:annotation>
|
|
126
|
+
</xs:element>
|
|
127
|
+
<xs:element name="e105104" type="TE105104">
|
|
128
|
+
<xs:annotation>
|
|
129
|
+
<xs:documentation>Cancelamento de NFS-e Deferido por Análise Fiscal</xs:documentation>
|
|
130
|
+
</xs:annotation>
|
|
131
|
+
</xs:element>
|
|
132
|
+
<xs:element name="e105105" type="TE105105">
|
|
133
|
+
<xs:annotation>
|
|
134
|
+
<xs:documentation>Cancelamento de NFS-e Indeferido por Análise Fiscal</xs:documentation>
|
|
135
|
+
</xs:annotation>
|
|
136
|
+
</xs:element>
|
|
137
|
+
|
|
138
|
+
<xs:element name="e202201" type="TE202201">
|
|
139
|
+
<xs:annotation>
|
|
140
|
+
<xs:documentation>Confirmação do Prestador</xs:documentation>
|
|
141
|
+
</xs:annotation>
|
|
142
|
+
</xs:element>
|
|
143
|
+
<xs:element name="e203202" type="TE203202">
|
|
144
|
+
<xs:annotation>
|
|
145
|
+
<xs:documentation>Confirmação do Tomador</xs:documentation>
|
|
146
|
+
</xs:annotation>
|
|
147
|
+
</xs:element>
|
|
148
|
+
<xs:element name="e204203" type="TE204203">
|
|
149
|
+
<xs:annotation>
|
|
150
|
+
<xs:documentation>Confirmação do Intermediário</xs:documentation>
|
|
151
|
+
</xs:annotation>
|
|
152
|
+
</xs:element>
|
|
153
|
+
<xs:element name="e205204" type="TE205204">
|
|
154
|
+
<xs:annotation>
|
|
155
|
+
<xs:documentation>Confirmação Tácita</xs:documentation>
|
|
156
|
+
</xs:annotation>
|
|
157
|
+
</xs:element>
|
|
158
|
+
<xs:element name="e202205" type="TE202205">
|
|
159
|
+
<xs:annotation>
|
|
160
|
+
<xs:documentation>Rejeição do Prestador</xs:documentation>
|
|
161
|
+
</xs:annotation>
|
|
162
|
+
</xs:element>
|
|
163
|
+
<xs:element name="e203206" type="TE203206">
|
|
164
|
+
<xs:annotation>
|
|
165
|
+
<xs:documentation>Rejeição do Tomador</xs:documentation>
|
|
166
|
+
</xs:annotation>
|
|
167
|
+
</xs:element>
|
|
168
|
+
<xs:element name="e204207" type="TE204207">
|
|
169
|
+
<xs:annotation>
|
|
170
|
+
<xs:documentation>Rejeição do Intermediário</xs:documentation>
|
|
171
|
+
</xs:annotation>
|
|
172
|
+
</xs:element>
|
|
173
|
+
<xs:element name="e205208" type="TE205208">
|
|
174
|
+
<xs:annotation>
|
|
175
|
+
<xs:documentation>Anulação da Rejeição</xs:documentation>
|
|
176
|
+
</xs:annotation>
|
|
177
|
+
</xs:element>
|
|
178
|
+
|
|
179
|
+
<xs:element name="e305101" type="TE305101">
|
|
180
|
+
<xs:annotation>
|
|
181
|
+
<xs:documentation>Cancelamento de NFS-e por Ofício</xs:documentation>
|
|
182
|
+
</xs:annotation>
|
|
183
|
+
</xs:element>
|
|
184
|
+
<xs:element name="e305102" type="TE305102">
|
|
185
|
+
<xs:annotation>
|
|
186
|
+
<xs:documentation>Bloqueio de NFS-e por Ofício</xs:documentation>
|
|
187
|
+
</xs:annotation>
|
|
188
|
+
</xs:element>
|
|
189
|
+
<xs:element name="e305103" type="TE305103">
|
|
190
|
+
<xs:annotation>
|
|
191
|
+
<xs:documentation>Desbloqueio de NFS-e por Ofício</xs:documentation>
|
|
192
|
+
</xs:annotation>
|
|
193
|
+
</xs:element>
|
|
194
|
+
</xs:choice>
|
|
195
|
+
</xs:sequence>
|
|
196
|
+
<xs:attribute name="Id" type="TSIdPedRefEvt" use="required"/>
|
|
197
|
+
</xs:complexType>
|
|
198
|
+
|
|
199
|
+
<!--TIPO COMPLEXO PARA O EVENTO DE CANCELAMENTO-->
|
|
200
|
+
<xs:complexType name="TE101101">
|
|
201
|
+
<xs:sequence>
|
|
202
|
+
<xs:element name="xDesc">
|
|
203
|
+
<xs:annotation>
|
|
204
|
+
<xs:documentation>
|
|
205
|
+
Descrição do Evento: Descrição do evento: "Cancelamento de NFS-e".
|
|
206
|
+
</xs:documentation>
|
|
207
|
+
</xs:annotation>
|
|
208
|
+
<xs:simpleType>
|
|
209
|
+
<xs:restriction base="xs:string">
|
|
210
|
+
<xs:whiteSpace value="preserve"/>
|
|
211
|
+
<xs:enumeration value="Cancelamento de NFS-e"/>
|
|
212
|
+
</xs:restriction>
|
|
213
|
+
</xs:simpleType>
|
|
214
|
+
</xs:element>
|
|
215
|
+
<xs:element name="cMotivo" type="TSCodJustCanc">
|
|
216
|
+
<xs:annotation>
|
|
217
|
+
<xs:documentation>Código de justificativa de cancelamento</xs:documentation>
|
|
218
|
+
</xs:annotation>
|
|
219
|
+
</xs:element>
|
|
220
|
+
<xs:element name="xMotivo" type="TSMotivo">
|
|
221
|
+
<xs:annotation>
|
|
222
|
+
<xs:documentation>Descrição para explicitar o motivo indicado neste evento</xs:documentation>
|
|
223
|
+
</xs:annotation>
|
|
224
|
+
</xs:element>
|
|
225
|
+
</xs:sequence>
|
|
226
|
+
</xs:complexType>
|
|
227
|
+
|
|
228
|
+
<!--TIPO COMPLEXO PARA O EVENTO DE CANCELAMENTO POR SUBSTITUIÇÃO-->
|
|
229
|
+
<xs:complexType name="TE105102">
|
|
230
|
+
<xs:sequence>
|
|
231
|
+
<xs:element name="xDesc">
|
|
232
|
+
<xs:annotation>
|
|
233
|
+
<xs:documentation>
|
|
234
|
+
Descrição do Evento: Descrição do evento: "Cancelamento de NFS-e por Substituição".
|
|
235
|
+
</xs:documentation>
|
|
236
|
+
</xs:annotation>
|
|
237
|
+
<xs:simpleType>
|
|
238
|
+
<xs:restriction base="xs:string">
|
|
239
|
+
<xs:whiteSpace value="preserve"/>
|
|
240
|
+
<xs:enumeration value="Cancelamento de NFS-e por Substituicao"/>
|
|
241
|
+
</xs:restriction>
|
|
242
|
+
</xs:simpleType>
|
|
243
|
+
</xs:element>
|
|
244
|
+
<xs:element name="cMotivo" type="TSCodJustSubst">
|
|
245
|
+
<xs:annotation>
|
|
246
|
+
<xs:documentation>Código de justificativa de cancelamento substituição</xs:documentation>
|
|
247
|
+
</xs:annotation>
|
|
248
|
+
</xs:element>
|
|
249
|
+
<xs:element name="xMotivo" type="TSMotivo" minOccurs="0">
|
|
250
|
+
<xs:annotation>
|
|
251
|
+
<xs:documentation>Descrição para explicitar o motivo indicado neste evento</xs:documentation>
|
|
252
|
+
</xs:annotation>
|
|
253
|
+
</xs:element>
|
|
254
|
+
<xs:element name="chSubstituta" type="TSChaveNFSe">
|
|
255
|
+
<xs:annotation>
|
|
256
|
+
<xs:documentation>Chave de Acesso da NFS-e substituta.</xs:documentation>
|
|
257
|
+
</xs:annotation>
|
|
258
|
+
</xs:element>
|
|
259
|
+
</xs:sequence>
|
|
260
|
+
</xs:complexType>
|
|
261
|
+
|
|
262
|
+
<!--TIPO COMPLEXO PARA O EVENTO DE SOLICITAÇÃO DE ANÁLISE FISCAL PARA CANCELAMENTO DE NFS-E-->
|
|
263
|
+
<xs:complexType name="TE101103">
|
|
264
|
+
<xs:sequence>
|
|
265
|
+
<xs:element name="xDesc">
|
|
266
|
+
<xs:annotation>
|
|
267
|
+
<xs:documentation>
|
|
268
|
+
Descrição do evento: "Solicitação de Análise Fiscal para Cancelamento de NFS-e"
|
|
269
|
+
</xs:documentation>
|
|
270
|
+
</xs:annotation>
|
|
271
|
+
<xs:simpleType>
|
|
272
|
+
<xs:restriction base="xs:string">
|
|
273
|
+
<xs:whiteSpace value="preserve"/>
|
|
274
|
+
<xs:enumeration value="Solicitacao de Analise Fiscal para Cancelamento de NFS-e"/>
|
|
275
|
+
</xs:restriction>
|
|
276
|
+
</xs:simpleType>
|
|
277
|
+
</xs:element>
|
|
278
|
+
<xs:element name="cMotivo" type="TSCodJustAnaliseFiscalCanc">
|
|
279
|
+
<xs:annotation>
|
|
280
|
+
<xs:documentation>Código do motivo da solicitação de análise fiscal para cancelamento de NFS-e:</xs:documentation>
|
|
281
|
+
</xs:annotation>
|
|
282
|
+
</xs:element>
|
|
283
|
+
<xs:element name="xMotivo" type="TSMotivo">
|
|
284
|
+
<xs:annotation>
|
|
285
|
+
<xs:documentation>Descrição para explicitar o motivo indicado neste evento</xs:documentation>
|
|
286
|
+
</xs:annotation>
|
|
287
|
+
</xs:element>
|
|
288
|
+
</xs:sequence>
|
|
289
|
+
</xs:complexType>
|
|
290
|
+
|
|
291
|
+
<!--TIPO COMPLEXO PARA O EVENTO DE CANCELAMENTO DE NFS-E DEFERIDO POR ANÁLISE FISCAL-->
|
|
292
|
+
<xs:complexType name="TE105104">
|
|
293
|
+
<xs:sequence>
|
|
294
|
+
<xs:element name="xDesc">
|
|
295
|
+
<xs:annotation>
|
|
296
|
+
<xs:documentation>
|
|
297
|
+
Descrição do evento: "Cancelamento de NFS-e Deferido por Análise Fiscal"
|
|
298
|
+
</xs:documentation>
|
|
299
|
+
</xs:annotation>
|
|
300
|
+
<xs:simpleType>
|
|
301
|
+
<xs:restriction base="xs:string">
|
|
302
|
+
<xs:whiteSpace value="preserve"/>
|
|
303
|
+
<xs:enumeration value="Cancelamento de NFS-e Deferido por Análise Fiscal"/>
|
|
304
|
+
</xs:restriction>
|
|
305
|
+
</xs:simpleType>
|
|
306
|
+
</xs:element>
|
|
307
|
+
<xs:element name="CPFAgTrib" type="TSCPF">
|
|
308
|
+
<xs:annotation>
|
|
309
|
+
<xs:documentation>
|
|
310
|
+
CPF do agente da administração tributária municipal que efetuou o deferimento da solicitação de análise fiscal para cancelamento de NFS-e.
|
|
311
|
+
</xs:documentation>
|
|
312
|
+
</xs:annotation>
|
|
313
|
+
</xs:element>
|
|
314
|
+
<xs:element name="nProcAdm" type="TSNumProcAdmAnaliseFiscalCanc" minOccurs="0">
|
|
315
|
+
<xs:annotation>
|
|
316
|
+
<xs:documentation>
|
|
317
|
+
Número do processo administrativo municipal vinculado à solicitação de análise fiscal para cancelamento de NFS-e.
|
|
318
|
+
</xs:documentation>
|
|
319
|
+
</xs:annotation>
|
|
320
|
+
</xs:element>
|
|
321
|
+
<xs:element name="cMotivo" type="TSCodJustAnaliseFiscalCancDef">
|
|
322
|
+
<xs:annotation>
|
|
323
|
+
<xs:documentation>
|
|
324
|
+
Resposta da solicitação de análise fiscal para cancelamento de NFS-e:
|
|
325
|
+
1 - Cancelamento de NFS-e Deferido.
|
|
326
|
+
</xs:documentation>
|
|
327
|
+
</xs:annotation>
|
|
328
|
+
</xs:element>
|
|
329
|
+
<xs:element name="xMotivo" type="TSMotivo">
|
|
330
|
+
<xs:annotation>
|
|
331
|
+
<xs:documentation>
|
|
332
|
+
Descrição para explicitar o motivo indicado neste evento
|
|
333
|
+
</xs:documentation>
|
|
334
|
+
</xs:annotation>
|
|
335
|
+
</xs:element>
|
|
336
|
+
</xs:sequence>
|
|
337
|
+
</xs:complexType>
|
|
338
|
+
|
|
339
|
+
<!--TIPO COMPLEXO PARA O EVENTO DE CANCELAMENTO DE NFS-E INDEFERIDO POR ANÁLISE FISCAL-->
|
|
340
|
+
<xs:complexType name="TE105105">
|
|
341
|
+
<xs:sequence>
|
|
342
|
+
<xs:element name="xDesc">
|
|
343
|
+
<xs:annotation>
|
|
344
|
+
<xs:documentation>
|
|
345
|
+
Descrição do evento: "Cancelamento de NFS-e Indeferido por Análise Fiscal".
|
|
346
|
+
</xs:documentation>
|
|
347
|
+
</xs:annotation>
|
|
348
|
+
<xs:simpleType>
|
|
349
|
+
<xs:restriction base="xs:string">
|
|
350
|
+
<xs:whiteSpace value="preserve"/>
|
|
351
|
+
<xs:enumeration value="Cancelamento de NFS-e Indeferido por Análise Fiscal"/>
|
|
352
|
+
</xs:restriction>
|
|
353
|
+
</xs:simpleType>
|
|
354
|
+
</xs:element>
|
|
355
|
+
<xs:element name="CPFAgTrib" type="TSCPF">
|
|
356
|
+
<xs:annotation>
|
|
357
|
+
<xs:documentation>
|
|
358
|
+
CPF do agente da administração tributária municipal que efetuou o indeferimento da solicitação de análise fiscal para cancelamento de NFS-e.
|
|
359
|
+
</xs:documentation>
|
|
360
|
+
</xs:annotation>
|
|
361
|
+
</xs:element>
|
|
362
|
+
<xs:element name="nProcAdm" type="TSNumProcAdmAnaliseFiscalCanc" minOccurs="0">
|
|
363
|
+
<xs:annotation>
|
|
364
|
+
<xs:documentation>
|
|
365
|
+
Número do processo administrativo municipal vinculado à solicitação de análise fiscal para cancelamento de NFS-e.
|
|
366
|
+
</xs:documentation>
|
|
367
|
+
</xs:annotation>
|
|
368
|
+
</xs:element>
|
|
369
|
+
<xs:element name="cMotivo" type="TSCodJustAnaliseFiscalCancIndef">
|
|
370
|
+
<xs:annotation>
|
|
371
|
+
<xs:documentation>
|
|
372
|
+
Resposta da solicitação de análise fiscal para cancelamento de NFS-e:
|
|
373
|
+
1 - Cancelamento de NFS-e Indeferido;
|
|
374
|
+
2 - Cancelamento de NFS-e Indeferido Sem Análise de Mérito.
|
|
375
|
+
</xs:documentation>
|
|
376
|
+
</xs:annotation>
|
|
377
|
+
</xs:element>
|
|
378
|
+
<xs:element name="xMotivo" type="TSMotivo">
|
|
379
|
+
<xs:annotation>
|
|
380
|
+
<xs:documentation>Descrição para explicitar o motivo indicado neste evento</xs:documentation>
|
|
381
|
+
</xs:annotation>
|
|
382
|
+
</xs:element>
|
|
383
|
+
</xs:sequence>
|
|
384
|
+
</xs:complexType>
|
|
385
|
+
|
|
386
|
+
<!--TIPO COMPLEXO PARA O EVENTO DE CONFIRMAÇÃO DO PRESTADOR-->
|
|
387
|
+
<xs:complexType name="TE202201">
|
|
388
|
+
<xs:sequence>
|
|
389
|
+
<xs:element name="xDesc">
|
|
390
|
+
<xs:annotation>
|
|
391
|
+
<xs:documentation>
|
|
392
|
+
Descrição do evento: "Confirmação do Prestador".
|
|
393
|
+
</xs:documentation>
|
|
394
|
+
</xs:annotation>
|
|
395
|
+
<xs:simpleType>
|
|
396
|
+
<xs:restriction base="xs:string">
|
|
397
|
+
<xs:whiteSpace value="preserve"/>
|
|
398
|
+
<xs:enumeration value="Confirmação do Prestador"/>
|
|
399
|
+
</xs:restriction>
|
|
400
|
+
</xs:simpleType>
|
|
401
|
+
</xs:element>
|
|
402
|
+
</xs:sequence>
|
|
403
|
+
</xs:complexType>
|
|
404
|
+
|
|
405
|
+
<!--TIPO COMPLEXO PARA O EVENTO DE CONFIRMAÇÃO DO TOMADOR-->
|
|
406
|
+
<xs:complexType name="TE203202">
|
|
407
|
+
<xs:sequence>
|
|
408
|
+
<xs:element name="xDesc">
|
|
409
|
+
<xs:annotation>
|
|
410
|
+
<xs:documentation>
|
|
411
|
+
Descrição do evento: "Confirmação do Tomador".
|
|
412
|
+
</xs:documentation>
|
|
413
|
+
</xs:annotation>
|
|
414
|
+
<xs:simpleType>
|
|
415
|
+
<xs:restriction base="xs:string">
|
|
416
|
+
<xs:whiteSpace value="preserve"/>
|
|
417
|
+
<xs:enumeration value="Confirmação do Tomador"/>
|
|
418
|
+
</xs:restriction>
|
|
419
|
+
</xs:simpleType>
|
|
420
|
+
</xs:element>
|
|
421
|
+
</xs:sequence>
|
|
422
|
+
</xs:complexType>
|
|
423
|
+
|
|
424
|
+
<!--TIPO COMPLEXO PARA O EVENTO DE CONFIRMAÇÃO DO INTERMEDIÁRIO-->
|
|
425
|
+
<xs:complexType name="TE204203">
|
|
426
|
+
<xs:sequence>
|
|
427
|
+
<xs:element name="xDesc">
|
|
428
|
+
<xs:annotation>
|
|
429
|
+
<xs:documentation>
|
|
430
|
+
Descrição do evento: "Confirmação do Intermediário".
|
|
431
|
+
</xs:documentation>
|
|
432
|
+
</xs:annotation>
|
|
433
|
+
<xs:simpleType>
|
|
434
|
+
<xs:restriction base="xs:string">
|
|
435
|
+
<xs:whiteSpace value="preserve"/>
|
|
436
|
+
<xs:enumeration value="Confirmação do Intermediário"/>
|
|
437
|
+
</xs:restriction>
|
|
438
|
+
</xs:simpleType>
|
|
439
|
+
</xs:element>
|
|
440
|
+
</xs:sequence>
|
|
441
|
+
</xs:complexType>
|
|
442
|
+
|
|
443
|
+
<!--TIPO COMPLEXO PARA O EVENTO DE CONFIRMAÇÃO TÁCITA-->
|
|
444
|
+
<xs:complexType name="TE205204">
|
|
445
|
+
<xs:sequence>
|
|
446
|
+
<xs:element name="xDesc">
|
|
447
|
+
<xs:annotation>
|
|
448
|
+
<xs:documentation>
|
|
449
|
+
Descrição do evento: "Confirmação Tácita".
|
|
450
|
+
</xs:documentation>
|
|
451
|
+
</xs:annotation>
|
|
452
|
+
<xs:simpleType>
|
|
453
|
+
<xs:restriction base="xs:string">
|
|
454
|
+
<xs:whiteSpace value="preserve"/>
|
|
455
|
+
<xs:enumeration value="Confirmação Tácita"/>
|
|
456
|
+
</xs:restriction>
|
|
457
|
+
</xs:simpleType>
|
|
458
|
+
</xs:element>
|
|
459
|
+
</xs:sequence>
|
|
460
|
+
</xs:complexType>
|
|
461
|
+
|
|
462
|
+
<!--TIPO COMPLEXO PARA O EVENTO DE REJEIÇÃO DO PRESTADOR-->
|
|
463
|
+
<xs:complexType name="TE202205">
|
|
464
|
+
<xs:sequence>
|
|
465
|
+
<xs:element name="xDesc">
|
|
466
|
+
<xs:annotation>
|
|
467
|
+
<xs:documentation>
|
|
468
|
+
Descrição do evento: "Rejeição do Prestador".
|
|
469
|
+
</xs:documentation>
|
|
470
|
+
</xs:annotation>
|
|
471
|
+
<xs:simpleType>
|
|
472
|
+
<xs:restriction base="xs:string">
|
|
473
|
+
<xs:whiteSpace value="preserve"/>
|
|
474
|
+
<xs:enumeration value="Rejeição do Prestador"/>
|
|
475
|
+
</xs:restriction>
|
|
476
|
+
</xs:simpleType>
|
|
477
|
+
</xs:element>
|
|
478
|
+
<xs:element name="infRej" type="TCInfoEventoRejeicao">
|
|
479
|
+
<xs:annotation>
|
|
480
|
+
<xs:documentation>
|
|
481
|
+
</xs:documentation>
|
|
482
|
+
</xs:annotation>
|
|
483
|
+
</xs:element>
|
|
484
|
+
</xs:sequence>
|
|
485
|
+
</xs:complexType>
|
|
486
|
+
|
|
487
|
+
<!--TIPO COMPLEXO PARA O EVENTO DE REJEIÇÃO DO TOMADOR-->
|
|
488
|
+
<xs:complexType name="TE203206">
|
|
489
|
+
<xs:sequence>
|
|
490
|
+
<xs:element name="xDesc">
|
|
491
|
+
<xs:annotation>
|
|
492
|
+
<xs:documentation>
|
|
493
|
+
Descrição do evento: "Rejeição do Tomador".
|
|
494
|
+
</xs:documentation>
|
|
495
|
+
</xs:annotation>
|
|
496
|
+
<xs:simpleType>
|
|
497
|
+
<xs:restriction base="xs:string">
|
|
498
|
+
<xs:whiteSpace value="preserve"/>
|
|
499
|
+
<xs:enumeration value="Rejeição do Tomador"/>
|
|
500
|
+
</xs:restriction>
|
|
501
|
+
</xs:simpleType>
|
|
502
|
+
</xs:element>
|
|
503
|
+
<xs:element name="infRej" type="TCInfoEventoRejeicao">
|
|
504
|
+
<xs:annotation>
|
|
505
|
+
<xs:documentation>
|
|
506
|
+
</xs:documentation>
|
|
507
|
+
</xs:annotation>
|
|
508
|
+
</xs:element>
|
|
509
|
+
</xs:sequence>
|
|
510
|
+
</xs:complexType>
|
|
511
|
+
|
|
512
|
+
<!--TIPO COMPLEXO PARA O EVENTO DE REJEIÇÃO DO INTERMEDIÁRIO-->
|
|
513
|
+
<xs:complexType name="TE204207">
|
|
514
|
+
<xs:sequence>
|
|
515
|
+
<xs:element name="xDesc">
|
|
516
|
+
<xs:annotation>
|
|
517
|
+
<xs:documentation>
|
|
518
|
+
Descrição do evento: "Rejeição do Intermediário".
|
|
519
|
+
</xs:documentation>
|
|
520
|
+
</xs:annotation>
|
|
521
|
+
<xs:simpleType>
|
|
522
|
+
<xs:restriction base="xs:string">
|
|
523
|
+
<xs:whiteSpace value="preserve"/>
|
|
524
|
+
<xs:enumeration value="Rejeição do Intermediário"/>
|
|
525
|
+
</xs:restriction>
|
|
526
|
+
</xs:simpleType>
|
|
527
|
+
</xs:element>
|
|
528
|
+
<xs:element name="infRej" type="TCInfoEventoRejeicao">
|
|
529
|
+
<xs:annotation>
|
|
530
|
+
<xs:documentation>
|
|
531
|
+
</xs:documentation>
|
|
532
|
+
</xs:annotation>
|
|
533
|
+
</xs:element>
|
|
534
|
+
</xs:sequence>
|
|
535
|
+
</xs:complexType>
|
|
536
|
+
|
|
537
|
+
<!--TIPO COMPLEXO PARA O EVENTO DE ANULAÇÃO DE REJEIÇÃO-->
|
|
538
|
+
<xs:complexType name="TE205208">
|
|
539
|
+
<xs:sequence>
|
|
540
|
+
<xs:element name="xDesc">
|
|
541
|
+
<xs:annotation>
|
|
542
|
+
<xs:documentation>
|
|
543
|
+
Descrição do evento: "Anulação da Rejeição".
|
|
544
|
+
</xs:documentation>
|
|
545
|
+
</xs:annotation>
|
|
546
|
+
<xs:simpleType>
|
|
547
|
+
<xs:restriction base="xs:string">
|
|
548
|
+
<xs:whiteSpace value="preserve"/>
|
|
549
|
+
<xs:enumeration value="Anulação da Rejeição"/>
|
|
550
|
+
</xs:restriction>
|
|
551
|
+
</xs:simpleType>
|
|
552
|
+
</xs:element>
|
|
553
|
+
<xs:element name="infAnRej" type="TCInfoEventoAnulacaoRejeicao">
|
|
554
|
+
<xs:annotation>
|
|
555
|
+
<xs:documentation>
|
|
556
|
+
</xs:documentation>
|
|
557
|
+
</xs:annotation>
|
|
558
|
+
</xs:element>
|
|
559
|
+
</xs:sequence>
|
|
560
|
+
</xs:complexType>
|
|
561
|
+
|
|
562
|
+
<!--TIPO COMPLEXO PARA O EVENTO DE CANCELAMENTO POR OFÍCIO DA NFS-E-->
|
|
563
|
+
<xs:complexType name="TE305101">
|
|
564
|
+
<xs:sequence>
|
|
565
|
+
<xs:element name="xDesc">
|
|
566
|
+
<xs:annotation>
|
|
567
|
+
<xs:documentation>
|
|
568
|
+
Descrição do evento: "Cancelamento de NFS-e por Ofício".
|
|
569
|
+
</xs:documentation>
|
|
570
|
+
</xs:annotation>
|
|
571
|
+
<xs:simpleType>
|
|
572
|
+
<xs:restriction base="xs:string">
|
|
573
|
+
<xs:whiteSpace value="preserve"/>
|
|
574
|
+
<xs:enumeration value="Cancelamento de NFS-e por Ofício"/>
|
|
575
|
+
</xs:restriction>
|
|
576
|
+
</xs:simpleType>
|
|
577
|
+
</xs:element>
|
|
578
|
+
<xs:element name="CPFAgTrib" type="TSCPF">
|
|
579
|
+
<xs:annotation>
|
|
580
|
+
<xs:documentation>
|
|
581
|
+
CPF do agente da administração tributária municipal que efetuou o cancelamento por ofício de NFS-e.
|
|
582
|
+
</xs:documentation>
|
|
583
|
+
</xs:annotation>
|
|
584
|
+
</xs:element>
|
|
585
|
+
<xs:element name="nProcAdm" type="TSNumProcAdmAnaliseFiscalCanc">
|
|
586
|
+
<xs:annotation>
|
|
587
|
+
<xs:documentation>
|
|
588
|
+
Número do processo administrativo municipal vinculado ao cancelamento de NFS-e por ofício.
|
|
589
|
+
</xs:documentation>
|
|
590
|
+
</xs:annotation>
|
|
591
|
+
</xs:element>
|
|
592
|
+
<xs:element name="xProcAdm" type="TSMotivo">
|
|
593
|
+
<xs:annotation>
|
|
594
|
+
<xs:documentation>
|
|
595
|
+
Descrição para explicitar o motivo indicado neste evento.
|
|
596
|
+
</xs:documentation>
|
|
597
|
+
</xs:annotation>
|
|
598
|
+
</xs:element>
|
|
599
|
+
</xs:sequence>
|
|
600
|
+
</xs:complexType>
|
|
601
|
+
|
|
602
|
+
<!--TIPO COMPLEXO PARA O EVENTO DE BLOQUEIO POR OFÍCIO DA NFS-E-->
|
|
603
|
+
<xs:complexType name="TE305102">
|
|
604
|
+
<xs:sequence>
|
|
605
|
+
<xs:element name="xDesc">
|
|
606
|
+
<xs:annotation>
|
|
607
|
+
<xs:documentation>
|
|
608
|
+
Descrição do evento: "Bloqueio de NFS-e por Ofício".
|
|
609
|
+
</xs:documentation>
|
|
610
|
+
</xs:annotation>
|
|
611
|
+
<xs:simpleType>
|
|
612
|
+
<xs:restriction base="xs:string">
|
|
613
|
+
<xs:whiteSpace value="preserve"/>
|
|
614
|
+
<xs:enumeration value="Bloqueio de NFS-e por Ofício"/>
|
|
615
|
+
</xs:restriction>
|
|
616
|
+
</xs:simpleType>
|
|
617
|
+
</xs:element>
|
|
618
|
+
<xs:element name="CPFAgTrib" type="TSCPF">
|
|
619
|
+
<xs:annotation>
|
|
620
|
+
<xs:documentation>
|
|
621
|
+
CPF do agente da administração tributária municipal que efetuou o cancelamento por ofício de NFS-e.
|
|
622
|
+
</xs:documentation>
|
|
623
|
+
</xs:annotation>
|
|
624
|
+
</xs:element>
|
|
625
|
+
<xs:element name="xMotivo" type="TSMotivo">
|
|
626
|
+
<xs:annotation>
|
|
627
|
+
<xs:documentation>Descrição para explicitar o motivo indicado neste evento</xs:documentation>
|
|
628
|
+
</xs:annotation>
|
|
629
|
+
</xs:element>
|
|
630
|
+
<xs:element name="codEvento" type="TSCodigoEventoNFSe">
|
|
631
|
+
<xs:annotation>
|
|
632
|
+
<xs:documentation>Descrição para explicitar o motivo indicado neste evento</xs:documentation>
|
|
633
|
+
</xs:annotation>
|
|
634
|
+
</xs:element>
|
|
635
|
+
</xs:sequence>
|
|
636
|
+
</xs:complexType>
|
|
637
|
+
|
|
638
|
+
<!--TIPO COMPLEXO PARA O EVENTO DE DESBLOQUEIO POR OFÍCIO DA NFS-E-->
|
|
639
|
+
<xs:complexType name="TE305103">
|
|
640
|
+
<xs:sequence>
|
|
641
|
+
<xs:element name="xDesc">
|
|
642
|
+
<xs:annotation>
|
|
643
|
+
<xs:documentation>
|
|
644
|
+
Descrição do evento: "Desbloqueio de NFS-e por Ofício".
|
|
645
|
+
</xs:documentation>
|
|
646
|
+
</xs:annotation>
|
|
647
|
+
<xs:simpleType>
|
|
648
|
+
<xs:restriction base="xs:string">
|
|
649
|
+
<xs:whiteSpace value="preserve"/>
|
|
650
|
+
<xs:enumeration value="Desbloqueio de NFS-e por Ofício"/>
|
|
651
|
+
</xs:restriction>
|
|
652
|
+
</xs:simpleType>
|
|
653
|
+
</xs:element>
|
|
654
|
+
<xs:element name="CPFAgTrib" type="TSCPF">
|
|
655
|
+
<xs:annotation>
|
|
656
|
+
<xs:documentation>
|
|
657
|
+
CPF do agente da administração tributária municipal que efetuou o cancelamento por ofício de NFS-e.
|
|
658
|
+
</xs:documentation>
|
|
659
|
+
</xs:annotation>
|
|
660
|
+
</xs:element>
|
|
661
|
+
<xs:element name="idBloqOfic" type="TSIdNumEvento">
|
|
662
|
+
<xs:annotation>
|
|
663
|
+
<xs:documentation>
|
|
664
|
+
Referência ao Id da "Manifestação de rejeição da NFS-e" que originou o presente evento de anulação.
|
|
665
|
+
</xs:documentation>
|
|
666
|
+
</xs:annotation>
|
|
667
|
+
</xs:element>
|
|
668
|
+
</xs:sequence>
|
|
669
|
+
</xs:complexType>
|
|
670
|
+
|
|
671
|
+
<!--TIPO COMPLEXO LISTA DE EVENTOS-->
|
|
672
|
+
<xs:complexType name="TCListaEventos">
|
|
673
|
+
<xs:sequence>
|
|
674
|
+
<xs:element name="codEvento" type="TSCodigoEventoNFSe" maxOccurs="9">
|
|
675
|
+
<xs:annotation>
|
|
676
|
+
<xs:documentation>
|
|
677
|
+
Grupo de informações de documento utilizado para Dedução/Redução do valor do serviço
|
|
678
|
+
</xs:documentation>
|
|
679
|
+
</xs:annotation>
|
|
680
|
+
</xs:element>
|
|
681
|
+
</xs:sequence>
|
|
682
|
+
</xs:complexType>
|
|
683
|
+
|
|
684
|
+
<!--TIPO COMPLEXO INFORMAÇÕES DO EVENTO DE REJEIÇÃO DA NFS-E-->
|
|
685
|
+
<xs:complexType name="TCInfoEventoRejeicao">
|
|
686
|
+
<xs:sequence>
|
|
687
|
+
<xs:element name="cMotivo" type="TSCodMotivoRejeicao">
|
|
688
|
+
<xs:annotation>
|
|
689
|
+
<xs:documentation>
|
|
690
|
+
Motivo da Rejeição da NFS-e:
|
|
691
|
+
|
|
692
|
+
1 - NFS-e em duplicidade;
|
|
693
|
+
2 - NFS-e já emitida pelo tomador;
|
|
694
|
+
3 - Não ocorrência do fato gerador;
|
|
695
|
+
4 - Erro quanto a responsabilidade tributária;
|
|
696
|
+
5 - Erro quanto ao valor do serviço, valor das deduções ou serviço prestado ou data do fato gerador;
|
|
697
|
+
9 - Outros;
|
|
698
|
+
</xs:documentation>
|
|
699
|
+
</xs:annotation>
|
|
700
|
+
</xs:element>
|
|
701
|
+
<xs:element name="xMotivo" type="TSMotivo" minOccurs="0">
|
|
702
|
+
<xs:annotation>
|
|
703
|
+
<xs:documentation>Descrição para explicitar o motivo indicado neste evento</xs:documentation>
|
|
704
|
+
</xs:annotation>
|
|
705
|
+
</xs:element>
|
|
706
|
+
</xs:sequence>
|
|
707
|
+
</xs:complexType>
|
|
708
|
+
|
|
709
|
+
<!--TIPO COMPLEXO INFORMAÇÕES DO EVENTO DE ANULAÇÃO DE REJEIÇÃO DA NFS-E-->
|
|
710
|
+
<xs:complexType name="TCInfoEventoAnulacaoRejeicao">
|
|
711
|
+
<xs:sequence>
|
|
712
|
+
<xs:element name="CPFAgTrib" type="TSCPF">
|
|
713
|
+
<xs:annotation>
|
|
714
|
+
<xs:documentation>
|
|
715
|
+
CPF do agente da administração tributária municipal que efetuou o anulação da manifestação de rejeição da NFS-e.
|
|
716
|
+
</xs:documentation>
|
|
717
|
+
</xs:annotation>
|
|
718
|
+
</xs:element>
|
|
719
|
+
<xs:element name="idEvManifRej" type="TSIdNumEvento">
|
|
720
|
+
<xs:annotation>
|
|
721
|
+
<xs:documentation>
|
|
722
|
+
Referência ao Id da "Manifestação de rejeição da NFS-e" que originou o presente evento de anulação.
|
|
723
|
+
</xs:documentation>
|
|
724
|
+
</xs:annotation>
|
|
725
|
+
</xs:element>
|
|
726
|
+
<xs:element name="xMotivo" type="TSMotivo">
|
|
727
|
+
<xs:annotation>
|
|
728
|
+
<xs:documentation>Descrição para explicitar o motivo da anluação</xs:documentation>
|
|
729
|
+
</xs:annotation>
|
|
730
|
+
</xs:element>
|
|
731
|
+
</xs:sequence>
|
|
732
|
+
</xs:complexType>
|
|
733
|
+
</xs:schema>
|