nfets 0.0.125 → 0.0.127

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.
Files changed (23) hide show
  1. package/dist/nfe/index.cjs +2 -2
  2. package/dist/nfe/index.mjs +13 -13
  3. package/package.json +1 -1
  4. package/packages/nfe/schemas/PL_009_V4/tiposBasico_v1.03.xsd +3 -3
  5. package/packages/nfe/schemas/PL_009_V4/tiposBasico_v3.10.xsd +4 -4
  6. package/packages/nfe/schemas/PL_009_V4/tiposBasico_v4.00.xsd +4 -4
  7. package/packages/nfe/schemas/PL_009_V4/tiposDistDFe_v1.00.xsd +2 -2
  8. package/packages/nfe/schemas/PL_009_V4/tiposDistDFe_v1.01.xsd +2 -2
  9. package/packages/nfe/schemas/PL_010_V1/DFeTiposBasicos_v1.00.xsd +650 -138
  10. package/packages/nfe/schemas/PL_010_V1/leiauteNFe_v4.00.xsd +216 -56
  11. package/packages/nfe/schemas/PL_010_V1/nfe_v4.00.xsd +10 -10
  12. package/packages/nfe/schemas/PL_010_V1/tiposBasico_v4.00.xsd +17 -7
  13. package/packages/nfe/schemas/PL_010_V1/xmldsig-core-schema_v1.01.xsd +97 -97
  14. package/packages/nfe/schemas/PL_010_V1.21/DFeTiposBasicos_v1.00.xsd +641 -138
  15. package/packages/nfe/schemas/PL_010_V1.21/leiauteNFe_v4.00.xsd +215 -56
  16. package/packages/nfe/schemas/PL_010_V1.21/nfe_v4.00.xsd +10 -10
  17. package/packages/nfe/schemas/PL_010_V1.21/tiposBasico_v4.00.xsd +17 -7
  18. package/packages/nfe/schemas/PL_010_V1.21/xmldsig-core-schema_v1.01.xsd +97 -97
  19. package/packages/nfe/schemas/PL_010_V1.30/DFeTiposBasicos_v1.00.xsd +352 -45
  20. package/packages/nfe/schemas/PL_010_V1.30/leiauteNFe_v4.00.xsd +186 -48
  21. package/packages/nfe/schemas/PL_010_V1.30/nfe_v4.00.xsd +10 -10
  22. package/packages/nfe/schemas/PL_010_V1.30/tiposBasico_v4.00.xsd +17 -7
  23. package/packages/nfe/schemas/PL_010_V1.30/xmldsig-core-schema_v1.01.xsd +97 -97
