notaajil 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (630) hide show
  1. package/lib/application/abstract/soap-info.d.ts +7 -0
  2. package/lib/application/abstract/soap-info.js +67 -0
  3. package/lib/application/abstract/soap-info.js.map +1 -0
  4. package/lib/application/helpers/generate-pdf/fontes/Times New Roman Bold Italic.ttf +0 -0
  5. package/lib/application/helpers/generate-pdf/fontes/Times New Roman Bold.ttf +0 -0
  6. package/lib/application/helpers/generate-pdf/fontes/Times New Roman Italic.ttf +0 -0
  7. package/lib/application/helpers/generate-pdf/fontes/Times New Roman.ttf +0 -0
  8. package/lib/application/helpers/generate-pdf/fontes/barlow-condensed/BarlowCondensed-Black.ttf +0 -0
  9. package/lib/application/helpers/generate-pdf/fontes/barlow-condensed/BarlowCondensed-BlackItalic.ttf +0 -0
  10. package/lib/application/helpers/generate-pdf/fontes/barlow-condensed/BarlowCondensed-Bold.ttf +0 -0
  11. package/lib/application/helpers/generate-pdf/fontes/barlow-condensed/BarlowCondensed-BoldItalic.ttf +0 -0
  12. package/lib/application/helpers/generate-pdf/fontes/barlow-condensed/BarlowCondensed-ExtraBold.ttf +0 -0
  13. package/lib/application/helpers/generate-pdf/fontes/barlow-condensed/BarlowCondensed-ExtraBoldItalic.ttf +0 -0
  14. package/lib/application/helpers/generate-pdf/fontes/barlow-condensed/BarlowCondensed-ExtraLight.ttf +0 -0
  15. package/lib/application/helpers/generate-pdf/fontes/barlow-condensed/BarlowCondensed-ExtraLightItalic.ttf +0 -0
  16. package/lib/application/helpers/generate-pdf/fontes/barlow-condensed/BarlowCondensed-Italic.ttf +0 -0
  17. package/lib/application/helpers/generate-pdf/fontes/barlow-condensed/BarlowCondensed-Light.ttf +0 -0
  18. package/lib/application/helpers/generate-pdf/fontes/barlow-condensed/BarlowCondensed-LightItalic.ttf +0 -0
  19. package/lib/application/helpers/generate-pdf/fontes/barlow-condensed/BarlowCondensed-Medium.ttf +0 -0
  20. package/lib/application/helpers/generate-pdf/fontes/barlow-condensed/BarlowCondensed-MediumItalic.ttf +0 -0
  21. package/lib/application/helpers/generate-pdf/fontes/barlow-condensed/BarlowCondensed-Regular.ttf +0 -0
  22. package/lib/application/helpers/generate-pdf/fontes/barlow-condensed/BarlowCondensed-SemiBold.ttf +0 -0
  23. package/lib/application/helpers/generate-pdf/fontes/barlow-condensed/BarlowCondensed-SemiBoldItalic.ttf +0 -0
  24. package/lib/application/helpers/generate-pdf/fontes/barlow-condensed/BarlowCondensed-Thin.ttf +0 -0
  25. package/lib/application/helpers/generate-pdf/fontes/barlow-condensed/BarlowCondensed-ThinItalic.ttf +0 -0
  26. package/lib/application/helpers/generate-pdf/fontes/roboto-condensed/RobotoCondensed-Bold.ttf +0 -0
  27. package/lib/application/helpers/generate-pdf/fontes/roboto-condensed/RobotoCondensed-BoldItalic.ttf +0 -0
  28. package/lib/application/helpers/generate-pdf/fontes/roboto-condensed/RobotoCondensed-Italic.ttf +0 -0
  29. package/lib/application/helpers/generate-pdf/fontes/roboto-condensed/RobotoCondensed-Light.ttf +0 -0
  30. package/lib/application/helpers/generate-pdf/fontes/roboto-condensed/RobotoCondensed-LightItalic.ttf +0 -0
  31. package/lib/application/helpers/generate-pdf/fontes/roboto-condensed/RobotoCondensed-Regular.ttf +0 -0
  32. package/lib/application/helpers/generate-pdf/nfe/campo.d.ts +2 -0
  33. package/lib/application/helpers/generate-pdf/nfe/campo.js +15 -0
  34. package/lib/application/helpers/generate-pdf/nfe/campo.js.map +1 -0
  35. package/lib/application/helpers/generate-pdf/nfe/cria-layout.d.ts +2 -0
  36. package/lib/application/helpers/generate-pdf/nfe/cria-layout.js +83 -0
  37. package/lib/application/helpers/generate-pdf/nfe/cria-layout.js.map +1 -0
  38. package/lib/application/helpers/generate-pdf/nfe/default.d.ts +23 -0
  39. package/lib/application/helpers/generate-pdf/nfe/default.js +27 -0
  40. package/lib/application/helpers/generate-pdf/nfe/default.js.map +1 -0
  41. package/lib/application/helpers/generate-pdf/nfe/gerar-itens.d.ts +2 -0
  42. package/lib/application/helpers/generate-pdf/nfe/gerar-itens.js +70 -0
  43. package/lib/application/helpers/generate-pdf/nfe/gerar-itens.js.map +1 -0
  44. package/lib/application/helpers/generate-pdf/nfe/get-dados-adicionais.d.ts +2 -0
  45. package/lib/application/helpers/generate-pdf/nfe/get-dados-adicionais.js +24 -0
  46. package/lib/application/helpers/generate-pdf/nfe/get-dados-adicionais.js.map +1 -0
  47. package/lib/application/helpers/generate-pdf/nfe/get-dados-emitente.d.ts +2 -0
  48. package/lib/application/helpers/generate-pdf/nfe/get-dados-emitente.js +521 -0
  49. package/lib/application/helpers/generate-pdf/nfe/get-dados-emitente.js.map +1 -0
  50. package/lib/application/helpers/generate-pdf/nfe/get-destinatario-remetente.d.ts +2 -0
  51. package/lib/application/helpers/generate-pdf/nfe/get-destinatario-remetente.js +410 -0
  52. package/lib/application/helpers/generate-pdf/nfe/get-destinatario-remetente.js.map +1 -0
  53. package/lib/application/helpers/generate-pdf/nfe/get-fatura-duplicata.d.ts +2 -0
  54. package/lib/application/helpers/generate-pdf/nfe/get-fatura-duplicata.js +42 -0
  55. package/lib/application/helpers/generate-pdf/nfe/get-fatura-duplicata.js.map +1 -0
  56. package/lib/application/helpers/generate-pdf/nfe/get-homologacao.d.ts +2 -0
  57. package/lib/application/helpers/generate-pdf/nfe/get-homologacao.js +25 -0
  58. package/lib/application/helpers/generate-pdf/nfe/get-homologacao.js.map +1 -0
  59. package/lib/application/helpers/generate-pdf/nfe/get-imposto.d.ts +2 -0
  60. package/lib/application/helpers/generate-pdf/nfe/get-imposto.js +54 -0
  61. package/lib/application/helpers/generate-pdf/nfe/get-imposto.js.map +1 -0
  62. package/lib/application/helpers/generate-pdf/nfe/get-iss.d.ts +2 -0
  63. package/lib/application/helpers/generate-pdf/nfe/get-iss.js +33 -0
  64. package/lib/application/helpers/generate-pdf/nfe/get-iss.js.map +1 -0
  65. package/lib/application/helpers/generate-pdf/nfe/get-menu-itens.d.ts +2 -0
  66. package/lib/application/helpers/generate-pdf/nfe/get-menu-itens.js +46 -0
  67. package/lib/application/helpers/generate-pdf/nfe/get-menu-itens.js.map +1 -0
  68. package/lib/application/helpers/generate-pdf/nfe/get-recibo.d.ts +2 -0
  69. package/lib/application/helpers/generate-pdf/nfe/get-recibo.js +54 -0
  70. package/lib/application/helpers/generate-pdf/nfe/get-recibo.js.map +1 -0
  71. package/lib/application/helpers/generate-pdf/nfe/get-transporte.d.ts +2 -0
  72. package/lib/application/helpers/generate-pdf/nfe/get-transporte.js +111 -0
  73. package/lib/application/helpers/generate-pdf/nfe/get-transporte.js.map +1 -0
  74. package/lib/application/helpers/generate-pdf/nfe/italico.d.ts +2 -0
  75. package/lib/application/helpers/generate-pdf/nfe/italico.js +16 -0
  76. package/lib/application/helpers/generate-pdf/nfe/italico.js.map +1 -0
  77. package/lib/application/helpers/generate-pdf/nfe/linha-horizontal-tracejada.d.ts +2 -0
  78. package/lib/application/helpers/generate-pdf/nfe/linha-horizontal-tracejada.js +9 -0
  79. package/lib/application/helpers/generate-pdf/nfe/linha-horizontal-tracejada.js.map +1 -0
  80. package/lib/application/helpers/generate-pdf/nfe/linha-horizontal.d.ts +2 -0
  81. package/lib/application/helpers/generate-pdf/nfe/linha-horizontal.js +17 -0
  82. package/lib/application/helpers/generate-pdf/nfe/linha-horizontal.js.map +1 -0
  83. package/lib/application/helpers/generate-pdf/nfe/linha-vertical.d.ts +2 -0
  84. package/lib/application/helpers/generate-pdf/nfe/linha-vertical.js +11 -0
  85. package/lib/application/helpers/generate-pdf/nfe/linha-vertical.js.map +1 -0
  86. package/lib/application/helpers/generate-pdf/nfe/load-fontes.d.ts +3 -0
  87. package/lib/application/helpers/generate-pdf/nfe/load-fontes.js +32 -0
  88. package/lib/application/helpers/generate-pdf/nfe/load-fontes.js.map +1 -0
  89. package/lib/application/helpers/generate-pdf/nfe/negrito.d.ts +2 -0
  90. package/lib/application/helpers/generate-pdf/nfe/negrito.js +16 -0
  91. package/lib/application/helpers/generate-pdf/nfe/negrito.js.map +1 -0
  92. package/lib/application/helpers/generate-pdf/nfe/normal.d.ts +2 -0
  93. package/lib/application/helpers/generate-pdf/nfe/normal.js +16 -0
  94. package/lib/application/helpers/generate-pdf/nfe/normal.js.map +1 -0
  95. package/lib/application/helpers/generate-pdf/nfe/options-doc.d.ts +10 -0
  96. package/lib/application/helpers/generate-pdf/nfe/options-doc.js +21 -0
  97. package/lib/application/helpers/generate-pdf/nfe/options-doc.js.map +1 -0
  98. package/lib/application/helpers/generate-pdf/nfe/secao.d.ts +2 -0
  99. package/lib/application/helpers/generate-pdf/nfe/secao.js +17 -0
  100. package/lib/application/helpers/generate-pdf/nfe/secao.js.map +1 -0
  101. package/lib/application/helpers/generate-pdf/nfe/titulo.d.ts +2 -0
  102. package/lib/application/helpers/generate-pdf/nfe/titulo.js +17 -0
  103. package/lib/application/helpers/generate-pdf/nfe/titulo.js.map +1 -0
  104. package/lib/application/helpers/processo/append-qrcode-xml.d.ts +5 -0
  105. package/lib/application/helpers/processo/append-qrcode-xml.js +31 -0
  106. package/lib/application/helpers/processo/append-qrcode-xml.js.map +1 -0
  107. package/lib/application/helpers/processo/det.d.ts +2 -0
  108. package/lib/application/helpers/processo/det.js +85 -0
  109. package/lib/application/helpers/processo/det.js.map +1 -0
  110. package/lib/application/helpers/processo/gerar-chave-mdfe.js +75 -0
  111. package/lib/application/helpers/processo/gerar-chave-nfe.d.ts +12 -0
  112. package/lib/application/helpers/processo/gerar-chave-nfe.js +28 -0
  113. package/lib/application/helpers/processo/gerar-chave-nfe.js.map +1 -0
  114. package/lib/application/helpers/processo/gerar-hash-csrt.d.ts +1 -0
  115. package/lib/application/helpers/processo/gerar-hash-csrt.js +12 -0
  116. package/lib/application/helpers/processo/gerar-hash-csrt.js.map +1 -0
  117. package/lib/application/helpers/processo/gerar-nfe.d.ts +2 -0
  118. package/lib/application/helpers/processo/gerar-nfe.js +45 -0
  119. package/lib/application/helpers/processo/gerar-nfe.js.map +1 -0
  120. package/lib/application/helpers/processo/gerar-qr-code-nfce-offline.d.ts +1 -0
  121. package/lib/application/helpers/processo/gerar-qr-code-nfce-offline.js +16 -0
  122. package/lib/application/helpers/processo/gerar-qr-code-nfce-offline.js.map +1 -0
  123. package/lib/application/helpers/processo/gerar-qr-code-nfce-online.d.ts +1 -0
  124. package/lib/application/helpers/processo/gerar-qr-code-nfce-online.js +15 -0
  125. package/lib/application/helpers/processo/gerar-qr-code-nfce-online.js.map +1 -0
  126. package/lib/application/helpers/processo/gerar-retorno-emissao.d.ts +12 -0
  127. package/lib/application/helpers/processo/gerar-retorno-emissao.js +26 -0
  128. package/lib/application/helpers/processo/gerar-retorno-emissao.js.map +1 -0
  129. package/lib/application/helpers/processo/gerar-xml-lote.d.ts +1 -0
  130. package/lib/application/helpers/processo/gerar-xml-lote.js +18 -0
  131. package/lib/application/helpers/processo/gerar-xml-lote.js.map +1 -0
  132. package/lib/application/helpers/processo/gerar-xml-mdfe.js +27 -0
  133. package/lib/application/helpers/processo/gerar-xml.d.ts +5 -0
  134. package/lib/application/helpers/processo/gerar-xml.js +21 -0
  135. package/lib/application/helpers/processo/gerar-xml.js.map +1 -0
  136. package/lib/application/helpers/processo/getCobr.d.ts +2 -0
  137. package/lib/application/helpers/processo/getCobr.js +27 -0
  138. package/lib/application/helpers/processo/getCobr.js.map +1 -0
  139. package/lib/application/helpers/processo/getDest.d.ts +2 -0
  140. package/lib/application/helpers/processo/getDest.js +38 -0
  141. package/lib/application/helpers/processo/getDest.js.map +1 -0
  142. package/lib/application/helpers/processo/getEmit.d.ts +2 -0
  143. package/lib/application/helpers/processo/getEmit.js +33 -0
  144. package/lib/application/helpers/processo/getEmit.js.map +1 -0
  145. package/lib/application/helpers/processo/getEntregaRetirada.d.ts +2 -0
  146. package/lib/application/helpers/processo/getEntregaRetirada.js +28 -0
  147. package/lib/application/helpers/processo/getEntregaRetirada.js.map +1 -0
  148. package/lib/application/helpers/processo/getIde.d.ts +6 -0
  149. package/lib/application/helpers/processo/getIde.js +38 -0
  150. package/lib/application/helpers/processo/getIde.js.map +1 -0
  151. package/lib/application/helpers/processo/getInfAdic.d.ts +2 -0
  152. package/lib/application/helpers/processo/getInfAdic.js +35 -0
  153. package/lib/application/helpers/processo/getInfAdic.js.map +1 -0
  154. package/lib/application/helpers/processo/getPag.d.ts +2 -0
  155. package/lib/application/helpers/processo/getPag.js +30 -0
  156. package/lib/application/helpers/processo/getPag.js.map +1 -0
  157. package/lib/application/helpers/processo/getResponsavelTecnico.d.ts +2 -0
  158. package/lib/application/helpers/processo/getResponsavelTecnico.js +18 -0
  159. package/lib/application/helpers/processo/getResponsavelTecnico.js.map +1 -0
  160. package/lib/application/helpers/processo/getTotal.d.ts +2 -0
  161. package/lib/application/helpers/processo/getTotal.js +92 -0
  162. package/lib/application/helpers/processo/getTotal.js.map +1 -0
  163. package/lib/application/helpers/processo/getTransp.d.ts +2 -0
  164. package/lib/application/helpers/processo/getTransp.js +54 -0
  165. package/lib/application/helpers/processo/getTransp.js.map +1 -0
  166. package/lib/application/helpers/processo/obter-digito-verificador.d.ts +1 -0
  167. package/lib/application/helpers/processo/obter-digito-verificador.js +30 -0
  168. package/lib/application/helpers/processo/obter-digito-verificador.js.map +1 -0
  169. package/lib/application/helpers/urls/autorizadores.json +320 -0
  170. package/lib/application/helpers/urls/autorizadoresMDFe.json +52 -0
  171. package/lib/application/helpers/urls/autorizadoresNFe.json +465 -0
  172. package/lib/application/helpers/urls/servicos.json +50 -0
  173. package/lib/application/helpers/utils/configura-urls-sefaz.d.ts +2 -0
  174. package/lib/application/helpers/utils/configura-urls-sefaz.js +37 -0
  175. package/lib/application/helpers/utils/configura-urls-sefaz.js.map +1 -0
  176. package/lib/application/helpers/utils/has-value.d.ts +1 -0
  177. package/lib/application/helpers/utils/has-value.js +11 -0
  178. package/lib/application/helpers/utils/has-value.js.map +1 -0
  179. package/lib/application/helpers/utils/index.d.ts +8 -0
  180. package/lib/application/helpers/utils/index.js +25 -0
  181. package/lib/application/helpers/utils/index.js.map +1 -0
  182. package/lib/application/helpers/utils/json-one-level.d.ts +1 -0
  183. package/lib/application/helpers/utils/json-one-level.js +16 -0
  184. package/lib/application/helpers/utils/json-one-level.js.map +1 -0
  185. package/lib/application/helpers/utils/log.d.ts +1 -0
  186. package/lib/application/helpers/utils/log.js +8 -0
  187. package/lib/application/helpers/utils/log.js.map +1 -0
  188. package/lib/application/helpers/utils/mdfe-service.js +53 -0
  189. package/lib/application/helpers/utils/random-int.d.ts +1 -0
  190. package/lib/application/helpers/utils/random-int.js +8 -0
  191. package/lib/application/helpers/utils/random-int.js.map +1 -0
  192. package/lib/application/helpers/utils/remove-self-closed-fields.d.ts +1 -0
  193. package/lib/application/helpers/utils/remove-self-closed-fields.js +16 -0
  194. package/lib/application/helpers/utils/remove-self-closed-fields.js.map +1 -0
  195. package/lib/application/helpers/utils/timeout.d.ts +1 -0
  196. package/lib/application/helpers/utils/timeout.js +8 -0
  197. package/lib/application/helpers/utils/timeout.js.map +1 -0
  198. package/lib/application/helpers/utils/valida-url-wsdl.d.ts +1 -0
  199. package/lib/application/helpers/utils/valida-url-wsdl.js +11 -0
  200. package/lib/application/helpers/utils/valida-url-wsdl.js.map +1 -0
  201. package/lib/application/helpers/web-service/build-soap-envelope.d.ts +1 -0
  202. package/lib/application/helpers/web-service/build-soap-envelope.js +77 -0
  203. package/lib/application/helpers/web-service/build-soap-envelope.js.map +1 -0
  204. package/lib/application/helpers/web-service/index.d.ts +3 -0
  205. package/lib/application/helpers/web-service/index.js +20 -0
  206. package/lib/application/helpers/web-service/index.js.map +1 -0
  207. package/lib/application/helpers/web-service/make-soap-request.d.ts +2 -0
  208. package/lib/application/helpers/web-service/make-soap-request.js +161 -0
  209. package/lib/application/helpers/web-service/make-soap-request.js.map +1 -0
  210. package/lib/application/helpers/web-service/proxy-to-url.d.ts +2 -0
  211. package/lib/application/helpers/web-service/proxy-to-url.js +13 -0
  212. package/lib/application/helpers/web-service/proxy-to-url.js.map +1 -0
  213. package/lib/application/helpers/xml/deserialize.d.ts +2 -0
  214. package/lib/application/helpers/xml/deserialize.js +26 -0
  215. package/lib/application/helpers/xml/deserialize.js.map +1 -0
  216. package/lib/application/helpers/xml/index.d.ts +2 -0
  217. package/lib/application/helpers/xml/index.js +19 -0
  218. package/lib/application/helpers/xml/index.js.map +1 -0
  219. package/lib/application/helpers/xml/serialize.d.ts +1 -0
  220. package/lib/application/helpers/xml/serialize.js +40 -0
  221. package/lib/application/helpers/xml/serialize.js.map +1 -0
  222. package/lib/application/helpers/xsd/110150_v1.00.xsd +88 -0
  223. package/lib/application/helpers/xsd/Averb_v1.00.xsd +11 -0
  224. package/lib/application/helpers/xsd/CCe_v1.00.xsd +11 -0
  225. package/lib/application/helpers/xsd/DFeTiposBasicos_v1.00.xsd +1293 -0
  226. package/lib/application/helpers/xsd/EPEC_v1.00.xsd +9 -0
  227. package/lib/application/helpers/xsd/MT_inutNFe_v4.00.xsd +9 -0
  228. package/lib/application/helpers/xsd/SuframaInternaliza_v1.00.xsd +9 -0
  229. package/lib/application/helpers/xsd/SuframaVistoria_v1.00.xsd +9 -0
  230. package/lib/application/helpers/xsd/confRecebto_v1.00.xsd +9 -0
  231. package/lib/application/helpers/xsd/consCad_v2.00.xsd +9 -0
  232. package/lib/application/helpers/xsd/consGTIN_v1.00.xsd +10 -0
  233. package/lib/application/helpers/xsd/consNFeDest_v1.01.xsd +10 -0
  234. package/lib/application/helpers/xsd/consReciNFe_v3.10.xsd +9 -0
  235. package/lib/application/helpers/xsd/consReciNFe_v4.00.xsd +9 -0
  236. package/lib/application/helpers/xsd/consSitNFe_v3.10.xsd +9 -0
  237. package/lib/application/helpers/xsd/consSitNFe_v4.00.xsd +9 -0
  238. package/lib/application/helpers/xsd/consStatServ_v3.10.xsd +9 -0
  239. package/lib/application/helpers/xsd/consStatServ_v4.00.xsd +9 -0
  240. package/lib/application/helpers/xsd/distDFeInt_v1.00.xsd +71 -0
  241. package/lib/application/helpers/xsd/distDFeInt_v1.01.xsd +97 -0
  242. package/lib/application/helpers/xsd/downloadNFe_v1.00.xsd +10 -0
  243. package/lib/application/helpers/xsd/e110110_v1.00.xsd +58 -0
  244. package/lib/application/helpers/xsd/e110111_v1.00.xsd +42 -0
  245. package/lib/application/helpers/xsd/e110112_v1.00.xsd +69 -0
  246. package/lib/application/helpers/xsd/e110130_v1.00.xsd +102 -0
  247. package/lib/application/helpers/xsd/e110131_v1.00.xsd +51 -0
  248. package/lib/application/helpers/xsd/e110140NFCe_v1.00.xsd +118 -0
  249. package/lib/application/helpers/xsd/e110140NFe_v1.00.xsd +124 -0
  250. package/lib/application/helpers/xsd/e110140_v1.00.xsd +124 -0
  251. package/lib/application/helpers/xsd/e110150_v1.00.xsd +88 -0
  252. package/lib/application/helpers/xsd/e111500_v1.00.xsd +69 -0
  253. package/lib/application/helpers/xsd/e111501_v1.00.xsd +69 -0
  254. package/lib/application/helpers/xsd/e111502_v1.00.xsd +50 -0
  255. package/lib/application/helpers/xsd/e111503_v1.00.xsd +50 -0
  256. package/lib/application/helpers/xsd/e210200_v1.00.xsd +31 -0
  257. package/lib/application/helpers/xsd/e210210_v1.00.xsd +31 -0
  258. package/lib/application/helpers/xsd/e210220_v1.00.xsd +44 -0
  259. package/lib/application/helpers/xsd/e210240_v1.00.xsd +44 -0
  260. package/lib/application/helpers/xsd/e411500_v1.00.xsd +134 -0
  261. package/lib/application/helpers/xsd/e411501_v1.00.xsd +134 -0
  262. package/lib/application/helpers/xsd/e411502_v1.00.xsd +95 -0
  263. package/lib/application/helpers/xsd/e411503_v1.00.xsd +95 -0
  264. package/lib/application/helpers/xsd/e610130_v1.00.xsd +128 -0
  265. package/lib/application/helpers/xsd/e610131_v1.00.xsd +68 -0
  266. package/lib/application/helpers/xsd/e790700_v1.00.xsd +125 -0
  267. package/lib/application/helpers/xsd/e990900_v1.00.xsd +87 -0
  268. package/lib/application/helpers/xsd/e990910_v1.00.xsd +81 -0
  269. package/lib/application/helpers/xsd/envAverb_v1.00.xsd +9 -0
  270. package/lib/application/helpers/xsd/envCCe_v1.00.xsd +10 -0
  271. package/lib/application/helpers/xsd/envCancelPProrrogNFe_v1.0.xsd +50 -0
  272. package/lib/application/helpers/xsd/envComprovanteEntregaNFe_v1.00.xsd +11 -0
  273. package/lib/application/helpers/xsd/envConfRecebto_v1.00.xsd +9 -0
  274. package/lib/application/helpers/xsd/envEPEC_v1.00.xsd +9 -0
  275. package/lib/application/helpers/xsd/envEventoAtorInteressado_v1.00.xsd +9 -0
  276. package/lib/application/helpers/xsd/envEventoCancEntregaNFe_v1.00.xsd +10 -0
  277. package/lib/application/helpers/xsd/envEventoCancNFe_v1.00.xsd +9 -0
  278. package/lib/application/helpers/xsd/envEventoCancSubst_v1.00.xsd +9 -0
  279. package/lib/application/helpers/xsd/envEventoEntregaNFe_v1.00.xsd +10 -0
  280. package/lib/application/helpers/xsd/envEvento_v1.00.xsd +9 -0
  281. package/lib/application/helpers/xsd/envFiscoNfe_v1.0.xsd +179 -0
  282. package/lib/application/helpers/xsd/envPProrrogNFe_v1.0.xsd +65 -0
  283. package/lib/application/helpers/xsd/envRemIndus_v1.00.xsd +9 -0
  284. package/lib/application/helpers/xsd/envSuframaInternaliza_v1.00.xsd +10 -0
  285. package/lib/application/helpers/xsd/envSuframaVistoria_v1.00.xsd +10 -0
  286. package/lib/application/helpers/xsd/enviNFe_v3.10.xsd +9 -0
  287. package/lib/application/helpers/xsd/enviNFe_v4.00.xsd +9 -0
  288. package/lib/application/helpers/xsd/eventoAtorInteressado_v1.00.xsd +9 -0
  289. package/lib/application/helpers/xsd/eventoCancEntregaNFe_v1.00.xsd +9 -0
  290. package/lib/application/helpers/xsd/eventoCancNFe_v1.00.xsd +9 -0
  291. package/lib/application/helpers/xsd/eventoCancSubst_v1.00.xsd +9 -0
  292. package/lib/application/helpers/xsd/eventoEPEC_v0.01.xsd +267 -0
  293. package/lib/application/helpers/xsd/eventoEPEC_v1.00.xsd +267 -0
  294. package/lib/application/helpers/xsd/eventoEntregaNFe_v1.00.xsd +9 -0
  295. package/lib/application/helpers/xsd/eventoRemIndus_v1.00.xsd +9 -0
  296. package/lib/application/helpers/xsd/index.d.ts +1 -0
  297. package/lib/application/helpers/xsd/index.js +18 -0
  298. package/lib/application/helpers/xsd/index.js.map +1 -0
  299. package/lib/application/helpers/xsd/inutNFe_v3.10.xsd +9 -0
  300. package/lib/application/helpers/xsd/inutNFe_v4.00.xsd +9 -0
  301. package/lib/application/helpers/xsd/leiauteAverb_v1.00.xsd +482 -0
  302. package/lib/application/helpers/xsd/leiauteCCe_v1.00.xsd +382 -0
  303. package/lib/application/helpers/xsd/leiauteCcgConsGTIN_v1.00.xsd +94 -0
  304. package/lib/application/helpers/xsd/leiauteComprovanteEntregaNFe_v1.00.xsd +487 -0
  305. package/lib/application/helpers/xsd/leiauteConfRecebto_v1.00.xsd +369 -0
  306. package/lib/application/helpers/xsd/leiauteConsNFeDest_v1.01.xsd +483 -0
  307. package/lib/application/helpers/xsd/leiauteConsSitNFe_v3.10.xsd +502 -0
  308. package/lib/application/helpers/xsd/leiauteConsSitNFe_v4.00.xsd +502 -0
  309. package/lib/application/helpers/xsd/leiauteConsStatServ_v3.10.xsd +98 -0
  310. package/lib/application/helpers/xsd/leiauteConsStatServ_v4.00.xsd +98 -0
  311. package/lib/application/helpers/xsd/leiauteConsultaCadastro_v2.00.xsd +404 -0
  312. package/lib/application/helpers/xsd/leiauteDownloadNFe_v1.00.xsd +149 -0
  313. package/lib/application/helpers/xsd/leiauteEPEC_v1.00.xsd +423 -0
  314. package/lib/application/helpers/xsd/leiauteEventoAtorInteressado_v1.00.xsd +384 -0
  315. package/lib/application/helpers/xsd/leiauteEventoCancEntregaNFe_v1.00.xsd +307 -0
  316. package/lib/application/helpers/xsd/leiauteEventoCancNFe_v1.00.xsd +358 -0
  317. package/lib/application/helpers/xsd/leiauteEventoCancSubst_v1.00.xsd +366 -0
  318. package/lib/application/helpers/xsd/leiauteEventoEntregaNFe_v1.00.xsd +321 -0
  319. package/lib/application/helpers/xsd/leiauteEvento_v1.00.xsd +335 -0
  320. package/lib/application/helpers/xsd/leiauteInutNFe_v3.10.xsd +193 -0
  321. package/lib/application/helpers/xsd/leiauteInutNFe_v4.00.xsd +193 -0
  322. package/lib/application/helpers/xsd/leiauteInutNFe_v4.00_MT.xsd +200 -0
  323. package/lib/application/helpers/xsd/leiauteNFe_v3.10.xsd +6060 -0
  324. package/lib/application/helpers/xsd/leiauteNFe_v4.00.xsd +7579 -0
  325. package/lib/application/helpers/xsd/leiauteRemIndus_v1.00.xsd +344 -0
  326. package/lib/application/helpers/xsd/leiauteSuframaInternaliza_v1.00.xsd +642 -0
  327. package/lib/application/helpers/xsd/leiauteSuframaVistoria_v1.00.xsd +648 -0
  328. package/lib/application/helpers/xsd/mdfe/consMDFeNaoEncTiposBasico_v1.00.xsd +93 -0
  329. package/lib/application/helpers/xsd/mdfe/consMDFeNaoEncTiposBasico_v3.00.xsd +107 -0
  330. package/lib/application/helpers/xsd/mdfe/consMDFeNaoEnc_v1.00.xsd +9 -0
  331. package/lib/application/helpers/xsd/mdfe/consMDFeNaoEnc_v3.00.xsd +9 -0
  332. package/lib/application/helpers/xsd/mdfe/consReciMDFeTiposBasico_v1.00.xsd +144 -0
  333. package/lib/application/helpers/xsd/mdfe/consReciMDFeTiposBasico_v3.00.xsd +169 -0
  334. package/lib/application/helpers/xsd/mdfe/consReciMDFe_v1.00.xsd +9 -0
  335. package/lib/application/helpers/xsd/mdfe/consReciMDFe_v3.00.xsd +9 -0
  336. package/lib/application/helpers/xsd/mdfe/consSitMDFeTiposBasico_v1.00.xsd +81 -0
  337. package/lib/application/helpers/xsd/mdfe/consSitMDFeTiposBasico_v3.00.xsd +117 -0
  338. package/lib/application/helpers/xsd/mdfe/consSitMDFe_v1.00.xsd +9 -0
  339. package/lib/application/helpers/xsd/mdfe/consSitMDFe_v3.00.xsd +9 -0
  340. package/lib/application/helpers/xsd/mdfe/consStatServMDFe_v1.00.xsd +9 -0
  341. package/lib/application/helpers/xsd/mdfe/consStatServMDFe_v3.00.xsd +9 -0
  342. package/lib/application/helpers/xsd/mdfe/consStatServTiposBasico_v1.00.xsd +104 -0
  343. package/lib/application/helpers/xsd/mdfe/consStatServTiposBasico_v3.00.xsd +104 -0
  344. package/lib/application/helpers/xsd/mdfe/distDFeInt_v1.00.xsd +63 -0
  345. package/lib/application/helpers/xsd/mdfe/distMDFe_v1.00.xsd +9 -0
  346. package/lib/application/helpers/xsd/mdfe/distMDFe_v3.00.xsd +9 -0
  347. package/lib/application/helpers/xsd/mdfe/enviMDFe_v1.00.xsd +10 -0
  348. package/lib/application/helpers/xsd/mdfe/enviMDFe_v3.00.xsd +10 -0
  349. package/lib/application/helpers/xsd/mdfe/evCancMDFe_v1.00.xsd +38 -0
  350. package/lib/application/helpers/xsd/mdfe/evCancMDFe_v3.00.xsd +38 -0
  351. package/lib/application/helpers/xsd/mdfe/evEncMDFe_v1.00.xsd +48 -0
  352. package/lib/application/helpers/xsd/mdfe/evEncMDFe_v3.00.xsd +48 -0
  353. package/lib/application/helpers/xsd/mdfe/evIncCondutorMDFe_v1.00.xsd +49 -0
  354. package/lib/application/helpers/xsd/mdfe/evIncCondutorMDFe_v3.00.xsd +49 -0
  355. package/lib/application/helpers/xsd/mdfe/evInclusaoDFeMDFe_v3.00.xsd +81 -0
  356. package/lib/application/helpers/xsd/mdfe/eventoMDFeTiposBasico_v1.00.xsd +230 -0
  357. package/lib/application/helpers/xsd/mdfe/eventoMDFeTiposBasico_v3.00.xsd +226 -0
  358. package/lib/application/helpers/xsd/mdfe/eventoMDFe_v1.00.xsd +9 -0
  359. package/lib/application/helpers/xsd/mdfe/eventoMDFe_v3.00.xsd +9 -0
  360. package/lib/application/helpers/xsd/mdfe/leiauteDistMDFe_v1.00.xsd +135 -0
  361. package/lib/application/helpers/xsd/mdfe/leiauteDistMDFe_v3.00.xsd +136 -0
  362. package/lib/application/helpers/xsd/mdfe/leiauteManCadTranspMDFe_v1.00.xsd +335 -0
  363. package/lib/application/helpers/xsd/mdfe/mdfeConsultaDFeTiposBasico_v1.00.xsd +99 -0
  364. package/lib/application/helpers/xsd/mdfe/mdfeConsultaDFeTiposBasico_v3.00.xsd +99 -0
  365. package/lib/application/helpers/xsd/mdfe/mdfeConsultaDFe_v1.00.xsd +9 -0
  366. package/lib/application/helpers/xsd/mdfe/mdfeConsultaDFe_v3.00.xsd +9 -0
  367. package/lib/application/helpers/xsd/mdfe/mdfeConsultaPorPlacaTiposBasico_v3.00.xsd +253 -0
  368. package/lib/application/helpers/xsd/mdfe/mdfeConsultaPorPlaca_v3.00.xsd +10 -0
  369. package/lib/application/helpers/xsd/mdfe/mdfeManCadFrota_v1.00.xsd +9 -0
  370. package/lib/application/helpers/xsd/mdfe/mdfeManCadTransp_v1.00.xsd +9 -0
  371. package/lib/application/helpers/xsd/mdfe/mdfeModalAereo_v1.00.xsd +83 -0
  372. package/lib/application/helpers/xsd/mdfe/mdfeModalAereo_v3.00.xsd +83 -0
  373. package/lib/application/helpers/xsd/mdfe/mdfeModalAquaviario_v1.00.xsd +199 -0
  374. package/lib/application/helpers/xsd/mdfe/mdfeModalAquaviario_v3.00.xsd +274 -0
  375. package/lib/application/helpers/xsd/mdfe/mdfeModalFerroviario_v1.00.xsd +126 -0
  376. package/lib/application/helpers/xsd/mdfe/mdfeModalFerroviario_v3.00.xsd +141 -0
  377. package/lib/application/helpers/xsd/mdfe/mdfeModalRodoviario_v1.00.xsd +503 -0
  378. package/lib/application/helpers/xsd/mdfe/mdfeModalRodoviario_v3.00.xsd +590 -0
  379. package/lib/application/helpers/xsd/mdfe/mdfeTiposBasico_v1.00.xsd +1634 -0
  380. package/lib/application/helpers/xsd/mdfe/mdfeTiposBasico_v3.00.xsd +2287 -0
  381. package/lib/application/helpers/xsd/mdfe/mdfe_v1.00.xsd +9 -0
  382. package/lib/application/helpers/xsd/mdfe/mdfe_v3.00.xsd +9 -0
  383. package/lib/application/helpers/xsd/mdfe/procEventoMDFe_v1.00.xsd +9 -0
  384. package/lib/application/helpers/xsd/mdfe/procEventoMDFe_v3.00.xsd +9 -0
  385. package/lib/application/helpers/xsd/mdfe/procMDFe_v1.00.xsd +17 -0
  386. package/lib/application/helpers/xsd/mdfe/procMDFe_v3.00.xsd +18 -0
  387. package/lib/application/helpers/xsd/mdfe/retConsMDFeNaoEnc_v1.00.xsd +9 -0
  388. package/lib/application/helpers/xsd/mdfe/retConsMDFeNaoEnc_v3.00.xsd +9 -0
  389. package/lib/application/helpers/xsd/mdfe/retConsReciMDFe_v1.00.xsd +9 -0
  390. package/lib/application/helpers/xsd/mdfe/retConsReciMDFe_v3.00.xsd +9 -0
  391. package/lib/application/helpers/xsd/mdfe/retConsSitMDFe_v1.00.xsd +9 -0
  392. package/lib/application/helpers/xsd/mdfe/retConsSitMDFe_v3.00.xsd +9 -0
  393. package/lib/application/helpers/xsd/mdfe/retConsStatServMDFe_v1.00.xsd +9 -0
  394. package/lib/application/helpers/xsd/mdfe/retConsStatServMDFe_v3.00.xsd +9 -0
  395. package/lib/application/helpers/xsd/mdfe/retDistDFeInt_v1.00.xsd +87 -0
  396. package/lib/application/helpers/xsd/mdfe/retDistMDFe_v1.00.xsd +9 -0
  397. package/lib/application/helpers/xsd/mdfe/retDistMDFe_v3.00.xsd +9 -0
  398. package/lib/application/helpers/xsd/mdfe/retEnviMDFe_v1.00.xsd +9 -0
  399. package/lib/application/helpers/xsd/mdfe/retEnviMDFe_v3.00.xsd +9 -0
  400. package/lib/application/helpers/xsd/mdfe/retEventoMDFe_v1.00.xsd +9 -0
  401. package/lib/application/helpers/xsd/mdfe/retEventoMDFe_v3.00.xsd +9 -0
  402. package/lib/application/helpers/xsd/mdfe/retMDFeConsultaDFe_v1.00.xsd +9 -0
  403. package/lib/application/helpers/xsd/mdfe/retMDFeConsultaDFe_v3.00.xsd +9 -0
  404. package/lib/application/helpers/xsd/mdfe/retMDFeConsultaPorPlaca_v3.00.xsd +10 -0
  405. package/lib/application/helpers/xsd/mdfe/retMDFe_v3.00.xsd +10 -0
  406. package/lib/application/helpers/xsd/mdfe/retMdfeManCadFrota_v1.00.xsd +9 -0
  407. package/lib/application/helpers/xsd/mdfe/retMdfeManCadTransp_v1.00.xsd +9 -0
  408. package/lib/application/helpers/xsd/mdfe/tiposDistDFe_v1.00.xsd +198 -0
  409. package/lib/application/helpers/xsd/mdfe/tiposGeralMDFe_v1.00-OPENSSL.xsd +606 -0
  410. package/lib/application/helpers/xsd/mdfe/tiposGeralMDFe_v1.00.xsd +606 -0
  411. package/lib/application/helpers/xsd/mdfe/tiposGeralMDFe_v3.00.xsd +646 -0
  412. package/lib/application/helpers/xsd/mdfe/xmldsig-core-schema_v1.01.xsd +98 -0
  413. package/lib/application/helpers/xsd/nfe_v3.10.xsd +9 -0
  414. package/lib/application/helpers/xsd/nfe_v4.00.xsd +10 -0
  415. package/lib/application/helpers/xsd/procAverbNFe_v1.00.xsd +10 -0
  416. package/lib/application/helpers/xsd/procCCeNFe_v1.00.xsd +10 -0
  417. package/lib/application/helpers/xsd/procComprovanteEntregaNFe_v1.00.xsd +10 -0
  418. package/lib/application/helpers/xsd/procConfRecebtoNFe_v1.00.xsd +9 -0
  419. package/lib/application/helpers/xsd/procEPEC_v1.00.xsd +9 -0
  420. package/lib/application/helpers/xsd/procEventoAtorInteressado_v1.00.xsd +9 -0
  421. package/lib/application/helpers/xsd/procEventoCancEntregaNFe_v1.00.xsd +9 -0
  422. package/lib/application/helpers/xsd/procEventoCancNFe_v1.00.xsd +9 -0
  423. package/lib/application/helpers/xsd/procEventoCancSubst_v1.00.xsd +9 -0
  424. package/lib/application/helpers/xsd/procEventoEntregaNFe_v1.00.xsd +9 -0
  425. package/lib/application/helpers/xsd/procEventoNFe_v1.00.xsd +9 -0
  426. package/lib/application/helpers/xsd/procEventoNFe_v99.99.xsd +37 -0
  427. package/lib/application/helpers/xsd/procInutNFe_v3.10.xsd +9 -0
  428. package/lib/application/helpers/xsd/procInutNFe_v4.00.xsd +9 -0
  429. package/lib/application/helpers/xsd/procNFe_v3.10.xsd +9 -0
  430. package/lib/application/helpers/xsd/procNFe_v4.00.xsd +9 -0
  431. package/lib/application/helpers/xsd/procRemIndus_v1.00.xsd +9 -0
  432. package/lib/application/helpers/xsd/prod_leiauteNFe_v4.00.xsd +6736 -0
  433. package/lib/application/helpers/xsd/resEvento_v1.00.xsd +94 -0
  434. package/lib/application/helpers/xsd/resEvento_v1.01.xsd +108 -0
  435. package/lib/application/helpers/xsd/resNFe_v1.00.xsd +110 -0
  436. package/lib/application/helpers/xsd/resNFe_v1.01.xsd +122 -0
  437. package/lib/application/helpers/xsd/retComprovanteEntregaNFe_v1.00.xsd +10 -0
  438. package/lib/application/helpers/xsd/retConsCad_v2.00.xsd +9 -0
  439. package/lib/application/helpers/xsd/retConsGTIN_v1.00.xsd +9 -0
  440. package/lib/application/helpers/xsd/retConsReciNFe_v3.10.xsd +9 -0
  441. package/lib/application/helpers/xsd/retConsReciNFe_v4.00.xsd +9 -0
  442. package/lib/application/helpers/xsd/retConsSitNFe_v3.10.xsd +9 -0
  443. package/lib/application/helpers/xsd/retConsSitNFe_v4.00.xsd +9 -0
  444. package/lib/application/helpers/xsd/retConsStatServ_v3.10.xsd +9 -0
  445. package/lib/application/helpers/xsd/retConsStatServ_v4.00.xsd +9 -0
  446. package/lib/application/helpers/xsd/retDistDFeInt_v1.00.xsd +84 -0
  447. package/lib/application/helpers/xsd/retDistDFeInt_v1.01.xsd +99 -0
  448. package/lib/application/helpers/xsd/retDownloadNFe_v1.00.xsd +9 -0
  449. package/lib/application/helpers/xsd/retEnvAverb_v1.00.xsd +9 -0
  450. package/lib/application/helpers/xsd/retEnvAverb_v1.00_1.xsd +9 -0
  451. package/lib/application/helpers/xsd/retEnvCCe_v1.00.xsd +10 -0
  452. package/lib/application/helpers/xsd/retEnvCancelPProrrogNFe_v1.0.xsd +231 -0
  453. package/lib/application/helpers/xsd/retEnvConfRecebto_v1.00.xsd +9 -0
  454. package/lib/application/helpers/xsd/retEnvEPEC_v1.00.xsd +9 -0
  455. package/lib/application/helpers/xsd/retEnvEventoAtorInteressado_v1.00.xsd +9 -0
  456. package/lib/application/helpers/xsd/retEnvEventoCancNFe_v1.00.xsd +9 -0
  457. package/lib/application/helpers/xsd/retEnvEventoCancSubst_v1.00.xsd +9 -0
  458. package/lib/application/helpers/xsd/retEnvEvento_v1.00.xsd +9 -0
  459. package/lib/application/helpers/xsd/retEnvFiscoNFe_v1.0.xsd +234 -0
  460. package/lib/application/helpers/xsd/retEnvRemIndus_v1.00.xsd +9 -0
  461. package/lib/application/helpers/xsd/retEnvSuframaInternaliza_v1.00.xsd +9 -0
  462. package/lib/application/helpers/xsd/retEnvSuframaVistoria_v1.00.xsd +9 -0
  463. package/lib/application/helpers/xsd/retEnviNFe_v3.10.xsd +9 -0
  464. package/lib/application/helpers/xsd/retEnviNFe_v4.00.xsd +9 -0
  465. package/lib/application/helpers/xsd/retEventoCancEntregaNFe_v1.00.xsd +9 -0
  466. package/lib/application/helpers/xsd/retEventoEPEC_v0.01.xsd +207 -0
  467. package/lib/application/helpers/xsd/retEventoEntregaNFe_v1.00.xsd +9 -0
  468. package/lib/application/helpers/xsd/retInutNFe_v3.10.xsd +9 -0
  469. package/lib/application/helpers/xsd/retInutNFe_v4.00.xsd +9 -0
  470. package/lib/application/helpers/xsd/retPProrrogNFe_v1.0.xsd +233 -0
  471. package/lib/application/helpers/xsd/retconsNFeDest_v1.01.xsd +9 -0
  472. package/lib/application/helpers/xsd/tiposBasico_v1.03.xsd +873 -0
  473. package/lib/application/helpers/xsd/tiposBasico_v3.10.xsd +571 -0
  474. package/lib/application/helpers/xsd/tiposBasico_v4.00.xsd +598 -0
  475. package/lib/application/helpers/xsd/tiposBasicosCcgConsGTIN_v1.00.xsd +84 -0
  476. package/lib/application/helpers/xsd/tiposDistDFe_v1.00.xsd +217 -0
  477. package/lib/application/helpers/xsd/tiposDistDFe_v1.01.xsd +222 -0
  478. package/lib/application/helpers/xsd/validate.d.ts +4 -0
  479. package/lib/application/helpers/xsd/validate.js +71 -0
  480. package/lib/application/helpers/xsd/validate.js.map +1 -0
  481. package/lib/application/helpers/xsd/xmldsig-core-schema_v1.01.xsd +98 -0
  482. package/lib/domain/contracts/repos/certificate-load.d.ts +29 -0
  483. package/lib/domain/contracts/repos/certificate-load.js +3 -0
  484. package/lib/domain/contracts/repos/certificate-load.js.map +1 -0
  485. package/lib/domain/contracts/repos/evento.d.ts +43 -0
  486. package/lib/domain/contracts/repos/evento.js +3 -0
  487. package/lib/domain/contracts/repos/evento.js.map +1 -0
  488. package/lib/domain/contracts/repos/generate-pdf.d.ts +244 -0
  489. package/lib/domain/contracts/repos/generate-pdf.js +3 -0
  490. package/lib/domain/contracts/repos/generate-pdf.js.map +1 -0
  491. package/lib/domain/contracts/repos/index.d.ts +13 -0
  492. package/lib/domain/contracts/repos/index.js +30 -0
  493. package/lib/domain/contracts/repos/index.js.map +1 -0
  494. package/lib/domain/contracts/repos/info-qr-code.d.ts +10 -0
  495. package/lib/domain/contracts/repos/info-qr-code.js +3 -0
  496. package/lib/domain/contracts/repos/info-qr-code.js.map +1 -0
  497. package/lib/domain/contracts/repos/inutilizacao.d.ts +11 -0
  498. package/lib/domain/contracts/repos/inutilizacao.js +3 -0
  499. package/lib/domain/contracts/repos/inutilizacao.js.map +1 -0
  500. package/lib/domain/contracts/repos/nfe-proc.d.ts +44 -0
  501. package/lib/domain/contracts/repos/nfe-proc.js +3 -0
  502. package/lib/domain/contracts/repos/nfe-proc.js.map +1 -0
  503. package/lib/domain/contracts/repos/nfe.d.ts +111 -0
  504. package/lib/domain/contracts/repos/nfe.js +34 -0
  505. package/lib/domain/contracts/repos/nfe.js.map +1 -0
  506. package/lib/domain/contracts/repos/proc-evento.d.ts +57 -0
  507. package/lib/domain/contracts/repos/proc-evento.js +3 -0
  508. package/lib/domain/contracts/repos/proc-evento.js.map +1 -0
  509. package/lib/domain/contracts/repos/proc-inut.d.ts +52 -0
  510. package/lib/domain/contracts/repos/proc-inut.js +3 -0
  511. package/lib/domain/contracts/repos/proc-inut.js.map +1 -0
  512. package/lib/domain/contracts/repos/retorno.d.ts +27 -0
  513. package/lib/domain/contracts/repos/retorno.js +3 -0
  514. package/lib/domain/contracts/repos/retorno.js.map +1 -0
  515. package/lib/domain/contracts/repos/schema.d.ts +1183 -0
  516. package/lib/domain/contracts/repos/schema.js +23 -0
  517. package/lib/domain/contracts/repos/schema.js.map +1 -0
  518. package/lib/domain/contracts/repos/soap-info.d.ts +19 -0
  519. package/lib/domain/contracts/repos/soap-info.js +3 -0
  520. package/lib/domain/contracts/repos/soap-info.js.map +1 -0
  521. package/lib/domain/contracts/repos/soap-request.d.ts +16 -0
  522. package/lib/domain/contracts/repos/soap-request.js +3 -0
  523. package/lib/domain/contracts/repos/soap-request.js.map +1 -0
  524. package/lib/domain/contracts/repos/web-proxy.d.ts +9 -0
  525. package/lib/domain/contracts/repos/web-proxy.js +3 -0
  526. package/lib/domain/contracts/repos/web-proxy.js.map +1 -0
  527. package/lib/domain/errors/certificate.d.ts +6 -0
  528. package/lib/domain/errors/certificate.js +18 -0
  529. package/lib/domain/errors/certificate.js.map +1 -0
  530. package/lib/domain/errors/index.d.ts +1 -0
  531. package/lib/domain/errors/index.js +18 -0
  532. package/lib/domain/errors/index.js.map +1 -0
  533. package/lib/domain/use-cases/load-certificate-from-base64.d.ts +7 -0
  534. package/lib/domain/use-cases/load-certificate-from-base64.js +10 -0
  535. package/lib/domain/use-cases/load-certificate-from-base64.js.map +1 -0
  536. package/lib/domain/use-cases/load-certificate-from-path.d.ts +7 -0
  537. package/lib/domain/use-cases/load-certificate-from-path.js +20 -0
  538. package/lib/domain/use-cases/load-certificate-from-path.js.map +1 -0
  539. package/lib/domain/use-cases/load-certificate.d.ts +7 -0
  540. package/lib/domain/use-cases/load-certificate.js +53 -0
  541. package/lib/domain/use-cases/load-certificate.js.map +1 -0
  542. package/lib/domain/use-cases/pdf/index.d.ts +2 -0
  543. package/lib/domain/use-cases/pdf/index.js +46 -0
  544. package/lib/domain/use-cases/pdf/index.js.map +1 -0
  545. package/lib/domain/use-cases/pdf/pdf-MDFe.js +566 -0
  546. package/lib/domain/use-cases/pdf/pdf-NFCe.d.ts +3 -0
  547. package/lib/domain/use-cases/pdf/pdf-NFCe.js +726 -0
  548. package/lib/domain/use-cases/pdf/pdf-NFCe.js.map +1 -0
  549. package/lib/domain/use-cases/pdf/pdf-NFe.d.ts +3 -0
  550. package/lib/domain/use-cases/pdf/pdf-NFe.js +32 -0
  551. package/lib/domain/use-cases/pdf/pdf-NFe.js.map +1 -0
  552. package/lib/domain/use-cases/processo/cancelar-mdfe.d.ts +12 -0
  553. package/lib/domain/use-cases/processo/cancelar-mdfe.js +133 -0
  554. package/lib/domain/use-cases/processo/cancelar.d.ts +10 -0
  555. package/lib/domain/use-cases/processo/cancelar.js +27 -0
  556. package/lib/domain/use-cases/processo/cancelar.js.map +1 -0
  557. package/lib/domain/use-cases/processo/carta-correcao.d.ts +11 -0
  558. package/lib/domain/use-cases/processo/carta-correcao.js +30 -0
  559. package/lib/domain/use-cases/processo/carta-correcao.js.map +1 -0
  560. package/lib/domain/use-cases/processo/consulta-mdfe.d.ts +17 -0
  561. package/lib/domain/use-cases/processo/consulta-mdfe.js +65 -0
  562. package/lib/domain/use-cases/processo/consulta-nfe.d.ts +13 -0
  563. package/lib/domain/use-cases/processo/consulta-nfe.js +81 -0
  564. package/lib/domain/use-cases/processo/consulta-recibo-request.d.ts +3 -0
  565. package/lib/domain/use-cases/processo/consulta-recibo-request.js +18 -0
  566. package/lib/domain/use-cases/processo/consulta-recibo-request.js.map +1 -0
  567. package/lib/domain/use-cases/processo/consulta-recibo.d.ts +3 -0
  568. package/lib/domain/use-cases/processo/consulta-recibo.js +64 -0
  569. package/lib/domain/use-cases/processo/consulta-recibo.js.map +1 -0
  570. package/lib/domain/use-cases/processo/emissao-mdfe - Copia.js +129 -0
  571. package/lib/domain/use-cases/processo/emissao-mdfe.d.ts +19 -0
  572. package/lib/domain/use-cases/processo/emissao-mdfe.js +204 -0
  573. package/lib/domain/use-cases/processo/emissao.d.ts +8 -0
  574. package/lib/domain/use-cases/processo/emissao.js +51 -0
  575. package/lib/domain/use-cases/processo/emissao.js.map +1 -0
  576. package/lib/domain/use-cases/processo/encerrar-mdfe.d.ts +13 -0
  577. package/lib/domain/use-cases/processo/encerrar-mdfe.js +140 -0
  578. package/lib/domain/use-cases/processo/gerar-evento.d.ts +3 -0
  579. package/lib/domain/use-cases/processo/gerar-evento.js +148 -0
  580. package/lib/domain/use-cases/processo/gerar-evento.js.map +1 -0
  581. package/lib/domain/use-cases/processo/inutiliza.d.ts +8 -0
  582. package/lib/domain/use-cases/processo/inutiliza.js +71 -0
  583. package/lib/domain/use-cases/processo/inutiliza.js.map +1 -0
  584. package/lib/domain/use-cases/processo/status-mdfe.d.ts +15 -0
  585. package/lib/domain/use-cases/processo/status-mdfe.js +51 -0
  586. package/lib/domain/use-cases/processo/status.d.ts +3 -0
  587. package/lib/domain/use-cases/processo/status.js +35 -0
  588. package/lib/domain/use-cases/processo/status.js.map +1 -0
  589. package/lib/domain/use-cases/signature/index.d.ts +2 -0
  590. package/lib/domain/use-cases/signature/index.js +19 -0
  591. package/lib/domain/use-cases/signature/index.js.map +1 -0
  592. package/lib/domain/use-cases/signature/sign-xml-x509.d.ts +2 -0
  593. package/lib/domain/use-cases/signature/sign-xml-x509.js +46 -0
  594. package/lib/domain/use-cases/signature/sign-xml-x509.js.map +1 -0
  595. package/lib/domain/use-cases/signature/sign-xml.d.ts +1 -0
  596. package/lib/domain/use-cases/signature/sign-xml.js +13 -0
  597. package/lib/domain/use-cases/signature/sign-xml.js.map +1 -0
  598. package/lib/domain/use-cases/utils/data-atual.d.ts +1 -0
  599. package/lib/domain/use-cases/utils/data-atual.js +13 -0
  600. package/lib/domain/use-cases/utils/data-atual.js.map +1 -0
  601. package/lib/domain/use-cases/utils/ibge-code-to-uf.d.ts +1 -0
  602. package/lib/domain/use-cases/utils/ibge-code-to-uf.js +62 -0
  603. package/lib/domain/use-cases/utils/ibge-code-to-uf.js.map +1 -0
  604. package/lib/domain/use-cases/utils/index.d.ts +3 -0
  605. package/lib/domain/use-cases/utils/index.js +20 -0
  606. package/lib/domain/use-cases/utils/index.js.map +1 -0
  607. package/lib/domain/use-cases/utils/uf-to-ibge-code.d.ts +2 -0
  608. package/lib/domain/use-cases/utils/uf-to-ibge-code.js +62 -0
  609. package/lib/domain/use-cases/utils/uf-to-ibge-code.js.map +1 -0
  610. package/lib/domain/xml/mdfe/assinar-mdfe.js +52 -0
  611. package/lib/domain/xml/mdfe/emitir-mdfe.js +72 -0
  612. package/lib/domain/xml/mdfe/validar-xsd-mdfe.js +44 -0
  613. package/lib/index.d.ts +21 -0
  614. package/lib/index.js +68 -0
  615. package/lib/index.js.map +1 -0
  616. package/lib/main/config/env.d.ts +7 -0
  617. package/lib/main/config/env.js +11 -0
  618. package/lib/main/config/env.js.map +1 -0
  619. package/lib/main/webservices/functions.d.ts +1 -0
  620. package/lib/main/webservices/functions.js +23 -0
  621. package/lib/main/webservices/functions.js.map +1 -0
  622. package/lib/main/webservices/sefazMdfe.js +80 -0
  623. package/lib/main/webservices/sefazNfce.d.ts +6 -0
  624. package/lib/main/webservices/sefazNfce.js +359 -0
  625. package/lib/main/webservices/sefazNfce.js.map +1 -0
  626. package/lib/main/webservices/sefazNfe.d.ts +5 -0
  627. package/lib/main/webservices/sefazNfe.js +112 -0
  628. package/lib/main/webservices/sefazNfe.js.map +1 -0
  629. package/lib/tsconfig-build.tsbuildinfo +1 -0
  630. package/package.json +79 -0
