@alexssmusica/node-pdf-nfe 1.0.59 → 1.0.60
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 +310 -310
- package/lib/application/helpers/generate-pdf/nfe/get-destinatario-remetente.js +7 -1
- package/lib/application/helpers/xsd/consReciNFe_v4.00.xsd +9 -9
- package/lib/application/helpers/xsd/consSitNFe_v4.00.xsd +9 -9
- package/lib/application/helpers/xsd/consStatServ_v4.00.xsd +9 -9
- package/lib/application/helpers/xsd/enviNFe_v4.00.xsd +9 -9
- package/lib/application/helpers/xsd/inutNFe_v4.00.xsd +9 -9
- package/lib/application/helpers/xsd/leiauteConsSitNFe_v4.00.xsd +503 -503
- package/lib/application/helpers/xsd/leiauteConsStatServ_v4.00.xsd +98 -98
- package/lib/application/helpers/xsd/leiauteInutNFe_v4.00.xsd +193 -193
- package/lib/application/helpers/xsd/nfe_v4.00.xsd +9 -9
- package/lib/application/helpers/xsd/procInutNFe_v4.00.xsd +9 -9
- package/lib/application/helpers/xsd/procNFe_v4.00.xsd +9 -9
- package/lib/application/helpers/xsd/retConsReciNFe_v4.00.xsd +9 -9
- package/lib/application/helpers/xsd/retConsSitNFe_v4.00.xsd +9 -9
- package/lib/application/helpers/xsd/retConsStatServ_v4.00.xsd +9 -9
- package/lib/application/helpers/xsd/retEnviNFe_v4.00.xsd +9 -9
- package/lib/application/helpers/xsd/retInutNFe_v4.00.xsd +9 -9
- package/lib/application/helpers/xsd/tiposBasico_v4.00.xsd +589 -589
- package/package.json +1 -1
|
@@ -1,98 +1,98 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!-- PL_006f versao com correcoes no xServ para tornar a literal STATUS obrigatoria 21/05/2010 -->
|
|
3
|
-
<xs:schema xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns="http://www.portalfiscal.inf.br/nfe" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
|
4
|
-
<xs:include schemaLocation="tiposBasico_v4.00.xsd"/>
|
|
5
|
-
<xs:complexType name="TConsStatServ">
|
|
6
|
-
<xs:annotation>
|
|
7
|
-
<xs:documentation>Tipo Pedido de Consulta do Status do Serviço</xs:documentation>
|
|
8
|
-
</xs:annotation>
|
|
9
|
-
<xs:sequence>
|
|
10
|
-
<xs:element name="tpAmb" type="TAmb">
|
|
11
|
-
<xs:annotation>
|
|
12
|
-
<xs:documentation>Identificação do Ambiente:
|
|
13
|
-
1 - Produção
|
|
14
|
-
2 - Homologação</xs:documentation>
|
|
15
|
-
</xs:annotation>
|
|
16
|
-
</xs:element>
|
|
17
|
-
<xs:element name="cUF" type="TCodUfIBGE">
|
|
18
|
-
<xs:annotation>
|
|
19
|
-
<xs:documentation>Sigla da UF consultada</xs:documentation>
|
|
20
|
-
</xs:annotation>
|
|
21
|
-
</xs:element>
|
|
22
|
-
<xs:element name="xServ">
|
|
23
|
-
<xs:annotation>
|
|
24
|
-
<xs:documentation>Serviço Solicitado</xs:documentation>
|
|
25
|
-
</xs:annotation>
|
|
26
|
-
<xs:simpleType>
|
|
27
|
-
<xs:restriction base="TServ">
|
|
28
|
-
<xs:enumeration value="STATUS"/>
|
|
29
|
-
</xs:restriction>
|
|
30
|
-
</xs:simpleType>
|
|
31
|
-
</xs:element>
|
|
32
|
-
</xs:sequence>
|
|
33
|
-
<xs:attribute name="versao" type="TVerConsStatServ" use="required"/>
|
|
34
|
-
</xs:complexType>
|
|
35
|
-
<xs:complexType name="TRetConsStatServ">
|
|
36
|
-
<xs:annotation>
|
|
37
|
-
<xs:documentation>Tipo Resultado da Consulta do Status do Serviço</xs:documentation>
|
|
38
|
-
</xs:annotation>
|
|
39
|
-
<xs:sequence>
|
|
40
|
-
<xs:element name="tpAmb" type="TAmb">
|
|
41
|
-
<xs:annotation>
|
|
42
|
-
<xs:documentation>Identificação do Ambiente:
|
|
43
|
-
1 - Produção
|
|
44
|
-
2 - Homologação</xs:documentation>
|
|
45
|
-
</xs:annotation>
|
|
46
|
-
</xs:element>
|
|
47
|
-
<xs:element name="verAplic" type="TVerAplic">
|
|
48
|
-
<xs:annotation>
|
|
49
|
-
<xs:documentation>Versão do Aplicativo que processou a NF-e</xs:documentation>
|
|
50
|
-
</xs:annotation>
|
|
51
|
-
</xs:element>
|
|
52
|
-
<xs:element name="cStat" type="TStat">
|
|
53
|
-
<xs:annotation>
|
|
54
|
-
<xs:documentation>Código do status da mensagem enviada.</xs:documentation>
|
|
55
|
-
</xs:annotation>
|
|
56
|
-
</xs:element>
|
|
57
|
-
<xs:element name="xMotivo" type="TMotivo">
|
|
58
|
-
<xs:annotation>
|
|
59
|
-
<xs:documentation>Descrição literal do status do serviço solicitado.</xs:documentation>
|
|
60
|
-
</xs:annotation>
|
|
61
|
-
</xs:element>
|
|
62
|
-
<xs:element name="cUF" type="TCodUfIBGE">
|
|
63
|
-
<xs:annotation>
|
|
64
|
-
<xs:documentation>Código da UF responsável pelo serviço</xs:documentation>
|
|
65
|
-
</xs:annotation>
|
|
66
|
-
</xs:element>
|
|
67
|
-
<xs:element name="dhRecbto" type="TDateTimeUTC">
|
|
68
|
-
<xs:annotation>
|
|
69
|
-
<xs:documentation>Data e hora do recebimento da consulta no formato AAAA-MM-DDTHH:MM:SSTZD</xs:documentation>
|
|
70
|
-
</xs:annotation>
|
|
71
|
-
</xs:element>
|
|
72
|
-
<xs:element name="tMed" type="TMed" minOccurs="0">
|
|
73
|
-
<xs:annotation>
|
|
74
|
-
<xs:documentation>Tempo médio de resposta do serviço (em segundos) dos últimos 5 minutos</xs:documentation>
|
|
75
|
-
</xs:annotation>
|
|
76
|
-
</xs:element>
|
|
77
|
-
<xs:element name="dhRetorno" type="TDateTimeUTC" minOccurs="0">
|
|
78
|
-
<xs:annotation>
|
|
79
|
-
<xs:documentation>AAAA-MM-DDTHH:MM:SSDeve ser preenchida com data e hora previstas para o retorno dos serviços prestados.</xs:documentation>
|
|
80
|
-
</xs:annotation>
|
|
81
|
-
</xs:element>
|
|
82
|
-
<xs:element name="xObs" type="TMotivo" minOccurs="0">
|
|
83
|
-
<xs:annotation>
|
|
84
|
-
<xs:documentation>Campo observação utilizado para incluir informações ao contribuinte</xs:documentation>
|
|
85
|
-
</xs:annotation>
|
|
86
|
-
</xs:element>
|
|
87
|
-
</xs:sequence>
|
|
88
|
-
<xs:attribute name="versao" type="TVerConsStatServ" use="required"/>
|
|
89
|
-
</xs:complexType>
|
|
90
|
-
<xs:simpleType name="TVerConsStatServ">
|
|
91
|
-
<xs:annotation>
|
|
92
|
-
<xs:documentation>Tipo versão do leiuate da Consulta Status do Serviço 4.00</xs:documentation>
|
|
93
|
-
</xs:annotation>
|
|
94
|
-
<xs:restriction base="xs:token">
|
|
95
|
-
<xs:pattern value="4\.00"/>
|
|
96
|
-
</xs:restriction>
|
|
97
|
-
</xs:simpleType>
|
|
98
|
-
</xs:schema>
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!-- PL_006f versao com correcoes no xServ para tornar a literal STATUS obrigatoria 21/05/2010 -->
|
|
3
|
+
<xs:schema xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns="http://www.portalfiscal.inf.br/nfe" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
|
4
|
+
<xs:include schemaLocation="tiposBasico_v4.00.xsd"/>
|
|
5
|
+
<xs:complexType name="TConsStatServ">
|
|
6
|
+
<xs:annotation>
|
|
7
|
+
<xs:documentation>Tipo Pedido de Consulta do Status do Serviço</xs:documentation>
|
|
8
|
+
</xs:annotation>
|
|
9
|
+
<xs:sequence>
|
|
10
|
+
<xs:element name="tpAmb" type="TAmb">
|
|
11
|
+
<xs:annotation>
|
|
12
|
+
<xs:documentation>Identificação do Ambiente:
|
|
13
|
+
1 - Produção
|
|
14
|
+
2 - Homologação</xs:documentation>
|
|
15
|
+
</xs:annotation>
|
|
16
|
+
</xs:element>
|
|
17
|
+
<xs:element name="cUF" type="TCodUfIBGE">
|
|
18
|
+
<xs:annotation>
|
|
19
|
+
<xs:documentation>Sigla da UF consultada</xs:documentation>
|
|
20
|
+
</xs:annotation>
|
|
21
|
+
</xs:element>
|
|
22
|
+
<xs:element name="xServ">
|
|
23
|
+
<xs:annotation>
|
|
24
|
+
<xs:documentation>Serviço Solicitado</xs:documentation>
|
|
25
|
+
</xs:annotation>
|
|
26
|
+
<xs:simpleType>
|
|
27
|
+
<xs:restriction base="TServ">
|
|
28
|
+
<xs:enumeration value="STATUS"/>
|
|
29
|
+
</xs:restriction>
|
|
30
|
+
</xs:simpleType>
|
|
31
|
+
</xs:element>
|
|
32
|
+
</xs:sequence>
|
|
33
|
+
<xs:attribute name="versao" type="TVerConsStatServ" use="required"/>
|
|
34
|
+
</xs:complexType>
|
|
35
|
+
<xs:complexType name="TRetConsStatServ">
|
|
36
|
+
<xs:annotation>
|
|
37
|
+
<xs:documentation>Tipo Resultado da Consulta do Status do Serviço</xs:documentation>
|
|
38
|
+
</xs:annotation>
|
|
39
|
+
<xs:sequence>
|
|
40
|
+
<xs:element name="tpAmb" type="TAmb">
|
|
41
|
+
<xs:annotation>
|
|
42
|
+
<xs:documentation>Identificação do Ambiente:
|
|
43
|
+
1 - Produção
|
|
44
|
+
2 - Homologação</xs:documentation>
|
|
45
|
+
</xs:annotation>
|
|
46
|
+
</xs:element>
|
|
47
|
+
<xs:element name="verAplic" type="TVerAplic">
|
|
48
|
+
<xs:annotation>
|
|
49
|
+
<xs:documentation>Versão do Aplicativo que processou a NF-e</xs:documentation>
|
|
50
|
+
</xs:annotation>
|
|
51
|
+
</xs:element>
|
|
52
|
+
<xs:element name="cStat" type="TStat">
|
|
53
|
+
<xs:annotation>
|
|
54
|
+
<xs:documentation>Código do status da mensagem enviada.</xs:documentation>
|
|
55
|
+
</xs:annotation>
|
|
56
|
+
</xs:element>
|
|
57
|
+
<xs:element name="xMotivo" type="TMotivo">
|
|
58
|
+
<xs:annotation>
|
|
59
|
+
<xs:documentation>Descrição literal do status do serviço solicitado.</xs:documentation>
|
|
60
|
+
</xs:annotation>
|
|
61
|
+
</xs:element>
|
|
62
|
+
<xs:element name="cUF" type="TCodUfIBGE">
|
|
63
|
+
<xs:annotation>
|
|
64
|
+
<xs:documentation>Código da UF responsável pelo serviço</xs:documentation>
|
|
65
|
+
</xs:annotation>
|
|
66
|
+
</xs:element>
|
|
67
|
+
<xs:element name="dhRecbto" type="TDateTimeUTC">
|
|
68
|
+
<xs:annotation>
|
|
69
|
+
<xs:documentation>Data e hora do recebimento da consulta no formato AAAA-MM-DDTHH:MM:SSTZD</xs:documentation>
|
|
70
|
+
</xs:annotation>
|
|
71
|
+
</xs:element>
|
|
72
|
+
<xs:element name="tMed" type="TMed" minOccurs="0">
|
|
73
|
+
<xs:annotation>
|
|
74
|
+
<xs:documentation>Tempo médio de resposta do serviço (em segundos) dos últimos 5 minutos</xs:documentation>
|
|
75
|
+
</xs:annotation>
|
|
76
|
+
</xs:element>
|
|
77
|
+
<xs:element name="dhRetorno" type="TDateTimeUTC" minOccurs="0">
|
|
78
|
+
<xs:annotation>
|
|
79
|
+
<xs:documentation>AAAA-MM-DDTHH:MM:SSDeve ser preenchida com data e hora previstas para o retorno dos serviços prestados.</xs:documentation>
|
|
80
|
+
</xs:annotation>
|
|
81
|
+
</xs:element>
|
|
82
|
+
<xs:element name="xObs" type="TMotivo" minOccurs="0">
|
|
83
|
+
<xs:annotation>
|
|
84
|
+
<xs:documentation>Campo observação utilizado para incluir informações ao contribuinte</xs:documentation>
|
|
85
|
+
</xs:annotation>
|
|
86
|
+
</xs:element>
|
|
87
|
+
</xs:sequence>
|
|
88
|
+
<xs:attribute name="versao" type="TVerConsStatServ" use="required"/>
|
|
89
|
+
</xs:complexType>
|
|
90
|
+
<xs:simpleType name="TVerConsStatServ">
|
|
91
|
+
<xs:annotation>
|
|
92
|
+
<xs:documentation>Tipo versão do leiuate da Consulta Status do Serviço 4.00</xs:documentation>
|
|
93
|
+
</xs:annotation>
|
|
94
|
+
<xs:restriction base="xs:token">
|
|
95
|
+
<xs:pattern value="4\.00"/>
|
|
96
|
+
</xs:restriction>
|
|
97
|
+
</xs:simpleType>
|
|
98
|
+
</xs:schema>
|
|
@@ -1,193 +1,193 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!-- PL_006f versao com correcoes no xServ para tornar a literal INUTILIZAR obrigatoria 21/05/2010 -->
|
|
3
|
-
<!-- PL_006c versao com correcoes 24/12/2009 -->
|
|
4
|
-
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/nfe" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
|
5
|
-
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema_v1.01.xsd"/>
|
|
6
|
-
<xs:include schemaLocation="tiposBasico_v4.00.xsd"/>
|
|
7
|
-
<xs:complexType name="TInutNFe">
|
|
8
|
-
<xs:annotation>
|
|
9
|
-
<xs:documentation>Tipo Pedido de Inutilização de Numeração da Nota Fiscal Eletrônica</xs:documentation>
|
|
10
|
-
</xs:annotation>
|
|
11
|
-
<xs:sequence>
|
|
12
|
-
<xs:element name="infInut">
|
|
13
|
-
<xs:annotation>
|
|
14
|
-
<xs:documentation>Dados do Pedido de Inutilização de Numeração da Nota Fiscal Eletrônica</xs:documentation>
|
|
15
|
-
</xs:annotation>
|
|
16
|
-
<xs:complexType>
|
|
17
|
-
<xs:sequence>
|
|
18
|
-
<xs:element name="tpAmb" type="TAmb">
|
|
19
|
-
<xs:annotation>
|
|
20
|
-
<xs:documentation>Identificação do Ambiente:
|
|
21
|
-
1 - Produção
|
|
22
|
-
2 - Homologação</xs:documentation>
|
|
23
|
-
</xs:annotation>
|
|
24
|
-
</xs:element>
|
|
25
|
-
<xs:element name="xServ">
|
|
26
|
-
<xs:annotation>
|
|
27
|
-
<xs:documentation>Serviço Solicitado</xs:documentation>
|
|
28
|
-
</xs:annotation>
|
|
29
|
-
<xs:simpleType>
|
|
30
|
-
<xs:restriction base="TServ">
|
|
31
|
-
<xs:enumeration value="INUTILIZAR"/>
|
|
32
|
-
</xs:restriction>
|
|
33
|
-
</xs:simpleType>
|
|
34
|
-
</xs:element>
|
|
35
|
-
<xs:element name="cUF" type="TCodUfIBGE">
|
|
36
|
-
<xs:annotation>
|
|
37
|
-
<xs:documentation>Código da UF do emitente</xs:documentation>
|
|
38
|
-
</xs:annotation>
|
|
39
|
-
</xs:element>
|
|
40
|
-
<xs:element name="ano" type="Tano">
|
|
41
|
-
<xs:annotation>
|
|
42
|
-
<xs:documentation>Ano de inutilização da numeração</xs:documentation>
|
|
43
|
-
</xs:annotation>
|
|
44
|
-
</xs:element>
|
|
45
|
-
<xs:element name="CNPJ" type="TCnpj">
|
|
46
|
-
<xs:annotation>
|
|
47
|
-
<xs:documentation>CNPJ do emitente</xs:documentation>
|
|
48
|
-
</xs:annotation>
|
|
49
|
-
</xs:element>
|
|
50
|
-
<xs:element name="mod" type="TMod">
|
|
51
|
-
<xs:annotation>
|
|
52
|
-
<xs:documentation>Modelo da NF-e (55, 65 etc.)</xs:documentation>
|
|
53
|
-
</xs:annotation>
|
|
54
|
-
</xs:element>
|
|
55
|
-
<xs:element name="serie" type="TSerie">
|
|
56
|
-
<xs:annotation>
|
|
57
|
-
<xs:documentation>Série da NF-e</xs:documentation>
|
|
58
|
-
</xs:annotation>
|
|
59
|
-
</xs:element>
|
|
60
|
-
<xs:element name="nNFIni" type="TNF">
|
|
61
|
-
<xs:annotation>
|
|
62
|
-
<xs:documentation>Número da NF-e inicial</xs:documentation>
|
|
63
|
-
</xs:annotation>
|
|
64
|
-
</xs:element>
|
|
65
|
-
<xs:element name="nNFFin" type="TNF">
|
|
66
|
-
<xs:annotation>
|
|
67
|
-
<xs:documentation>Número da NF-e final</xs:documentation>
|
|
68
|
-
</xs:annotation>
|
|
69
|
-
</xs:element>
|
|
70
|
-
<xs:element name="xJust" type="TJust">
|
|
71
|
-
<xs:annotation>
|
|
72
|
-
<xs:documentation>Justificativa do pedido de inutilização</xs:documentation>
|
|
73
|
-
</xs:annotation>
|
|
74
|
-
</xs:element>
|
|
75
|
-
</xs:sequence>
|
|
76
|
-
<xs:attribute name="Id" use="required">
|
|
77
|
-
<xs:simpleType>
|
|
78
|
-
<xs:restriction base="xs:ID">
|
|
79
|
-
<xs:pattern value="ID[0-9]{41}"/>
|
|
80
|
-
</xs:restriction>
|
|
81
|
-
</xs:simpleType>
|
|
82
|
-
</xs:attribute>
|
|
83
|
-
</xs:complexType>
|
|
84
|
-
</xs:element>
|
|
85
|
-
<xs:element ref="ds:Signature"/>
|
|
86
|
-
</xs:sequence>
|
|
87
|
-
<xs:attribute name="versao" type="TVerInutNFe" use="required"/>
|
|
88
|
-
</xs:complexType>
|
|
89
|
-
<xs:complexType name="TRetInutNFe">
|
|
90
|
-
<xs:annotation>
|
|
91
|
-
<xs:documentation>Tipo retorno do Pedido de Inutilização de Numeração da Nota Fiscal Eletrônica</xs:documentation>
|
|
92
|
-
</xs:annotation>
|
|
93
|
-
<xs:sequence>
|
|
94
|
-
<xs:element name="infInut">
|
|
95
|
-
<xs:annotation>
|
|
96
|
-
<xs:documentation>Dados do Retorno do Pedido de Inutilização de Numeração da Nota Fiscal Eletrônica</xs:documentation>
|
|
97
|
-
</xs:annotation>
|
|
98
|
-
<xs:complexType>
|
|
99
|
-
<xs:sequence>
|
|
100
|
-
<xs:element name="tpAmb" type="TAmb">
|
|
101
|
-
<xs:annotation>
|
|
102
|
-
<xs:documentation>Identificação do Ambiente:
|
|
103
|
-
1 - Produção
|
|
104
|
-
2 - Homologação</xs:documentation>
|
|
105
|
-
</xs:annotation>
|
|
106
|
-
</xs:element>
|
|
107
|
-
<xs:element name="verAplic" type="TVerAplic">
|
|
108
|
-
<xs:annotation>
|
|
109
|
-
<xs:documentation>Versão do Aplicativo que processou a NF-e</xs:documentation>
|
|
110
|
-
</xs:annotation>
|
|
111
|
-
</xs:element>
|
|
112
|
-
<xs:element name="cStat" type="TStat">
|
|
113
|
-
<xs:annotation>
|
|
114
|
-
<xs:documentation>Código do status da mensagem enviada.</xs:documentation>
|
|
115
|
-
</xs:annotation>
|
|
116
|
-
</xs:element>
|
|
117
|
-
<xs:element name="xMotivo" type="TMotivo">
|
|
118
|
-
<xs:annotation>
|
|
119
|
-
<xs:documentation>Descrição literal do status do serviço solicitado.</xs:documentation>
|
|
120
|
-
</xs:annotation>
|
|
121
|
-
</xs:element>
|
|
122
|
-
<xs:element name="cUF" type="TCodUfIBGE">
|
|
123
|
-
<xs:annotation>
|
|
124
|
-
<xs:documentation>Código da UF que atendeu a solicitação</xs:documentation>
|
|
125
|
-
</xs:annotation>
|
|
126
|
-
</xs:element>
|
|
127
|
-
<xs:element name="ano" type="Tano" minOccurs="0">
|
|
128
|
-
<xs:annotation>
|
|
129
|
-
<xs:documentation>Ano de inutilização da numeração</xs:documentation>
|
|
130
|
-
</xs:annotation>
|
|
131
|
-
</xs:element>
|
|
132
|
-
<xs:element name="CNPJ" type="TCnpj" minOccurs="0">
|
|
133
|
-
<xs:annotation>
|
|
134
|
-
<xs:documentation>CNPJ do emitente</xs:documentation>
|
|
135
|
-
</xs:annotation>
|
|
136
|
-
</xs:element>
|
|
137
|
-
<xs:element name="mod" type="TMod" minOccurs="0">
|
|
138
|
-
<xs:annotation>
|
|
139
|
-
<xs:documentation>Modelo da NF-e (55, etc.)</xs:documentation>
|
|
140
|
-
</xs:annotation>
|
|
141
|
-
</xs:element>
|
|
142
|
-
<xs:element name="serie" type="TSerie" minOccurs="0">
|
|
143
|
-
<xs:annotation>
|
|
144
|
-
<xs:documentation>Série da NF-e</xs:documentation>
|
|
145
|
-
</xs:annotation>
|
|
146
|
-
</xs:element>
|
|
147
|
-
<xs:element name="nNFIni" type="TNF" minOccurs="0">
|
|
148
|
-
<xs:annotation>
|
|
149
|
-
<xs:documentation>Número da NF-e inicial</xs:documentation>
|
|
150
|
-
</xs:annotation>
|
|
151
|
-
</xs:element>
|
|
152
|
-
<xs:element name="nNFFin" type="TNF" minOccurs="0">
|
|
153
|
-
<xs:annotation>
|
|
154
|
-
<xs:documentation>Número da NF-e final</xs:documentation>
|
|
155
|
-
</xs:annotation>
|
|
156
|
-
</xs:element>
|
|
157
|
-
<xs:element name="dhRecbto" type="TDateTimeUTC">
|
|
158
|
-
<xs:annotation>
|
|
159
|
-
<xs:documentation>Data e hora de recebimento, no formato AAAA-MM-DDTHH:MM:SS. 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 Pedido de Inutilização.</xs:documentation>
|
|
160
|
-
</xs:annotation>
|
|
161
|
-
</xs:element>
|
|
162
|
-
<xs:element name="nProt" type="TProt" minOccurs="0">
|
|
163
|
-
<xs:annotation>
|
|
164
|
-
<xs:documentation>Número do Protocolo de Status da NF-e. 1 posição (1 – Secretaria de Fazenda Estadual 2 – Receita Federal); 2 - código da UF - 2 posições ano; 10 seqüencial no ano.</xs:documentation>
|
|
165
|
-
</xs:annotation>
|
|
166
|
-
</xs:element>
|
|
167
|
-
</xs:sequence>
|
|
168
|
-
<xs:attribute name="Id" type="xs:ID" use="optional"/>
|
|
169
|
-
</xs:complexType>
|
|
170
|
-
</xs:element>
|
|
171
|
-
<xs:element ref="ds:Signature" minOccurs="0"/>
|
|
172
|
-
</xs:sequence>
|
|
173
|
-
<xs:attribute name="versao" type="TVerInutNFe" use="required"/>
|
|
174
|
-
</xs:complexType>
|
|
175
|
-
<xs:complexType name="TProcInutNFe">
|
|
176
|
-
<xs:annotation>
|
|
177
|
-
<xs:documentation>Tipo Pedido de inutilzação de númeração de NF-e processado</xs:documentation>
|
|
178
|
-
</xs:annotation>
|
|
179
|
-
<xs:sequence>
|
|
180
|
-
<xs:element name="inutNFe" type="TInutNFe"/>
|
|
181
|
-
<xs:element name="retInutNFe" type="TRetInutNFe"/>
|
|
182
|
-
</xs:sequence>
|
|
183
|
-
<xs:attribute name="versao" type="TVerInutNFe" use="required"/>
|
|
184
|
-
</xs:complexType>
|
|
185
|
-
<xs:simpleType name="TVerInutNFe">
|
|
186
|
-
<xs:annotation>
|
|
187
|
-
<xs:documentation>Tipo Versão do leiaute de Inutilização 4.00</xs:documentation>
|
|
188
|
-
</xs:annotation>
|
|
189
|
-
<xs:restriction base="xs:token">
|
|
190
|
-
<xs:pattern value="4\.00"/>
|
|
191
|
-
</xs:restriction>
|
|
192
|
-
</xs:simpleType>
|
|
193
|
-
</xs:schema>
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!-- PL_006f versao com correcoes no xServ para tornar a literal INUTILIZAR obrigatoria 21/05/2010 -->
|
|
3
|
+
<!-- PL_006c versao com correcoes 24/12/2009 -->
|
|
4
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/nfe" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
|
5
|
+
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema_v1.01.xsd"/>
|
|
6
|
+
<xs:include schemaLocation="tiposBasico_v4.00.xsd"/>
|
|
7
|
+
<xs:complexType name="TInutNFe">
|
|
8
|
+
<xs:annotation>
|
|
9
|
+
<xs:documentation>Tipo Pedido de Inutilização de Numeração da Nota Fiscal Eletrônica</xs:documentation>
|
|
10
|
+
</xs:annotation>
|
|
11
|
+
<xs:sequence>
|
|
12
|
+
<xs:element name="infInut">
|
|
13
|
+
<xs:annotation>
|
|
14
|
+
<xs:documentation>Dados do Pedido de Inutilização de Numeração da Nota Fiscal Eletrônica</xs:documentation>
|
|
15
|
+
</xs:annotation>
|
|
16
|
+
<xs:complexType>
|
|
17
|
+
<xs:sequence>
|
|
18
|
+
<xs:element name="tpAmb" type="TAmb">
|
|
19
|
+
<xs:annotation>
|
|
20
|
+
<xs:documentation>Identificação do Ambiente:
|
|
21
|
+
1 - Produção
|
|
22
|
+
2 - Homologação</xs:documentation>
|
|
23
|
+
</xs:annotation>
|
|
24
|
+
</xs:element>
|
|
25
|
+
<xs:element name="xServ">
|
|
26
|
+
<xs:annotation>
|
|
27
|
+
<xs:documentation>Serviço Solicitado</xs:documentation>
|
|
28
|
+
</xs:annotation>
|
|
29
|
+
<xs:simpleType>
|
|
30
|
+
<xs:restriction base="TServ">
|
|
31
|
+
<xs:enumeration value="INUTILIZAR"/>
|
|
32
|
+
</xs:restriction>
|
|
33
|
+
</xs:simpleType>
|
|
34
|
+
</xs:element>
|
|
35
|
+
<xs:element name="cUF" type="TCodUfIBGE">
|
|
36
|
+
<xs:annotation>
|
|
37
|
+
<xs:documentation>Código da UF do emitente</xs:documentation>
|
|
38
|
+
</xs:annotation>
|
|
39
|
+
</xs:element>
|
|
40
|
+
<xs:element name="ano" type="Tano">
|
|
41
|
+
<xs:annotation>
|
|
42
|
+
<xs:documentation>Ano de inutilização da numeração</xs:documentation>
|
|
43
|
+
</xs:annotation>
|
|
44
|
+
</xs:element>
|
|
45
|
+
<xs:element name="CNPJ" type="TCnpj">
|
|
46
|
+
<xs:annotation>
|
|
47
|
+
<xs:documentation>CNPJ do emitente</xs:documentation>
|
|
48
|
+
</xs:annotation>
|
|
49
|
+
</xs:element>
|
|
50
|
+
<xs:element name="mod" type="TMod">
|
|
51
|
+
<xs:annotation>
|
|
52
|
+
<xs:documentation>Modelo da NF-e (55, 65 etc.)</xs:documentation>
|
|
53
|
+
</xs:annotation>
|
|
54
|
+
</xs:element>
|
|
55
|
+
<xs:element name="serie" type="TSerie">
|
|
56
|
+
<xs:annotation>
|
|
57
|
+
<xs:documentation>Série da NF-e</xs:documentation>
|
|
58
|
+
</xs:annotation>
|
|
59
|
+
</xs:element>
|
|
60
|
+
<xs:element name="nNFIni" type="TNF">
|
|
61
|
+
<xs:annotation>
|
|
62
|
+
<xs:documentation>Número da NF-e inicial</xs:documentation>
|
|
63
|
+
</xs:annotation>
|
|
64
|
+
</xs:element>
|
|
65
|
+
<xs:element name="nNFFin" type="TNF">
|
|
66
|
+
<xs:annotation>
|
|
67
|
+
<xs:documentation>Número da NF-e final</xs:documentation>
|
|
68
|
+
</xs:annotation>
|
|
69
|
+
</xs:element>
|
|
70
|
+
<xs:element name="xJust" type="TJust">
|
|
71
|
+
<xs:annotation>
|
|
72
|
+
<xs:documentation>Justificativa do pedido de inutilização</xs:documentation>
|
|
73
|
+
</xs:annotation>
|
|
74
|
+
</xs:element>
|
|
75
|
+
</xs:sequence>
|
|
76
|
+
<xs:attribute name="Id" use="required">
|
|
77
|
+
<xs:simpleType>
|
|
78
|
+
<xs:restriction base="xs:ID">
|
|
79
|
+
<xs:pattern value="ID[0-9]{41}"/>
|
|
80
|
+
</xs:restriction>
|
|
81
|
+
</xs:simpleType>
|
|
82
|
+
</xs:attribute>
|
|
83
|
+
</xs:complexType>
|
|
84
|
+
</xs:element>
|
|
85
|
+
<xs:element ref="ds:Signature"/>
|
|
86
|
+
</xs:sequence>
|
|
87
|
+
<xs:attribute name="versao" type="TVerInutNFe" use="required"/>
|
|
88
|
+
</xs:complexType>
|
|
89
|
+
<xs:complexType name="TRetInutNFe">
|
|
90
|
+
<xs:annotation>
|
|
91
|
+
<xs:documentation>Tipo retorno do Pedido de Inutilização de Numeração da Nota Fiscal Eletrônica</xs:documentation>
|
|
92
|
+
</xs:annotation>
|
|
93
|
+
<xs:sequence>
|
|
94
|
+
<xs:element name="infInut">
|
|
95
|
+
<xs:annotation>
|
|
96
|
+
<xs:documentation>Dados do Retorno do Pedido de Inutilização de Numeração da Nota Fiscal Eletrônica</xs:documentation>
|
|
97
|
+
</xs:annotation>
|
|
98
|
+
<xs:complexType>
|
|
99
|
+
<xs:sequence>
|
|
100
|
+
<xs:element name="tpAmb" type="TAmb">
|
|
101
|
+
<xs:annotation>
|
|
102
|
+
<xs:documentation>Identificação do Ambiente:
|
|
103
|
+
1 - Produção
|
|
104
|
+
2 - Homologação</xs:documentation>
|
|
105
|
+
</xs:annotation>
|
|
106
|
+
</xs:element>
|
|
107
|
+
<xs:element name="verAplic" type="TVerAplic">
|
|
108
|
+
<xs:annotation>
|
|
109
|
+
<xs:documentation>Versão do Aplicativo que processou a NF-e</xs:documentation>
|
|
110
|
+
</xs:annotation>
|
|
111
|
+
</xs:element>
|
|
112
|
+
<xs:element name="cStat" type="TStat">
|
|
113
|
+
<xs:annotation>
|
|
114
|
+
<xs:documentation>Código do status da mensagem enviada.</xs:documentation>
|
|
115
|
+
</xs:annotation>
|
|
116
|
+
</xs:element>
|
|
117
|
+
<xs:element name="xMotivo" type="TMotivo">
|
|
118
|
+
<xs:annotation>
|
|
119
|
+
<xs:documentation>Descrição literal do status do serviço solicitado.</xs:documentation>
|
|
120
|
+
</xs:annotation>
|
|
121
|
+
</xs:element>
|
|
122
|
+
<xs:element name="cUF" type="TCodUfIBGE">
|
|
123
|
+
<xs:annotation>
|
|
124
|
+
<xs:documentation>Código da UF que atendeu a solicitação</xs:documentation>
|
|
125
|
+
</xs:annotation>
|
|
126
|
+
</xs:element>
|
|
127
|
+
<xs:element name="ano" type="Tano" minOccurs="0">
|
|
128
|
+
<xs:annotation>
|
|
129
|
+
<xs:documentation>Ano de inutilização da numeração</xs:documentation>
|
|
130
|
+
</xs:annotation>
|
|
131
|
+
</xs:element>
|
|
132
|
+
<xs:element name="CNPJ" type="TCnpj" minOccurs="0">
|
|
133
|
+
<xs:annotation>
|
|
134
|
+
<xs:documentation>CNPJ do emitente</xs:documentation>
|
|
135
|
+
</xs:annotation>
|
|
136
|
+
</xs:element>
|
|
137
|
+
<xs:element name="mod" type="TMod" minOccurs="0">
|
|
138
|
+
<xs:annotation>
|
|
139
|
+
<xs:documentation>Modelo da NF-e (55, etc.)</xs:documentation>
|
|
140
|
+
</xs:annotation>
|
|
141
|
+
</xs:element>
|
|
142
|
+
<xs:element name="serie" type="TSerie" minOccurs="0">
|
|
143
|
+
<xs:annotation>
|
|
144
|
+
<xs:documentation>Série da NF-e</xs:documentation>
|
|
145
|
+
</xs:annotation>
|
|
146
|
+
</xs:element>
|
|
147
|
+
<xs:element name="nNFIni" type="TNF" minOccurs="0">
|
|
148
|
+
<xs:annotation>
|
|
149
|
+
<xs:documentation>Número da NF-e inicial</xs:documentation>
|
|
150
|
+
</xs:annotation>
|
|
151
|
+
</xs:element>
|
|
152
|
+
<xs:element name="nNFFin" type="TNF" minOccurs="0">
|
|
153
|
+
<xs:annotation>
|
|
154
|
+
<xs:documentation>Número da NF-e final</xs:documentation>
|
|
155
|
+
</xs:annotation>
|
|
156
|
+
</xs:element>
|
|
157
|
+
<xs:element name="dhRecbto" type="TDateTimeUTC">
|
|
158
|
+
<xs:annotation>
|
|
159
|
+
<xs:documentation>Data e hora de recebimento, no formato AAAA-MM-DDTHH:MM:SS. 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 Pedido de Inutilização.</xs:documentation>
|
|
160
|
+
</xs:annotation>
|
|
161
|
+
</xs:element>
|
|
162
|
+
<xs:element name="nProt" type="TProt" minOccurs="0">
|
|
163
|
+
<xs:annotation>
|
|
164
|
+
<xs:documentation>Número do Protocolo de Status da NF-e. 1 posição (1 – Secretaria de Fazenda Estadual 2 – Receita Federal); 2 - código da UF - 2 posições ano; 10 seqüencial no ano.</xs:documentation>
|
|
165
|
+
</xs:annotation>
|
|
166
|
+
</xs:element>
|
|
167
|
+
</xs:sequence>
|
|
168
|
+
<xs:attribute name="Id" type="xs:ID" use="optional"/>
|
|
169
|
+
</xs:complexType>
|
|
170
|
+
</xs:element>
|
|
171
|
+
<xs:element ref="ds:Signature" minOccurs="0"/>
|
|
172
|
+
</xs:sequence>
|
|
173
|
+
<xs:attribute name="versao" type="TVerInutNFe" use="required"/>
|
|
174
|
+
</xs:complexType>
|
|
175
|
+
<xs:complexType name="TProcInutNFe">
|
|
176
|
+
<xs:annotation>
|
|
177
|
+
<xs:documentation>Tipo Pedido de inutilzação de númeração de NF-e processado</xs:documentation>
|
|
178
|
+
</xs:annotation>
|
|
179
|
+
<xs:sequence>
|
|
180
|
+
<xs:element name="inutNFe" type="TInutNFe"/>
|
|
181
|
+
<xs:element name="retInutNFe" type="TRetInutNFe"/>
|
|
182
|
+
</xs:sequence>
|
|
183
|
+
<xs:attribute name="versao" type="TVerInutNFe" use="required"/>
|
|
184
|
+
</xs:complexType>
|
|
185
|
+
<xs:simpleType name="TVerInutNFe">
|
|
186
|
+
<xs:annotation>
|
|
187
|
+
<xs:documentation>Tipo Versão do leiaute de Inutilização 4.00</xs:documentation>
|
|
188
|
+
</xs:annotation>
|
|
189
|
+
<xs:restriction base="xs:token">
|
|
190
|
+
<xs:pattern value="4\.00"/>
|
|
191
|
+
</xs:restriction>
|
|
192
|
+
</xs:simpleType>
|
|
193
|
+
</xs:schema>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<xs:schema xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/nfe" targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
|
3
|
-
<xs:include schemaLocation="leiauteNFe_v4.00.xsd"/>
|
|
4
|
-
<xs:element name="NFe" type="TNFe">
|
|
5
|
-
<xs:annotation>
|
|
6
|
-
<xs:documentation>Nota Fiscal Eletrônica</xs:documentation>
|
|
7
|
-
</xs:annotation>
|
|
8
|
-
</xs:element>
|
|
9
|
-
</xs:schema>
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xs:schema xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/nfe" targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
|
3
|
+
<xs:include schemaLocation="leiauteNFe_v4.00.xsd"/>
|
|
4
|
+
<xs:element name="NFe" type="TNFe">
|
|
5
|
+
<xs:annotation>
|
|
6
|
+
<xs:documentation>Nota Fiscal Eletrônica</xs:documentation>
|
|
7
|
+
</xs:annotation>
|
|
8
|
+
</xs:element>
|
|
9
|
+
</xs:schema>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<xs:schema xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/nfe" targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
|
3
|
-
<xs:include schemaLocation="leiauteInutNFe_v4.00.xsd"/>
|
|
4
|
-
<xs:element name="ProcInutNFe" type="TProcInutNFe">
|
|
5
|
-
<xs:annotation>
|
|
6
|
-
<xs:documentation>Pedido de inutilização de númeração de NF-e processado</xs:documentation>
|
|
7
|
-
</xs:annotation>
|
|
8
|
-
</xs:element>
|
|
9
|
-
</xs:schema>
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xs:schema xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/nfe" targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
|
3
|
+
<xs:include schemaLocation="leiauteInutNFe_v4.00.xsd"/>
|
|
4
|
+
<xs:element name="ProcInutNFe" type="TProcInutNFe">
|
|
5
|
+
<xs:annotation>
|
|
6
|
+
<xs:documentation>Pedido de inutilização de númeração de NF-e processado</xs:documentation>
|
|
7
|
+
</xs:annotation>
|
|
8
|
+
</xs:element>
|
|
9
|
+
</xs:schema>
|