@@ -1,6 +1,16 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <!-- edited with XMLSpy v2025 rel. 2 (x64) (https://www.altova.com) by PROCERGS (Procergs - Centro de Tecnologia da Informação e Comunicação do Estado do Rio Grande do Sul S.A.) -->
3
3
  <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
4
+ <xs:simpleType name="TChDFeRTC">
5
+ <xs:annotation>
6
+ <xs:documentation>Tipo Chave de Documento Fiscal Eletrônico</xs:documentation>
7
+ </xs:annotation>
8
+ <xs:restriction base="xs:string">
9
+ <xs:whiteSpace value="preserve"/>
10
+ <xs:maxLength value="44"/>
11
+ <xs:pattern value="[0-9]{6}[A-Z0-9]{12}[0-9]{26}"/>
12
+ </xs:restriction>
13
+ </xs:simpleType>
4
14
  <xs:simpleType name="TStringRTC">
5
15
  <xs:annotation>
6
16
  <xs:documentation> Tipo string genérico</xs:documentation>
@@ -55,6 +65,24 @@
55
65
  <xs:pattern value="0\.[1-9]{1}[0-9]{3}|0\.[0-9]{3}[1-9]{1}|0\.[0-9]{2}[1-9]{1}[0-9]{1}|0\.[0-9]{1}[1-9]{1}[0-9]{2}|[1-9]{1}[0-9]{0,10}(\.[0-9]{4})?"/>
56
66
  </xs:restriction>
57
67
  </xs:simpleType>
68
+ <xs:simpleType name="TCnpjBaseRTC">
69
+ <xs:annotation>
70
+ <xs:documentation>Tipo CNPJ Base</xs:documentation>
71
+ </xs:annotation>
72
+ <xs:restriction base="xs:string">
73
+ <xs:whiteSpace value="preserve"/>
74
+ <xs:pattern value="[A-Z0-9]{8}"/>
75
+ </xs:restriction>
76
+ </xs:simpleType>
77
+ <xs:simpleType name="TCnpjRTC">
78
+ <xs:annotation>
79
+ <xs:documentation>Tipo CNPJ</xs:documentation>
80
+ </xs:annotation>
81
+ <xs:restriction base="xs:string">
82
+ <xs:whiteSpace value="preserve"/>
83
+ <xs:pattern value="[A-Z0-9]{12}[0-9]{2}"/>
84
+ </xs:restriction>
85
+ </xs:simpleType>
58
86
  <xs:simpleType name="TDec1302RTC">
59
87
  <xs:annotation>
60
88
  <xs:documentation>Tipo Decimal com 15 dígitos, sendo 13 de corpo e 2 decimais</xs:documentation>
@@ -81,6 +109,23 @@
81
109
  <xs:whiteSpace value="preserve"/>
82
110
  <xs:enumeration value="1"/>
83
111
  <xs:enumeration value="2"/>
112
+ <xs:enumeration value="3"/>
113
+ <xs:enumeration value="4"/>
114
+ </xs:restriction>
115
+ </xs:simpleType>
116
+ <xs:simpleType name="TRBSN">
117
+ <xs:annotation>
118
+ <xs:documentation>Tipo de Receita Bruta do SN</xs:documentation>
119
+ </xs:annotation>
120
+ <xs:restriction base="xs:string">
121
+ <xs:whiteSpace value="preserve"/>
122
+ <xs:enumeration value="0"/>
123
+ <xs:enumeration value="1"/>
124
+ <xs:enumeration value="2"/>
125
+ <xs:enumeration value="3"/>
126
+ <xs:enumeration value="4"/>
127
+ <xs:enumeration value="5"/>
128
+ <xs:enumeration value="9"/>
84
129
  </xs:restriction>
85
130
  </xs:simpleType>
86
131
  <xs:simpleType name="TEnteGov">
@@ -93,6 +138,8 @@
93
138
  <xs:enumeration value="2"/>
94
139
  <xs:enumeration value="3"/>
95
140
  <xs:enumeration value="4"/>
141
+ <xs:enumeration value="5"/>
142
+ <xs:enumeration value="6"/>
96
143
  </xs:restriction>
97
144
  </xs:simpleType>
98
145
  <xs:simpleType name="TTpCredPresIBSZFM">
@@ -115,6 +162,14 @@
115
162
  <xs:enumeration value="1"/>
116
163
  </xs:restriction>
117
164
  </xs:simpleType>
165
+ <xs:simpleType name="TCompetApur">
166
+ <xs:annotation>
167
+ <xs:documentation>Ano e mês referência do período de apuração (AAAA-MM)</xs:documentation>
168
+ </xs:annotation>
169
+ <xs:restriction base="xs:gYearMonth">
170
+ <xs:minInclusive value="2025-01"/>
171
+ </xs:restriction>
172
+ </xs:simpleType>
118
173
  <xs:complexType name="TTribNFCom">
119
174
  <xs:annotation>
120
175
  <xs:documentation>Grupo de informações da Tributação da NFCom</xs:documentation>
@@ -163,6 +218,26 @@
163
218
  </xs:element>
164
219
  </xs:sequence>
165
220
  </xs:complexType>
221
+ <xs:complexType name="TTribNFGas">
222
+ <xs:annotation>
223
+ <xs:documentation>Grupo de informações da Tributação da NFGas</xs:documentation>
224
+ </xs:annotation>
225
+ <xs:sequence>
226
+ <xs:element name="CST" type="TCST">
227
+ <xs:annotation>
228
+ <xs:documentation>Código Situação Tributária do IBS/CBS</xs:documentation>
229
+ </xs:annotation>
230
+ </xs:element>
231
+ <xs:element name="cClassTrib" type="TcClassTrib"/>
232
+ <xs:element name="indDoacao" type="TIndDoacao" minOccurs="0"/>
233
+ <xs:element name="gIBSCBS" type="TCIBS" minOccurs="0"/>
234
+ <xs:element name="gEstornoCred" type="TEstornoCred" minOccurs="0">
235
+ <xs:annotation>
236
+ <xs:documentation>Informado conforme indicador no cClassTrib</xs:documentation>
237
+ </xs:annotation>
238
+ </xs:element>
239
+ </xs:sequence>
240
+ </xs:complexType>
166
241
  <xs:complexType name="TTribNFAg">
167
242
  <xs:annotation>
168
243
  <xs:documentation>Grupo de informações da Tributação da NFAg</xs:documentation>
@@ -240,7 +315,7 @@
240
315
  </xs:annotation>
241
316
  </xs:element>
242
317
  <xs:choice minOccurs="0">
243
- <xs:element name="gIBSCBS" type="TCIBS"/>
318
+ <xs:element name="gIBSCBS" type="TCIBS_NFe"/>
244
319
  <xs:element name="gIBSCBSMono" type="TMonofasia"/>
245
320
  </xs:choice>
246
321
  </xs:sequence>
@@ -262,7 +337,7 @@
262
337
  </xs:annotation>
263
338
  </xs:element>
264
339
  <xs:choice minOccurs="0">
265
- <xs:element name="gIBSCBS" type="TCIBS"/>
340
+ <xs:element name="gIBSCBS" type="TCIBS_NFe"/>
266
341
  <xs:element name="gIBSCBSMono" type="TMonofasia">
267
342
  <xs:annotation>
268
343
  <xs:documentation>Informar essa opção da Choice para Monofasia (CST 620)</xs:documentation>
@@ -298,33 +373,6 @@
298
373
  </xs:choice>
299
374
  </xs:sequence>
300
375
  </xs:complexType>
301
- <xs:complexType name="TTribNFGas">
302
- <xs:annotation>
303
- <xs:documentation>Grupo de informações da Tributação da NFGas</xs:documentation>
304
- </xs:annotation>
305
- <xs:sequence>
306
- <xs:element name="CST" type="TCST">
307
- <xs:annotation>
308
- <xs:documentation>Código Situação Tributária do IBS/CBS</xs:documentation>
309
- </xs:annotation>
310
- </xs:element>
311
- <xs:element name="cClassTrib" type="TcClassTrib"/>
312
- <xs:element name="indDoacao" type="TIndDoacao" minOccurs="0"/>
313
- <xs:choice minOccurs="0">
314
- <xs:element name="gIBSCBS" type="TCIBS"/>
315
- <xs:element name="gIBSCBSMono" type="TMonofasia">
316
- <xs:annotation>
317
- <xs:documentation>Informar essa opção da Choice para Monofasia</xs:documentation>
318
- </xs:annotation>
319
- </xs:element>
320
- </xs:choice>
321
- <xs:element name="gEstornoCred" type="TEstornoCred" minOccurs="0">
322
- <xs:annotation>
323
- <xs:documentation>Informado conforme indicador no cClassTrib</xs:documentation>
324
- </xs:annotation>
325
- </xs:element>
326
- </xs:sequence>
327
- </xs:complexType>
328
376
  <xs:complexType name="TIS">
329
377
  <xs:annotation>
330
378
  <xs:documentation>Grupo de informações do Imposto Seletivo</xs:documentation>
@@ -347,7 +395,7 @@
347
395
  <xs:documentation>Alíquota do Imposto Seletivo (percentual)</xs:documentation>
348
396
  </xs:annotation>
349
397
  </xs:element>
350
- <xs:element name="pISEspec" type="TDec_0302_04RTC" minOccurs="0">
398
+ <xs:element name="adRemIS" type="TDec_0302_04RTC" minOccurs="0">
351
399
  <xs:annotation>
352
400
  <xs:documentation>Alíquota do Imposto Seletivo (por valor)</xs:documentation>
353
401
  </xs:annotation>
@@ -949,6 +997,152 @@
949
997
  <xs:documentation>Grupo de campos da redução de aliquota</xs:documentation>
950
998
  </xs:annotation>
951
999
  </xs:element>
1000
+ <xs:element name="gALCZFMCBS" type="TALCZFMCBS" minOccurs="0">
1001
+ <xs:annotation>
1002
+ <xs:documentation>Grupo de operações em áreas incentivadas (ALC/ZFM) - CBS (alíquota zero)</xs:documentation>
1003
+ <xs:documentation>Grupo de informações para identificação de operações em áreas incentivadas (ALC/ZFM) com alíquota zero da CBS, conforme arts. 451 e 466 da LC 214/2025, quando fornecedor e destinatário estiverem nessas áreas, distinguindo a existência de processo aprovado na Suframa.</xs:documentation>
1004
+ </xs:annotation>
1005
+ </xs:element>
1006
+ <xs:element name="vCBS" type="TDec1302RTC">
1007
+ <xs:annotation>
1008
+ <xs:documentation>Valor da CBS</xs:documentation>
1009
+ </xs:annotation>
1010
+ </xs:element>
1011
+ </xs:sequence>
1012
+ </xs:complexType>
1013
+ </xs:element>
1014
+ <xs:element name="gTribRegular" type="TTribRegular" minOccurs="0">
1015
+ <xs:annotation>
1016
+ <xs:documentation>Grupo de informações da Tributação Regular. Informar como seria a tributação caso não cumprida a condição resolutória/suspensiva. Exemplo 1: Art. 442, §4. Operações com ZFM e ALC. Exemplo 2: Operações com suspensão do tributo.</xs:documentation>
1017
+ </xs:annotation>
1018
+ </xs:element>
1019
+ <xs:element name="gTribCompraGov" type="TTribCompraGov" minOccurs="0">
1020
+ <xs:annotation>
1021
+ <xs:documentation>Grupo de informações da composição do valor do IBS e da CBS em compras governamental</xs:documentation>
1022
+ </xs:annotation>
1023
+ </xs:element>
1024
+ </xs:sequence>
1025
+ </xs:complexType>
1026
+ <xs:complexType name="TCIBS_NFe">
1027
+ <xs:annotation>
1028
+ <xs:documentation>Tipo CBS IBS Completo NFe</xs:documentation>
1029
+ </xs:annotation>
1030
+ <xs:sequence>
1031
+ <xs:annotation>
1032
+ <xs:documentation>IBS / CBS</xs:documentation>
1033
+ </xs:annotation>
1034
+ <xs:element name="vBC" type="TDec1302RTC">
1035
+ <xs:annotation>
1036
+ <xs:documentation>Valor do BC</xs:documentation>
1037
+ </xs:annotation>
1038
+ </xs:element>
1039
+ <xs:sequence>
1040
+ <xs:element name="gIBSUF">
1041
+ <xs:annotation>
1042
+ <xs:documentation>Grupo de informações do IBS na UF</xs:documentation>
1043
+ </xs:annotation>
1044
+ <xs:complexType>
1045
+ <xs:sequence>
1046
+ <xs:element name="pIBSUF" type="TDec_0302_04RTC">
1047
+ <xs:annotation>
1048
+ <xs:documentation>Aliquota do IBS de competência das UF (em percentual)</xs:documentation>
1049
+ </xs:annotation>
1050
+ </xs:element>
1051
+ <xs:element name="gDif" type="TDif" minOccurs="0">
1052
+ <xs:annotation>
1053
+ <xs:documentation>Grupo de campos do Diferimento</xs:documentation>
1054
+ </xs:annotation>
1055
+ </xs:element>
1056
+ <xs:element name="gDevTrib" type="TDevTrib" minOccurs="0">
1057
+ <xs:annotation>
1058
+ <xs:documentation>Grupo de Informações da devolução de tributos</xs:documentation>
1059
+ </xs:annotation>
1060
+ </xs:element>
1061
+ <xs:element name="gRed" type="TRed" minOccurs="0">
1062
+ <xs:annotation>
1063
+ <xs:documentation>Grupo de campos da redução de aliquota</xs:documentation>
1064
+ </xs:annotation>
1065
+ </xs:element>
1066
+ <xs:element name="vIBSUF" type="TDec1302RTC">
1067
+ <xs:annotation>
1068
+ <xs:documentation>Valor do IBS de competência das UF</xs:documentation>
1069
+ </xs:annotation>
1070
+ </xs:element>
1071
+ </xs:sequence>
1072
+ </xs:complexType>
1073
+ </xs:element>
1074
+ <xs:element name="gIBSMun">
1075
+ <xs:annotation>
1076
+ <xs:documentation>Grupo de Informações do IBS no Município</xs:documentation>
1077
+ </xs:annotation>
1078
+ <xs:complexType>
1079
+ <xs:sequence>
1080
+ <xs:element name="pIBSMun" type="TDec_0302_04RTC">
1081
+ <xs:annotation>
1082
+ <xs:documentation>Aliquota do IBS Municipal (em percentual)</xs:documentation>
1083
+ </xs:annotation>
1084
+ </xs:element>
1085
+ <xs:element name="gDif" type="TDif" minOccurs="0">
1086
+ <xs:annotation>
1087
+ <xs:documentation>Grupo de campos do Diferimento</xs:documentation>
1088
+ </xs:annotation>
1089
+ </xs:element>
1090
+ <xs:element name="gDevTrib" type="TDevTrib" minOccurs="0">
1091
+ <xs:annotation>
1092
+ <xs:documentation>Grupo de Informações da devolução de tributos</xs:documentation>
1093
+ </xs:annotation>
1094
+ </xs:element>
1095
+ <xs:element name="gRed" type="TRed" minOccurs="0">
1096
+ <xs:annotation>
1097
+ <xs:documentation>Grupo de campos da redução de aliquota</xs:documentation>
1098
+ </xs:annotation>
1099
+ </xs:element>
1100
+ <xs:element name="vIBSMun" type="TDec1302RTC">
1101
+ <xs:annotation>
1102
+ <xs:documentation>Valor do IBS Municipal</xs:documentation>
1103
+ </xs:annotation>
1104
+ </xs:element>
1105
+ </xs:sequence>
1106
+ </xs:complexType>
1107
+ </xs:element>
1108
+ <xs:element name="vIBS" type="TDec1302RTC">
1109
+ <xs:annotation>
1110
+ <xs:documentation>Valor do IBS</xs:documentation>
1111
+ </xs:annotation>
1112
+ </xs:element>
1113
+ </xs:sequence>
1114
+ <xs:element name="gCBS">
1115
+ <xs:annotation>
1116
+ <xs:documentation>Grupo de Tributação da CBS</xs:documentation>
1117
+ </xs:annotation>
1118
+ <xs:complexType>
1119
+ <xs:sequence>
1120
+ <xs:element name="pCBS" type="TDec_0302_04RTC">
1121
+ <xs:annotation>
1122
+ <xs:documentation>Aliquota da CBS (em percentual)</xs:documentation>
1123
+ </xs:annotation>
1124
+ </xs:element>
1125
+ <xs:element name="gDif" type="TDif" minOccurs="0">
1126
+ <xs:annotation>
1127
+ <xs:documentation>Grupo de campos do Diferimento</xs:documentation>
1128
+ </xs:annotation>
1129
+ </xs:element>
1130
+ <xs:element name="gDevTrib" type="TDevTrib" minOccurs="0">
1131
+ <xs:annotation>
1132
+ <xs:documentation>Grupo de Informações da devolução de tributos</xs:documentation>
1133
+ </xs:annotation>
1134
+ </xs:element>
1135
+ <xs:element name="gRed" type="TRed" minOccurs="0">
1136
+ <xs:annotation>
1137
+ <xs:documentation>Grupo de campos da redução de aliquota</xs:documentation>
1138
+ </xs:annotation>
1139
+ </xs:element>
1140
+ <xs:element name="gALCZFMCBS" type="TALCZFMCBS_NFe" minOccurs="0">
1141
+ <xs:annotation>
1142
+ <xs:documentation>Grupo de operações em áreas incentivadas (ALC/ZFM) - CBS (alíquota zero)</xs:documentation>
1143
+ <xs:documentation>Grupo de informações para identificação de operações em áreas incentivadas (ALC/ZFM) com alíquota zero da CBS, conforme arts. 451 e 466 da LC 214/2025, quando fornecedor e destinatário estiverem nessas áreas, distinguindo a existência de processo aprovado na Suframa.</xs:documentation>
1144
+ </xs:annotation>
1145
+ </xs:element>
952
1146
  <xs:element name="vCBS" type="TDec1302RTC">
953
1147
  <xs:annotation>
954
1148
  <xs:documentation>Valor da CBS</xs:documentation>
@@ -1032,10 +1226,14 @@
1032
1226
  <xs:documentation>Tipo Devolução Tributo</xs:documentation>
1033
1227
  </xs:annotation>
1034
1228
  <xs:sequence>
1229
+ <xs:element name="pDevTrib" type="TDec_0302_04RTC" minOccurs="0">
1230
+ <xs:annotation>
1231
+ <xs:documentation>Percentual de devolução do tributo, conforme LC 214/25 art. 118.</xs:documentation>
1232
+ </xs:annotation>
1233
+ </xs:element>
1035
1234
  <xs:element name="vDevTrib" type="TDec1302RTC">
1036
1235
  <xs:annotation>
1037
- <xs:documentation>Valor do tributo devolvido. No fornecimento de energia elétrica, água, esgoto e
1038
- gás natural e em outras hipóteses definidas no regulamento</xs:documentation>
1236
+ <xs:documentation>Valor do tributo devolvido ("cashback" de desconto na própria Nota Fiscal / Fatura)</xs:documentation>
1039
1237
  </xs:annotation>
1040
1238
  </xs:element>
1041
1239
  </xs:sequence>
@@ -1131,7 +1329,9 @@ gás natural e em outras hipóteses definidas no regulamento</xs:documentation>
1131
1329
  1=União
1132
1330
  2=Estados
1133
1331
  3=Distrito Federal
1134
- 4=Municípios</xs:documentation>
1332
+ 4=Municípios
1333
+ 5=Consórcio Público
1334
+ 6=Comitê Gestor do IBS</xs:documentation>
1135
1335
  </xs:annotation>
1136
1336
  </xs:element>
1137
1337
  <xs:element name="pRedutor" type="TDec_0302_04RTC">
@@ -1139,6 +1339,29 @@ gás natural e em outras hipóteses definidas no regulamento</xs:documentation>
1139
1339
  <xs:documentation>Percentual de redução de aliquota em compra governamental</xs:documentation>
1140
1340
  </xs:annotation>
1141
1341
  </xs:element>
1342
+ <xs:element name="tpOperGov" type="TOperCompraGov">
1343
+ <xs:annotation>
1344
+ <xs:documentation>Tipo da operação com ente governamental:
1345
+ 1 – Fornecimento com pagamento posterior;
1346
+
1347
+ 2 - Recebimento do pagamento com fornecimento já realizado;
1348
+
1349
+ 3 – Fornecimento com pagamento já realizado;
1350
+
1351
+ 4 – Recebimento do pagamento com fornecimento posterior;</xs:documentation>
1352
+ </xs:annotation>
1353
+ </xs:element>
1354
+ <xs:element name="refDFeAnt" minOccurs="0" maxOccurs="99" type="TChDFeRTC">
1355
+ <xs:annotation>
1356
+ <xs:documentation>Chave de acesso do documento fiscal anterior.
1357
+
1358
+ Deverá ser informado para tpOperGov 2 e 3 e vedado para os tipos 1 e 4.
1359
+
1360
+ No caso do tpOperGov 2 aceitará apenas uma chave referenciada, no tipo 3 poderá aceitar múltiplas chaves
1361
+
1362
+ Obs: a chave de acesso deverá ser de um emitente com o mesmo CNPJ base</xs:documentation>
1363
+ </xs:annotation>
1364
+ </xs:element>
1142
1365
  </xs:sequence>
1143
1366
  </xs:complexType>
1144
1367
  <xs:complexType name="TCompraGov">
@@ -1153,19 +1376,49 @@ gás natural e em outras hipóteses definidas no regulamento</xs:documentation>
1153
1376
  1=União
1154
1377
  2=Estados
1155
1378
  3=Distrito Federal
1156
- 4=Municípios</xs:documentation>
1379
+ 4=Municípios
1380
+ 5=Consórcio Público
1381
+ 6=Comitê Gestor do IBS</xs:documentation>
1157
1382
  </xs:annotation>
1158
1383
  </xs:element>
1159
1384
  <xs:element name="pRedutor" type="TDec_0302_04RTC">
1160
1385
  <xs:annotation>
1161
- <xs:documentation>Percentual de redução de aliquota em compra governamental</xs:documentation>
1386
+ <xs:documentation>Percentual de redução de alíquota em compra governamental</xs:documentation>
1162
1387
  </xs:annotation>
1163
1388
  </xs:element>
1164
1389
  <xs:element name="tpOperGov" type="TOperCompraGov">
1165
1390
  <xs:annotation>
1166
1391
  <xs:documentation>Tipo da operação com ente governamental:
1167
- 1 - Fornecimento
1168
- 2 - Recebimento do Pagamento</xs:documentation>
1392
+ 1 – Fornecimento com pagamento posterior;
1393
+ 2 - Recebimento do pagamento com fornecimento já realizado;
1394
+ 3 – Fornecimento com pagamento já realizado;
1395
+ 4 – Recebimento do pagamento com fornecimento posterior;</xs:documentation>
1396
+ </xs:annotation>
1397
+ </xs:element>
1398
+ <xs:element name="refDFeAnt" minOccurs="0" maxOccurs="99" type="TChDFeRTC">
1399
+ <xs:annotation>
1400
+ <xs:documentation>Chave de acesso do documento fiscal anterior.
1401
+
1402
+ Deverá ser informado para tpOperGov 2 e 3 e vedado para os tipos 1 e 4.
1403
+
1404
+ No caso do tpOperGov 2 aceitará apenas uma chave referenciada, no tipo 3 poderá aceitar múltiplas chaves
1405
+
1406
+ Obs: a chave de acesso deverá ser de um emitente com o mesmo CNPJ base</xs:documentation>
1407
+ </xs:annotation>
1408
+ </xs:element>
1409
+ </xs:sequence>
1410
+ </xs:complexType>
1411
+ <xs:complexType name="TPagRef">
1412
+ <xs:annotation>
1413
+ <xs:documentation>Tipo Pagamento que ocorre em DFe emitdo anteriormente</xs:documentation>
1414
+ <xs:documentation>Informado para abater as parcelas de antecipação de pagamento, conforme art. 10 §4</xs:documentation>
1415
+ </xs:annotation>
1416
+ <xs:sequence>
1417
+ <xs:element name="refDFe" maxOccurs="99" type="TChDFeRTC">
1418
+ <xs:annotation>
1419
+ <xs:documentation>Chave de acesso do documento fiscal de antecipação de pagamento
1420
+
1421
+ Obs: esse DFe deverá ter o indAntecipacaoPgto marcado no grupo ide</xs:documentation>
1169
1422
  </xs:annotation>
1170
1423
  </xs:element>
1171
1424
  </xs:sequence>
@@ -1187,6 +1440,68 @@ gás natural e em outras hipóteses definidas no regulamento</xs:documentation>
1187
1440
  </xs:element>
1188
1441
  </xs:sequence>
1189
1442
  </xs:complexType>
1443
+ <xs:complexType name="TALCZFMCBS">
1444
+ <xs:annotation>
1445
+ <xs:documentation>Tipo Operações em areas incentivadas com CBS Zero</xs:documentation>
1446
+ </xs:annotation>
1447
+ <xs:sequence>
1448
+ <xs:element name="pAliqEfetRegCBS" type="TDec_0302_04RTC">
1449
+ <xs:annotation>
1450
+ <xs:documentation>Percentual efetivo sem a redução</xs:documentation>
1451
+ <xs:documentation>Alíquota efetiva de referência da CBS aplicável à operação fora de áreas ou regimes incentivados.</xs:documentation>
1452
+ </xs:annotation>
1453
+ </xs:element>
1454
+ <xs:element name="vTribRegCBS" type="TDec1302RTC">
1455
+ <xs:annotation>
1456
+ <xs:documentation>Valor efetivo sem a redução</xs:documentation>
1457
+ <xs:documentation>Valor da CBS calculado para a operação fora de áreas ou regimes incentivado</xs:documentation>
1458
+ </xs:annotation>
1459
+ </xs:element>
1460
+ </xs:sequence>
1461
+ </xs:complexType>
1462
+ <xs:complexType name="TALCZFMCBS_NFe">
1463
+ <xs:annotation>
1464
+ <xs:documentation>Tipo Operações em áreas incentivadas (ALC/ZFM) - CBS (alíquota zero)</xs:documentation>
1465
+ </xs:annotation>
1466
+ <xs:sequence>
1467
+ <xs:element name="tpALCZFMCBS">
1468
+ <xs:annotation>
1469
+ <xs:documentation>Tipo de aplicação da alíquota zero da CBS.</xs:documentation>
1470
+ </xs:annotation>
1471
+ <xs:simpleType>
1472
+ <xs:restriction base="xs:string">
1473
+ <xs:whiteSpace value="preserve"/>
1474
+ <xs:enumeration value="1"/>
1475
+ <xs:enumeration value="2"/>
1476
+ </xs:restriction>
1477
+ </xs:simpleType>
1478
+ </xs:element>
1479
+ <xs:element name="nProcSuframa" minOccurs="0">
1480
+ <xs:annotation>
1481
+ <xs:documentation>Número do processo na Suframa para o item
1482
+ comercializado.</xs:documentation>
1483
+ </xs:annotation>
1484
+ <xs:simpleType>
1485
+ <xs:restriction base="TStringRTC">
1486
+ <xs:minLength value="8"/>
1487
+ <xs:maxLength value="12"/>
1488
+ </xs:restriction>
1489
+ </xs:simpleType>
1490
+ </xs:element>
1491
+ <xs:element name="pAliqEfetRegCBS" type="TDec_0302_04RTC">
1492
+ <xs:annotation>
1493
+ <xs:documentation>Percentual efetivo sem a redução</xs:documentation>
1494
+ <xs:documentation>Alíquota efetiva de referência da CBS aplicável à operação fora de áreas ou regimes incentivados.</xs:documentation>
1495
+ </xs:annotation>
1496
+ </xs:element>
1497
+ <xs:element name="vTribRegCBS" type="TDec1302RTC">
1498
+ <xs:annotation>
1499
+ <xs:documentation>Valor efetivo sem a redução</xs:documentation>
1500
+ <xs:documentation>Valor da CBS calculado para a operação fora de áreas ou regimes incentivado</xs:documentation>
1501
+ </xs:annotation>
1502
+ </xs:element>
1503
+ </xs:sequence>
1504
+ </xs:complexType>
1190
1505
  <xs:complexType name="TEstornoCred">
1191
1506
  <xs:annotation>
1192
1507
  <xs:documentation>Tipo Estorno de Crédito</xs:documentation>
@@ -1204,14 +1519,6 @@ gás natural e em outras hipóteses definidas no regulamento</xs:documentation>
1204
1519
  </xs:element>
1205
1520
  </xs:sequence>
1206
1521
  </xs:complexType>
1207
- <xs:simpleType name="TCompetApur">
1208
- <xs:annotation>
1209
- <xs:documentation>Ano e mês referência do período de apuração (AAAA-MM)</xs:documentation>
1210
- </xs:annotation>
1211
- <xs:restriction base="xs:gYearMonth">
1212
- <xs:minInclusive value="2025-01"/>
1213
- </xs:restriction>
1214
- </xs:simpleType>
1215
1522
  <xs:complexType name="TAjusteCompet">
1216
1523
  <xs:annotation>
1217
1524
  <xs:documentation>Tipo Ajuste de Competência</xs:documentation>