node-sped-nfe 1.1.5 → 1.1.7

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 +74 -76
  5. package/dist/utils/extras.d.ts +3 -1
  6. package/dist/utils/extras.js +49 -1
  7. package/dist/utils/tools.d.ts +13 -0
  8. package/dist/utils/tools.js +278 -61
  9. package/package.json +5 -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,384 @@
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="110150"/>
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 de Ator Interessado na NF-e - Transportador (110150)”</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 - "Ator interessado na NF-e”"</xs:documentation>
94
+ </xs:annotation>
95
+ <xs:simpleType>
96
+ <xs:restriction base="TString">
97
+ <xs:whiteSpace value="preserve"/>
98
+ <xs:enumeration value="Ator interessado na NF-e"/>
99
+ </xs:restriction>
100
+ </xs:simpleType>
101
+ </xs:element>
102
+ <xs:element name="cOrgaoAutor" type="TCodUfIBGE"/>
103
+ <xs:element name="tpAutor">
104
+ <xs:annotation>
105
+ <xs:documentation>Tipo do Órgão Autor do Evento. Informar uma das opções 1=Geração do Evento pelo Emitente; 2=Geração do Evento pelo Destinatário; 3=Geração do Evento pelo Transportador
106
+ Outros valores: 1=Empresa Emitente, 2=Empresa destinatária; 3=Empresa; 5=Fisco; 6=RFB; 9=Outros Órgãos;</xs:documentation>
107
+ </xs:annotation>
108
+ <xs:simpleType>
109
+ <xs:restriction base="xs:string">
110
+ <xs:whiteSpace value="preserve"/>
111
+ <xs:enumeration value="1"/>
112
+ <xs:enumeration value="2"/>
113
+ <xs:enumeration value="3"/>
114
+ </xs:restriction>
115
+ </xs:simpleType>
116
+ </xs:element>
117
+ <xs:element name="verAplic" type="TVerAplic">
118
+ <xs:annotation>
119
+ <xs:documentation>Versão do aplicativo do Autor do Evento.</xs:documentation>
120
+ </xs:annotation>
121
+ </xs:element>
122
+ <xs:element name="autXML">
123
+ <xs:annotation>
124
+ <xs:documentation>Pessoas autorizadas a acessar o XML da NF-e</xs:documentation>
125
+ </xs:annotation>
126
+ <xs:complexType>
127
+ <xs:choice>
128
+ <xs:element name="CNPJ" type="TCnpj"/>
129
+ <xs:element name="CPF" type="TCpf"/>
130
+ </xs:choice>
131
+ </xs:complexType>
132
+ </xs:element>
133
+ <xs:element name="tpAutorizacao" minOccurs="0">
134
+ <xs:annotation>
135
+ <xs:documentation>0 – Não permite; 1 – Permite o transportador autorizado pelo emitente ou destinatário autorizar outros transportadores para ter acesso ao download da NF-e
136
+ </xs:documentation>
137
+ </xs:annotation>
138
+ <xs:simpleType>
139
+ <xs:restriction base="xs:string">
140
+ <xs:whiteSpace value="preserve"/>
141
+ <xs:enumeration value="0"/>
142
+ <xs:enumeration value="1"/>
143
+ </xs:restriction>
144
+ </xs:simpleType>
145
+ </xs:element>
146
+ <xs:element name="xCondUso" minOccurs="0">
147
+ <xs:annotation>
148
+ <xs:documentation>Texto Fixo com as Condição de uso do tipo de autorização para o transportador: </xs:documentation>
149
+ </xs:annotation>
150
+ <xs:simpleType>
151
+ <xs:restriction base="xs:string">
152
+ <xs:whiteSpace value="preserve"/>
153
+ <xs:enumeration value="O emitente ou destinatário da NF-e, declara que permite o transportador declarado no campo CNPJ/CPF deste evento a autorizar os transportadores subcontratados ou redespachados a terem acesso ao download da NF-e"/>
154
+ </xs:restriction>
155
+ </xs:simpleType>
156
+ </xs:element>
157
+ </xs:sequence>
158
+ <xs:attribute name="versao" use="required">
159
+ <xs:simpleType>
160
+ <xs:restriction base="xs:string">
161
+ <xs:whiteSpace value="preserve"/>
162
+ <xs:enumeration value="1.00"/>
163
+ </xs:restriction>
164
+ </xs:simpleType>
165
+ </xs:attribute>
166
+ </xs:complexType>
167
+ </xs:element>
168
+ </xs:sequence>
169
+ <xs:attribute name="Id" use="required">
170
+ <xs:annotation>
171
+ <xs:documentation>Identificador da TAG a ser assinada, a regra de formação do Id é:
172
+ “ID” + tpEvento + chave da NF-e + nSeqEvento</xs:documentation>
173
+ </xs:annotation>
174
+ <xs:simpleType>
175
+ <xs:restriction base="xs:ID">
176
+ <xs:pattern value="ID[0-9]{52}"/>
177
+ </xs:restriction>
178
+ </xs:simpleType>
179
+ </xs:attribute>
180
+ </xs:complexType>
181
+ </xs:element>
182
+ <xs:element ref="ds:Signature"/>
183
+ </xs:sequence>
184
+ <xs:attribute name="versao" type="TVerEvento" use="required"/>
185
+ </xs:complexType>
186
+ <xs:complexType name="TRetEvento">
187
+ <xs:annotation>
188
+ <xs:documentation>Tipo retorno do Evento</xs:documentation>
189
+ </xs:annotation>
190
+ <xs:sequence>
191
+ <xs:element name="infEvento">
192
+ <xs:complexType>
193
+ <xs:sequence>
194
+ <xs:element name="tpAmb" type="TAmb">
195
+ <xs:annotation>
196
+ <xs:documentation>Identificação do Ambiente:
197
+ 1 - Produção
198
+ 2 - Homologação</xs:documentation>
199
+ </xs:annotation>
200
+ </xs:element>
201
+ <xs:element name="verAplic" type="TVerAplic">
202
+ <xs:annotation>
203
+ <xs:documentation>Versão do Aplicativo que recebeu o Evento</xs:documentation>
204
+ </xs:annotation>
205
+ </xs:element>
206
+ <xs:element name="cOrgao" type="TCOrgaoIBGE">
207
+ <xs:annotation>
208
+ <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>
209
+ </xs:annotation>
210
+ </xs:element>
211
+ <xs:element name="cStat" type="TStat">
212
+ <xs:annotation>
213
+ <xs:documentation>Código do status da registro do Evento</xs:documentation>
214
+ </xs:annotation>
215
+ </xs:element>
216
+ <xs:element name="xMotivo" type="TMotivo">
217
+ <xs:annotation>
218
+ <xs:documentation>Descrição literal do status do registro do Evento</xs:documentation>
219
+ </xs:annotation>
220
+ </xs:element>
221
+ <xs:element name="chNFe" type="TChNFe" minOccurs="0">
222
+ <xs:annotation>
223
+ <xs:documentation>Chave de Acesso NF-e vinculada</xs:documentation>
224
+ </xs:annotation>
225
+ </xs:element>
226
+ <xs:element name="tpEvento" minOccurs="0">
227
+ <xs:annotation>
228
+ <xs:documentation>Tipo do Evento vinculado</xs:documentation>
229
+ </xs:annotation>
230
+ <xs:simpleType>
231
+ <xs:restriction base="xs:string">
232
+ <xs:whiteSpace value="preserve"/>
233
+ <xs:pattern value="[0-9]{6}"/>
234
+ <xs:enumeration value="110150"/>
235
+ </xs:restriction>
236
+ </xs:simpleType>
237
+ </xs:element>
238
+ <xs:element name="xEvento" minOccurs="0">
239
+ <xs:annotation>
240
+ <xs:documentation>Descrição do Evento</xs:documentation>
241
+ </xs:annotation>
242
+ <xs:simpleType>
243
+ <xs:restriction base="TString">
244
+ <xs:minLength value="5"/>
245
+ <xs:maxLength value="60"/>
246
+ </xs:restriction>
247
+ </xs:simpleType>
248
+ </xs:element>
249
+ <xs:element name="nSeqEvento" minOccurs="0">
250
+ <xs:annotation>
251
+ <xs:documentation>Seqüencial do evento</xs:documentation>
252
+ </xs:annotation>
253
+ <xs:simpleType>
254
+ <xs:restriction base="xs:string">
255
+ <xs:whiteSpace value="preserve"/>
256
+ <xs:pattern value="[1-9][0-9]{0,1}"/>
257
+ </xs:restriction>
258
+ </xs:simpleType>
259
+ </xs:element>
260
+ <xs:element name="cOrgaoAutor" type="TCodUfIBGE" minOccurs="0">
261
+ <xs:annotation>
262
+ <xs:documentation>Código do Órgão Autor do Evento. Informar o Código da UF para este Evento.</xs:documentation>
263
+ </xs:annotation>
264
+ </xs:element>
265
+ <xs:element name="dhRegEvento">
266
+ <xs:annotation>
267
+ <xs:documentation>Data e Hora de do recebimento do evento ou do registro do evento formato UTC AAAA-MM-DDThh:mm:ssTZD.</xs:documentation>
268
+ </xs:annotation>
269
+ <xs:simpleType>
270
+ <xs:restriction base="xs:string">
271
+ <xs:whiteSpace value="preserve"/>
272
+ <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"/>
273
+ </xs:restriction>
274
+ </xs:simpleType>
275
+ </xs:element>
276
+ <xs:element name="nProt" type="TProt" minOccurs="0">
277
+ <xs:annotation>
278
+ <xs:documentation>Número do protocolo de registro do evento</xs:documentation>
279
+ </xs:annotation>
280
+ </xs:element>
281
+ </xs:sequence>
282
+ <xs:attribute name="Id" use="optional">
283
+ <xs:simpleType>
284
+ <xs:restriction base="xs:ID">
285
+ <xs:pattern value="ID[0-9]{15}"/>
286
+ </xs:restriction>
287
+ </xs:simpleType>
288
+ </xs:attribute>
289
+ </xs:complexType>
290
+ </xs:element>
291
+ <xs:element ref="ds:Signature" minOccurs="0"/>
292
+ </xs:sequence>
293
+ <xs:attribute name="versao" type="TVerEvento" use="required"/>
294
+ </xs:complexType>
295
+ <xs:complexType name="TEnvEvento">
296
+ <xs:annotation>
297
+ <xs:documentation> Tipo Lote de Envio</xs:documentation>
298
+ </xs:annotation>
299
+ <xs:sequence>
300
+ <xs:element name="idLote">
301
+ <xs:simpleType>
302
+ <xs:restriction base="xs:string">
303
+ <xs:whiteSpace value="preserve"/>
304
+ <xs:pattern value="[0-9]{1,15}"/>
305
+ </xs:restriction>
306
+ </xs:simpleType>
307
+ </xs:element>
308
+ <xs:element name="evento" type="TEvento" maxOccurs="20"/>
309
+ </xs:sequence>
310
+ <xs:attribute name="versao" type="TVerEnvEvento" use="required"/>
311
+ </xs:complexType>
312
+ <xs:complexType name="TRetEnvEvento">
313
+ <xs:annotation>
314
+ <xs:documentation> Tipo Retorno de Lote de Envio</xs:documentation>
315
+ </xs:annotation>
316
+ <xs:sequence>
317
+ <xs:element name="idLote">
318
+ <xs:simpleType>
319
+ <xs:restriction base="xs:string">
320
+ <xs:whiteSpace value="preserve"/>
321
+ <xs:pattern value="[0-9]{1,15}"/>
322
+ </xs:restriction>
323
+ </xs:simpleType>
324
+ </xs:element>
325
+ <xs:element name="tpAmb" type="TAmb">
326
+ <xs:annotation>
327
+ <xs:documentation>Identificação do Ambiente:
328
+ 1 - Produção
329
+ 2 - Homologação</xs:documentation>
330
+ </xs:annotation>
331
+ </xs:element>
332
+ <xs:element name="verAplic" type="TVerAplic">
333
+ <xs:annotation>
334
+ <xs:documentation>Versão do Aplicativo que recebeu o Evento</xs:documentation>
335
+ </xs:annotation>
336
+ </xs:element>
337
+ <xs:element name="cOrgao" type="TCOrgaoIBGE">
338
+ <xs:annotation>
339
+ <xs:documentation>Código do òrgao que registrou o Evento</xs:documentation>
340
+ </xs:annotation>
341
+ </xs:element>
342
+ <xs:element name="cStat" type="TStat">
343
+ <xs:annotation>
344
+ <xs:documentation>Código do status da registro do Evento</xs:documentation>
345
+ </xs:annotation>
346
+ </xs:element>
347
+ <xs:element name="xMotivo" type="TMotivo">
348
+ <xs:annotation>
349
+ <xs:documentation>Descrição literal do status do registro do Evento</xs:documentation>
350
+ </xs:annotation>
351
+ </xs:element>
352
+ <xs:element name="retEvento" type="TRetEvento" minOccurs="0" maxOccurs="20"/>
353
+ </xs:sequence>
354
+ <xs:attribute name="versao" type="TVerEnvEvento" use="required"/>
355
+ </xs:complexType>
356
+ <xs:complexType name="TProcEvento">
357
+ <xs:annotation>
358
+ <xs:documentation>Tipo procEvento</xs:documentation>
359
+ </xs:annotation>
360
+ <xs:sequence>
361
+ <xs:element name="evento" type="TEvento"/>
362
+ <xs:element name="retEvento" type="TRetEvento"/>
363
+ </xs:sequence>
364
+ <xs:attribute name="versao" type="TVerEvento" use="required"/>
365
+ </xs:complexType>
366
+ <xs:simpleType name="TVerEnvEvento">
367
+ <xs:annotation>
368
+ <xs:documentation>Tipo Versão do EnvEvento</xs:documentation>
369
+ </xs:annotation>
370
+ <xs:restriction base="xs:string">
371
+ <xs:whiteSpace value="preserve"/>
372
+ <xs:pattern value="1\.00"/>
373
+ </xs:restriction>
374
+ </xs:simpleType>
375
+ <xs:simpleType name="TVerEvento">
376
+ <xs:annotation>
377
+ <xs:documentation>Tipo Versão do Evento</xs:documentation>
378
+ </xs:annotation>
379
+ <xs:restriction base="xs:string">
380
+ <xs:whiteSpace value="preserve"/>
381
+ <xs:pattern value="1\.00"/>
382
+ </xs:restriction>
383
+ </xs:simpleType>
384
+ </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="e110751_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 90 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="110751"/>
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 90 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>