@@ -0,0 +1,2287 @@
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/mdfe" targetNamespace="http://www.portalfiscal.inf.br/mdfe" 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="tiposGeralMDFe_v3.00.xsd"/>
6
+ <xs:complexType name="TMDFe">
7
+ <xs:annotation>
8
+ <xs:documentation>Tipo Manifesto de Documentos Fiscais Eletrônicos</xs:documentation>
9
+ </xs:annotation>
10
+ <xs:sequence>
11
+ <xs:element name="infMDFe">
12
+ <xs:annotation>
13
+ <xs:documentation>Informações do MDF-e</xs:documentation>
14
+ </xs:annotation>
15
+ <xs:complexType>
16
+ <xs:sequence>
17
+ <xs:element name="ide">
18
+ <xs:annotation>
19
+ <xs:documentation>Identificação do MDF-e</xs:documentation>
20
+ </xs:annotation>
21
+ <xs:complexType>
22
+ <xs:sequence>
23
+ <xs:element name="cUF" type="TCodUfIBGE">
24
+ <xs:annotation>
25
+ <xs:documentation>Código da UF do emitente do MDF-e</xs:documentation>
26
+ <xs:documentation>Código da UF do emitente do Documento Fiscal. Utilizar a
27
+ Tabela do IBGE de código de unidades da federação.</xs:documentation>
28
+ </xs:annotation>
29
+ </xs:element>
30
+ <xs:element name="tpAmb" type="TAmb">
31
+ <xs:annotation>
32
+ <xs:documentation>Tipo do Ambiente</xs:documentation>
33
+ <xs:documentation>1 - Produção
34
+ 2 - Homologação</xs:documentation>
35
+ </xs:annotation>
36
+ </xs:element>
37
+ <xs:element name="tpEmit" type="TEmit">
38
+ <xs:annotation>
39
+ <xs:documentation>Tipo do Emitente
40
+ </xs:documentation>
41
+ <xs:documentation>1 - Prestador de serviço de transporte
42
+ 2 - Transportador de Carga Própria 3 - Prestador de serviço de transporte que emitirá CT-e Globalizado
43
+
44
+ OBS: Deve ser preenchido com 2 para emitentes de NF-e e pelas transportadoras quando estiverem fazendo transporte de carga própria. Deve ser preenchido com 3 para transportador de carga que emitirá à posteriori CT-e Globalizado relacionando as NF-e.</xs:documentation>
45
+ </xs:annotation>
46
+ </xs:element>
47
+ <xs:element name="tpTransp" type="TTransp" minOccurs="0">
48
+ <xs:annotation>
49
+ <xs:documentation>Tipo do Transportador</xs:documentation>
50
+ <xs:documentation>1 - ETC
51
+
52
+ 2 - TAC
53
+
54
+ 3 - CTC</xs:documentation>
55
+ </xs:annotation>
56
+ </xs:element>
57
+ <xs:element name="mod" type="TModMD">
58
+ <xs:annotation>
59
+ <xs:documentation>Modelo do Manifesto Eletrônico</xs:documentation>
60
+ <xs:documentation>Utilizar o código 58 para identificação do MDF-e</xs:documentation>
61
+ </xs:annotation>
62
+ </xs:element>
63
+ <xs:element name="serie" type="TSerie">
64
+ <xs:annotation>
65
+ <xs:documentation>Série do Manifesto</xs:documentation>
66
+ <xs:documentation>Informar a série do documento fiscal (informar zero se inexistente).
67
+ Série na faixa [920-969]: Reservada para emissão por contribuinte pessoa física com inscrição estadual.</xs:documentation>
68
+ </xs:annotation>
69
+ </xs:element>
70
+ <xs:element name="nMDF" type="TNF">
71
+ <xs:annotation>
72
+ <xs:documentation>Número do Manifesto</xs:documentation>
73
+ <xs:documentation>Número que identifica o Manifesto. 1 a 999999999.</xs:documentation>
74
+ </xs:annotation>
75
+ </xs:element>
76
+ <xs:element name="cMDF">
77
+ <xs:annotation>
78
+ <xs:documentation>Código numérico que compõe a Chave de Acesso. </xs:documentation>
79
+ <xs:documentation>Código aleatório gerado pelo emitente, com o objetivo de evitar acessos indevidos ao documento.</xs:documentation>
80
+ </xs:annotation>
81
+ <xs:simpleType>
82
+ <xs:restriction base="xs:string">
83
+ <xs:whiteSpace value="preserve"/>
84
+ <xs:pattern value="[0-9]{8}"/>
85
+ </xs:restriction>
86
+ </xs:simpleType>
87
+ </xs:element>
88
+ <xs:element name="cDV">
89
+ <xs:annotation>
90
+ <xs:documentation>Digito verificador da chave de acesso do Manifesto</xs:documentation>
91
+ <xs:documentation>Informar o dígito de controle da chave de acesso do MDF-e, que deve ser calculado com a aplicação do algoritmo módulo 11 (base 2,9) da chave de acesso. </xs:documentation>
92
+ </xs:annotation>
93
+ <xs:simpleType>
94
+ <xs:restriction base="xs:string">
95
+ <xs:whiteSpace value="preserve"/>
96
+ <xs:pattern value="[0-9]{1}"/>
97
+ </xs:restriction>
98
+ </xs:simpleType>
99
+ </xs:element>
100
+ <xs:element name="modal" type="TModalMD">
101
+ <xs:annotation>
102
+ <xs:documentation>Modalidade de transporte</xs:documentation>
103
+ <xs:documentation>1 - Rodoviário;
104
+ 2 - Aéreo; 3 - Aquaviário; 4 - Ferroviário.</xs:documentation>
105
+ </xs:annotation>
106
+ </xs:element>
107
+ <xs:element name="dhEmi" type="TDateTimeUTC">
108
+ <xs:annotation>
109
+ <xs:documentation>Data e hora de emissão do Manifesto</xs:documentation>
110
+ <xs:documentation>Formato AAAA-MM-DDTHH:MM:DD TZD</xs:documentation>
111
+ </xs:annotation>
112
+ </xs:element>
113
+ <xs:element name="tpEmis">
114
+ <xs:annotation>
115
+ <xs:documentation>Forma de emissão do Manifesto (Normal ou Contingência)</xs:documentation>
116
+ <xs:documentation>1 - Normal
117
+ ; 2 - Contingência</xs:documentation>
118
+ </xs:annotation>
119
+ <xs:simpleType>
120
+ <xs:restriction base="xs:string">
121
+ <xs:whiteSpace value="preserve"/>
122
+ <xs:enumeration value="1"/>
123
+ <xs:enumeration value="2"/>
124
+ </xs:restriction>
125
+ </xs:simpleType>
126
+ </xs:element>
127
+ <xs:element name="procEmi">
128
+ <xs:annotation>
129
+ <xs:documentation>Identificação do processo de emissão do Manifesto</xs:documentation>
130
+ <xs:documentation>0 - emissão de MDF-e com aplicativo do contribuinte</xs:documentation>
131
+ </xs:annotation>
132
+ <xs:simpleType>
133
+ <xs:restriction base="TProcEmi"/>
134
+ </xs:simpleType>
135
+ </xs:element>
136
+ <xs:element name="verProc">
137
+ <xs:annotation>
138
+ <xs:documentation>Versão do processo de emissão</xs:documentation>
139
+ <xs:documentation>Informar a versão do aplicativo emissor de MDF-e.</xs:documentation>
140
+ </xs:annotation>
141
+ <xs:simpleType>
142
+ <xs:restriction base="TString">
143
+ <xs:minLength value="1"/>
144
+ <xs:maxLength value="20"/>
145
+ </xs:restriction>
146
+ </xs:simpleType>
147
+ </xs:element>
148
+ <xs:element name="UFIni" type="TUf">
149
+ <xs:annotation>
150
+ <xs:documentation>Sigla da UF do Carregamento</xs:documentation>
151
+ <xs:documentation>Utilizar a Tabela do IBGE de código de unidades da federação.
152
+ Informar 'EX' para operações com o exterior.</xs:documentation>
153
+ </xs:annotation>
154
+ </xs:element>
155
+ <xs:element name="UFFim" type="TUf">
156
+ <xs:annotation>
157
+ <xs:documentation>Sigla da UF do Descarregamento</xs:documentation>
158
+ <xs:documentation>Utilizar a Tabela do IBGE de código de unidades da federação.
159
+ Informar 'EX' para operações com o exterior.</xs:documentation>
160
+ </xs:annotation>
161
+ </xs:element>
162
+ <xs:element name="infMunCarrega" maxOccurs="50">
163
+ <xs:annotation>
164
+ <xs:documentation source=" Municípios onde ocorreram os carregamentos">Informações dos Municípios de Carregamento</xs:documentation>
165
+ </xs:annotation>
166
+ <xs:complexType>
167
+ <xs:sequence>
168
+ <xs:element name="cMunCarrega" type="TCodMunIBGE">
169
+ <xs:annotation>
170
+ <xs:documentation source="Código do Munícpio de Carregamento">Código do Município de Carregamento</xs:documentation>
171
+ </xs:annotation>
172
+ </xs:element>
173
+ <xs:element name="xMunCarrega">
174
+ <xs:annotation>
175
+ <xs:documentation>Nome do Município de Carregamento</xs:documentation>
176
+ </xs:annotation>
177
+ <xs:simpleType>
178
+ <xs:restriction base="TString">
179
+ <xs:minLength value="2"/>
180
+ <xs:maxLength value="60"/>
181
+ </xs:restriction>
182
+ </xs:simpleType>
183
+ </xs:element>
184
+ </xs:sequence>
185
+ </xs:complexType>
186
+ </xs:element>
187
+ <xs:element name="infPercurso" minOccurs="0" maxOccurs="25">
188
+ <xs:annotation>
189
+ <xs:documentation source=" Municípios onde ocorreram os carregamentos">Informações do Percurso do MDF-e</xs:documentation>
190
+ </xs:annotation>
191
+ <xs:complexType>
192
+ <xs:sequence>
193
+ <xs:element name="UFPer" type="TUf">
194
+ <xs:annotation>
195
+ <xs:documentation>Sigla das Unidades da Federação do percurso do veículo.</xs:documentation>
196
+ <xs:documentation>Não é necessário repetir as UF de Início e Fim</xs:documentation>
197
+ </xs:annotation>
198
+ </xs:element>
199
+ </xs:sequence>
200
+ </xs:complexType>
201
+ </xs:element>
202
+ <xs:element name="dhIniViagem" type="TDateTimeUTC" minOccurs="0">
203
+ <xs:annotation>
204
+ <xs:documentation>Data e hora previstos de inicio da viagem</xs:documentation>
205
+ <xs:documentation>Formato AAAA-MM-DDTHH:MM:DD TZD</xs:documentation>
206
+ </xs:annotation>
207
+ </xs:element>
208
+ <xs:element name="indCanalVerde" minOccurs="0">
209
+ <xs:annotation>
210
+ <xs:documentation>Indicador de participação do Canal Verde</xs:documentation>
211
+ </xs:annotation>
212
+ <xs:simpleType>
213
+ <xs:restriction base="xs:string">
214
+ <xs:enumeration value="1"/>
215
+ </xs:restriction>
216
+ </xs:simpleType>
217
+ </xs:element>
218
+ <xs:element name="indCarregaPosterior" minOccurs="0">
219
+ <xs:annotation>
220
+ <xs:documentation>Indicador de MDF-e com inclusão da Carga posterior a emissão por evento de inclusão de DF-e</xs:documentation>
221
+ </xs:annotation>
222
+ <xs:simpleType>
223
+ <xs:restriction base="xs:string">
224
+ <xs:enumeration value="1"/>
225
+ </xs:restriction>
226
+ </xs:simpleType>
227
+ </xs:element>
228
+ </xs:sequence>
229
+ </xs:complexType>
230
+ </xs:element>
231
+ <xs:element name="emit">
232
+ <xs:annotation>
233
+ <xs:documentation>Identificação do Emitente do Manifesto</xs:documentation>
234
+ </xs:annotation>
235
+ <xs:complexType>
236
+ <xs:sequence>
237
+ <xs:choice>
238
+ <xs:element name="CNPJ" type="TCnpj">
239
+ <xs:annotation>
240
+ <xs:documentation>CNPJ do emitente</xs:documentation>
241
+ <xs:documentation>Informar zeros não significativos</xs:documentation>
242
+ </xs:annotation>
243
+ </xs:element>
244
+ <xs:element name="CPF" type="TCpf">
245
+ <xs:annotation>
246
+ <xs:documentation>CPF do emitente</xs:documentation>
247
+ <xs:documentation>Informar zeros não significativos.
248
+
249
+ Usar com série específica 920-969 para emitente pessoa física com inscrição estadual</xs:documentation>
250
+ </xs:annotation>
251
+ </xs:element>
252
+ </xs:choice>
253
+ <xs:element name="IE">
254
+ <xs:annotation>
255
+ <xs:documentation>Inscrição Estadual do emitemte</xs:documentation>
256
+ </xs:annotation>
257
+ <xs:simpleType>
258
+ <xs:restriction base="TIe"/>
259
+ </xs:simpleType>
260
+ </xs:element>
261
+ <xs:element name="xNome">
262
+ <xs:annotation>
263
+ <xs:documentation>Razão social ou Nome do emitente</xs:documentation>
264
+ </xs:annotation>
265
+ <xs:simpleType>
266
+ <xs:restriction base="TString">
267
+ <xs:maxLength value="60"/>
268
+ <xs:minLength value="2"/>
269
+ </xs:restriction>
270
+ </xs:simpleType>
271
+ </xs:element>
272
+ <xs:element name="xFant" minOccurs="0">
273
+ <xs:annotation>
274
+ <xs:documentation>Nome fantasia do emitente</xs:documentation>
275
+ </xs:annotation>
276
+ <xs:simpleType>
277
+ <xs:restriction base="TString">
278
+ <xs:maxLength value="60"/>
279
+ <xs:minLength value="1"/>
280
+ </xs:restriction>
281
+ </xs:simpleType>
282
+ </xs:element>
283
+ <xs:element name="enderEmit" type="TEndeEmi">
284
+ <xs:annotation>
285
+ <xs:documentation>Endereço do emitente</xs:documentation>
286
+ </xs:annotation>
287
+ </xs:element>
288
+ </xs:sequence>
289
+ </xs:complexType>
290
+ </xs:element>
291
+ <xs:element name="infModal">
292
+ <xs:annotation>
293
+ <xs:documentation>Informações do modal</xs:documentation>
294
+ </xs:annotation>
295
+ <xs:complexType>
296
+ <xs:sequence>
297
+ <xs:any processContents="skip">
298
+ <xs:annotation>
299
+ <xs:documentation>XML do modal
300
+ Insira neste local o XML específico do modal (rodoviário, aéreo, ferroviário ou aquaviário). </xs:documentation>
301
+ <xs:documentation>O elemento do tipo -any- permite estender o documento XML com elementos não especificados pelo schema.
302
+ Insira neste local - any- o XML específico do modal (rodoviário, aéreo, ferroviário ou aquaviário). A especificação do schema XML para cada modal pode ser encontrada nos arquivos que acompanham este pacote de liberação:
303
+
304
+ Rodoviário - ver arquivo MDFeModalRodoviario_v9.99
305
+ Aéreo - ver arquivo MDFeModalAereo_v9.99
306
+ Aquaviário - arquivo MDFeModalAquaviario_v9.99
307
+ Ferroviário - arquivo MDFeModalFerroviario_v9.99
308
+
309
+
310
+ Onde v9.99 é a a designação genérica para a versão do arquivo.
311
+ Por exemplo, o arquivo para o schema do modal Rodoviário na versão 1.00 será denominado "MDFeModalRodoviario_v1.00".</xs:documentation>
312
+ </xs:annotation>
313
+ </xs:any>
314
+ </xs:sequence>
315
+ <xs:attribute name="versaoModal" use="required">
316
+ <xs:annotation>
317
+ <xs:documentation>Versão do leiaute específico para o Modal</xs:documentation>
318
+ </xs:annotation>
319
+ <xs:simpleType>
320
+ <xs:restriction base="xs:string">
321
+ <xs:whiteSpace value="preserve"/>
322
+ <xs:pattern value="3\.(0[0-9]|[1-9][0-9])"/>
323
+ </xs:restriction>
324
+ </xs:simpleType>
325
+ </xs:attribute>
326
+ </xs:complexType>
327
+ </xs:element>
328
+ <xs:element name="infDoc">
329
+ <xs:annotation>
330
+ <xs:documentation>Informações dos Documentos fiscais vinculados ao manifesto</xs:documentation>
331
+ </xs:annotation>
332
+ <xs:complexType>
333
+ <xs:sequence>
334
+ <xs:element name="infMunDescarga" maxOccurs="100">
335
+ <xs:annotation>
336
+ <xs:documentation>Informações dos Municípios de descarregamento</xs:documentation>
337
+ </xs:annotation>
338
+ <xs:complexType>
339
+ <xs:sequence>
340
+ <xs:element name="cMunDescarga" type="TCodMunIBGE">
341
+ <xs:annotation>
342
+ <xs:documentation>Código do Município de Descarregamento</xs:documentation>
343
+ </xs:annotation>
344
+ </xs:element>
345
+ <xs:element name="xMunDescarga">
346
+ <xs:annotation>
347
+ <xs:documentation>Nome do Município de Descarregamento</xs:documentation>
348
+ </xs:annotation>
349
+ <xs:simpleType>
350
+ <xs:restriction base="TString">
351
+ <xs:minLength value="2"/>
352
+ <xs:maxLength value="60"/>
353
+ </xs:restriction>
354
+ </xs:simpleType>
355
+ </xs:element>
356
+ <xs:element name="infCTe" minOccurs="0" maxOccurs="10000">
357
+ <xs:annotation>
358
+ <xs:documentation>Conhecimentos de Tranporte - usar este grupo quando for prestador de serviço de transporte</xs:documentation>
359
+ </xs:annotation>
360
+ <xs:complexType>
361
+ <xs:sequence>
362
+ <xs:element name="chCTe" type="TChCTe">
363
+ <xs:annotation>
364
+ <xs:documentation>Conhecimento Eletrônico - Chave de Acesso</xs:documentation>
365
+ </xs:annotation>
366
+ </xs:element>
367
+ <xs:element name="SegCodBarra" type="TSegCodBarra" minOccurs="0">
368
+ <xs:annotation>
369
+ <xs:documentation>Segundo código de barras</xs:documentation>
370
+ </xs:annotation>
371
+ </xs:element>
372
+ <xs:element name="indReentrega" minOccurs="0">
373
+ <xs:annotation>
374
+ <xs:documentation>Indicador de Reentrega</xs:documentation>
375
+ </xs:annotation>
376
+ <xs:simpleType>
377
+ <xs:restriction base="xs:string">
378
+ <xs:enumeration value="1"/>
379
+ </xs:restriction>
380
+ </xs:simpleType>
381
+ </xs:element>
382
+ <xs:element name="infUnidTransp" type="TUnidadeTransp" minOccurs="0" maxOccurs="unbounded">
383
+ <xs:annotation>
384
+ <xs:documentation>Informações das Unidades de Transporte (Carreta/Reboque/Vagão)</xs:documentation>
385
+ <xs:documentation>Deve ser preenchido com as informações das unidades de transporte utilizadas.</xs:documentation>
386
+ </xs:annotation>
387
+ </xs:element>
388
+ <xs:element name="peri" minOccurs="0" maxOccurs="unbounded">
389
+ <xs:annotation>
390
+ <xs:documentation>Preenchido quando for transporte de produtos classificados pela ONU como perigosos.</xs:documentation>
391
+ </xs:annotation>
392
+ <xs:complexType>
393
+ <xs:sequence>
394
+ <xs:element name="nONU">
395
+ <xs:annotation>
396
+ <xs:documentation>Número ONU/UN</xs:documentation>
397
+ <xs:documentation>Ver a legislação de transporte de produtos perigosos aplicadas ao modal </xs:documentation>
398
+ </xs:annotation>
399
+ <xs:simpleType>
400
+ <xs:restriction base="xs:string">
401
+ <xs:whiteSpace value="preserve"/>
402
+ <xs:pattern value="[0-9]{4}|ND"/>
403
+ </xs:restriction>
404
+ </xs:simpleType>
405
+ </xs:element>
406
+ <xs:element name="xNomeAE" minOccurs="0">
407
+ <xs:annotation>
408
+ <xs:documentation>Nome apropriado para embarque do produto</xs:documentation>
409
+ <xs:documentation>Ver a legislação de transporte de produtos perigosos aplicada ao modo de transporte</xs:documentation>
410
+ </xs:annotation>
411
+ <xs:simpleType>
412
+ <xs:restriction base="TString">
413
+ <xs:minLength value="1"/>
414
+ <xs:maxLength value="150"/>
415
+ </xs:restriction>
416
+ </xs:simpleType>
417
+ </xs:element>
418
+ <xs:element name="xClaRisco" minOccurs="0">
419
+ <xs:annotation>
420
+ <xs:documentation>Classe ou subclasse/divisão, e risco subsidiário/risco secundário</xs:documentation>
421
+ <xs:documentation>Ver a legislação de transporte de produtos perigosos aplicadas ao modal</xs:documentation>
422
+ </xs:annotation>
423
+ <xs:simpleType>
424
+ <xs:restriction base="TString">
425
+ <xs:minLength value="1"/>
426
+ <xs:maxLength value="40"/>
427
+ </xs:restriction>
428
+ </xs:simpleType>
429
+ </xs:element>
430
+ <xs:element name="grEmb" minOccurs="0">
431
+ <xs:annotation>
432
+ <xs:documentation>Grupo de Embalagem</xs:documentation>
433
+ <xs:documentation>Ver a legislação de transporte de produtos perigosos aplicadas ao modal
434
+ Preenchimento obrigatório para o modal aéreo.
435
+ A legislação para o modal rodoviário e ferroviário não atribui grupo de embalagem para todos os produtos, portanto haverá casos de não preenchimento desse campo.</xs:documentation>
436
+ </xs:annotation>
437
+ <xs:simpleType>
438
+ <xs:restriction base="TString">
439
+ <xs:minLength value="1"/>
440
+ <xs:maxLength value="6"/>
441
+ </xs:restriction>
442
+ </xs:simpleType>
443
+ </xs:element>
444
+ <xs:element name="qTotProd">
445
+ <xs:annotation>
446
+ <xs:documentation>Quantidade total por produto</xs:documentation>
447
+ <xs:documentation>Preencher conforme a legislação de transporte de produtos perigosos aplicada ao modal</xs:documentation>
448
+ </xs:annotation>
449
+ <xs:simpleType>
450
+ <xs:restriction base="TString">
451
+ <xs:minLength value="1"/>
452
+ <xs:maxLength value="20"/>
453
+ </xs:restriction>
454
+ </xs:simpleType>
455
+ </xs:element>
456
+ <xs:element name="qVolTipo" minOccurs="0">
457
+ <xs:annotation>
458
+ <xs:documentation>Quantidade e Tipo de volumes</xs:documentation>
459
+ <xs:documentation>Preencher conforme a legislação de transporte de produtos perigosos aplicada ao modal</xs:documentation>
460
+ </xs:annotation>
461
+ <xs:simpleType>
462
+ <xs:restriction base="TString">
463
+ <xs:minLength value="1"/>
464
+ <xs:maxLength value="60"/>
465
+ </xs:restriction>
466
+ </xs:simpleType>
467
+ </xs:element>
468
+ </xs:sequence>
469
+ </xs:complexType>
470
+ </xs:element>
471
+ <xs:element name="infEntregaParcial" minOccurs="0">
472
+ <xs:annotation>
473
+ <xs:documentation>Grupo de informações da Entrega Parcial (Corte de Voo)</xs:documentation>
474
+ </xs:annotation>
475
+ <xs:complexType>
476
+ <xs:sequence>
477
+ <xs:element name="qtdTotal" type="TDec_1104">
478
+ <xs:annotation>
479
+ <xs:documentation>Quantidade total de volumes</xs:documentation>
480
+ </xs:annotation>
481
+ </xs:element>
482
+ <xs:element name="qtdParcial" type="TDec_1104">
483
+ <xs:annotation>
484
+ <xs:documentation>Quantidade de volumes enviados no MDF-e</xs:documentation>
485
+ </xs:annotation>
486
+ </xs:element>
487
+ </xs:sequence>
488
+ </xs:complexType>
489
+ </xs:element>
490
+ </xs:sequence>
491
+ </xs:complexType>
492
+ </xs:element>
493
+ <xs:element name="infNFe" minOccurs="0" maxOccurs="10000">
494
+ <xs:annotation>
495
+ <xs:documentation>Nota Fiscal Eletronica</xs:documentation>
496
+ </xs:annotation>
497
+ <xs:complexType>
498
+ <xs:sequence>
499
+ <xs:element name="chNFe" type="TChNFe">
500
+ <xs:annotation>
501
+ <xs:documentation>Nota Fiscal Eletrônica</xs:documentation>
502
+ </xs:annotation>
503
+ </xs:element>
504
+ <xs:element name="SegCodBarra" type="TSegCodBarra" minOccurs="0">
505
+ <xs:annotation>
506
+ <xs:documentation>Segundo código de barras</xs:documentation>
507
+ </xs:annotation>
508
+ </xs:element>
509
+ <xs:element name="indReentrega" minOccurs="0">
510
+ <xs:annotation>
511
+ <xs:documentation>Indicador de Reentrega</xs:documentation>
512
+ </xs:annotation>
513
+ <xs:simpleType>
514
+ <xs:restriction base="xs:string">
515
+ <xs:enumeration value="1"/>
516
+ </xs:restriction>
517
+ </xs:simpleType>
518
+ </xs:element>
519
+ <xs:element name="infUnidTransp" type="TUnidadeTransp" minOccurs="0" maxOccurs="unbounded">
520
+ <xs:annotation>
521
+ <xs:documentation>Informações das Unidades de Transporte (Carreta/Reboque/Vagão)</xs:documentation>
522
+ <xs:documentation>Deve ser preenchido com as informações das unidades de transporte utilizadas.</xs:documentation>
523
+ </xs:annotation>
524
+ </xs:element>
525
+ <xs:element name="peri" minOccurs="0" maxOccurs="unbounded">
526
+ <xs:annotation>
527
+ <xs:documentation>Preenchido quando for transporte de produtos classificados pela ONU como perigosos.</xs:documentation>
528
+ </xs:annotation>
529
+ <xs:complexType>
530
+ <xs:sequence>
531
+ <xs:element name="nONU">
532
+ <xs:annotation>
533
+ <xs:documentation>Número ONU/UN</xs:documentation>
534
+ <xs:documentation>Ver a legislação de transporte de produtos perigosos aplicadas ao modal </xs:documentation>
535
+ </xs:annotation>
536
+ <xs:simpleType>
537
+ <xs:restriction base="xs:string">
538
+ <xs:whiteSpace value="preserve"/>
539
+ <xs:pattern value="[0-9]{4}|ND"/>
540
+ </xs:restriction>
541
+ </xs:simpleType>
542
+ </xs:element>
543
+ <xs:element name="xNomeAE" minOccurs="0">
544
+ <xs:annotation>
545
+ <xs:documentation>Nome apropriado para embarque do produto</xs:documentation>
546
+ <xs:documentation>Ver a legislação de transporte de produtos perigosos aplicada ao modo de transporte</xs:documentation>
547
+ </xs:annotation>
548
+ <xs:simpleType>
549
+ <xs:restriction base="TString">
550
+ <xs:minLength value="1"/>
551
+ <xs:maxLength value="150"/>
552
+ </xs:restriction>
553
+ </xs:simpleType>
554
+ </xs:element>
555
+ <xs:element name="xClaRisco" minOccurs="0">
556
+ <xs:annotation>
557
+ <xs:documentation>Classe ou subclasse/divisão, e risco subsidiário/risco secundário</xs:documentation>
558
+ <xs:documentation>Ver a legislação de transporte de produtos perigosos aplicadas ao modal</xs:documentation>
559
+ </xs:annotation>
560
+ <xs:simpleType>
561
+ <xs:restriction base="TString">
562
+ <xs:minLength value="1"/>
563
+ <xs:maxLength value="40"/>
564
+ </xs:restriction>
565
+ </xs:simpleType>
566
+ </xs:element>
567
+ <xs:element name="grEmb" minOccurs="0">
568
+ <xs:annotation>
569
+ <xs:documentation>Grupo de Embalagem</xs:documentation>
570
+ <xs:documentation>Ver a legislação de transporte de produtos perigosos aplicadas ao modal
571
+ Preenchimento obrigatório para o modal aéreo.
572
+ A legislação para o modal rodoviário e ferroviário não atribui grupo de embalagem para todos os produtos, portanto haverá casos de não preenchimento desse campo.</xs:documentation>
573
+ </xs:annotation>
574
+ <xs:simpleType>
575
+ <xs:restriction base="TString">
576
+ <xs:minLength value="1"/>
577
+ <xs:maxLength value="6"/>
578
+ </xs:restriction>
579
+ </xs:simpleType>
580
+ </xs:element>
581
+ <xs:element name="qTotProd">
582
+ <xs:annotation>
583
+ <xs:documentation>Quantidade total por produto</xs:documentation>
584
+ <xs:documentation>Preencher conforme a legislação de transporte de produtos perigosos aplicada ao modal</xs:documentation>
585
+ </xs:annotation>
586
+ <xs:simpleType>
587
+ <xs:restriction base="TString">
588
+ <xs:minLength value="1"/>
589
+ <xs:maxLength value="20"/>
590
+ </xs:restriction>
591
+ </xs:simpleType>
592
+ </xs:element>
593
+ <xs:element name="qVolTipo" minOccurs="0">
594
+ <xs:annotation>
595
+ <xs:documentation>Quantidade e Tipo de volumes</xs:documentation>
596
+ <xs:documentation>Preencher conforme a legislação de transporte de produtos perigosos aplicada ao modal</xs:documentation>
597
+ </xs:annotation>
598
+ <xs:simpleType>
599
+ <xs:restriction base="TString">
600
+ <xs:minLength value="1"/>
601
+ <xs:maxLength value="60"/>
602
+ </xs:restriction>
603
+ </xs:simpleType>
604
+ </xs:element>
605
+ </xs:sequence>
606
+ </xs:complexType>
607
+ </xs:element>
608
+ </xs:sequence>
609
+ </xs:complexType>
610
+ </xs:element>
611
+ <xs:element name="infMDFeTransp" minOccurs="0" maxOccurs="10000">
612
+ <xs:annotation>
613
+ <xs:documentation>Manifesto Eletrônico de Documentos Fiscais. Somente para modal Aquaviário (vide regras MOC)</xs:documentation>
614
+ </xs:annotation>
615
+ <xs:complexType>
616
+ <xs:sequence>
617
+ <xs:element name="chMDFe" type="TChNFe">
618
+ <xs:annotation>
619
+ <xs:documentation>Manifesto Eletrônico de Documentos Fiscais</xs:documentation>
620
+ </xs:annotation>
621
+ </xs:element>
622
+ <xs:element name="indReentrega" minOccurs="0">
623
+ <xs:annotation>
624
+ <xs:documentation>Indicador de Reentrega</xs:documentation>
625
+ </xs:annotation>
626
+ <xs:simpleType>
627
+ <xs:restriction base="xs:string">
628
+ <xs:enumeration value="1"/>
629
+ </xs:restriction>
630
+ </xs:simpleType>
631
+ </xs:element>
632
+ <xs:element name="infUnidTransp" type="TUnidadeTransp" minOccurs="0" maxOccurs="unbounded">
633
+ <xs:annotation>
634
+ <xs:documentation>Informações das Unidades de Transporte (Carreta/Reboque/Vagão)</xs:documentation>
635
+ <xs:documentation>Dispositivo de carga utilizada (Unit Load Device - ULD) significa todo tipo de contêiner de carga, vagão, contêiner de avião, palete de aeronave com rede ou palete de aeronave com rede sobre um iglu. </xs:documentation>
636
+ </xs:annotation>
637
+ </xs:element>
638
+ <xs:element name="peri" minOccurs="0" maxOccurs="unbounded">
639
+ <xs:annotation>
640
+ <xs:documentation>Preenchido quando for transporte de produtos classificados pela ONU como perigosos.</xs:documentation>
641
+ </xs:annotation>
642
+ <xs:complexType>
643
+ <xs:sequence>
644
+ <xs:element name="nONU">
645
+ <xs:annotation>
646
+ <xs:documentation>Número ONU/UN</xs:documentation>
647
+ <xs:documentation>Ver a legislação de transporte de produtos perigosos aplicadas ao modal </xs:documentation>
648
+ </xs:annotation>
649
+ <xs:simpleType>
650
+ <xs:restriction base="xs:string">
651
+ <xs:whiteSpace value="preserve"/>
652
+ <xs:pattern value="[0-9]{4}|ND"/>
653
+ </xs:restriction>
654
+ </xs:simpleType>
655
+ </xs:element>
656
+ <xs:element name="xNomeAE" minOccurs="0">
657
+ <xs:annotation>
658
+ <xs:documentation>Nome apropriado para embarque do produto</xs:documentation>
659
+ <xs:documentation>Ver a legislação de transporte de produtos perigosos aplicada ao modo de transporte</xs:documentation>
660
+ </xs:annotation>
661
+ <xs:simpleType>
662
+ <xs:restriction base="TString">
663
+ <xs:minLength value="1"/>
664
+ <xs:maxLength value="150"/>
665
+ </xs:restriction>
666
+ </xs:simpleType>
667
+ </xs:element>
668
+ <xs:element name="xClaRisco" minOccurs="0">
669
+ <xs:annotation>
670
+ <xs:documentation>Classe ou subclasse/divisão, e risco subsidiário/risco secundário</xs:documentation>
671
+ <xs:documentation>Ver a legislação de transporte de produtos perigosos aplicadas ao modal</xs:documentation>
672
+ </xs:annotation>
673
+ <xs:simpleType>
674
+ <xs:restriction base="TString">
675
+ <xs:minLength value="1"/>
676
+ <xs:maxLength value="40"/>
677
+ </xs:restriction>
678
+ </xs:simpleType>
679
+ </xs:element>
680
+ <xs:element name="grEmb" minOccurs="0">
681
+ <xs:annotation>
682
+ <xs:documentation>Grupo de Embalagem</xs:documentation>
683
+ <xs:documentation>Ver a legislação de transporte de produtos perigosos aplicadas ao modal
684
+ Preenchimento obrigatório para o modal aéreo.
685
+ A legislação para o modal rodoviário e ferroviário não atribui grupo de embalagem para todos os produtos, portanto haverá casos de não preenchimento desse campo.</xs:documentation>
686
+ </xs:annotation>
687
+ <xs:simpleType>
688
+ <xs:restriction base="TString">
689
+ <xs:minLength value="1"/>
690
+ <xs:maxLength value="6"/>
691
+ </xs:restriction>
692
+ </xs:simpleType>
693
+ </xs:element>
694
+ <xs:element name="qTotProd">
695
+ <xs:annotation>
696
+ <xs:documentation>Quantidade total por produto</xs:documentation>
697
+ <xs:documentation>Preencher conforme a legislação de transporte de produtos perigosos aplicada ao modal</xs:documentation>
698
+ </xs:annotation>
699
+ <xs:simpleType>
700
+ <xs:restriction base="TString">
701
+ <xs:minLength value="1"/>
702
+ <xs:maxLength value="20"/>
703
+ </xs:restriction>
704
+ </xs:simpleType>
705
+ </xs:element>
706
+ <xs:element name="qVolTipo" minOccurs="0">
707
+ <xs:annotation>
708
+ <xs:documentation>Quantidade e Tipo de volumes</xs:documentation>
709
+ <xs:documentation>Preencher conforme a legislação de transporte de produtos perigosos aplicada ao modal</xs:documentation>
710
+ </xs:annotation>
711
+ <xs:simpleType>
712
+ <xs:restriction base="TString">
713
+ <xs:minLength value="1"/>
714
+ <xs:maxLength value="60"/>
715
+ </xs:restriction>
716
+ </xs:simpleType>
717
+ </xs:element>
718
+ </xs:sequence>
719
+ </xs:complexType>
720
+ </xs:element>
721
+ </xs:sequence>
722
+ </xs:complexType>
723
+ </xs:element>
724
+ </xs:sequence>
725
+ </xs:complexType>
726
+ </xs:element>
727
+ </xs:sequence>
728
+ </xs:complexType>
729
+ </xs:element>
730
+ <xs:element name="seg" minOccurs="0" maxOccurs="unbounded">
731
+ <xs:annotation>
732
+ <xs:documentation>Informações de Seguro da Carga</xs:documentation>
733
+ </xs:annotation>
734
+ <xs:complexType>
735
+ <xs:sequence>
736
+ <xs:element name="infResp">
737
+ <xs:annotation>
738
+ <xs:documentation>Informações do responsável pelo seguro da carga</xs:documentation>
739
+ </xs:annotation>
740
+ <xs:complexType>
741
+ <xs:sequence>
742
+ <xs:element name="respSeg">
743
+ <xs:annotation>
744
+ <xs:documentation>Responsável pelo seguro</xs:documentation>
745
+ <xs:documentation>Preencher com:
746
+ 1- Emitente do MDF-e;
747
+
748
+ 22 - Responsável pela contratação do serviço de transporte (contratante)
749
+
750
+
751
+ Dados obrigatórios apenas no modal Rodoviário, depois da lei 11.442/07. Para os demais modais esta informação é opcional.</xs:documentation>
752
+ </xs:annotation>
753
+ <xs:simpleType>
754
+ <xs:restriction base="xs:string">
755
+ <xs:whiteSpace value="preserve"/>
756
+ <xs:minLength value="1"/>
757
+ <xs:maxLength value="1"/>
758
+ <xs:enumeration value="1"/>
759
+ <xs:enumeration value="2"/>
760
+ </xs:restriction>
761
+ </xs:simpleType>
762
+ </xs:element>
763
+ <xs:choice minOccurs="0">
764
+ <xs:element name="CNPJ" type="TCnpj">
765
+ <xs:annotation>
766
+ <xs:documentation>Número do CNPJ do responsável pelo seguro</xs:documentation>
767
+ <xs:documentation>Obrigatório apenas se responsável pelo seguro for (2) responsável pela contratação do transporte - pessoa jurídica</xs:documentation>
768
+ </xs:annotation>
769
+ </xs:element>
770
+ <xs:element name="CPF" type="TCpf">
771
+ <xs:annotation>
772
+ <xs:documentation>Número do CPF do responsável pelo seguro</xs:documentation>
773
+ <xs:documentation>Obrigatório apenas se responsável pelo seguro for (2) responsável pela contratação do transporte - pessoa física</xs:documentation>
774
+ </xs:annotation>
775
+ </xs:element>
776
+ </xs:choice>
777
+ </xs:sequence>
778
+ </xs:complexType>
779
+ </xs:element>
780
+ <xs:element name="infSeg" minOccurs="0">
781
+ <xs:annotation>
782
+ <xs:documentation>Informações da seguradora</xs:documentation>
783
+ </xs:annotation>
784
+ <xs:complexType>
785
+ <xs:sequence>
786
+ <xs:element name="xSeg">
787
+ <xs:annotation>
788
+ <xs:documentation>Nome da Seguradora</xs:documentation>
789
+ </xs:annotation>
790
+ <xs:simpleType>
791
+ <xs:restriction base="TString">
792
+ <xs:minLength value="1"/>
793
+ <xs:maxLength value="30"/>
794
+ </xs:restriction>
795
+ </xs:simpleType>
796
+ </xs:element>
797
+ <xs:element name="CNPJ" type="TCnpjOpc">
798
+ <xs:annotation>
799
+ <xs:documentation>Número do CNPJ da seguradora</xs:documentation>
800
+ <xs:documentation>Obrigatório apenas se responsável pelo seguro for (2) responsável pela contratação do transporte - pessoa jurídica</xs:documentation>
801
+ </xs:annotation>
802
+ </xs:element>
803
+ </xs:sequence>
804
+ </xs:complexType>
805
+ </xs:element>
806
+ <xs:element name="nApol" minOccurs="0">
807
+ <xs:annotation>
808
+ <xs:documentation>Número da Apólice</xs:documentation>
809
+ <xs:documentation>Obrigatório pela lei 11.442/07 (RCTRC)</xs:documentation>
810
+ </xs:annotation>
811
+ <xs:simpleType>
812
+ <xs:restriction base="TString">
813
+ <xs:minLength value="1"/>
814
+ <xs:maxLength value="20"/>
815
+ </xs:restriction>
816
+ </xs:simpleType>
817
+ </xs:element>
818
+ <xs:element name="nAver" minOccurs="0" maxOccurs="unbounded">
819
+ <xs:annotation>
820
+ <xs:documentation>Número da Averbação</xs:documentation>
821
+ <xs:documentation>Informar as averbações do seguro</xs:documentation>
822
+ </xs:annotation>
823
+ <xs:simpleType>
824
+ <xs:restriction base="TString">
825
+ <xs:minLength value="1"/>
826
+ <xs:maxLength value="40"/>
827
+ </xs:restriction>
828
+ </xs:simpleType>
829
+ </xs:element>
830
+ </xs:sequence>
831
+ </xs:complexType>
832
+ </xs:element>
833
+ <xs:element name="tot">
834
+ <xs:annotation>
835
+ <xs:documentation>Totalizadores da carga transportada e seus documentos fiscais</xs:documentation>
836
+ </xs:annotation>
837
+ <xs:complexType>
838
+ <xs:sequence>
839
+ <xs:element name="qCTe" minOccurs="0">
840
+ <xs:annotation>
841
+ <xs:documentation>Quantidade total de CT-e relacionados no Manifesto</xs:documentation>
842
+ </xs:annotation>
843
+ <xs:simpleType>
844
+ <xs:restriction base="xs:string">
845
+ <xs:whiteSpace value="preserve"/>
846
+ <xs:pattern value="[0-9]{1,6}"/>
847
+ </xs:restriction>
848
+ </xs:simpleType>
849
+ </xs:element>
850
+ <xs:element name="qNFe" minOccurs="0">
851
+ <xs:annotation>
852
+ <xs:documentation>Quantidade total de NF-e relacionadas no Manifesto</xs:documentation>
853
+ </xs:annotation>
854
+ <xs:simpleType>
855
+ <xs:restriction base="xs:string">
856
+ <xs:pattern value="[0-9]{1,6}"/>
857
+ </xs:restriction>
858
+ </xs:simpleType>
859
+ </xs:element>
860
+ <xs:element name="qMDFe" minOccurs="0">
861
+ <xs:annotation>
862
+ <xs:documentation>Quantidade total de MDF-e relacionados no Manifesto Aquaviário</xs:documentation>
863
+ </xs:annotation>
864
+ <xs:simpleType>
865
+ <xs:restriction base="xs:string">
866
+ <xs:pattern value="[0-9]{1,6}"/>
867
+ </xs:restriction>
868
+ </xs:simpleType>
869
+ </xs:element>
870
+ <xs:element name="vCarga" type="TDec_1302">
871
+ <xs:annotation>
872
+ <xs:documentation>Valor total da carga / mercadorias transportadas</xs:documentation>
873
+ </xs:annotation>
874
+ </xs:element>
875
+ <xs:element name="cUnid">
876
+ <xs:annotation>
877
+ <xs:documentation>Código da unidade de medida do Peso Bruto da Carga / Mercadorias transportadas</xs:documentation>
878
+ <xs:documentation>01 – KG; 02 - TON</xs:documentation>
879
+ </xs:annotation>
880
+ <xs:simpleType>
881
+ <xs:restriction base="xs:string">
882
+ <xs:enumeration value="01"/>
883
+ <xs:enumeration value="02"/>
884
+ </xs:restriction>
885
+ </xs:simpleType>
886
+ </xs:element>
887
+ <xs:element name="qCarga" type="TDec_1104">
888
+ <xs:annotation>
889
+ <xs:documentation>Peso Bruto Total da Carga / Mercadorias transportadas</xs:documentation>
890
+ </xs:annotation>
891
+ </xs:element>
892
+ </xs:sequence>
893
+ </xs:complexType>
894
+ </xs:element>
895
+ <xs:element name="lacres" minOccurs="0" maxOccurs="unbounded">
896
+ <xs:annotation>
897
+ <xs:documentation>Lacres do MDF-e</xs:documentation>
898
+ <xs:documentation>Preechimento opcional para os modais Rodoviário e Ferroviário</xs:documentation>
899
+ </xs:annotation>
900
+ <xs:complexType>
901
+ <xs:sequence>
902
+ <xs:element name="nLacre">
903
+ <xs:annotation>
904
+ <xs:documentation>número do lacre</xs:documentation>
905
+ </xs:annotation>
906
+ <xs:simpleType>
907
+ <xs:restriction base="TString">
908
+ <xs:minLength value="1"/>
909
+ <xs:maxLength value="60"/>
910
+ </xs:restriction>
911
+ </xs:simpleType>
912
+ </xs:element>
913
+ </xs:sequence>
914
+ </xs:complexType>
915
+ </xs:element>
916
+ <xs:element name="autXML" minOccurs="0" maxOccurs="10">
917
+ <xs:annotation>
918
+ <xs:documentation>Autorizados para download do XML do DF-e</xs:documentation>
919
+ <xs:documentation>Informar CNPJ ou CPF. Preencher os zeros não significativos.</xs:documentation>
920
+ </xs:annotation>
921
+ <xs:complexType>
922
+ <xs:sequence>
923
+ <xs:choice>
924
+ <xs:element name="CNPJ" type="TCnpj">
925
+ <xs:annotation>
926
+ <xs:documentation>CNPJ do autorizado</xs:documentation>
927
+ <xs:documentation>Informar zeros não significativos</xs:documentation>
928
+ </xs:annotation>
929
+ </xs:element>
930
+ <xs:element name="CPF" type="TCpf">
931
+ <xs:annotation>
932
+ <xs:documentation>CPF do autorizado</xs:documentation>
933
+ <xs:documentation>Informar zeros não significativos</xs:documentation>
934
+ </xs:annotation>
935
+ </xs:element>
936
+ </xs:choice>
937
+ </xs:sequence>
938
+ </xs:complexType>
939
+ </xs:element>
940
+ <xs:element name="infAdic" minOccurs="0">
941
+ <xs:annotation>
942
+ <xs:documentation>Informações Adicionais</xs:documentation>
943
+ </xs:annotation>
944
+ <xs:complexType>
945
+ <xs:sequence>
946
+ <xs:element name="infAdFisco" minOccurs="0">
947
+ <xs:annotation>
948
+ <xs:documentation>Informações adicionais de interesse do Fisco</xs:documentation>
949
+ <xs:documentation>Norma referenciada, informações complementares, etc</xs:documentation>
950
+ </xs:annotation>
951
+ <xs:simpleType>
952
+ <xs:restriction base="TString">
953
+ <xs:maxLength value="2000"/>
954
+ <xs:minLength value="1"/>
955
+ </xs:restriction>
956
+ </xs:simpleType>
957
+ </xs:element>
958
+ <xs:element name="infCpl" minOccurs="0">
959
+ <xs:annotation>
960
+ <xs:documentation>Informações complementares de interesse do Contribuinte</xs:documentation>
961
+ </xs:annotation>
962
+ <xs:simpleType>
963
+ <xs:restriction base="TString">
964
+ <xs:minLength value="1"/>
965
+ <xs:maxLength value="5000"/>
966
+ </xs:restriction>
967
+ </xs:simpleType>
968
+ </xs:element>
969
+ </xs:sequence>
970
+ </xs:complexType>
971
+ </xs:element>
972
+ <xs:element name="infRespTec" type="TRespTec" minOccurs="0">
973
+ <xs:annotation>
974
+ <xs:documentation>Informações do Responsável Técnico pela emissão do DF-e</xs:documentation>
975
+ </xs:annotation>
976
+ </xs:element>
977
+ </xs:sequence>
978
+ <xs:attribute name="versao" type="TVerMDe" use="required">
979
+ <xs:annotation>
980
+ <xs:documentation>Versão do leiaute</xs:documentation>
981
+ <xs:documentation>Ex: "3.00"</xs:documentation>
982
+ </xs:annotation>
983
+ </xs:attribute>
984
+ <xs:attribute name="Id" use="required">
985
+ <xs:annotation>
986
+ <xs:documentation>Identificador da tag a ser assinada</xs:documentation>
987
+ <xs:documentation>Informar a chave de acesso do MDF-e e precedida do literal "MDFe"</xs:documentation>
988
+ </xs:annotation>
989
+ <xs:simpleType>
990
+ <xs:restriction base="xs:ID">
991
+ <xs:pattern value="MDFe[0-9]{44}"/>
992
+ </xs:restriction>
993
+ </xs:simpleType>
994
+ </xs:attribute>
995
+ </xs:complexType>
996
+ </xs:element>
997
+ <xs:element name="infMDFeSupl" minOccurs="0">
998
+ <xs:annotation>
999
+ <xs:documentation>Informações suplementares do MDF-e</xs:documentation>
1000
+ </xs:annotation>
1001
+ <xs:complexType>
1002
+ <xs:sequence>
1003
+ <xs:element name="qrCodMDFe">
1004
+ <xs:annotation>
1005
+ <xs:documentation>Texto com o QR-Code para consulta do MDF-e</xs:documentation>
1006
+ </xs:annotation>
1007
+ <xs:simpleType>
1008
+ <xs:restriction base="xs:string">
1009
+ <xs:whiteSpace value="preserve"/>
1010
+ <xs:minLength value="50"/>
1011
+ <xs:maxLength value="1000"/>
1012
+ <xs:pattern value="((HTTPS?|https?)://.*\?chMDFe=[0-9]{44}&amp;tpAmb=[1-2](&amp;sign=[!-ÿ]{1}[ -ÿ]{0,}[!-ÿ]{1}|[!-ÿ]{1})?)"/>
1013
+ </xs:restriction>
1014
+ </xs:simpleType>
1015
+ </xs:element>
1016
+ </xs:sequence>
1017
+ </xs:complexType>
1018
+ </xs:element>
1019
+ <xs:element ref="ds:Signature"/>
1020
+ </xs:sequence>
1021
+ </xs:complexType>
1022
+ <xs:complexType name="TEnviMDFe">
1023
+ <xs:annotation>
1024
+ <xs:documentation>Tipo Pedido de Autorização Assíncrona de MDF-e</xs:documentation>
1025
+ </xs:annotation>
1026
+ <xs:sequence>
1027
+ <xs:element name="idLote" type="TIdLote"/>
1028
+ <xs:element name="MDFe" type="TMDFe"/>
1029
+ </xs:sequence>
1030
+ <xs:attribute name="versao" type="TVerMDe" use="required"/>
1031
+ </xs:complexType>
1032
+ <xs:complexType name="TRetMDFe">
1033
+ <xs:annotation>
1034
+ <xs:documentation>Tipo Retorno do Pedido de Autorização do MDF-e</xs:documentation>
1035
+ </xs:annotation>
1036
+ <xs:sequence>
1037
+ <xs:element name="tpAmb">
1038
+ <xs:annotation>
1039
+ <xs:documentation>Identificação do Ambiente:
1040
+ 1 - Produção
1041
+ 2 - Homologação</xs:documentation>
1042
+ </xs:annotation>
1043
+ </xs:element>
1044
+ <xs:element name="cUF" type="TCodUfIBGE">
1045
+ <xs:annotation>
1046
+ <xs:documentation>Identificação da UF</xs:documentation>
1047
+ </xs:annotation>
1048
+ </xs:element>
1049
+ <xs:element name="verAplic" type="TVerAplic">
1050
+ <xs:annotation>
1051
+ <xs:documentation>Versão do Aplicativo que recebeu o Arquivo.</xs:documentation>
1052
+ </xs:annotation>
1053
+ </xs:element>
1054
+ <xs:element name="cStat" type="TStat">
1055
+ <xs:annotation>
1056
+ <xs:documentation>Código do status da mensagem enviada.</xs:documentation>
1057
+ </xs:annotation>
1058
+ </xs:element>
1059
+ <xs:element name="xMotivo" type="TMotivo">
1060
+ <xs:annotation>
1061
+ <xs:documentation>Descrição literal do status do serviço solicitado.</xs:documentation>
1062
+ </xs:annotation>
1063
+ </xs:element>
1064
+ <xs:element name="protMDFe" type="TProtMDFe" minOccurs="0">
1065
+ <xs:annotation>
1066
+ <xs:documentation>Dados do Recibo do Arquivo</xs:documentation>
1067
+ </xs:annotation>
1068
+ </xs:element>
1069
+ </xs:sequence>
1070
+ <xs:attribute name="versao" type="TVerMDe" use="required"/>
1071
+ </xs:complexType>
1072
+ <xs:complexType name="TRetEnviMDFe">
1073
+ <xs:annotation>
1074
+ <xs:documentation>Tipo Retorno do Recibo do Pedido de Autorização do MDF-e</xs:documentation>
1075
+ </xs:annotation>
1076
+ <xs:sequence>
1077
+ <xs:element name="tpAmb">
1078
+ <xs:annotation>
1079
+ <xs:documentation>Identificação do Ambiente:
1080
+ 1 - Produção
1081
+ 2 - Homologação</xs:documentation>
1082
+ </xs:annotation>
1083
+ </xs:element>
1084
+ <xs:element name="cUF" type="TCodUfIBGE">
1085
+ <xs:annotation>
1086
+ <xs:documentation>Identificação da UF</xs:documentation>
1087
+ </xs:annotation>
1088
+ </xs:element>
1089
+ <xs:element name="verAplic" type="TVerAplic">
1090
+ <xs:annotation>
1091
+ <xs:documentation>Versão do Aplicativo que recebeu o Arquivo.</xs:documentation>
1092
+ </xs:annotation>
1093
+ </xs:element>
1094
+ <xs:element name="cStat" type="TStat">
1095
+ <xs:annotation>
1096
+ <xs:documentation>Código do status da mensagem enviada.</xs:documentation>
1097
+ </xs:annotation>
1098
+ </xs:element>
1099
+ <xs:element name="xMotivo" type="TMotivo">
1100
+ <xs:annotation>
1101
+ <xs:documentation>Descrição literal do status do serviço solicitado.</xs:documentation>
1102
+ </xs:annotation>
1103
+ </xs:element>
1104
+ <xs:element name="infRec" minOccurs="0">
1105
+ <xs:annotation>
1106
+ <xs:documentation>Dados do Recibo do Arquivo</xs:documentation>
1107
+ </xs:annotation>
1108
+ <xs:complexType>
1109
+ <xs:sequence>
1110
+ <xs:element name="nRec" type="TRec">
1111
+ <xs:annotation>
1112
+ <xs:documentation>Número do Recibo</xs:documentation>
1113
+ </xs:annotation>
1114
+ </xs:element>
1115
+ <xs:element name="dhRecbto" type="xs:dateTime">
1116
+ <xs:annotation>
1117
+ <xs:documentation>Data e hora do recebimento, no formato AAAA-MM-DDTHH:MM:SS</xs:documentation>
1118
+ </xs:annotation>
1119
+ </xs:element>
1120
+ <xs:element name="tMed">
1121
+ <xs:annotation>
1122
+ <xs:documentation>Tempo médio de resposta do serviço (em segundos) dos últimos 5 minutos</xs:documentation>
1123
+ </xs:annotation>
1124
+ <xs:simpleType>
1125
+ <xs:restriction base="xs:integer">
1126
+ <xs:pattern value="[0-9]{1,4}"/>
1127
+ </xs:restriction>
1128
+ </xs:simpleType>
1129
+ </xs:element>
1130
+ </xs:sequence>
1131
+ </xs:complexType>
1132
+ </xs:element>
1133
+ </xs:sequence>
1134
+ <xs:attribute name="versao" type="TVerMDe" use="required"/>
1135
+ </xs:complexType>
1136
+ <xs:complexType name="TEndeEmi">
1137
+ <xs:annotation>
1138
+ <xs:documentation>Tipo Dados do Endereço</xs:documentation>
1139
+ </xs:annotation>
1140
+ <xs:sequence>
1141
+ <xs:element name="xLgr">
1142
+ <xs:annotation>
1143
+ <xs:documentation>Logradouro</xs:documentation>
1144
+ </xs:annotation>
1145
+ <xs:simpleType>
1146
+ <xs:restriction base="TString">
1147
+ <xs:maxLength value="60"/>
1148
+ <xs:minLength value="2"/>
1149
+ </xs:restriction>
1150
+ </xs:simpleType>
1151
+ </xs:element>
1152
+ <xs:element name="nro">
1153
+ <xs:annotation>
1154
+ <xs:documentation>Número</xs:documentation>
1155
+ </xs:annotation>
1156
+ <xs:simpleType>
1157
+ <xs:restriction base="TString">
1158
+ <xs:maxLength value="60"/>
1159
+ <xs:minLength value="1"/>
1160
+ </xs:restriction>
1161
+ </xs:simpleType>
1162
+ </xs:element>
1163
+ <xs:element name="xCpl" minOccurs="0">
1164
+ <xs:annotation>
1165
+ <xs:documentation>Complemento</xs:documentation>
1166
+ </xs:annotation>
1167
+ <xs:simpleType>
1168
+ <xs:restriction base="TString">
1169
+ <xs:maxLength value="60"/>
1170
+ <xs:minLength value="1"/>
1171
+ </xs:restriction>
1172
+ </xs:simpleType>
1173
+ </xs:element>
1174
+ <xs:element name="xBairro">
1175
+ <xs:annotation>
1176
+ <xs:documentation>Bairro</xs:documentation>
1177
+ </xs:annotation>
1178
+ <xs:simpleType>
1179
+ <xs:restriction base="TString">
1180
+ <xs:maxLength value="60"/>
1181
+ <xs:minLength value="2"/>
1182
+ </xs:restriction>
1183
+ </xs:simpleType>
1184
+ </xs:element>
1185
+ <xs:element name="cMun" type="TCodMunIBGE">
1186
+ <xs:annotation>
1187
+ <xs:documentation>Código do município (utilizar a tabela do IBGE), informar 9999999 para operações com o exterior.</xs:documentation>
1188
+ </xs:annotation>
1189
+ </xs:element>
1190
+ <xs:element name="xMun">
1191
+ <xs:annotation>
1192
+ <xs:documentation>Nome do município, , informar EXTERIOR para operações com o exterior.</xs:documentation>
1193
+ </xs:annotation>
1194
+ <xs:simpleType>
1195
+ <xs:restriction base="TString">
1196
+ <xs:maxLength value="60"/>
1197
+ <xs:minLength value="2"/>
1198
+ </xs:restriction>
1199
+ </xs:simpleType>
1200
+ </xs:element>
1201
+ <xs:element name="CEP" minOccurs="0">
1202
+ <xs:annotation>
1203
+ <xs:documentation>CEP</xs:documentation>
1204
+ <xs:documentation>Informar zeros não significativos</xs:documentation>
1205
+ </xs:annotation>
1206
+ <xs:simpleType>
1207
+ <xs:restriction base="xs:string">
1208
+ <xs:whiteSpace value="preserve"/>
1209
+ <xs:pattern value="[0-9]{8}"/>
1210
+ </xs:restriction>
1211
+ </xs:simpleType>
1212
+ </xs:element>
1213
+ <xs:element name="UF" type="TUf">
1214
+ <xs:annotation>
1215
+ <xs:documentation>Sigla da UF, , informar EX para operações com o exterior.</xs:documentation>
1216
+ </xs:annotation>
1217
+ </xs:element>
1218
+ <xs:element name="fone" minOccurs="0">
1219
+ <xs:annotation>
1220
+ <xs:documentation>Telefone</xs:documentation>
1221
+ </xs:annotation>
1222
+ <xs:simpleType>
1223
+ <xs:restriction base="xs:string">
1224
+ <xs:whiteSpace value="preserve"/>
1225
+ <xs:pattern value="[0-9]{7,12}"/>
1226
+ </xs:restriction>
1227
+ </xs:simpleType>
1228
+ </xs:element>
1229
+ <xs:element name="email" type="TEmail" minOccurs="0">
1230
+ <xs:annotation>
1231
+ <xs:documentation>Endereço de E-mail</xs:documentation>
1232
+ </xs:annotation>
1233
+ </xs:element>
1234
+ </xs:sequence>
1235
+ </xs:complexType>
1236
+ <xs:complexType name="TEndereco">
1237
+ <xs:annotation>
1238
+ <xs:documentation>Tipo Dados do Endereço</xs:documentation>
1239
+ </xs:annotation>
1240
+ <xs:sequence>
1241
+ <xs:element name="xLgr">
1242
+ <xs:annotation>
1243
+ <xs:documentation>Logradouro</xs:documentation>
1244
+ </xs:annotation>
1245
+ <xs:simpleType>
1246
+ <xs:restriction base="TString">
1247
+ <xs:maxLength value="255"/>
1248
+ <xs:minLength value="1"/>
1249
+ </xs:restriction>
1250
+ </xs:simpleType>
1251
+ </xs:element>
1252
+ <xs:element name="nro">
1253
+ <xs:annotation>
1254
+ <xs:documentation>Número</xs:documentation>
1255
+ </xs:annotation>
1256
+ <xs:simpleType>
1257
+ <xs:restriction base="TString">
1258
+ <xs:maxLength value="60"/>
1259
+ <xs:minLength value="1"/>
1260
+ </xs:restriction>
1261
+ </xs:simpleType>
1262
+ </xs:element>
1263
+ <xs:element name="xCpl" minOccurs="0">
1264
+ <xs:annotation>
1265
+ <xs:documentation>Complemento</xs:documentation>
1266
+ </xs:annotation>
1267
+ <xs:simpleType>
1268
+ <xs:restriction base="TString">
1269
+ <xs:maxLength value="60"/>
1270
+ <xs:minLength value="1"/>
1271
+ </xs:restriction>
1272
+ </xs:simpleType>
1273
+ </xs:element>
1274
+ <xs:element name="xBairro">
1275
+ <xs:annotation>
1276
+ <xs:documentation>Bairro</xs:documentation>
1277
+ </xs:annotation>
1278
+ <xs:simpleType>
1279
+ <xs:restriction base="TString">
1280
+ <xs:maxLength value="60"/>
1281
+ <xs:minLength value="1"/>
1282
+ </xs:restriction>
1283
+ </xs:simpleType>
1284
+ </xs:element>
1285
+ <xs:element name="cMun" type="TCodMunIBGE">
1286
+ <xs:annotation>
1287
+ <xs:documentation>Código do município (utilizar a tabela do IBGE), informar 9999999 para operações com o exterior.</xs:documentation>
1288
+ </xs:annotation>
1289
+ </xs:element>
1290
+ <xs:element name="xMun">
1291
+ <xs:annotation>
1292
+ <xs:documentation>Nome do município, informar EXTERIOR para operações com o exterior.</xs:documentation>
1293
+ </xs:annotation>
1294
+ <xs:simpleType>
1295
+ <xs:restriction base="TString">
1296
+ <xs:maxLength value="60"/>
1297
+ <xs:minLength value="1"/>
1298
+ </xs:restriction>
1299
+ </xs:simpleType>
1300
+ </xs:element>
1301
+ <xs:element name="CEP" minOccurs="0">
1302
+ <xs:annotation>
1303
+ <xs:documentation>CEP</xs:documentation>
1304
+ <xs:documentation>Informar os zeros não significativos</xs:documentation>
1305
+ </xs:annotation>
1306
+ <xs:simpleType>
1307
+ <xs:restriction base="xs:string">
1308
+ <xs:whiteSpace value="preserve"/>
1309
+ <xs:pattern value="[0-9]{8}"/>
1310
+ </xs:restriction>
1311
+ </xs:simpleType>
1312
+ </xs:element>
1313
+ <xs:element name="UF" type="TUf">
1314
+ <xs:annotation>
1315
+ <xs:documentation>Sigla da UF, informar EX para operações com o exterior.</xs:documentation>
1316
+ </xs:annotation>
1317
+ </xs:element>
1318
+ <xs:element name="cPais" minOccurs="0">
1319
+ <xs:annotation>
1320
+ <xs:documentation>Código do país</xs:documentation>
1321
+ <xs:documentation>Utilizar a tabela do BACEN</xs:documentation>
1322
+ </xs:annotation>
1323
+ <xs:simpleType>
1324
+ <xs:restriction base="xs:string">
1325
+ <xs:whiteSpace value="preserve"/>
1326
+ <xs:pattern value="[0-9]{1,4}"/>
1327
+ </xs:restriction>
1328
+ </xs:simpleType>
1329
+ </xs:element>
1330
+ <xs:element name="xPais" minOccurs="0">
1331
+ <xs:annotation>
1332
+ <xs:documentation>Nome do país</xs:documentation>
1333
+ </xs:annotation>
1334
+ <xs:simpleType>
1335
+ <xs:restriction base="TString">
1336
+ <xs:maxLength value="60"/>
1337
+ <xs:minLength value="1"/>
1338
+ </xs:restriction>
1339
+ </xs:simpleType>
1340
+ </xs:element>
1341
+ </xs:sequence>
1342
+ </xs:complexType>
1343
+ <xs:complexType name="TEndernac">
1344
+ <xs:annotation>
1345
+ <xs:documentation>Tipo Dados do Endereço</xs:documentation>
1346
+ </xs:annotation>
1347
+ <xs:sequence>
1348
+ <xs:element name="xLgr">
1349
+ <xs:annotation>
1350
+ <xs:documentation>Logradouro</xs:documentation>
1351
+ </xs:annotation>
1352
+ <xs:simpleType>
1353
+ <xs:restriction base="TString">
1354
+ <xs:maxLength value="255"/>
1355
+ <xs:minLength value="1"/>
1356
+ </xs:restriction>
1357
+ </xs:simpleType>
1358
+ </xs:element>
1359
+ <xs:element name="nro">
1360
+ <xs:annotation>
1361
+ <xs:documentation>Número</xs:documentation>
1362
+ </xs:annotation>
1363
+ <xs:simpleType>
1364
+ <xs:restriction base="TString">
1365
+ <xs:maxLength value="60"/>
1366
+ <xs:minLength value="1"/>
1367
+ </xs:restriction>
1368
+ </xs:simpleType>
1369
+ </xs:element>
1370
+ <xs:element name="xCpl" minOccurs="0">
1371
+ <xs:annotation>
1372
+ <xs:documentation>Complemento</xs:documentation>
1373
+ </xs:annotation>
1374
+ <xs:simpleType>
1375
+ <xs:restriction base="TString">
1376
+ <xs:maxLength value="60"/>
1377
+ <xs:minLength value="1"/>
1378
+ </xs:restriction>
1379
+ </xs:simpleType>
1380
+ </xs:element>
1381
+ <xs:element name="xBairro">
1382
+ <xs:annotation>
1383
+ <xs:documentation>Bairro</xs:documentation>
1384
+ </xs:annotation>
1385
+ <xs:simpleType>
1386
+ <xs:restriction base="TString">
1387
+ <xs:maxLength value="60"/>
1388
+ <xs:minLength value="1"/>
1389
+ </xs:restriction>
1390
+ </xs:simpleType>
1391
+ </xs:element>
1392
+ <xs:element name="cMun" type="TCodMunIBGE">
1393
+ <xs:annotation>
1394
+ <xs:documentation>Código do município (utilizar a tabela do IBGE), informar 9999999 para operações com o exterior.</xs:documentation>
1395
+ </xs:annotation>
1396
+ </xs:element>
1397
+ <xs:element name="xMun">
1398
+ <xs:annotation>
1399
+ <xs:documentation>Nome do município, , informar EXTERIOR para operações com o exterior.</xs:documentation>
1400
+ </xs:annotation>
1401
+ <xs:simpleType>
1402
+ <xs:restriction base="TString">
1403
+ <xs:maxLength value="60"/>
1404
+ <xs:minLength value="1"/>
1405
+ </xs:restriction>
1406
+ </xs:simpleType>
1407
+ </xs:element>
1408
+ <xs:element name="CEP" minOccurs="0">
1409
+ <xs:annotation>
1410
+ <xs:documentation>CEP</xs:documentation>
1411
+ </xs:annotation>
1412
+ <xs:simpleType>
1413
+ <xs:restriction base="xs:string">
1414
+ <xs:whiteSpace value="preserve"/>
1415
+ <xs:pattern value="[0-9]{8}"/>
1416
+ </xs:restriction>
1417
+ </xs:simpleType>
1418
+ </xs:element>
1419
+ <xs:element name="UF" type="TUf">
1420
+ <xs:annotation>
1421
+ <xs:documentation>Sigla da UF, , informar EX para operações com o exterior.</xs:documentation>
1422
+ </xs:annotation>
1423
+ </xs:element>
1424
+ </xs:sequence>
1425
+ </xs:complexType>
1426
+ <xs:complexType name="TEnderFer">
1427
+ <xs:annotation>
1428
+ <xs:documentation>Tipo Dados do Endereço</xs:documentation>
1429
+ </xs:annotation>
1430
+ <xs:sequence>
1431
+ <xs:element name="xLgr">
1432
+ <xs:annotation>
1433
+ <xs:documentation>Logradouro</xs:documentation>
1434
+ </xs:annotation>
1435
+ <xs:simpleType>
1436
+ <xs:restriction base="TString">
1437
+ <xs:maxLength value="255"/>
1438
+ <xs:minLength value="1"/>
1439
+ </xs:restriction>
1440
+ </xs:simpleType>
1441
+ </xs:element>
1442
+ <xs:element name="nro" minOccurs="0">
1443
+ <xs:annotation>
1444
+ <xs:documentation>Número</xs:documentation>
1445
+ </xs:annotation>
1446
+ <xs:simpleType>
1447
+ <xs:restriction base="TString">
1448
+ <xs:maxLength value="60"/>
1449
+ <xs:minLength value="1"/>
1450
+ </xs:restriction>
1451
+ </xs:simpleType>
1452
+ </xs:element>
1453
+ <xs:element name="xCpl" minOccurs="0">
1454
+ <xs:annotation>
1455
+ <xs:documentation>Complemento</xs:documentation>
1456
+ </xs:annotation>
1457
+ <xs:simpleType>
1458
+ <xs:restriction base="TString">
1459
+ <xs:maxLength value="60"/>
1460
+ <xs:minLength value="1"/>
1461
+ </xs:restriction>
1462
+ </xs:simpleType>
1463
+ </xs:element>
1464
+ <xs:element name="xBairro" minOccurs="0">
1465
+ <xs:annotation>
1466
+ <xs:documentation>Bairro</xs:documentation>
1467
+ </xs:annotation>
1468
+ <xs:simpleType>
1469
+ <xs:restriction base="TString">
1470
+ <xs:maxLength value="60"/>
1471
+ <xs:minLength value="1"/>
1472
+ </xs:restriction>
1473
+ </xs:simpleType>
1474
+ </xs:element>
1475
+ <xs:element name="cMun" type="TCodMunIBGE">
1476
+ <xs:annotation>
1477
+ <xs:documentation>Código do município (utilizar a tabela do IBGE), informar 9999999 para operações com o exterior.</xs:documentation>
1478
+ </xs:annotation>
1479
+ </xs:element>
1480
+ <xs:element name="xMun">
1481
+ <xs:annotation>
1482
+ <xs:documentation>Nome do município, , informar EXTERIOR para operações com o exterior.</xs:documentation>
1483
+ </xs:annotation>
1484
+ <xs:simpleType>
1485
+ <xs:restriction base="TString">
1486
+ <xs:maxLength value="60"/>
1487
+ <xs:minLength value="1"/>
1488
+ </xs:restriction>
1489
+ </xs:simpleType>
1490
+ </xs:element>
1491
+ <xs:element name="CEP">
1492
+ <xs:annotation>
1493
+ <xs:documentation>CEP</xs:documentation>
1494
+ </xs:annotation>
1495
+ <xs:simpleType>
1496
+ <xs:restriction base="xs:string">
1497
+ <xs:whiteSpace value="preserve"/>
1498
+ <xs:pattern value="[0-9]{8}"/>
1499
+ </xs:restriction>
1500
+ </xs:simpleType>
1501
+ </xs:element>
1502
+ <xs:element name="UF" type="TUf">
1503
+ <xs:annotation>
1504
+ <xs:documentation>Sigla da UF, , informar EX para operações com o exterior.</xs:documentation>
1505
+ </xs:annotation>
1506
+ </xs:element>
1507
+ </xs:sequence>
1508
+ </xs:complexType>
1509
+ <xs:complexType name="TEndOrg">
1510
+ <xs:annotation>
1511
+ <xs:documentation>Tipo Dados do Endereço</xs:documentation>
1512
+ </xs:annotation>
1513
+ <xs:sequence>
1514
+ <xs:element name="xLgr">
1515
+ <xs:annotation>
1516
+ <xs:documentation>Logradouro</xs:documentation>
1517
+ </xs:annotation>
1518
+ <xs:simpleType>
1519
+ <xs:restriction base="TString">
1520
+ <xs:maxLength value="60"/>
1521
+ <xs:minLength value="1"/>
1522
+ </xs:restriction>
1523
+ </xs:simpleType>
1524
+ </xs:element>
1525
+ <xs:element name="nro">
1526
+ <xs:annotation>
1527
+ <xs:documentation>Número</xs:documentation>
1528
+ </xs:annotation>
1529
+ <xs:simpleType>
1530
+ <xs:restriction base="TString">
1531
+ <xs:maxLength value="60"/>
1532
+ <xs:minLength value="1"/>
1533
+ </xs:restriction>
1534
+ </xs:simpleType>
1535
+ </xs:element>
1536
+ <xs:element name="xCpl" minOccurs="0">
1537
+ <xs:annotation>
1538
+ <xs:documentation>Complemento</xs:documentation>
1539
+ </xs:annotation>
1540
+ <xs:simpleType>
1541
+ <xs:restriction base="TString">
1542
+ <xs:maxLength value="60"/>
1543
+ <xs:minLength value="1"/>
1544
+ </xs:restriction>
1545
+ </xs:simpleType>
1546
+ </xs:element>
1547
+ <xs:element name="xBairro">
1548
+ <xs:annotation>
1549
+ <xs:documentation>Bairro</xs:documentation>
1550
+ </xs:annotation>
1551
+ <xs:simpleType>
1552
+ <xs:restriction base="TString">
1553
+ <xs:maxLength value="60"/>
1554
+ <xs:minLength value="1"/>
1555
+ </xs:restriction>
1556
+ </xs:simpleType>
1557
+ </xs:element>
1558
+ <xs:element name="cMun" type="TCodMunIBGE">
1559
+ <xs:annotation>
1560
+ <xs:documentation>Código do município (utilizar a tabela do IBGE), informar 9999999 para operações com o exterior.</xs:documentation>
1561
+ </xs:annotation>
1562
+ </xs:element>
1563
+ <xs:element name="xMun">
1564
+ <xs:annotation>
1565
+ <xs:documentation>Nome do município, , informar EXTERIOR para operações com o exterior.</xs:documentation>
1566
+ </xs:annotation>
1567
+ <xs:simpleType>
1568
+ <xs:restriction base="TString">
1569
+ <xs:maxLength value="60"/>
1570
+ <xs:minLength value="1"/>
1571
+ </xs:restriction>
1572
+ </xs:simpleType>
1573
+ </xs:element>
1574
+ <xs:element name="CEP" minOccurs="0">
1575
+ <xs:annotation>
1576
+ <xs:documentation>CEP</xs:documentation>
1577
+ </xs:annotation>
1578
+ <xs:simpleType>
1579
+ <xs:restriction base="xs:string">
1580
+ <xs:whiteSpace value="preserve"/>
1581
+ <xs:pattern value="[0-9]{8}"/>
1582
+ </xs:restriction>
1583
+ </xs:simpleType>
1584
+ </xs:element>
1585
+ <xs:element name="UF" type="TUf">
1586
+ <xs:annotation>
1587
+ <xs:documentation>Sigla da UF, , informar EX para operações com o exterior.</xs:documentation>
1588
+ </xs:annotation>
1589
+ </xs:element>
1590
+ <xs:element name="cPais" minOccurs="0">
1591
+ <xs:annotation>
1592
+ <xs:documentation>Código do país</xs:documentation>
1593
+ </xs:annotation>
1594
+ <xs:simpleType>
1595
+ <xs:restriction base="xs:string">
1596
+ <xs:whiteSpace value="preserve"/>
1597
+ <xs:pattern value="[0-9]{1,4}"/>
1598
+ </xs:restriction>
1599
+ </xs:simpleType>
1600
+ </xs:element>
1601
+ <xs:element name="xPais" minOccurs="0">
1602
+ <xs:annotation>
1603
+ <xs:documentation>Nome do país</xs:documentation>
1604
+ </xs:annotation>
1605
+ <xs:simpleType>
1606
+ <xs:restriction base="TString">
1607
+ <xs:maxLength value="60"/>
1608
+ <xs:minLength value="1"/>
1609
+ </xs:restriction>
1610
+ </xs:simpleType>
1611
+ </xs:element>
1612
+ <xs:element name="fone" minOccurs="0">
1613
+ <xs:annotation>
1614
+ <xs:documentation>Telefone</xs:documentation>
1615
+ </xs:annotation>
1616
+ <xs:simpleType>
1617
+ <xs:restriction base="xs:string">
1618
+ <xs:whiteSpace value="preserve"/>
1619
+ <xs:pattern value="[0-9]{7,10}"/>
1620
+ </xs:restriction>
1621
+ </xs:simpleType>
1622
+ </xs:element>
1623
+ </xs:sequence>
1624
+ </xs:complexType>
1625
+ <xs:complexType name="TLocal">
1626
+ <xs:annotation>
1627
+ <xs:documentation>Tipo Dados do Local de Origem ou Destino</xs:documentation>
1628
+ </xs:annotation>
1629
+ <xs:sequence>
1630
+ <xs:element name="cMun" type="TCodMunIBGE">
1631
+ <xs:annotation>
1632
+ <xs:documentation>Código do município (utilizar a tabela do IBGE)</xs:documentation>
1633
+ </xs:annotation>
1634
+ </xs:element>
1635
+ <xs:element name="xMun">
1636
+ <xs:annotation>
1637
+ <xs:documentation>Nome do município</xs:documentation>
1638
+ </xs:annotation>
1639
+ <xs:simpleType>
1640
+ <xs:restriction base="TString">
1641
+ <xs:maxLength value="60"/>
1642
+ <xs:minLength value="1"/>
1643
+ </xs:restriction>
1644
+ </xs:simpleType>
1645
+ </xs:element>
1646
+ <xs:element name="UF" type="TUf">
1647
+ <xs:annotation>
1648
+ <xs:documentation>Sigla da UF</xs:documentation>
1649
+ </xs:annotation>
1650
+ </xs:element>
1651
+ </xs:sequence>
1652
+ </xs:complexType>
1653
+ <xs:complexType name="TEndReEnt">
1654
+ <xs:annotation>
1655
+ <xs:documentation> Tipo Dados do Local de Retirada ou Entrega</xs:documentation>
1656
+ </xs:annotation>
1657
+ <xs:sequence>
1658
+ <xs:choice>
1659
+ <xs:element name="CNPJ" type="TCnpj">
1660
+ <xs:annotation>
1661
+ <xs:documentation>Número do CNPJ</xs:documentation>
1662
+ </xs:annotation>
1663
+ </xs:element>
1664
+ <xs:element name="CPF" type="TCpf">
1665
+ <xs:annotation>
1666
+ <xs:documentation>Número do CPF</xs:documentation>
1667
+ </xs:annotation>
1668
+ </xs:element>
1669
+ </xs:choice>
1670
+ <xs:element name="xNome">
1671
+ <xs:annotation>
1672
+ <xs:documentation>Razão Social ou Nome</xs:documentation>
1673
+ </xs:annotation>
1674
+ <xs:simpleType>
1675
+ <xs:restriction base="TString">
1676
+ <xs:maxLength value="60"/>
1677
+ <xs:minLength value="1"/>
1678
+ </xs:restriction>
1679
+ </xs:simpleType>
1680
+ </xs:element>
1681
+ <xs:element name="xLgr">
1682
+ <xs:annotation>
1683
+ <xs:documentation>Logradouro</xs:documentation>
1684
+ </xs:annotation>
1685
+ <xs:simpleType>
1686
+ <xs:restriction base="TString">
1687
+ <xs:maxLength value="255"/>
1688
+ <xs:minLength value="1"/>
1689
+ </xs:restriction>
1690
+ </xs:simpleType>
1691
+ </xs:element>
1692
+ <xs:element name="nro">
1693
+ <xs:annotation>
1694
+ <xs:documentation>Número</xs:documentation>
1695
+ </xs:annotation>
1696
+ <xs:simpleType>
1697
+ <xs:restriction base="TString">
1698
+ <xs:maxLength value="60"/>
1699
+ <xs:minLength value="1"/>
1700
+ </xs:restriction>
1701
+ </xs:simpleType>
1702
+ </xs:element>
1703
+ <xs:element name="xCpl" minOccurs="0">
1704
+ <xs:annotation>
1705
+ <xs:documentation>Complemento</xs:documentation>
1706
+ </xs:annotation>
1707
+ <xs:simpleType>
1708
+ <xs:restriction base="TString">
1709
+ <xs:maxLength value="60"/>
1710
+ <xs:minLength value="1"/>
1711
+ </xs:restriction>
1712
+ </xs:simpleType>
1713
+ </xs:element>
1714
+ <xs:element name="xBairro">
1715
+ <xs:annotation>
1716
+ <xs:documentation>Bairro</xs:documentation>
1717
+ </xs:annotation>
1718
+ <xs:simpleType>
1719
+ <xs:restriction base="TString">
1720
+ <xs:maxLength value="60"/>
1721
+ <xs:minLength value="1"/>
1722
+ </xs:restriction>
1723
+ </xs:simpleType>
1724
+ </xs:element>
1725
+ <xs:element name="cMun" type="TCodMunIBGE">
1726
+ <xs:annotation>
1727
+ <xs:documentation>Código do município (utilizar a tabela do IBGE), informar 9999999 para operações com o exterior.</xs:documentation>
1728
+ </xs:annotation>
1729
+ </xs:element>
1730
+ <xs:element name="xMun">
1731
+ <xs:annotation>
1732
+ <xs:documentation>Nome do município, , informar EXTERIOR para operações com o exterior.</xs:documentation>
1733
+ </xs:annotation>
1734
+ <xs:simpleType>
1735
+ <xs:restriction base="TString">
1736
+ <xs:maxLength value="60"/>
1737
+ <xs:minLength value="1"/>
1738
+ </xs:restriction>
1739
+ </xs:simpleType>
1740
+ </xs:element>
1741
+ <xs:element name="UF" type="TUf">
1742
+ <xs:annotation>
1743
+ <xs:documentation>Sigla da UF, , informar EX para operações com o exterior.</xs:documentation>
1744
+ </xs:annotation>
1745
+ </xs:element>
1746
+ </xs:sequence>
1747
+ </xs:complexType>
1748
+ <xs:complexType name="TNFeNF">
1749
+ <xs:annotation>
1750
+ <xs:documentation>Tipo de Dados das Notas Fiscais Papel e Eletrônica</xs:documentation>
1751
+ </xs:annotation>
1752
+ <xs:choice>
1753
+ <xs:element name="infNFe">
1754
+ <xs:annotation>
1755
+ <xs:documentation>Informações da NF-e</xs:documentation>
1756
+ </xs:annotation>
1757
+ <xs:complexType>
1758
+ <xs:sequence>
1759
+ <xs:element name="chNFe" type="TChNFe">
1760
+ <xs:annotation>
1761
+ <xs:documentation>Chave de acesso da NF-e</xs:documentation>
1762
+ </xs:annotation>
1763
+ </xs:element>
1764
+ <xs:element name="PIN" type="TPIN" minOccurs="0">
1765
+ <xs:annotation>
1766
+ <xs:documentation>PIN SUFRAMA</xs:documentation>
1767
+ <xs:documentation>PIN atribuído pela SUFRAMA para a operação.</xs:documentation>
1768
+ </xs:annotation>
1769
+ </xs:element>
1770
+ </xs:sequence>
1771
+ </xs:complexType>
1772
+ </xs:element>
1773
+ <xs:element name="infNF">
1774
+ <xs:annotation>
1775
+ <xs:documentation>Informações da NF mod 1 e 1A</xs:documentation>
1776
+ </xs:annotation>
1777
+ <xs:complexType>
1778
+ <xs:sequence>
1779
+ <xs:element name="emi">
1780
+ <xs:annotation>
1781
+ <xs:documentation>Informações do Emitente da NF</xs:documentation>
1782
+ </xs:annotation>
1783
+ <xs:complexType>
1784
+ <xs:sequence>
1785
+ <xs:element name="CNPJ" type="TCnpj">
1786
+ <xs:annotation>
1787
+ <xs:documentation>CNPJ do emitente</xs:documentation>
1788
+ <xs:documentation/>
1789
+ </xs:annotation>
1790
+ </xs:element>
1791
+ <xs:element name="xNome">
1792
+ <xs:annotation>
1793
+ <xs:documentation>Razão Social ou Nome </xs:documentation>
1794
+ </xs:annotation>
1795
+ <xs:simpleType>
1796
+ <xs:restriction base="TString">
1797
+ <xs:maxLength value="60"/>
1798
+ <xs:minLength value="1"/>
1799
+ </xs:restriction>
1800
+ </xs:simpleType>
1801
+ </xs:element>
1802
+ <xs:element name="UF" type="TUf">
1803
+ <xs:annotation>
1804
+ <xs:documentation>UF do Emitente</xs:documentation>
1805
+ <xs:documentation>Informar 'EX' para operações com o exterior.</xs:documentation>
1806
+ </xs:annotation>
1807
+ </xs:element>
1808
+ </xs:sequence>
1809
+ </xs:complexType>
1810
+ </xs:element>
1811
+ <xs:element name="dest">
1812
+ <xs:annotation>
1813
+ <xs:documentation>Informações do Destinatário da NF</xs:documentation>
1814
+ </xs:annotation>
1815
+ <xs:complexType>
1816
+ <xs:sequence>
1817
+ <xs:choice>
1818
+ <xs:element name="CNPJ" type="TCnpjOpc">
1819
+ <xs:annotation>
1820
+ <xs:documentation>CNPJ do Destinatário</xs:documentation>
1821
+ <xs:documentation>Informar o CNPJ ou o CPF do destinatário, preenchendo os
1822
+ zeros não significativos.
1823
+ Não informar o conteúdo da TAG se a operação for realizada com o Exterior.</xs:documentation>
1824
+ </xs:annotation>
1825
+ </xs:element>
1826
+ <xs:element name="CPF" type="TCpf">
1827
+ <xs:annotation>
1828
+ <xs:documentation>CPF do Destinatário</xs:documentation>
1829
+ <xs:documentation>Informar os zeros não significativos.
1830
+ </xs:documentation>
1831
+ </xs:annotation>
1832
+ </xs:element>
1833
+ </xs:choice>
1834
+ <xs:element name="xNome">
1835
+ <xs:annotation>
1836
+ <xs:documentation>Razão Social ou Nome </xs:documentation>
1837
+ </xs:annotation>
1838
+ <xs:simpleType>
1839
+ <xs:restriction base="TString">
1840
+ <xs:maxLength value="60"/>
1841
+ <xs:minLength value="1"/>
1842
+ </xs:restriction>
1843
+ </xs:simpleType>
1844
+ </xs:element>
1845
+ <xs:element name="UF" type="TUf">
1846
+ <xs:annotation>
1847
+ <xs:documentation>UF do Destinatário</xs:documentation>
1848
+ <xs:documentation>Informar 'EX' para operações com o exterior.</xs:documentation>
1849
+ </xs:annotation>
1850
+ </xs:element>
1851
+ </xs:sequence>
1852
+ </xs:complexType>
1853
+ </xs:element>
1854
+ <xs:element name="serie">
1855
+ <xs:annotation>
1856
+ <xs:documentation>Série</xs:documentation>
1857
+ </xs:annotation>
1858
+ <xs:simpleType>
1859
+ <xs:restriction base="TString">
1860
+ <xs:minLength value="1"/>
1861
+ <xs:maxLength value="3"/>
1862
+ </xs:restriction>
1863
+ </xs:simpleType>
1864
+ </xs:element>
1865
+ <xs:element name="nNF">
1866
+ <xs:annotation>
1867
+ <xs:documentation>Número </xs:documentation>
1868
+ </xs:annotation>
1869
+ <xs:simpleType>
1870
+ <xs:restriction base="TString">
1871
+ <xs:minLength value="1"/>
1872
+ <xs:maxLength value="20"/>
1873
+ </xs:restriction>
1874
+ </xs:simpleType>
1875
+ </xs:element>
1876
+ <xs:element name="dEmi" type="TData">
1877
+ <xs:annotation>
1878
+ <xs:documentation>Data de Emissão</xs:documentation>
1879
+ <xs:documentation>Formato AAAA-MM-DD</xs:documentation>
1880
+ </xs:annotation>
1881
+ </xs:element>
1882
+ <xs:element name="vNF" type="TDec_1302">
1883
+ <xs:annotation>
1884
+ <xs:documentation>Valor Total da NF</xs:documentation>
1885
+ </xs:annotation>
1886
+ </xs:element>
1887
+ <xs:element name="PIN" type="TPIN" minOccurs="0">
1888
+ <xs:annotation>
1889
+ <xs:documentation>PIN SUFRAMA</xs:documentation>
1890
+ <xs:documentation>PIN atribuído pela SUFRAMA para a operação.</xs:documentation>
1891
+ </xs:annotation>
1892
+ </xs:element>
1893
+ </xs:sequence>
1894
+ </xs:complexType>
1895
+ </xs:element>
1896
+ </xs:choice>
1897
+ </xs:complexType>
1898
+ <xs:complexType name="TUnidadeTransp">
1899
+ <xs:annotation>
1900
+ <xs:documentation>Tipo Dados Unidade de Transporte</xs:documentation>
1901
+ </xs:annotation>
1902
+ <xs:sequence>
1903
+ <xs:element name="tpUnidTransp" type="TtipoUnidTransp">
1904
+ <xs:annotation>
1905
+ <xs:documentation>Tipo da Unidade de Transporte</xs:documentation>
1906
+ <xs:documentation>1 - Rodoviário Tração;
1907
+
1908
+ 2 - Rodoviário Reboque;
1909
+
1910
+ 3 - Navio;
1911
+
1912
+ 4 - Balsa;
1913
+
1914
+ 5 - Aeronave;
1915
+
1916
+ 6 - Vagão;
1917
+
1918
+ 7 - Outros</xs:documentation>
1919
+ </xs:annotation>
1920
+ </xs:element>
1921
+ <xs:element name="idUnidTransp" type="TContainer">
1922
+ <xs:annotation>
1923
+ <xs:documentation>Identificação da Unidade de Transporte</xs:documentation>
1924
+ <xs:documentation>Informar a identificação conforme o tipo de unidade de transporte.
1925
+ Por exemplo: para rodoviário tração ou reboque deverá preencher com a placa do veículo.
1926
+ </xs:documentation>
1927
+ </xs:annotation>
1928
+ </xs:element>
1929
+ <xs:element name="lacUnidTransp" minOccurs="0" maxOccurs="unbounded">
1930
+ <xs:annotation>
1931
+ <xs:documentation>Lacres das Unidades de Transporte</xs:documentation>
1932
+ </xs:annotation>
1933
+ <xs:complexType>
1934
+ <xs:sequence>
1935
+ <xs:element name="nLacre">
1936
+ <xs:annotation>
1937
+ <xs:documentation>Número do lacre</xs:documentation>
1938
+ </xs:annotation>
1939
+ <xs:simpleType>
1940
+ <xs:restriction base="TString">
1941
+ <xs:minLength value="1"/>
1942
+ <xs:maxLength value="20"/>
1943
+ </xs:restriction>
1944
+ </xs:simpleType>
1945
+ </xs:element>
1946
+ </xs:sequence>
1947
+ </xs:complexType>
1948
+ </xs:element>
1949
+ <xs:element name="infUnidCarga" type="TUnidCarga" minOccurs="0" maxOccurs="unbounded">
1950
+ <xs:annotation>
1951
+ <xs:documentation>Informações das Unidades de Carga (Containeres/ULD/Outros)</xs:documentation>
1952
+ <xs:documentation>Dispositivo de carga utilizada (Unit Load Device - ULD) significa todo tipo de contêiner de carga, vagão, contêiner de avião, palete de aeronave com rede ou palete de aeronave com rede sobre um iglu. </xs:documentation>
1953
+ </xs:annotation>
1954
+ </xs:element>
1955
+ <xs:element name="qtdRat" type="TDec_0302_0303" minOccurs="0">
1956
+ <xs:annotation>
1957
+ <xs:documentation>Quantidade rateada (Peso,Volume)</xs:documentation>
1958
+ </xs:annotation>
1959
+ </xs:element>
1960
+ </xs:sequence>
1961
+ </xs:complexType>
1962
+ <xs:complexType name="TUnidCarga">
1963
+ <xs:annotation>
1964
+ <xs:documentation>Tipo Dados Unidade de Carga</xs:documentation>
1965
+ </xs:annotation>
1966
+ <xs:sequence>
1967
+ <xs:element name="tpUnidCarga" type="TtipoUnidCarga">
1968
+ <xs:annotation>
1969
+ <xs:documentation>Tipo da Unidade de Carga</xs:documentation>
1970
+ <xs:documentation>1 - Container;
1971
+
1972
+ 2 - ULD;
1973
+
1974
+ 3 - Pallet;
1975
+
1976
+ 4 - Outros;</xs:documentation>
1977
+ </xs:annotation>
1978
+ </xs:element>
1979
+ <xs:element name="idUnidCarga" type="TContainer">
1980
+ <xs:annotation>
1981
+ <xs:documentation>Identificação da Unidade de Carga</xs:documentation>
1982
+ <xs:documentation>Informar a identificação da unidade de carga, por exemplo: número do container.</xs:documentation>
1983
+ </xs:annotation>
1984
+ </xs:element>
1985
+ <xs:element name="lacUnidCarga" minOccurs="0" maxOccurs="unbounded">
1986
+ <xs:annotation>
1987
+ <xs:documentation>Lacres das Unidades de Carga</xs:documentation>
1988
+ </xs:annotation>
1989
+ <xs:complexType>
1990
+ <xs:sequence>
1991
+ <xs:element name="nLacre">
1992
+ <xs:annotation>
1993
+ <xs:documentation>Número do lacre</xs:documentation>
1994
+ </xs:annotation>
1995
+ <xs:simpleType>
1996
+ <xs:restriction base="TString">
1997
+ <xs:minLength value="1"/>
1998
+ <xs:maxLength value="20"/>
1999
+ </xs:restriction>
2000
+ </xs:simpleType>
2001
+ </xs:element>
2002
+ </xs:sequence>
2003
+ </xs:complexType>
2004
+ </xs:element>
2005
+ <xs:element name="qtdRat" minOccurs="0">
2006
+ <xs:annotation>
2007
+ <xs:documentation>Quantidade rateada (Peso,Volume)</xs:documentation>
2008
+ </xs:annotation>
2009
+ <xs:simpleType>
2010
+ <xs:restriction base="TDec_0302_0303"/>
2011
+ </xs:simpleType>
2012
+ </xs:element>
2013
+ </xs:sequence>
2014
+ </xs:complexType>
2015
+ <xs:complexType name="TRespTec">
2016
+ <xs:annotation>
2017
+ <xs:documentation>Tipo Dados da Responsável Técnico</xs:documentation>
2018
+ </xs:annotation>
2019
+ <xs:sequence>
2020
+ <xs:element name="CNPJ" type="TCnpj">
2021
+ <xs:annotation>
2022
+ <xs:documentation>CNPJ da pessoa jurídica responsável técnica pelo sistema utilizado na emissão do documento fiscal eletrônico</xs:documentation>
2023
+ <xs:documentation>Informar o CNPJ da pessoa jurídica desenvolvedora do sistema utilizado na emissão do documento fiscal eletrônico.</xs:documentation>
2024
+ </xs:annotation>
2025
+ </xs:element>
2026
+ <xs:element name="xContato">
2027
+ <xs:annotation>
2028
+ <xs:documentation>Nome da pessoa a ser contatada</xs:documentation>
2029
+ <xs:documentation>Informar o nome da pessoa a ser contatada na empresa desenvolvedora do sistema utilizado na emissão do documento fiscal eletrônico. No caso de pessoa física, informar o respectivo nome.</xs:documentation>
2030
+ </xs:annotation>
2031
+ <xs:simpleType>
2032
+ <xs:restriction base="TString">
2033
+ <xs:maxLength value="60"/>
2034
+ <xs:minLength value="2"/>
2035
+ </xs:restriction>
2036
+ </xs:simpleType>
2037
+ </xs:element>
2038
+ <xs:element name="email" type="TEmail">
2039
+ <xs:annotation>
2040
+ <xs:documentation>Email da pessoa jurídica a ser contatada</xs:documentation>
2041
+ </xs:annotation>
2042
+ </xs:element>
2043
+ <xs:element name="fone">
2044
+ <xs:annotation>
2045
+ <xs:documentation>Telefone da pessoa jurídica a ser contatada</xs:documentation>
2046
+ <xs:documentation>Preencher com o Código DDD + número do telefone.</xs:documentation>
2047
+ </xs:annotation>
2048
+ <xs:simpleType>
2049
+ <xs:restriction base="xs:string">
2050
+ <xs:whiteSpace value="preserve"/>
2051
+ <xs:pattern value="[0-9]{7,12}"/>
2052
+ </xs:restriction>
2053
+ </xs:simpleType>
2054
+ </xs:element>
2055
+ <xs:sequence minOccurs="0">
2056
+ <xs:element name="idCSRT">
2057
+ <xs:annotation>
2058
+ <xs:documentation>Identificador do código de segurança do responsável técnico</xs:documentation>
2059
+ <xs:documentation>Identificador do CSRT utilizado para geração do hash</xs:documentation>
2060
+ </xs:annotation>
2061
+ <xs:simpleType>
2062
+ <xs:restriction base="xs:string">
2063
+ <xs:pattern value="[0-9]{3}"/>
2064
+ </xs:restriction>
2065
+ </xs:simpleType>
2066
+ </xs:element>
2067
+ <xs:element name="hashCSRT">
2068
+ <xs:annotation>
2069
+ <xs:documentation>Hash do token do código de segurança do responsável técnico</xs:documentation>
2070
+ <xs:documentation>O hashCSRT é o resultado das funções SHA-1 e base64 do token CSRT fornecido pelo fisco + chave de acesso do DF-e. (Implementação em futura NT)
2071
+
2072
+ Observação: 28 caracteres são representados no schema como 20 bytes do tipo base64Binary</xs:documentation>
2073
+ </xs:annotation>
2074
+ <xs:simpleType>
2075
+ <xs:restriction base="xs:base64Binary">
2076
+ <xs:length value="20"/>
2077
+ </xs:restriction>
2078
+ </xs:simpleType>
2079
+ </xs:element>
2080
+ </xs:sequence>
2081
+ </xs:sequence>
2082
+ </xs:complexType>
2083
+ <xs:complexType name="TProtMDFe">
2084
+ <xs:annotation>
2085
+ <xs:documentation>Tipo Protocolo de status resultado do processamento do MDF-e</xs:documentation>
2086
+ </xs:annotation>
2087
+ <xs:sequence>
2088
+ <xs:element name="infProt">
2089
+ <xs:annotation>
2090
+ <xs:documentation>Dados do protocolo de status</xs:documentation>
2091
+ </xs:annotation>
2092
+ <xs:complexType>
2093
+ <xs:sequence>
2094
+ <xs:element name="tpAmb" type="TAmb">
2095
+ <xs:annotation>
2096
+ <xs:documentation>Identificação do Ambiente:
2097
+ 1 - Produção
2098
+ 2 - Homologação</xs:documentation>
2099
+ </xs:annotation>
2100
+ </xs:element>
2101
+ <xs:element name="verAplic" type="TVerAplic">
2102
+ <xs:annotation>
2103
+ <xs:documentation>Versão do Aplicativo que processou a NF-3e</xs:documentation>
2104
+ </xs:annotation>
2105
+ </xs:element>
2106
+ <xs:element name="chMDFe" type="TChMDFe">
2107
+ <xs:annotation>
2108
+ <xs:documentation>Chave de acesso do MDF-e</xs:documentation>
2109
+ </xs:annotation>
2110
+ </xs:element>
2111
+ <xs:element name="dhRecbto" type="TDateTimeUTC">
2112
+ <xs:annotation>
2113
+ <xs:documentation>Data e hora de processamento, no formato AAAA-MM-DDTHH:MM:SS TZD.</xs:documentation>
2114
+ </xs:annotation>
2115
+ </xs:element>
2116
+ <xs:element name="nProt" type="TProt" minOccurs="0">
2117
+ <xs:annotation>
2118
+ <xs:documentation>Número do Protocolo de Status do MDF-e</xs:documentation>
2119
+ </xs:annotation>
2120
+ </xs:element>
2121
+ <xs:element name="digVal" type="ds:DigestValueType" minOccurs="0">
2122
+ <xs:annotation>
2123
+ <xs:documentation>Digest Value do MDF-e processado. Utilizado para conferir a integridade do MDF-e original.</xs:documentation>
2124
+ </xs:annotation>
2125
+ </xs:element>
2126
+ <xs:element name="cStat">
2127
+ <xs:annotation>
2128
+ <xs:documentation>Código do status do MDF-e</xs:documentation>
2129
+ </xs:annotation>
2130
+ <xs:simpleType>
2131
+ <xs:restriction base="TStat"/>
2132
+ </xs:simpleType>
2133
+ </xs:element>
2134
+ <xs:element name="xMotivo" type="TMotivo">
2135
+ <xs:annotation>
2136
+ <xs:documentation>Descrição literal do status do MDF-e.</xs:documentation>
2137
+ </xs:annotation>
2138
+ </xs:element>
2139
+ </xs:sequence>
2140
+ <xs:attribute name="Id" type="xs:ID" use="optional"/>
2141
+ </xs:complexType>
2142
+ </xs:element>
2143
+ <xs:element name="infFisco" minOccurs="0">
2144
+ <xs:annotation>
2145
+ <xs:documentation>Mensagem do Fisco</xs:documentation>
2146
+ </xs:annotation>
2147
+ <xs:complexType>
2148
+ <xs:sequence>
2149
+ <xs:element name="cMsg">
2150
+ <xs:annotation>
2151
+ <xs:documentation>Código do status da mensagem do fisco</xs:documentation>
2152
+ </xs:annotation>
2153
+ <xs:simpleType>
2154
+ <xs:restriction base="TStat"/>
2155
+ </xs:simpleType>
2156
+ </xs:element>
2157
+ <xs:element name="xMsg" type="TMotivo">
2158
+ <xs:annotation>
2159
+ <xs:documentation>Mensagem do Fisco</xs:documentation>
2160
+ </xs:annotation>
2161
+ </xs:element>
2162
+ </xs:sequence>
2163
+ </xs:complexType>
2164
+ </xs:element>
2165
+ <xs:element ref="ds:Signature" minOccurs="0"/>
2166
+ </xs:sequence>
2167
+ <xs:attribute name="versao" type="TVerMDe" use="required"/>
2168
+ </xs:complexType>
2169
+ <xs:simpleType name="TProcEmi">
2170
+ <xs:annotation>
2171
+ <xs:documentation>Tipo processo de emissão do MDF-e</xs:documentation>
2172
+ </xs:annotation>
2173
+ <xs:restriction base="xs:string">
2174
+ <xs:whiteSpace value="preserve"/>
2175
+ <xs:enumeration value="0"/>
2176
+ </xs:restriction>
2177
+ </xs:simpleType>
2178
+ <xs:simpleType name="TIdLote">
2179
+ <xs:annotation>
2180
+ <xs:documentation>Tipo Identificador de controle do envio do lote. Número seqüencial auto-incremental, de controle correspondente ao identificador único do lote enviado. A responsabilidade de gerar e controlar esse número é do próprio contribuinte.</xs:documentation>
2181
+ </xs:annotation>
2182
+ <xs:restriction base="xs:string">
2183
+ <xs:whiteSpace value="preserve"/>
2184
+ <xs:pattern value="[0-9]{1,15}"/>
2185
+ </xs:restriction>
2186
+ </xs:simpleType>
2187
+ <xs:simpleType name="TModalMD">
2188
+ <xs:annotation>
2189
+ <xs:documentation>Tipo Modal Manifesto</xs:documentation>
2190
+ </xs:annotation>
2191
+ <xs:restriction base="xs:string">
2192
+ <xs:whiteSpace value="preserve"/>
2193
+ <xs:enumeration value="1"/>
2194
+ <xs:enumeration value="2"/>
2195
+ <xs:enumeration value="3"/>
2196
+ <xs:enumeration value="4"/>
2197
+ </xs:restriction>
2198
+ </xs:simpleType>
2199
+ <xs:simpleType name="TModDoc">
2200
+ <xs:annotation>
2201
+ <xs:documentation> Tipo Modelo do Documento</xs:documentation>
2202
+ </xs:annotation>
2203
+ <xs:restriction base="xs:string">
2204
+ <xs:whiteSpace value="preserve"/>
2205
+ <xs:enumeration value="01"/>
2206
+ <xs:enumeration value="1B"/>
2207
+ <xs:enumeration value="02"/>
2208
+ <xs:enumeration value="2D"/>
2209
+ <xs:enumeration value="2E"/>
2210
+ <xs:enumeration value="04"/>
2211
+ <xs:enumeration value="06"/>
2212
+ <xs:enumeration value="07"/>
2213
+ <xs:enumeration value="08"/>
2214
+ <xs:enumeration value="8B"/>
2215
+ <xs:enumeration value="09"/>
2216
+ <xs:enumeration value="10"/>
2217
+ <xs:enumeration value="11"/>
2218
+ <xs:enumeration value="13"/>
2219
+ <xs:enumeration value="14"/>
2220
+ <xs:enumeration value="15"/>
2221
+ <xs:enumeration value="16"/>
2222
+ <xs:enumeration value="17"/>
2223
+ <xs:enumeration value="18"/>
2224
+ <xs:enumeration value="20"/>
2225
+ <xs:enumeration value="21"/>
2226
+ <xs:enumeration value="22"/>
2227
+ <xs:enumeration value="23"/>
2228
+ <xs:enumeration value="24"/>
2229
+ <xs:enumeration value="25"/>
2230
+ <xs:enumeration value="26"/>
2231
+ <xs:enumeration value="27"/>
2232
+ <xs:enumeration value="28"/>
2233
+ <xs:enumeration value="55"/>
2234
+ </xs:restriction>
2235
+ </xs:simpleType>
2236
+ <xs:simpleType name="TVerMDe">
2237
+ <xs:annotation>
2238
+ <xs:documentation> Tipo Versão do MDF-e - 3.00</xs:documentation>
2239
+ </xs:annotation>
2240
+ <xs:restriction base="xs:string">
2241
+ <xs:whiteSpace value="preserve"/>
2242
+ <xs:pattern value="3\.00"/>
2243
+ </xs:restriction>
2244
+ </xs:simpleType>
2245
+ <xs:simpleType name="TTime">
2246
+ <xs:annotation>
2247
+ <xs:documentation> Tipo hora</xs:documentation>
2248
+ </xs:annotation>
2249
+ <xs:restriction base="xs:string">
2250
+ <xs:whiteSpace value="preserve"/>
2251
+ <xs:pattern value="(([0-1][0-9])|([2][0-3])):([0-5][0-9]):([0-5][0-9])"/>
2252
+ </xs:restriction>
2253
+ </xs:simpleType>
2254
+ <xs:simpleType name="TPIN">
2255
+ <xs:annotation>
2256
+ <xs:documentation>Tipo Dados PIN (SUFRAMA)</xs:documentation>
2257
+ </xs:annotation>
2258
+ <xs:restriction base="xs:string">
2259
+ <xs:whiteSpace value="preserve"/>
2260
+ <xs:minLength value="2"/>
2261
+ <xs:maxLength value="9"/>
2262
+ <xs:pattern value="[1-9]{1}[0-9]{1,8}"/>
2263
+ </xs:restriction>
2264
+ </xs:simpleType>
2265
+ <xs:simpleType name="TContainer">
2266
+ <xs:annotation>
2267
+ <xs:documentation>Tipo Número do Container</xs:documentation>
2268
+ </xs:annotation>
2269
+ <xs:restriction base="xs:string">
2270
+ <xs:minLength value="1"/>
2271
+ <xs:maxLength value="20"/>
2272
+ <xs:whiteSpace value="preserve"/>
2273
+ <xs:pattern value="[A-Z0-9]+"/>
2274
+ </xs:restriction>
2275
+ </xs:simpleType>
2276
+ <xs:simpleType name="TEmail">
2277
+ <xs:annotation>
2278
+ <xs:documentation>Tipo Email</xs:documentation>
2279
+ </xs:annotation>
2280
+ <xs:restriction base="xs:string">
2281
+ <xs:whiteSpace value="preserve"/>
2282
+ <xs:minLength value="6"/>
2283
+ <xs:maxLength value="60"/>
2284
+ <xs:pattern value="[^@]+@[^\.]+\..+"/>
2285
+ </xs:restriction>
2286
+ </xs:simpleType>
2287
+ </xs:schema>