node-sped-nfe 1.1.4 → 1.1.6

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 (431) hide show
  1. package/README.md +16 -1
  2. package/dist/index.d.ts +2 -2
  3. package/dist/index.js +2 -2
  4. package/dist/utils/eventos.js +198 -72
  5. package/dist/utils/extras.d.ts +3 -1
  6. package/dist/utils/extras.js +49 -1
  7. package/dist/utils/tools.d.ts +14 -0
  8. package/dist/utils/tools.js +305 -90
  9. package/package.json +6 -3
  10. package/schemas/PL_009_V4/110150_v1.00.xsd +88 -0
  11. package/schemas/PL_009_V4/Averb_v1.00.xsd +11 -0
  12. package/schemas/PL_009_V4/CCe_v1.00.xsd +11 -0
  13. package/schemas/PL_009_V4/EPEC_v1.00.xsd +9 -0
  14. package/schemas/PL_009_V4/EPP1.xml +13 -0
  15. package/schemas/PL_009_V4/ERP1.xml +19 -0
  16. package/schemas/PL_009_V4/EventoCancEConf_v1.00.xsd +9 -0
  17. package/schemas/PL_009_V4/EventoCancInsucessoNFe_v1.00.xsd +9 -0
  18. package/schemas/PL_009_V4/EventoEConf_v1.00.xsd +9 -0
  19. package/schemas/PL_009_V4/EventoInsucessoNFe_v1.00.xsd +9 -0
  20. package/schemas/PL_009_V4/MT_inutNFe_v4.00.xsd +9 -0
  21. package/schemas/PL_009_V4/SuframaInternaliza_v1.00.xsd +9 -0
  22. package/schemas/PL_009_V4/SuframaVistoria_v1.00.xsd +9 -0
  23. package/schemas/PL_009_V4/confRecebto_v1.00.xsd +9 -0
  24. package/schemas/PL_009_V4/consCad_v2.00.xsd +9 -0
  25. package/schemas/PL_009_V4/consGTIN_v1.00.xsd +10 -0
  26. package/schemas/PL_009_V4/consNFeDest_v1.01.xsd +10 -0
  27. package/schemas/PL_009_V4/consReciNFe_v3.10.xsd +9 -0
  28. package/schemas/PL_009_V4/consReciNFe_v4.00.xsd +9 -0
  29. package/schemas/PL_009_V4/consSitNFe_v3.10.xsd +9 -0
  30. package/schemas/PL_009_V4/consSitNFe_v4.00.xsd +9 -0
  31. package/schemas/PL_009_V4/consStatServ_v3.10.xsd +9 -0
  32. package/schemas/PL_009_V4/consStatServ_v4.00.xsd +9 -0
  33. package/schemas/PL_009_V4/distDFeInt_v1.00.xsd +71 -0
  34. package/schemas/PL_009_V4/distDFeInt_v1.01.xsd +97 -0
  35. package/schemas/PL_009_V4/downloadNFe_v1.00.xsd +10 -0
  36. package/schemas/PL_009_V4/e110110_v1.00.xsd +58 -0
  37. package/schemas/PL_009_V4/e110111_v1.00.xsd +42 -0
  38. package/schemas/PL_009_V4/e110112_v1.00.xsd +69 -0
  39. package/schemas/PL_009_V4/e110130_v1.00.xsd +102 -0
  40. package/schemas/PL_009_V4/e110131_v1.00.xsd +51 -0
  41. package/schemas/PL_009_V4/e110140NFCe_v1.00.xsd +118 -0
  42. package/schemas/PL_009_V4/e110140NFe_v1.00.xsd +124 -0
  43. package/schemas/PL_009_V4/e110140_v1.00.xsd +124 -0
  44. package/schemas/PL_009_V4/e110150_v1.00.xsd +88 -0
  45. package/schemas/PL_009_V4/e110192_v1.00.xsd +106 -0
  46. package/schemas/PL_009_V4/e110193_v1.00.xsd +40 -0
  47. package/schemas/PL_009_V4/e110750_v1.00.xsd +138 -0
  48. package/schemas/PL_009_V4/e110751_v1.00.xsd +39 -0
  49. package/schemas/PL_009_V4/e111500_v1.00.xsd +69 -0
  50. package/schemas/PL_009_V4/e111501_v1.00.xsd +69 -0
  51. package/schemas/PL_009_V4/e111502_v1.00.xsd +50 -0
  52. package/schemas/PL_009_V4/e111503_v1.00.xsd +50 -0
  53. package/schemas/PL_009_V4/e210200_v1.00.xsd +31 -0
  54. package/schemas/PL_009_V4/e210210_v1.00.xsd +31 -0
  55. package/schemas/PL_009_V4/e210220_v1.00.xsd +44 -0
  56. package/schemas/PL_009_V4/e210240_v1.00.xsd +44 -0
  57. package/schemas/PL_009_V4/e411500_v1.00.xsd +134 -0
  58. package/schemas/PL_009_V4/e411501_v1.00.xsd +134 -0
  59. package/schemas/PL_009_V4/e411502_v1.00.xsd +95 -0
  60. package/schemas/PL_009_V4/e411503_v1.00.xsd +95 -0
  61. package/schemas/PL_009_V4/e610130_v1.00.xsd +128 -0
  62. package/schemas/PL_009_V4/e610131_v1.00.xsd +68 -0
  63. package/schemas/PL_009_V4/e790700_v1.00.xsd +125 -0
  64. package/schemas/PL_009_V4/e990900_v1.00.xsd +87 -0
  65. package/schemas/PL_009_V4/e990910_v1.00.xsd +81 -0
  66. package/schemas/PL_009_V4/envAverb_v1.00.xsd +9 -0
  67. package/schemas/PL_009_V4/envCCe_v1.00.xsd +10 -0
  68. package/schemas/PL_009_V4/envCancelPProrrogNFe_v1.0.xsd +50 -0
  69. package/schemas/PL_009_V4/envComprovanteEntregaNFe_v1.00.xsd +11 -0
  70. package/schemas/PL_009_V4/envConfRecebto_v1.00.xsd +9 -0
  71. package/schemas/PL_009_V4/envEPEC_v1.00.xsd +9 -0
  72. package/schemas/PL_009_V4/envEventoAtorInteressado_v1.00.xsd +9 -0
  73. package/schemas/PL_009_V4/envEventoCancEConf_v1.00.xsd +10 -0
  74. package/schemas/PL_009_V4/envEventoCancEntregaNFe_v1.00.xsd +10 -0
  75. package/schemas/PL_009_V4/envEventoCancInsucessoNFe_v1.00.xsd +10 -0
  76. package/schemas/PL_009_V4/envEventoCancNFe_v1.00.xsd +9 -0
  77. package/schemas/PL_009_V4/envEventoCancSubst_v1.00.xsd +9 -0
  78. package/schemas/PL_009_V4/envEventoEConf_v1.00.xsd +10 -0
  79. package/schemas/PL_009_V4/envEventoEntregaNFe_v1.00.xsd +10 -0
  80. package/schemas/PL_009_V4/envEventoInsucessoNFe_v1.00.xsd +10 -0
  81. package/schemas/PL_009_V4/envEvento_v1.00.xsd +9 -0
  82. package/schemas/PL_009_V4/envFiscoNfe_v1.0.xsd +179 -0
  83. package/schemas/PL_009_V4/envPProrrogNFe_v1.0.xsd +65 -0
  84. package/schemas/PL_009_V4/envRemIndus_v1.00.xsd +9 -0
  85. package/schemas/PL_009_V4/envSuframaInternaliza_v1.00.xsd +10 -0
  86. package/schemas/PL_009_V4/envSuframaVistoria_v1.00.xsd +10 -0
  87. package/schemas/PL_009_V4/enviNFe_v3.10.xsd +9 -0
  88. package/schemas/PL_009_V4/enviNFe_v4.00.xsd +9 -0
  89. package/schemas/PL_009_V4/eventoAtorInteressado_v1.00.xsd +9 -0
  90. package/schemas/PL_009_V4/eventoCancEntregaNFe_v1.00.xsd +9 -0
  91. package/schemas/PL_009_V4/eventoCancNFe_v1.00.xsd +9 -0
  92. package/schemas/PL_009_V4/eventoCancSubst_v1.00.xsd +9 -0
  93. package/schemas/PL_009_V4/eventoEPEC_v0.01.xsd +267 -0
  94. package/schemas/PL_009_V4/eventoEPEC_v1.00.xsd +231 -0
  95. package/schemas/PL_009_V4/eventoEntregaNFe_v1.00.xsd +9 -0
  96. package/schemas/PL_009_V4/eventoRemIndus_v1.00.xsd +9 -0
  97. package/schemas/PL_009_V4/inutNFe_v3.10.xsd +9 -0
  98. package/schemas/PL_009_V4/inutNFe_v4.00.xsd +9 -0
  99. package/schemas/PL_009_V4/leiauteAverb_v1.00.xsd +482 -0
  100. package/schemas/PL_009_V4/leiauteCCe_v1.00.xsd +382 -0
  101. package/schemas/PL_009_V4/leiauteCcgConsGTIN_v1.00.xsd +94 -0
  102. package/schemas/PL_009_V4/leiauteComprovanteEntregaNFe_v1.00.xsd +487 -0
  103. package/schemas/PL_009_V4/leiauteConfRecebto_v1.00.xsd +369 -0
  104. package/schemas/PL_009_V4/leiauteConsNFeDest_v1.01.xsd +483 -0
  105. package/schemas/PL_009_V4/leiauteConsSitNFe_v3.10.xsd +502 -0
  106. package/schemas/PL_009_V4/leiauteConsSitNFe_v4.00.xsd +502 -0
  107. package/schemas/PL_009_V4/leiauteConsStatServ_v3.10.xsd +98 -0
  108. package/schemas/PL_009_V4/leiauteConsStatServ_v4.00.xsd +98 -0
  109. package/schemas/PL_009_V4/leiauteConsultaCadastro_v2.00.xsd +404 -0
  110. package/schemas/PL_009_V4/leiauteDownloadNFe_v1.00.xsd +149 -0
  111. package/schemas/PL_009_V4/leiauteEPEC_v1.00.xsd +423 -0
  112. package/schemas/PL_009_V4/leiauteEventoAtorInteressado_v1.00.xsd +384 -0
  113. package/schemas/PL_009_V4/leiauteEventoCancEConf_v1.00.xsd +296 -0
  114. package/schemas/PL_009_V4/leiauteEventoCancEntregaNFe_v1.00.xsd +307 -0
  115. package/schemas/PL_009_V4/leiauteEventoCancInsucessoNFe_v1.00.xsd +297 -0
  116. package/schemas/PL_009_V4/leiauteEventoCancNFe_v1.00.xsd +358 -0
  117. package/schemas/PL_009_V4/leiauteEventoCancSubst_v1.00.xsd +366 -0
  118. package/schemas/PL_009_V4/leiauteEventoEConf_v1.00.xsd +296 -0
  119. package/schemas/PL_009_V4/leiauteEventoEntregaNFe_v1.00.xsd +321 -0
  120. package/schemas/PL_009_V4/leiauteEventoInsucessoNFe_v1.00.xsd +297 -0
  121. package/schemas/PL_009_V4/leiauteEvento_v1.00.xsd +335 -0
  122. package/schemas/PL_009_V4/leiauteInutNFe_v3.10.xsd +193 -0
  123. package/schemas/PL_009_V4/leiauteInutNFe_v4.00.xsd +193 -0
  124. package/schemas/PL_009_V4/leiauteInutNFe_v4.00_MT.xsd +200 -0
  125. package/schemas/PL_009_V4/leiauteNFe_v3.10.xsd +6060 -0
  126. package/schemas/PL_009_V4/leiauteNFe_v4.00.xsd +7412 -0
  127. package/schemas/PL_009_V4/leiauteRemIndus_v1.00.xsd +344 -0
  128. package/schemas/PL_009_V4/leiauteSuframaInternaliza_v1.00.xsd +642 -0
  129. package/schemas/PL_009_V4/leiauteSuframaVistoria_v1.00.xsd +648 -0
  130. package/schemas/PL_009_V4/nfe_v3.10.xsd +9 -0
  131. package/schemas/PL_009_V4/nfe_v4.00.xsd +9 -0
  132. package/schemas/PL_009_V4/procAverbNFe_v1.00.xsd +10 -0
  133. package/schemas/PL_009_V4/procCCeNFe_v1.00.xsd +10 -0
  134. package/schemas/PL_009_V4/procComprovanteEntregaNFe_v1.00.xsd +10 -0
  135. package/schemas/PL_009_V4/procConfRecebtoNFe_v1.00.xsd +9 -0
  136. package/schemas/PL_009_V4/procEPEC_v1.00.xsd +9 -0
  137. package/schemas/PL_009_V4/procEventoAtorInteressado_v1.00.xsd +9 -0
  138. package/schemas/PL_009_V4/procEventoCancEConf_v1.00.xsd +9 -0
  139. package/schemas/PL_009_V4/procEventoCancEntregaNFe_v1.00.xsd +9 -0
  140. package/schemas/PL_009_V4/procEventoCancInsucessoNFe_v1.00.xsd +9 -0
  141. package/schemas/PL_009_V4/procEventoCancNFe_v1.00.xsd +9 -0
  142. package/schemas/PL_009_V4/procEventoCancSubst_v1.00.xsd +9 -0
  143. package/schemas/PL_009_V4/procEventoEConf_v1.00.xsd +9 -0
  144. package/schemas/PL_009_V4/procEventoEntregaNFe_v1.00.xsd +9 -0
  145. package/schemas/PL_009_V4/procEventoInsucessoNFe_v1.00.xsd +9 -0
  146. package/schemas/PL_009_V4/procEventoNFe_v1.00.xsd +9 -0
  147. package/schemas/PL_009_V4/procEventoNFe_v99.99.xsd +37 -0
  148. package/schemas/PL_009_V4/procInutNFe_v3.10.xsd +9 -0
  149. package/schemas/PL_009_V4/procInutNFe_v4.00.xsd +9 -0
  150. package/schemas/PL_009_V4/procNFe_v3.10.xsd +9 -0
  151. package/schemas/PL_009_V4/procNFe_v4.00.xsd +9 -0
  152. package/schemas/PL_009_V4/procRemIndus_v1.00.xsd +9 -0
  153. package/schemas/PL_009_V4/prod_leiauteNFe_v4.00.xsd +6736 -0
  154. package/schemas/PL_009_V4/resEvento_v1.00.xsd +94 -0
  155. package/schemas/PL_009_V4/resEvento_v1.01.xsd +108 -0
  156. package/schemas/PL_009_V4/resNFe_v1.00.xsd +110 -0
  157. package/schemas/PL_009_V4/resNFe_v1.01.xsd +122 -0
  158. package/schemas/PL_009_V4/retComprovanteEntregaNFe_v1.00.xsd +10 -0
  159. package/schemas/PL_009_V4/retConsCad_v2.00.xsd +9 -0
  160. package/schemas/PL_009_V4/retConsGTIN_v1.00.xsd +9 -0
  161. package/schemas/PL_009_V4/retConsReciNFe_v3.10.xsd +9 -0
  162. package/schemas/PL_009_V4/retConsReciNFe_v4.00.xsd +9 -0
  163. package/schemas/PL_009_V4/retConsSitNFe_v3.10.xsd +9 -0
  164. package/schemas/PL_009_V4/retConsSitNFe_v4.00.xsd +9 -0
  165. package/schemas/PL_009_V4/retConsStatServ_v3.10.xsd +9 -0
  166. package/schemas/PL_009_V4/retConsStatServ_v4.00.xsd +9 -0
  167. package/schemas/PL_009_V4/retDistDFeInt_v1.00.xsd +84 -0
  168. package/schemas/PL_009_V4/retDistDFeInt_v1.01.xsd +99 -0
  169. package/schemas/PL_009_V4/retDownloadNFe_v1.00.xsd +9 -0
  170. package/schemas/PL_009_V4/retEnvAverb_v1.00.xsd +9 -0
  171. package/schemas/PL_009_V4/retEnvAverb_v1.00_1.xsd +9 -0
  172. package/schemas/PL_009_V4/retEnvCCe_v1.00.xsd +10 -0
  173. package/schemas/PL_009_V4/retEnvCancelPProrrogNFe_v1.0.xsd +231 -0
  174. package/schemas/PL_009_V4/retEnvConfRecebto_v1.00.xsd +9 -0
  175. package/schemas/PL_009_V4/retEnvEPEC_v1.00.xsd +9 -0
  176. package/schemas/PL_009_V4/retEnvEventoAtorInteressado_v1.00.xsd +9 -0
  177. package/schemas/PL_009_V4/retEnvEventoCancNFe_v1.00.xsd +9 -0
  178. package/schemas/PL_009_V4/retEnvEventoCancSubst_v1.00.xsd +9 -0
  179. package/schemas/PL_009_V4/retEnvEvento_v1.00.xsd +9 -0
  180. package/schemas/PL_009_V4/retEnvFiscoNFe_v1.0.xsd +234 -0
  181. package/schemas/PL_009_V4/retEnvRemIndus_v1.00.xsd +9 -0
  182. package/schemas/PL_009_V4/retEnvSuframaInternaliza_v1.00.xsd +9 -0
  183. package/schemas/PL_009_V4/retEnvSuframaVistoria_v1.00.xsd +9 -0
  184. package/schemas/PL_009_V4/retEnviNFe_v3.10.xsd +9 -0
  185. package/schemas/PL_009_V4/retEnviNFe_v4.00.xsd +9 -0
  186. package/schemas/PL_009_V4/retEventoCancEConf_v1.00.xsd +9 -0
  187. package/schemas/PL_009_V4/retEventoCancEntregaNFe_v1.00.xsd +9 -0
  188. package/schemas/PL_009_V4/retEventoCancInsucessoNFe_v1.00.xsd +9 -0
  189. package/schemas/PL_009_V4/retEventoEConf_v1.00.xsd +9 -0
  190. package/schemas/PL_009_V4/retEventoEPEC_v0.01.xsd +207 -0
  191. package/schemas/PL_009_V4/retEventoEntregaNFe_v1.00.xsd +9 -0
  192. package/schemas/PL_009_V4/retEventoInsucessoNFe_v1.00.xsd +9 -0
  193. package/schemas/PL_009_V4/retInutNFe_v3.10.xsd +9 -0
  194. package/schemas/PL_009_V4/retInutNFe_v4.00.xsd +9 -0
  195. package/schemas/PL_009_V4/retPProrrogNFe_v1.0.xsd +233 -0
  196. package/schemas/PL_009_V4/retconsNFeDest_v1.01.xsd +9 -0
  197. package/schemas/PL_009_V4/tiposBasico_v1.03.xsd +871 -0
  198. package/schemas/PL_009_V4/tiposBasico_v3.10.xsd +571 -0
  199. package/schemas/PL_009_V4/tiposBasico_v4.00.xsd +598 -0
  200. package/schemas/PL_009_V4/tiposBasicosCcgConsGTIN_v1.00.xsd +84 -0
  201. package/schemas/PL_009_V4/tiposDistDFe_v1.00.xsd +217 -0
  202. package/schemas/PL_009_V4/tiposDistDFe_v1.01.xsd +222 -0
  203. package/schemas/PL_009_V4/xmldsig-core-schema_v1.01.xsd +98 -0
  204. package/schemas/PL_009p_NT2024_003/consReciNFe_v4.00.xsd +9 -0
  205. package/schemas/PL_009p_NT2024_003/consSitNFe_v4.00.xsd +9 -0
  206. package/schemas/PL_009p_NT2024_003/consStatServ_v4.00.xsd +9 -0
  207. package/schemas/PL_009p_NT2024_003/enviNFe_v4.00.xsd +9 -0
  208. package/schemas/PL_009p_NT2024_003/inutNFe_v4.00.xsd +9 -0
  209. package/schemas/PL_009p_NT2024_003/leiauteConsSitNFe_v4.00.xsd +502 -0
  210. package/schemas/PL_009p_NT2024_003/leiauteConsStatServ_v4.00.xsd +98 -0
  211. package/schemas/PL_009p_NT2024_003/leiauteInutNFe_v4.00.xsd +193 -0
  212. package/schemas/PL_009p_NT2024_003/leiauteNFe_v4.00.xsd +7412 -0
  213. package/schemas/PL_009p_NT2024_003/nfe_v4.00.xsd +9 -0
  214. package/schemas/PL_009p_NT2024_003/procInutNFe_v4.00.xsd +9 -0
  215. package/schemas/PL_009p_NT2024_003/procNFe_v4.00.xsd +9 -0
  216. package/schemas/PL_009p_NT2024_003/retConsReciNFe_v4.00.xsd +9 -0
  217. package/schemas/PL_009p_NT2024_003/retConsSitNFe_v4.00.xsd +9 -0
  218. package/schemas/PL_009p_NT2024_003/retConsStatServ_v4.00.xsd +9 -0
  219. package/schemas/PL_009p_NT2024_003/retEnviNFe_v4.00.xsd +9 -0
  220. package/schemas/PL_009p_NT2024_003/retInutNFe_v4.00.xsd +9 -0
  221. package/schemas/PL_009p_NT2024_003/tiposBasico_v4.00.xsd +598 -0
  222. package/schemas/PL_009p_NT2024_003/xmldsig-core-schema_v1.01.xsd +98 -0
  223. package/schemas/PL_010_V1/110150_v1.00.xsd +88 -0
  224. package/schemas/PL_010_V1/Averb_v1.00.xsd +11 -0
  225. package/schemas/PL_010_V1/CCe_v1.00.xsd +11 -0
  226. package/schemas/PL_010_V1/DFeTiposBasicos_v1.00.xsd +938 -0
  227. package/schemas/PL_010_V1/EPEC_v1.00.xsd +9 -0
  228. package/schemas/PL_010_V1/EPP1.xml +13 -0
  229. package/schemas/PL_010_V1/ERP1.xml +19 -0
  230. package/schemas/PL_010_V1/EventoCancEConf_v1.00.xsd +9 -0
  231. package/schemas/PL_010_V1/EventoCancInsucessoNFe_v1.00.xsd +9 -0
  232. package/schemas/PL_010_V1/EventoEConf_v1.00.xsd +9 -0
  233. package/schemas/PL_010_V1/EventoInsucessoNFe_v1.00.xsd +9 -0
  234. package/schemas/PL_010_V1/MT_inutNFe_v4.00.xsd +9 -0
  235. package/schemas/PL_010_V1/SuframaInternaliza_v1.00.xsd +9 -0
  236. package/schemas/PL_010_V1/SuframaVistoria_v1.00.xsd +9 -0
  237. package/schemas/PL_010_V1/confRecebto_v1.00.xsd +9 -0
  238. package/schemas/PL_010_V1/consCad_v2.00.xsd +9 -0
  239. package/schemas/PL_010_V1/consGTIN_v1.00.xsd +10 -0
  240. package/schemas/PL_010_V1/consNFeDest_v1.01.xsd +10 -0
  241. package/schemas/PL_010_V1/consReciNFe_v3.10.xsd +9 -0
  242. package/schemas/PL_010_V1/consReciNFe_v4.00.xsd +9 -0
  243. package/schemas/PL_010_V1/consSitNFe_v3.10.xsd +9 -0
  244. package/schemas/PL_010_V1/consSitNFe_v4.00.xsd +9 -0
  245. package/schemas/PL_010_V1/consStatServ_v3.10.xsd +9 -0
  246. package/schemas/PL_010_V1/consStatServ_v4.00.xsd +9 -0
  247. package/schemas/PL_010_V1/distDFeInt_v1.00.xsd +71 -0
  248. package/schemas/PL_010_V1/distDFeInt_v1.01.xsd +97 -0
  249. package/schemas/PL_010_V1/downloadNFe_v1.00.xsd +10 -0
  250. package/schemas/PL_010_V1/e110110_v1.00.xsd +58 -0
  251. package/schemas/PL_010_V1/e110111_v1.00.xsd +42 -0
  252. package/schemas/PL_010_V1/e110112_v1.00.xsd +69 -0
  253. package/schemas/PL_010_V1/e110130_v1.00.xsd +102 -0
  254. package/schemas/PL_010_V1/e110131_v1.00.xsd +51 -0
  255. package/schemas/PL_010_V1/e110140NFCe_v1.00.xsd +118 -0
  256. package/schemas/PL_010_V1/e110140NFe_v1.00.xsd +124 -0
  257. package/schemas/PL_010_V1/e110140_v1.00.xsd +124 -0
  258. package/schemas/PL_010_V1/e110150_v1.00.xsd +88 -0
  259. package/schemas/PL_010_V1/e110192_v1.00.xsd +106 -0
  260. package/schemas/PL_010_V1/e110193_v1.00.xsd +40 -0
  261. package/schemas/PL_010_V1/e110750_v1.00.xsd +138 -0
  262. package/schemas/PL_010_V1/e110751_v1.00.xsd +39 -0
  263. package/schemas/PL_010_V1/e111500_v1.00.xsd +69 -0
  264. package/schemas/PL_010_V1/e111501_v1.00.xsd +69 -0
  265. package/schemas/PL_010_V1/e111502_v1.00.xsd +50 -0
  266. package/schemas/PL_010_V1/e111503_v1.00.xsd +50 -0
  267. package/schemas/PL_010_V1/e210200_v1.00.xsd +31 -0
  268. package/schemas/PL_010_V1/e210210_v1.00.xsd +31 -0
  269. package/schemas/PL_010_V1/e210220_v1.00.xsd +44 -0
  270. package/schemas/PL_010_V1/e210240_v1.00.xsd +44 -0
  271. package/schemas/PL_010_V1/e411500_v1.00.xsd +134 -0
  272. package/schemas/PL_010_V1/e411501_v1.00.xsd +134 -0
  273. package/schemas/PL_010_V1/e411502_v1.00.xsd +95 -0
  274. package/schemas/PL_010_V1/e411503_v1.00.xsd +95 -0
  275. package/schemas/PL_010_V1/e610130_v1.00.xsd +128 -0
  276. package/schemas/PL_010_V1/e610131_v1.00.xsd +68 -0
  277. package/schemas/PL_010_V1/e790700_v1.00.xsd +125 -0
  278. package/schemas/PL_010_V1/e990900_v1.00.xsd +87 -0
  279. package/schemas/PL_010_V1/e990910_v1.00.xsd +81 -0
  280. package/schemas/PL_010_V1/envAverb_v1.00.xsd +9 -0
  281. package/schemas/PL_010_V1/envCCe_v1.00.xsd +10 -0
  282. package/schemas/PL_010_V1/envCancelPProrrogNFe_v1.0.xsd +50 -0
  283. package/schemas/PL_010_V1/envComprovanteEntregaNFe_v1.00.xsd +11 -0
  284. package/schemas/PL_010_V1/envConfRecebto_v1.00.xsd +9 -0
  285. package/schemas/PL_010_V1/envEPEC_v1.00.xsd +9 -0
  286. package/schemas/PL_010_V1/envEventoAtorInteressado_v1.00.xsd +9 -0
  287. package/schemas/PL_010_V1/envEventoCancEConf_v1.00.xsd +10 -0
  288. package/schemas/PL_010_V1/envEventoCancEntregaNFe_v1.00.xsd +10 -0
  289. package/schemas/PL_010_V1/envEventoCancInsucessoNFe_v1.00.xsd +10 -0
  290. package/schemas/PL_010_V1/envEventoCancNFe_v1.00.xsd +9 -0
  291. package/schemas/PL_010_V1/envEventoCancSubst_v1.00.xsd +9 -0
  292. package/schemas/PL_010_V1/envEventoEConf_v1.00.xsd +10 -0
  293. package/schemas/PL_010_V1/envEventoEntregaNFe_v1.00.xsd +10 -0
  294. package/schemas/PL_010_V1/envEventoInsucessoNFe_v1.00.xsd +10 -0
  295. package/schemas/PL_010_V1/envEvento_v1.00.xsd +9 -0
  296. package/schemas/PL_010_V1/envFiscoNfe_v1.0.xsd +179 -0
  297. package/schemas/PL_010_V1/envPProrrogNFe_v1.0.xsd +65 -0
  298. package/schemas/PL_010_V1/envRemIndus_v1.00.xsd +9 -0
  299. package/schemas/PL_010_V1/envSuframaInternaliza_v1.00.xsd +10 -0
  300. package/schemas/PL_010_V1/envSuframaVistoria_v1.00.xsd +10 -0
  301. package/schemas/PL_010_V1/enviNFe_v3.10.xsd +9 -0
  302. package/schemas/PL_010_V1/enviNFe_v4.00.xsd +9 -0
  303. package/schemas/PL_010_V1/eventoAtorInteressado_v1.00.xsd +9 -0
  304. package/schemas/PL_010_V1/eventoCancEntregaNFe_v1.00.xsd +9 -0
  305. package/schemas/PL_010_V1/eventoCancNFe_v1.00.xsd +9 -0
  306. package/schemas/PL_010_V1/eventoCancSubst_v1.00.xsd +9 -0
  307. package/schemas/PL_010_V1/eventoEPEC_v0.01.xsd +267 -0
  308. package/schemas/PL_010_V1/eventoEPEC_v1.00.xsd +231 -0
  309. package/schemas/PL_010_V1/eventoEntregaNFe_v1.00.xsd +9 -0
  310. package/schemas/PL_010_V1/eventoRemIndus_v1.00.xsd +9 -0
  311. package/schemas/PL_010_V1/inutNFe_v3.10.xsd +9 -0
  312. package/schemas/PL_010_V1/inutNFe_v4.00.xsd +9 -0
  313. package/schemas/PL_010_V1/leiauteAverb_v1.00.xsd +482 -0
  314. package/schemas/PL_010_V1/leiauteCCe_v1.00.xsd +382 -0
  315. package/schemas/PL_010_V1/leiauteCcgConsGTIN_v1.00.xsd +94 -0
  316. package/schemas/PL_010_V1/leiauteComprovanteEntregaNFe_v1.00.xsd +487 -0
  317. package/schemas/PL_010_V1/leiauteConfRecebto_v1.00.xsd +369 -0
  318. package/schemas/PL_010_V1/leiauteConsNFeDest_v1.01.xsd +483 -0
  319. package/schemas/PL_010_V1/leiauteConsSitNFe_v3.10.xsd +502 -0
  320. package/schemas/PL_010_V1/leiauteConsSitNFe_v4.00.xsd +502 -0
  321. package/schemas/PL_010_V1/leiauteConsStatServ_v3.10.xsd +98 -0
  322. package/schemas/PL_010_V1/leiauteConsStatServ_v4.00.xsd +98 -0
  323. package/schemas/PL_010_V1/leiauteConsultaCadastro_v2.00.xsd +404 -0
  324. package/schemas/PL_010_V1/leiauteDownloadNFe_v1.00.xsd +149 -0
  325. package/schemas/PL_010_V1/leiauteEPEC_v1.00.xsd +423 -0
  326. package/schemas/PL_010_V1/leiauteEventoAtorInteressado_v1.00.xsd +384 -0
  327. package/schemas/PL_010_V1/leiauteEventoCancEConf_v1.00.xsd +296 -0
  328. package/schemas/PL_010_V1/leiauteEventoCancEntregaNFe_v1.00.xsd +307 -0
  329. package/schemas/PL_010_V1/leiauteEventoCancInsucessoNFe_v1.00.xsd +297 -0
  330. package/schemas/PL_010_V1/leiauteEventoCancNFe_v1.00.xsd +358 -0
  331. package/schemas/PL_010_V1/leiauteEventoCancSubst_v1.00.xsd +366 -0
  332. package/schemas/PL_010_V1/leiauteEventoEConf_v1.00.xsd +296 -0
  333. package/schemas/PL_010_V1/leiauteEventoEntregaNFe_v1.00.xsd +321 -0
  334. package/schemas/PL_010_V1/leiauteEventoInsucessoNFe_v1.00.xsd +297 -0
  335. package/schemas/PL_010_V1/leiauteEvento_v1.00.xsd +335 -0
  336. package/schemas/PL_010_V1/leiauteInutNFe_v3.10.xsd +193 -0
  337. package/schemas/PL_010_V1/leiauteInutNFe_v4.00.xsd +193 -0
  338. package/schemas/PL_010_V1/leiauteInutNFe_v4.00_MT.xsd +200 -0
  339. package/schemas/PL_010_V1/leiauteNFe_v3.10.xsd +6060 -0
  340. package/schemas/PL_010_V1/leiauteNFe_v4.00.xsd +7438 -0
  341. package/schemas/PL_010_V1/leiauteRemIndus_v1.00.xsd +344 -0
  342. package/schemas/PL_010_V1/leiauteSuframaInternaliza_v1.00.xsd +642 -0
  343. package/schemas/PL_010_V1/leiauteSuframaVistoria_v1.00.xsd +648 -0
  344. package/schemas/PL_010_V1/nfe_v3.10.xsd +9 -0
  345. package/schemas/PL_010_V1/nfe_v4.00.xsd +10 -0
  346. package/schemas/PL_010_V1/procAverbNFe_v1.00.xsd +10 -0
  347. package/schemas/PL_010_V1/procCCeNFe_v1.00.xsd +10 -0
  348. package/schemas/PL_010_V1/procComprovanteEntregaNFe_v1.00.xsd +10 -0
  349. package/schemas/PL_010_V1/procConfRecebtoNFe_v1.00.xsd +9 -0
  350. package/schemas/PL_010_V1/procEPEC_v1.00.xsd +9 -0
  351. package/schemas/PL_010_V1/procEventoAtorInteressado_v1.00.xsd +9 -0
  352. package/schemas/PL_010_V1/procEventoCancEConf_v1.00.xsd +9 -0
  353. package/schemas/PL_010_V1/procEventoCancEntregaNFe_v1.00.xsd +9 -0
  354. package/schemas/PL_010_V1/procEventoCancInsucessoNFe_v1.00.xsd +9 -0
  355. package/schemas/PL_010_V1/procEventoCancNFe_v1.00.xsd +9 -0
  356. package/schemas/PL_010_V1/procEventoCancSubst_v1.00.xsd +9 -0
  357. package/schemas/PL_010_V1/procEventoEConf_v1.00.xsd +9 -0
  358. package/schemas/PL_010_V1/procEventoEntregaNFe_v1.00.xsd +9 -0
  359. package/schemas/PL_010_V1/procEventoInsucessoNFe_v1.00.xsd +9 -0
  360. package/schemas/PL_010_V1/procEventoNFe_v1.00.xsd +9 -0
  361. package/schemas/PL_010_V1/procEventoNFe_v99.99.xsd +37 -0
  362. package/schemas/PL_010_V1/procInutNFe_v3.10.xsd +9 -0
  363. package/schemas/PL_010_V1/procInutNFe_v4.00.xsd +9 -0
  364. package/schemas/PL_010_V1/procNFe_v3.10.xsd +9 -0
  365. package/schemas/PL_010_V1/procNFe_v4.00.xsd +9 -0
  366. package/schemas/PL_010_V1/procRemIndus_v1.00.xsd +9 -0
  367. package/schemas/PL_010_V1/prod_leiauteNFe_v4.00.xsd +6736 -0
  368. package/schemas/PL_010_V1/resEvento_v1.00.xsd +94 -0
  369. package/schemas/PL_010_V1/resEvento_v1.01.xsd +108 -0
  370. package/schemas/PL_010_V1/resNFe_v1.00.xsd +110 -0
  371. package/schemas/PL_010_V1/resNFe_v1.01.xsd +122 -0
  372. package/schemas/PL_010_V1/retComprovanteEntregaNFe_v1.00.xsd +10 -0
  373. package/schemas/PL_010_V1/retConsCad_v2.00.xsd +9 -0
  374. package/schemas/PL_010_V1/retConsGTIN_v1.00.xsd +9 -0
  375. package/schemas/PL_010_V1/retConsReciNFe_v3.10.xsd +9 -0
  376. package/schemas/PL_010_V1/retConsReciNFe_v4.00.xsd +9 -0
  377. package/schemas/PL_010_V1/retConsSitNFe_v3.10.xsd +9 -0
  378. package/schemas/PL_010_V1/retConsSitNFe_v4.00.xsd +9 -0
  379. package/schemas/PL_010_V1/retConsStatServ_v3.10.xsd +9 -0
  380. package/schemas/PL_010_V1/retConsStatServ_v4.00.xsd +9 -0
  381. package/schemas/PL_010_V1/retDistDFeInt_v1.00.xsd +84 -0
  382. package/schemas/PL_010_V1/retDistDFeInt_v1.01.xsd +99 -0
  383. package/schemas/PL_010_V1/retDownloadNFe_v1.00.xsd +9 -0
  384. package/schemas/PL_010_V1/retEnvAverb_v1.00.xsd +9 -0
  385. package/schemas/PL_010_V1/retEnvAverb_v1.00_1.xsd +9 -0
  386. package/schemas/PL_010_V1/retEnvCCe_v1.00.xsd +10 -0
  387. package/schemas/PL_010_V1/retEnvCancelPProrrogNFe_v1.0.xsd +231 -0
  388. package/schemas/PL_010_V1/retEnvConfRecebto_v1.00.xsd +9 -0
  389. package/schemas/PL_010_V1/retEnvEPEC_v1.00.xsd +9 -0
  390. package/schemas/PL_010_V1/retEnvEventoAtorInteressado_v1.00.xsd +9 -0
  391. package/schemas/PL_010_V1/retEnvEventoCancNFe_v1.00.xsd +9 -0
  392. package/schemas/PL_010_V1/retEnvEventoCancSubst_v1.00.xsd +9 -0
  393. package/schemas/PL_010_V1/retEnvEvento_v1.00.xsd +9 -0
  394. package/schemas/PL_010_V1/retEnvFiscoNFe_v1.0.xsd +234 -0
  395. package/schemas/PL_010_V1/retEnvRemIndus_v1.00.xsd +9 -0
  396. package/schemas/PL_010_V1/retEnvSuframaInternaliza_v1.00.xsd +9 -0
  397. package/schemas/PL_010_V1/retEnvSuframaVistoria_v1.00.xsd +9 -0
  398. package/schemas/PL_010_V1/retEnviNFe_v3.10.xsd +9 -0
  399. package/schemas/PL_010_V1/retEnviNFe_v4.00.xsd +9 -0
  400. package/schemas/PL_010_V1/retEventoCancEConf_v1.00.xsd +9 -0
  401. package/schemas/PL_010_V1/retEventoCancEntregaNFe_v1.00.xsd +9 -0
  402. package/schemas/PL_010_V1/retEventoCancInsucessoNFe_v1.00.xsd +9 -0
  403. package/schemas/PL_010_V1/retEventoEConf_v1.00.xsd +9 -0
  404. package/schemas/PL_010_V1/retEventoEPEC_v0.01.xsd +207 -0
  405. package/schemas/PL_010_V1/retEventoEntregaNFe_v1.00.xsd +9 -0
  406. package/schemas/PL_010_V1/retEventoInsucessoNFe_v1.00.xsd +9 -0
  407. package/schemas/PL_010_V1/retInutNFe_v3.10.xsd +9 -0
  408. package/schemas/PL_010_V1/retInutNFe_v4.00.xsd +9 -0
  409. package/schemas/PL_010_V1/retPProrrogNFe_v1.0.xsd +233 -0
  410. package/schemas/PL_010_V1/retconsNFeDest_v1.01.xsd +9 -0
  411. package/schemas/PL_010_V1/tiposBasico_v1.03.xsd +871 -0
  412. package/schemas/PL_010_V1/tiposBasico_v3.10.xsd +571 -0
  413. package/schemas/PL_010_V1/tiposBasico_v4.00.xsd +598 -0
  414. package/schemas/PL_010_V1/tiposBasicosCcgConsGTIN_v1.00.xsd +84 -0
  415. package/schemas/PL_010_V1/tiposDistDFe_v1.00.xsd +217 -0
  416. package/schemas/PL_010_V1/tiposDistDFe_v1.01.xsd +222 -0
  417. package/schemas/PL_010_V1/xmldsig-core-schema_v1.01.xsd +98 -0
  418. package/schemas/Teste/EventoCancEntregaNFe_v1.00.xsd +9 -0
  419. package/schemas/Teste/EventoEntregaNFe_v1.00.xsd +9 -0
  420. package/schemas/Teste/e110130_v1.00.xsd +102 -0
  421. package/schemas/Teste/e110131_v1.00.xsd +51 -0
  422. package/schemas/Teste/envEventoCancEntregaNFe_v1.00.xsd +10 -0
  423. package/schemas/Teste/envEventoEntregaNFe_v1.00.xsd +10 -0
  424. package/schemas/Teste/leiauteEventoCancEntregaNFe_v1.00.xsd +307 -0
  425. package/schemas/Teste/leiauteEventoEntregaNFe_v1.00.xsd +321 -0
  426. package/schemas/Teste/procEventoCancEntregaNFe_v1.00.xsd +9 -0
  427. package/schemas/Teste/procEventoEntregaNFe_v1.00.xsd +9 -0
  428. package/schemas/Teste/retEventoCancEntregaNFe_v1.00.xsd +9 -0
  429. package/schemas/Teste/retEventoEntregaNFe_v1.00.xsd +9 -0
  430. package/schemas/Teste/tiposBasico_v1.03.xsd +871 -0
  431. package/schemas/Teste/xmldsig-core-schema_v1.01.xsd +98 -0
@@ -0,0 +1,366 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- edited with XMLSpy v2008 (http://www.altova.com) by sas-softwares@procergs.rs.gov.br (PROCERGS) -->
3
+ <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">
4
+ <xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema_v1.01.xsd"/>
5
+ <xs:include schemaLocation="tiposBasico_v1.03.xsd"/>
6
+ <xs:complexType name="TEvento">
7
+ <xs:annotation>
8
+ <xs:documentation>Tipo Evento</xs:documentation>
9
+ </xs:annotation>
10
+ <xs:sequence>
11
+ <xs:element name="infEvento">
12
+ <xs:complexType>
13
+ <xs:sequence>
14
+ <xs:element name="cOrgao" type="TCOrgaoIBGE">
15
+ <xs:annotation>
16
+ <xs:documentation>Código do órgão de recepção do Evento. Utilizar a Tabela do IBGE extendida, utilizar 91 para identificar o Ambiente Nacional</xs:documentation>
17
+ </xs:annotation>
18
+ </xs:element>
19
+ <xs:element name="tpAmb" type="TAmb">
20
+ <xs:annotation>
21
+ <xs:documentation>Identificação do Ambiente:
22
+ 1 - Produção
23
+ 2 - Homologação</xs:documentation>
24
+ </xs:annotation>
25
+ </xs:element>
26
+ <xs:choice>
27
+ <xs:annotation>
28
+ <xs:documentation>Identificação do autor do evento</xs:documentation>
29
+ </xs:annotation>
30
+ <xs:element name="CNPJ" type="TCnpjOpc">
31
+ <xs:annotation>
32
+ <xs:documentation>CNPJ</xs:documentation>
33
+ </xs:annotation>
34
+ </xs:element>
35
+ <xs:element name="CPF" type="TCpf">
36
+ <xs:annotation>
37
+ <xs:documentation>CPF</xs:documentation>
38
+ </xs:annotation>
39
+ </xs:element>
40
+ </xs:choice>
41
+ <xs:element name="chNFe" type="TChNFe">
42
+ <xs:annotation>
43
+ <xs:documentation>Chave de Acesso da NF-e vinculada ao evento</xs:documentation>
44
+ </xs:annotation>
45
+ </xs:element>
46
+ <xs:element name="dhEvento" type="TDateTimeUTC">
47
+ <xs:annotation>
48
+ <xs:documentation>Data e Hora do Evento, formato UTC (AAAA-MM-DDThh:mm:ssTZD, onde TZD = +hh:mm ou -hh:mm)</xs:documentation>
49
+ </xs:annotation>
50
+ </xs:element>
51
+ <xs:element name="tpEvento">
52
+ <xs:annotation>
53
+ <xs:documentation>Tipo do Evento</xs:documentation>
54
+ </xs:annotation>
55
+ <xs:simpleType>
56
+ <xs:restriction base="xs:string">
57
+ <xs:whiteSpace value="preserve"/>
58
+ <xs:pattern value="[0-9]{6}"/>
59
+ <xs:enumeration value="110112"/>
60
+ </xs:restriction>
61
+ </xs:simpleType>
62
+ </xs:element>
63
+ <xs:element name="nSeqEvento">
64
+ <xs:annotation>
65
+ <xs:documentation>Seqüencial do evento para o mesmo tipo de evento. Para maioria dos eventos será 1, nos casos em que possa existir mais de um evento, como é o caso da carta de correção, o autor do evento deve numerar de forma seqüencial.</xs:documentation>
66
+ </xs:annotation>
67
+ <xs:simpleType>
68
+ <xs:restriction base="xs:string">
69
+ <xs:whiteSpace value="preserve"/>
70
+ <xs:pattern value="[1-9]|[1][0-9]{0,1}|20"/>
71
+ </xs:restriction>
72
+ </xs:simpleType>
73
+ </xs:element>
74
+ <xs:element name="verEvento">
75
+ <xs:annotation>
76
+ <xs:documentation>Versão do Tipo do Evento</xs:documentation>
77
+ </xs:annotation>
78
+ <xs:simpleType>
79
+ <xs:restriction base="xs:string">
80
+ <xs:whiteSpace value="preserve"/>
81
+ <xs:enumeration value="1.00"/>
82
+ </xs:restriction>
83
+ </xs:simpleType>
84
+ </xs:element>
85
+ <xs:element name="detEvento">
86
+ <xs:annotation>
87
+ <xs:documentation>Schema XML de validação do evento do cancelamento por substituição 110112</xs:documentation>
88
+ </xs:annotation>
89
+ <xs:complexType>
90
+ <xs:sequence>
91
+ <xs:element name="descEvento">
92
+ <xs:annotation>
93
+ <xs:documentation>Descrição do Evento - “Cancelamento por substituição”</xs:documentation>
94
+ </xs:annotation>
95
+ <xs:simpleType>
96
+ <xs:restriction base="xs:string">
97
+ <xs:whiteSpace value="preserve"/>
98
+ <xs:enumeration value="Cancelamento por substituicao"/>
99
+ </xs:restriction>
100
+ </xs:simpleType>
101
+ </xs:element>
102
+ <xs:element name="cOrgaoAutor" type="TCodUfIBGE">
103
+ <xs:annotation>
104
+ <xs:documentation>Código do Órgão Autor do Evento. Informar o Código da UF para este Evento.</xs:documentation>
105
+ </xs:annotation>
106
+ </xs:element>
107
+ <xs:element name="tpAutor">
108
+ <xs:annotation>
109
+ <xs:documentation>Autor do Evento de Irregularidade FiscalInformar 5=Fisco para este Evento.
110
+ Valores: 1=Empresa Emitente, 2=Empresa destinatária; 3=Empresa; 5=Fisco;6=RFB; 9=Outros Órgãos;
111
+ </xs:documentation>
112
+ </xs:annotation>
113
+ <xs:simpleType>
114
+ <xs:restriction base="xs:string">
115
+ <xs:enumeration value="1"/>
116
+ </xs:restriction>
117
+ </xs:simpleType>
118
+ </xs:element>
119
+ <xs:element name="verAplic" type="TVerAplic">
120
+ <xs:annotation>
121
+ <xs:documentation>Versão do Aplicativo que recebeu o Evento</xs:documentation>
122
+ </xs:annotation>
123
+ </xs:element>
124
+ <xs:element name="nProt" type="TProt">
125
+ <xs:annotation>
126
+ <xs:documentation>Número do Protocolo de Status da NF-e. 1 posição (1 – Secretaria de Fazenda Estadual 2 – Receita Federal); 2 posições ano; 10 seqüencial no ano.</xs:documentation>
127
+ </xs:annotation>
128
+ </xs:element>
129
+ <xs:element name="xJust" type="TJust">
130
+ <xs:annotation>
131
+ <xs:documentation>Justificativa do cancelamento</xs:documentation>
132
+ </xs:annotation>
133
+ </xs:element>
134
+ <xs:element name="chNFeRef" type="TChNFe">
135
+ <xs:annotation>
136
+ <xs:documentation>Chave de Acesso NF-e vinculada</xs:documentation>
137
+ </xs:annotation>
138
+ </xs:element>
139
+ </xs:sequence>
140
+ <xs:attribute name="versao" use="required">
141
+ <xs:simpleType>
142
+ <xs:restriction base="xs:string">
143
+ <xs:whiteSpace value="preserve"/>
144
+ <xs:enumeration value="1.00"/>
145
+ </xs:restriction>
146
+ </xs:simpleType>
147
+ </xs:attribute>
148
+ </xs:complexType>
149
+ </xs:element>
150
+ </xs:sequence>
151
+ <xs:attribute name="Id" use="required">
152
+ <xs:annotation>
153
+ <xs:documentation>Identificador da TAG a ser assinada, a regra de formação do Id é:
154
+ “ID” + tpEvento + chave da NF-e + nSeqEvento</xs:documentation>
155
+ </xs:annotation>
156
+ <xs:simpleType>
157
+ <xs:restriction base="xs:ID">
158
+ <xs:pattern value="ID[0-9]{52}"/>
159
+ </xs:restriction>
160
+ </xs:simpleType>
161
+ </xs:attribute>
162
+ </xs:complexType>
163
+ </xs:element>
164
+ <xs:element ref="ds:Signature"/>
165
+ </xs:sequence>
166
+ <xs:attribute name="versao" type="TVerEvento" use="required"/>
167
+ </xs:complexType>
168
+ <xs:complexType name="TRetEvento">
169
+ <xs:annotation>
170
+ <xs:documentation>Tipo retorno do Evento</xs:documentation>
171
+ </xs:annotation>
172
+ <xs:sequence>
173
+ <xs:element name="infEvento">
174
+ <xs:complexType>
175
+ <xs:sequence>
176
+ <xs:element name="tpAmb" type="TAmb">
177
+ <xs:annotation>
178
+ <xs:documentation>Identificação do Ambiente:
179
+ 1 - Produção
180
+ 2 - Homologação</xs:documentation>
181
+ </xs:annotation>
182
+ </xs:element>
183
+ <xs:element name="verAplic" type="TVerAplic">
184
+ <xs:annotation>
185
+ <xs:documentation>Versão do Aplicativo que recebeu o Evento</xs:documentation>
186
+ </xs:annotation>
187
+ </xs:element>
188
+ <xs:element name="cOrgao" type="TCOrgaoIBGE">
189
+ <xs:annotation>
190
+ <xs:documentation>Código do órgão de recepção do Evento. Utilizar a Tabela do IBGE extendida, utilizar 91 para identificar o Ambiente Nacional</xs:documentation>
191
+ </xs:annotation>
192
+ </xs:element>
193
+ <xs:element name="cStat" type="TStat">
194
+ <xs:annotation>
195
+ <xs:documentation>Código do status da registro do Evento</xs:documentation>
196
+ </xs:annotation>
197
+ </xs:element>
198
+ <xs:element name="xMotivo" type="TMotivo">
199
+ <xs:annotation>
200
+ <xs:documentation>Descrição literal do status do registro do Evento</xs:documentation>
201
+ </xs:annotation>
202
+ </xs:element>
203
+ <xs:element name="chNFe" type="TChNFe" minOccurs="0">
204
+ <xs:annotation>
205
+ <xs:documentation>Chave de Acesso NF-e vinculada</xs:documentation>
206
+ </xs:annotation>
207
+ </xs:element>
208
+ <xs:element name="tpEvento" minOccurs="0">
209
+ <xs:annotation>
210
+ <xs:documentation>Tipo do Evento vinculado</xs:documentation>
211
+ </xs:annotation>
212
+ <xs:simpleType>
213
+ <xs:restriction base="xs:string">
214
+ <xs:whiteSpace value="preserve"/>
215
+ <xs:pattern value="[0-9]{6}"/>
216
+ <xs:enumeration value="110112"/>
217
+ </xs:restriction>
218
+ </xs:simpleType>
219
+ </xs:element>
220
+ <xs:element name="xEvento" minOccurs="0">
221
+ <xs:annotation>
222
+ <xs:documentation>Descrição do Evento</xs:documentation>
223
+ </xs:annotation>
224
+ <xs:simpleType>
225
+ <xs:restriction base="TString">
226
+ <xs:minLength value="5"/>
227
+ <xs:maxLength value="60"/>
228
+ </xs:restriction>
229
+ </xs:simpleType>
230
+ </xs:element>
231
+ <xs:element name="nSeqEvento" minOccurs="0">
232
+ <xs:annotation>
233
+ <xs:documentation>Seqüencial do evento</xs:documentation>
234
+ </xs:annotation>
235
+ <xs:simpleType>
236
+ <xs:restriction base="xs:string">
237
+ <xs:whiteSpace value="preserve"/>
238
+ <xs:pattern value="[1-9][0-9]{0,1}"/>
239
+ </xs:restriction>
240
+ </xs:simpleType>
241
+ </xs:element>
242
+ <xs:element name="cOrgaoAutor" type="TCodUfIBGE" minOccurs="0">
243
+ <xs:annotation>
244
+ <xs:documentation>Código do Órgão Autor do Evento. Informar o Código da UF para este Evento.</xs:documentation>
245
+ </xs:annotation>
246
+ </xs:element>
247
+ <xs:element name="dhRegEvento">
248
+ <xs:annotation>
249
+ <xs:documentation>Data e Hora de do recebimento do evento ou do registro do evento formato UTC AAAA-MM-DDThh:mm:ssTZD.</xs:documentation>
250
+ </xs:annotation>
251
+ <xs:simpleType>
252
+ <xs:restriction base="xs:string">
253
+ <xs:whiteSpace value="preserve"/>
254
+ <xs:pattern value="(((20(([02468][048])|([13579][26]))-02-29))|(20[0-9][0-9])-((((0[1-9])|(1[0-2]))-((0[1-9])|(1\d)|(2[0-8])))|((((0[13578])|(1[02]))-31)|(((0[1,3-9])|(1[0-2]))-(29|30)))))T(20|21|22|23|[0-1]\d):[0-5]\d:[0-5]\d-0[1-4]:00"/>
255
+ </xs:restriction>
256
+ </xs:simpleType>
257
+ </xs:element>
258
+ <xs:element name="nProt" type="TProt" minOccurs="0">
259
+ <xs:annotation>
260
+ <xs:documentation>Número do protocolo de registro do evento</xs:documentation>
261
+ </xs:annotation>
262
+ </xs:element>
263
+ </xs:sequence>
264
+ <xs:attribute name="Id" use="optional">
265
+ <xs:simpleType>
266
+ <xs:restriction base="xs:ID">
267
+ <xs:pattern value="ID[0-9]{15}"/>
268
+ </xs:restriction>
269
+ </xs:simpleType>
270
+ </xs:attribute>
271
+ </xs:complexType>
272
+ </xs:element>
273
+ <xs:element ref="ds:Signature" minOccurs="0"/>
274
+ </xs:sequence>
275
+ <xs:attribute name="versao" type="TVerEvento" use="required"/>
276
+ </xs:complexType>
277
+ <xs:complexType name="TEnvEvento">
278
+ <xs:annotation>
279
+ <xs:documentation> Tipo Lote de Envio</xs:documentation>
280
+ </xs:annotation>
281
+ <xs:sequence>
282
+ <xs:element name="idLote">
283
+ <xs:simpleType>
284
+ <xs:restriction base="xs:string">
285
+ <xs:whiteSpace value="preserve"/>
286
+ <xs:pattern value="[0-9]{1,15}"/>
287
+ </xs:restriction>
288
+ </xs:simpleType>
289
+ </xs:element>
290
+ <xs:element name="evento" type="TEvento" maxOccurs="20"/>
291
+ </xs:sequence>
292
+ <xs:attribute name="versao" type="TVerEnvEvento" use="required"/>
293
+ </xs:complexType>
294
+ <xs:complexType name="TRetEnvEvento">
295
+ <xs:annotation>
296
+ <xs:documentation> Tipo Retorno de Lote de Envio</xs:documentation>
297
+ </xs:annotation>
298
+ <xs:sequence>
299
+ <xs:element name="idLote">
300
+ <xs:simpleType>
301
+ <xs:restriction base="xs:string">
302
+ <xs:whiteSpace value="preserve"/>
303
+ <xs:pattern value="[0-9]{1,15}"/>
304
+ </xs:restriction>
305
+ </xs:simpleType>
306
+ </xs:element>
307
+ <xs:element name="tpAmb" type="TAmb">
308
+ <xs:annotation>
309
+ <xs:documentation>Identificação do Ambiente:
310
+ 1 - Produção
311
+ 2 - Homologação</xs:documentation>
312
+ </xs:annotation>
313
+ </xs:element>
314
+ <xs:element name="verAplic" type="TVerAplic">
315
+ <xs:annotation>
316
+ <xs:documentation>Versão do Aplicativo que recebeu o Evento</xs:documentation>
317
+ </xs:annotation>
318
+ </xs:element>
319
+ <xs:element name="cOrgao" type="TCOrgaoIBGE">
320
+ <xs:annotation>
321
+ <xs:documentation>Código do òrgao que registrou o Evento</xs:documentation>
322
+ </xs:annotation>
323
+ </xs:element>
324
+ <xs:element name="cStat" type="TStat">
325
+ <xs:annotation>
326
+ <xs:documentation>Código do status da registro do Evento</xs:documentation>
327
+ </xs:annotation>
328
+ </xs:element>
329
+ <xs:element name="xMotivo" type="TMotivo">
330
+ <xs:annotation>
331
+ <xs:documentation>Descrição literal do status do registro do Evento</xs:documentation>
332
+ </xs:annotation>
333
+ </xs:element>
334
+ <xs:element name="retEvento" type="TRetEvento" minOccurs="0" maxOccurs="20"/>
335
+ </xs:sequence>
336
+ <xs:attribute name="versao" type="TVerEnvEvento" use="required"/>
337
+ </xs:complexType>
338
+ <xs:complexType name="TProcEvento">
339
+ <xs:annotation>
340
+ <xs:documentation>Tipo procEvento</xs:documentation>
341
+ </xs:annotation>
342
+ <xs:sequence>
343
+ <xs:element name="evento" type="TEvento"/>
344
+ <xs:element name="retEvento" type="TRetEvento"/>
345
+ </xs:sequence>
346
+ <xs:attribute name="versao" type="TVerEvento" use="required"/>
347
+ </xs:complexType>
348
+ <xs:simpleType name="TVerEnvEvento">
349
+ <xs:annotation>
350
+ <xs:documentation>Tipo Versão do EnvEvento</xs:documentation>
351
+ </xs:annotation>
352
+ <xs:restriction base="xs:string">
353
+ <xs:whiteSpace value="preserve"/>
354
+ <xs:pattern value="1\.00"/>
355
+ </xs:restriction>
356
+ </xs:simpleType>
357
+ <xs:simpleType name="TVerEvento">
358
+ <xs:annotation>
359
+ <xs:documentation>Tipo Versão do Evento</xs:documentation>
360
+ </xs:annotation>
361
+ <xs:restriction base="xs:string">
362
+ <xs:whiteSpace value="preserve"/>
363
+ <xs:pattern value="1\.00"/>
364
+ </xs:restriction>
365
+ </xs:simpleType>
366
+ </xs:schema>
@@ -0,0 +1,296 @@
1
+ <!-- edited with XMLSpy v2008 (http://www.altova.com) by sas-softwares@procergs.rs.gov.br (PROCERGS) -->
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:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema_v1.01.xsd"/>
4
+ <xs:include schemaLocation="tiposBasico_v1.03.xsd"/>
5
+ <xs:include schemaLocation="e110750_v1.00.xsd"/>
6
+ <xs:complexType name="TEvento">
7
+ <xs:annotation>
8
+ <xs:documentation>Tipo Evento</xs:documentation>
9
+ </xs:annotation>
10
+ <xs:sequence>
11
+ <xs:element name="infEvento">
12
+ <xs:complexType>
13
+ <xs:sequence>
14
+ <xs:element name="cOrgao" type="TCOrgaoIBGE">
15
+ <xs:annotation>
16
+ <xs:documentation>Código do órgão de recepção do Evento. Utilizar a Tabela do IBGE extendida, utilizar 91 para identificar o Ambiente Nacional</xs:documentation>
17
+ </xs:annotation>
18
+ </xs:element>
19
+ <xs:element name="tpAmb" type="TAmb">
20
+ <xs:annotation>
21
+ <xs:documentation>Identificação do Ambiente:
22
+ 1 - Produção
23
+ 2 - Homologação</xs:documentation>
24
+ </xs:annotation>
25
+ </xs:element>
26
+ <xs:choice>
27
+ <xs:annotation>
28
+ <xs:documentation>Identificação do autor do evento</xs:documentation>
29
+ </xs:annotation>
30
+ <xs:element name="CNPJ" type="TCnpjOpc">
31
+ <xs:annotation>
32
+ <xs:documentation>CNPJ</xs:documentation>
33
+ </xs:annotation>
34
+ </xs:element>
35
+ <xs:element name="CPF" type="TCpf">
36
+ <xs:annotation>
37
+ <xs:documentation>CPF</xs:documentation>
38
+ </xs:annotation>
39
+ </xs:element>
40
+ </xs:choice>
41
+ <xs:element name="chNFe" type="TChNFe">
42
+ <xs:annotation>
43
+ <xs:documentation>Chave de Acesso da NF-e vinculada ao evento</xs:documentation>
44
+ </xs:annotation>
45
+ </xs:element>
46
+ <xs:element name="dhEvento" type="TDateTimeUTC">
47
+ <xs:annotation>
48
+ <xs:documentation>Data de emissão no formato UTC. AAAA-MM-DDThh:mm:ssTZD</xs:documentation>
49
+ </xs:annotation>
50
+ </xs:element>
51
+ <xs:element name="tpEvento">
52
+ <xs:annotation>
53
+ <xs:documentation>Tipo do Evento</xs:documentation>
54
+ </xs:annotation>
55
+ <xs:simpleType>
56
+ <xs:restriction base="xs:string">
57
+ <xs:whiteSpace value="preserve"/>
58
+ <xs:pattern value="[0-9]{6}"/>
59
+ <xs:enumeration value="110750"/>
60
+ </xs:restriction>
61
+ </xs:simpleType>
62
+ </xs:element>
63
+ <xs:element name="nSeqEvento">
64
+ <xs:annotation>
65
+ <xs:documentation>Seqüencial do evento para o mesmo tipo de evento. Para maioria dos eventos será 1, nos casos em que possa existir mais de um evento, como é o caso da carta de correção, o autor do evento deve numerar de forma seqüencial.</xs:documentation>
66
+ </xs:annotation>
67
+ <xs:simpleType>
68
+ <xs:restriction base="xs:string">
69
+ <xs:whiteSpace value="preserve"/>
70
+ <xs:pattern value="[1-9][0-9]{0,1}"/>
71
+ </xs:restriction>
72
+ </xs:simpleType>
73
+ </xs:element>
74
+ <xs:element name="verEvento">
75
+ <xs:annotation>
76
+ <xs:documentation>Versão do Tipo do Evento</xs:documentation>
77
+ </xs:annotation>
78
+ <xs:simpleType>
79
+ <xs:restriction base="xs:string">
80
+ <xs:whiteSpace value="preserve"/>
81
+ <xs:enumeration value="1.00"/>
82
+ </xs:restriction>
83
+ </xs:simpleType>
84
+ </xs:element>
85
+ <xs:element ref="detEvento"/>
86
+ </xs:sequence>
87
+ <xs:attribute name="Id" use="required">
88
+ <xs:annotation>
89
+ <xs:documentation>Identificador da TAG a ser assinada, a regra de formação do Id é:
90
+ “ID” + tpEvento + chave da NF-e + nSeqEvento</xs:documentation>
91
+ </xs:annotation>
92
+ <xs:simpleType>
93
+ <xs:restriction base="xs:ID">
94
+ <xs:pattern value="ID[0-9]{52}"/>
95
+ </xs:restriction>
96
+ </xs:simpleType>
97
+ </xs:attribute>
98
+ </xs:complexType>
99
+ </xs:element>
100
+ <xs:element ref="ds:Signature"/>
101
+ </xs:sequence>
102
+ <xs:attribute name="versao" type="TVerEvento" use="required"/>
103
+ </xs:complexType>
104
+ <xs:simpleType name="TVerEvento">
105
+ <xs:annotation>
106
+ <xs:documentation>Tipo Versão do Evento</xs:documentation>
107
+ </xs:annotation>
108
+ <xs:restriction base="xs:string">
109
+ <xs:whiteSpace value="preserve"/>
110
+ <xs:pattern value="1\.00"/>
111
+ </xs:restriction>
112
+ </xs:simpleType>
113
+ <xs:complexType name="TretEvento">
114
+ <xs:annotation>
115
+ <xs:documentation>Tipo retorno do Evento</xs:documentation>
116
+ </xs:annotation>
117
+ <xs:sequence>
118
+ <xs:element name="infEvento">
119
+ <xs:complexType>
120
+ <xs:sequence>
121
+ <xs:element name="tpAmb" type="TAmb">
122
+ <xs:annotation>
123
+ <xs:documentation>Identificação do Ambiente:
124
+ 1 - Produção
125
+ 2 - Homologação</xs:documentation>
126
+ </xs:annotation>
127
+ </xs:element>
128
+ <xs:element name="verAplic" type="TVerAplic">
129
+ <xs:annotation>
130
+ <xs:documentation>Versão do Aplicativo que recebeu o Evento</xs:documentation>
131
+ </xs:annotation>
132
+ </xs:element>
133
+ <xs:element name="cOrgao" type="TCOrgaoIBGE">
134
+ <xs:annotation>
135
+ <xs:documentation>Código do órgão de recepção do Evento. Utilizar a Tabela do IBGE extendida, utilizar 91 para identificar o Ambiente Nacional</xs:documentation>
136
+ </xs:annotation>
137
+ </xs:element>
138
+ <xs:element name="cStat" type="TStat">
139
+ <xs:annotation>
140
+ <xs:documentation>Código do status da registro do Evento</xs:documentation>
141
+ </xs:annotation>
142
+ </xs:element>
143
+ <xs:element name="xMotivo" type="TMotivo">
144
+ <xs:annotation>
145
+ <xs:documentation>Descrição literal do status do registro do Evento</xs:documentation>
146
+ </xs:annotation>
147
+ </xs:element>
148
+ <xs:element name="chNFe" type="TChNFe" minOccurs="0">
149
+ <xs:annotation>
150
+ <xs:documentation>Chave de Acesso NF-e vinculada</xs:documentation>
151
+ </xs:annotation>
152
+ </xs:element>
153
+ <xs:element name="tpEvento" minOccurs="0">
154
+ <xs:annotation>
155
+ <xs:documentation>Tipo do Evento vinculado</xs:documentation>
156
+ </xs:annotation>
157
+ <xs:simpleType>
158
+ <xs:restriction base="xs:string">
159
+ <xs:whiteSpace value="preserve"/>
160
+ <xs:pattern value="[0-9]{6}"/>
161
+ </xs:restriction>
162
+ </xs:simpleType>
163
+ </xs:element>
164
+ <xs:element name="xEvento" minOccurs="0">
165
+ <xs:annotation>
166
+ <xs:documentation>Descrição do Evento</xs:documentation>
167
+ </xs:annotation>
168
+ <xs:simpleType>
169
+ <xs:restriction base="TString">
170
+ <xs:minLength value="5"/>
171
+ <xs:maxLength value="60"/>
172
+ </xs:restriction>
173
+ </xs:simpleType>
174
+ </xs:element>
175
+ <xs:element name="nSeqEvento" minOccurs="0">
176
+ <xs:annotation>
177
+ <xs:documentation>Seqüencial do evento</xs:documentation>
178
+ </xs:annotation>
179
+ <xs:simpleType>
180
+ <xs:restriction base="xs:string">
181
+ <xs:whiteSpace value="preserve"/>
182
+ <xs:pattern value="[1-9][0-9]{0,1}"/>
183
+ </xs:restriction>
184
+ </xs:simpleType>
185
+ </xs:element>
186
+ <xs:element name="dhRegEvento">
187
+ <xs:annotation>
188
+ <xs:documentation>Data e Hora de do recebimento do evento ou do registro do evento formato UTC AAAA-MM-DDThh:mm:ssTZD.</xs:documentation>
189
+ </xs:annotation>
190
+ <xs:simpleType>
191
+ <xs:restriction base="xs:string">
192
+ <xs:whiteSpace value="preserve"/>
193
+ <xs:pattern value="(((20(([02468][048])|([13579][26]))-02-29))|(20[0-9][0-9])-((((0[1-9])|(1[0-2]))-((0[1-9])|(1\d)|(2[0-8])))|((((0[13578])|(1[02]))-31)|(((0[1,3-9])|(1[0-2]))-(29|30)))))T(20|21|22|23|[0-1]\d):[0-5]\d:[0-5]\d-0[1-4]:00"/>
194
+ </xs:restriction>
195
+ </xs:simpleType>
196
+ </xs:element>
197
+ <xs:element name="nProt" type="TProt" minOccurs="0">
198
+ <xs:annotation>
199
+ <xs:documentation>Número do protocolo de registro do evento</xs:documentation>
200
+ </xs:annotation>
201
+ </xs:element>
202
+ </xs:sequence>
203
+ <xs:attribute name="Id" use="optional">
204
+ <xs:simpleType>
205
+ <xs:restriction base="xs:ID">
206
+ <xs:pattern value="ID[0-9]{15}"/>
207
+ </xs:restriction>
208
+ </xs:simpleType>
209
+ </xs:attribute>
210
+ </xs:complexType>
211
+ </xs:element>
212
+ <xs:element ref="ds:Signature" minOccurs="0"/>
213
+ </xs:sequence>
214
+ <xs:attribute name="versao" type="TVerEvento" use="required"/>
215
+ </xs:complexType>
216
+ <xs:complexType name="TEnvEvento">
217
+ <xs:annotation>
218
+ <xs:documentation> Tipo Lote de Envio</xs:documentation>
219
+ </xs:annotation>
220
+ <xs:sequence>
221
+ <xs:element name="idLote">
222
+ <xs:simpleType>
223
+ <xs:restriction base="xs:string">
224
+ <xs:whiteSpace value="preserve"/>
225
+ <xs:pattern value="[0-9]{1,15}"/>
226
+ </xs:restriction>
227
+ </xs:simpleType>
228
+ </xs:element>
229
+ <xs:element name="evento" type="TEvento" maxOccurs="20"/>
230
+ </xs:sequence>
231
+ <xs:attribute name="versao" type="TVerEnvEvento" use="required"/>
232
+ </xs:complexType>
233
+ <xs:simpleType name="TVerEnvEvento">
234
+ <xs:annotation>
235
+ <xs:documentation>Tipo Versão do EnvEvento</xs:documentation>
236
+ </xs:annotation>
237
+ <xs:restriction base="xs:string">
238
+ <xs:whiteSpace value="preserve"/>
239
+ <xs:pattern value="1\.00"/>
240
+ </xs:restriction>
241
+ </xs:simpleType>
242
+ <xs:complexType name="TRetEnvEvento">
243
+ <xs:annotation>
244
+ <xs:documentation> Tipo Retorno de Lote de Envio</xs:documentation>
245
+ </xs:annotation>
246
+ <xs:sequence>
247
+ <xs:element name="idLote">
248
+ <xs:simpleType>
249
+ <xs:restriction base="xs:string">
250
+ <xs:whiteSpace value="preserve"/>
251
+ <xs:pattern value="[0-9]{1,15}"/>
252
+ </xs:restriction>
253
+ </xs:simpleType>
254
+ </xs:element>
255
+ <xs:element name="tpAmb" type="TAmb">
256
+ <xs:annotation>
257
+ <xs:documentation>Identificação do Ambiente:
258
+ 1 - Produção
259
+ 2 - Homologação</xs:documentation>
260
+ </xs:annotation>
261
+ </xs:element>
262
+ <xs:element name="verAplic" type="TVerAplic">
263
+ <xs:annotation>
264
+ <xs:documentation>Versão do Aplicativo que recebeu o Evento</xs:documentation>
265
+ </xs:annotation>
266
+ </xs:element>
267
+ <xs:element name="cOrgao" type="TCOrgaoIBGE">
268
+ <xs:annotation>
269
+ <xs:documentation>Código do òrgao que registrou o Evento</xs:documentation>
270
+ </xs:annotation>
271
+ </xs:element>
272
+ <xs:element name="cStat" type="TStat">
273
+ <xs:annotation>
274
+ <xs:documentation>Código do status da registro do Evento</xs:documentation>
275
+ </xs:annotation>
276
+ </xs:element>
277
+ <xs:element name="xMotivo" type="TMotivo">
278
+ <xs:annotation>
279
+ <xs:documentation>Descrição literal do status do registro do Evento</xs:documentation>
280
+ </xs:annotation>
281
+ </xs:element>
282
+ <xs:element name="retEvento" type="TretEvento" minOccurs="0" maxOccurs="20"/>
283
+ </xs:sequence>
284
+ <xs:attribute name="versao" type="TVerEnvEvento" use="required"/>
285
+ </xs:complexType>
286
+ <xs:complexType name="TProcEvento">
287
+ <xs:annotation>
288
+ <xs:documentation>Tipo procEvento</xs:documentation>
289
+ </xs:annotation>
290
+ <xs:sequence>
291
+ <xs:element name="evento" type="TEvento"/>
292
+ <xs:element name="retEvento" type="TretEvento"/>
293
+ </xs:sequence>
294
+ <xs:attribute name="versao" type="TVerEvento" use="required"/>
295
+ </xs:complexType>
296
+ </xs:schema>