nfets 0.0.62 → 0.0.64

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 (226) hide show
  1. package/dist/{chunk-ZJDU5BRP.mjs → chunk-EF64O2NU.mjs} +73 -72
  2. package/dist/chunk-PMJZHYL3.mjs +20 -0
  3. package/dist/core/index.cjs +74 -73
  4. package/dist/core/index.mjs +1 -1
  5. package/dist/index.cjs +88 -87
  6. package/dist/index.d.cts +1 -1
  7. package/dist/index.d.ts +1 -1
  8. package/dist/index.mjs +1 -1
  9. package/dist/nfe/index.cjs +88 -87
  10. package/dist/nfe/index.d.cts +70 -16
  11. package/dist/nfe/index.d.ts +70 -16
  12. package/dist/nfe/index.mjs +1 -1
  13. package/package.json +1 -1
  14. package/packages/nfe/schemas/PL_010_V1.30/110150_v1.00.xsd +88 -0
  15. package/packages/nfe/schemas/PL_010_V1.30/Averb_v1.00.xsd +11 -0
  16. package/packages/nfe/schemas/PL_010_V1.30/CCe_v1.00.xsd +11 -0
  17. package/packages/nfe/schemas/PL_010_V1.30/DFeTiposBasicos_v1.00.xsd +1293 -0
  18. package/packages/nfe/schemas/PL_010_V1.30/EPEC_v1.00.xsd +9 -0
  19. package/packages/nfe/schemas/PL_010_V1.30/EPP1.xml +13 -0
  20. package/packages/nfe/schemas/PL_010_V1.30/ERP1.xml +19 -0
  21. package/packages/nfe/schemas/PL_010_V1.30/EventoCancEConf_v1.00.xsd +9 -0
  22. package/packages/nfe/schemas/PL_010_V1.30/EventoCancInsucessoNFe_v1.00.xsd +9 -0
  23. package/packages/nfe/schemas/PL_010_V1.30/EventoEConf_v1.00.xsd +9 -0
  24. package/packages/nfe/schemas/PL_010_V1.30/EventoInsucessoNFe_v1.00.xsd +9 -0
  25. package/packages/nfe/schemas/PL_010_V1.30/MT_inutNFe_v4.00.xsd +9 -0
  26. package/packages/nfe/schemas/PL_010_V1.30/SuframaInternaliza_v1.00.xsd +9 -0
  27. package/packages/nfe/schemas/PL_010_V1.30/SuframaVistoria_v1.00.xsd +9 -0
  28. package/packages/nfe/schemas/PL_010_V1.30/confRecebto_v1.00.xsd +9 -0
  29. package/packages/nfe/schemas/PL_010_V1.30/consCad_v2.00.xsd +9 -0
  30. package/packages/nfe/schemas/PL_010_V1.30/consGTIN_v1.00.xsd +10 -0
  31. package/packages/nfe/schemas/PL_010_V1.30/consNFeDest_v1.01.xsd +10 -0
  32. package/packages/nfe/schemas/PL_010_V1.30/consReciNFe_v3.10.xsd +9 -0
  33. package/packages/nfe/schemas/PL_010_V1.30/consReciNFe_v4.00.xsd +9 -0
  34. package/packages/nfe/schemas/PL_010_V1.30/consSitNFe_v3.10.xsd +9 -0
  35. package/packages/nfe/schemas/PL_010_V1.30/consSitNFe_v4.00.xsd +9 -0
  36. package/packages/nfe/schemas/PL_010_V1.30/consStatServ_v3.10.xsd +9 -0
  37. package/packages/nfe/schemas/PL_010_V1.30/consStatServ_v4.00.xsd +9 -0
  38. package/packages/nfe/schemas/PL_010_V1.30/distDFeInt_v1.00.xsd +71 -0
  39. package/packages/nfe/schemas/PL_010_V1.30/distDFeInt_v1.01.xsd +97 -0
  40. package/packages/nfe/schemas/PL_010_V1.30/downloadNFe_v1.00.xsd +10 -0
  41. package/packages/nfe/schemas/PL_010_V1.30/e110001_v1.00.xsd +75 -0
  42. package/packages/nfe/schemas/PL_010_V1.30/e110110_v1.00.xsd +58 -0
  43. package/packages/nfe/schemas/PL_010_V1.30/e110111_v1.00.xsd +42 -0
  44. package/packages/nfe/schemas/PL_010_V1.30/e110112_v1.00.xsd +69 -0
  45. package/packages/nfe/schemas/PL_010_V1.30/e110130_v1.00.xsd +102 -0
  46. package/packages/nfe/schemas/PL_010_V1.30/e110131_v1.00.xsd +51 -0
  47. package/packages/nfe/schemas/PL_010_V1.30/e110140NFCe_v1.00.xsd +118 -0
  48. package/packages/nfe/schemas/PL_010_V1.30/e110140NFe_v1.00.xsd +124 -0
  49. package/packages/nfe/schemas/PL_010_V1.30/e110140_v1.00.xsd +124 -0
  50. package/packages/nfe/schemas/PL_010_V1.30/e110150_v1.00.xsd +88 -0
  51. package/packages/nfe/schemas/PL_010_V1.30/e110192_v1.00.xsd +106 -0
  52. package/packages/nfe/schemas/PL_010_V1.30/e110193_v1.00.xsd +40 -0
  53. package/packages/nfe/schemas/PL_010_V1.30/e110750_v1.00.xsd +138 -0
  54. package/packages/nfe/schemas/PL_010_V1.30/e110751_v1.00.xsd +39 -0
  55. package/packages/nfe/schemas/PL_010_V1.30/e111500_v1.00.xsd +69 -0
  56. package/packages/nfe/schemas/PL_010_V1.30/e111501_v1.00.xsd +69 -0
  57. package/packages/nfe/schemas/PL_010_V1.30/e111502_v1.00.xsd +50 -0
  58. package/packages/nfe/schemas/PL_010_V1.30/e111503_v1.00.xsd +50 -0
  59. package/packages/nfe/schemas/PL_010_V1.30/e112110_v1.00.xsd +69 -0
  60. package/packages/nfe/schemas/PL_010_V1.30/e112120_v1.00 .xsd +107 -0
  61. package/packages/nfe/schemas/PL_010_V1.30/e112130_v1.00.xsd +119 -0
  62. package/packages/nfe/schemas/PL_010_V1.30/e112140_v1.00.xsd +107 -0
  63. package/packages/nfe/schemas/PL_010_V1.30/e112150_v1.00.xsd +63 -0
  64. package/packages/nfe/schemas/PL_010_V1.30/e210200_v1.00.xsd +31 -0
  65. package/packages/nfe/schemas/PL_010_V1.30/e210210_v1.00.xsd +31 -0
  66. package/packages/nfe/schemas/PL_010_V1.30/e210220_v1.00.xsd +44 -0
  67. package/packages/nfe/schemas/PL_010_V1.30/e210240_v1.00.xsd +44 -0
  68. package/packages/nfe/schemas/PL_010_V1.30/e211110_v1.00.xsd +134 -0
  69. package/packages/nfe/schemas/PL_010_V1.30/e211120_v1.00.xsd +124 -0
  70. package/packages/nfe/schemas/PL_010_V1.30/e211124_v1.00.xsd +107 -0
  71. package/packages/nfe/schemas/PL_010_V1.30/e211128_v1.00.xsd +69 -0
  72. package/packages/nfe/schemas/PL_010_V1.30/e211130_v1.00.xsd +107 -0
  73. package/packages/nfe/schemas/PL_010_V1.30/e211140_v1.00.xsd +107 -0
  74. package/packages/nfe/schemas/PL_010_V1.30/e211150_v1.00.xsd +85 -0
  75. package/packages/nfe/schemas/PL_010_V1.30/e212110_v1.00.xsd +70 -0
  76. package/packages/nfe/schemas/PL_010_V1.30/e212120_v1.00.xsd +69 -0
  77. package/packages/nfe/schemas/PL_010_V1.30/e411500_v1.00.xsd +134 -0
  78. package/packages/nfe/schemas/PL_010_V1.30/e411501_v1.00.xsd +134 -0
  79. package/packages/nfe/schemas/PL_010_V1.30/e411502_v1.00.xsd +95 -0
  80. package/packages/nfe/schemas/PL_010_V1.30/e411503_v1.00.xsd +95 -0
  81. package/packages/nfe/schemas/PL_010_V1.30/e412120_v1.00.xsd +88 -0
  82. package/packages/nfe/schemas/PL_010_V1.30/e412130_v1.00.xsd +88 -0
  83. package/packages/nfe/schemas/PL_010_V1.30/e610130_v1.00.xsd +128 -0
  84. package/packages/nfe/schemas/PL_010_V1.30/e610131_v1.00.xsd +68 -0
  85. package/packages/nfe/schemas/PL_010_V1.30/e790700_v1.00.xsd +148 -0
  86. package/packages/nfe/schemas/PL_010_V1.30/e990900_v1.00.xsd +87 -0
  87. package/packages/nfe/schemas/PL_010_V1.30/e990910_v1.00.xsd +81 -0
  88. package/packages/nfe/schemas/PL_010_V1.30/envAverb_v1.00.xsd +9 -0
  89. package/packages/nfe/schemas/PL_010_V1.30/envCCe_v1.00.xsd +10 -0
  90. package/packages/nfe/schemas/PL_010_V1.30/envCancelPProrrogNFe_v1.0.xsd +50 -0
  91. package/packages/nfe/schemas/PL_010_V1.30/envComprovanteEntregaNFe_v1.00.xsd +11 -0
  92. package/packages/nfe/schemas/PL_010_V1.30/envConfRecebto_v1.00.xsd +9 -0
  93. package/packages/nfe/schemas/PL_010_V1.30/envEPEC_v1.00.xsd +9 -0
  94. package/packages/nfe/schemas/PL_010_V1.30/envEventoAtorInteressado_v1.00.xsd +9 -0
  95. package/packages/nfe/schemas/PL_010_V1.30/envEventoCancEConf_v1.00.xsd +10 -0
  96. package/packages/nfe/schemas/PL_010_V1.30/envEventoCancEntregaNFe_v1.00.xsd +10 -0
  97. package/packages/nfe/schemas/PL_010_V1.30/envEventoCancInsucessoNFe_v1.00.xsd +10 -0
  98. package/packages/nfe/schemas/PL_010_V1.30/envEventoCancNFe_v1.00.xsd +9 -0
  99. package/packages/nfe/schemas/PL_010_V1.30/envEventoCancSubst_v1.00.xsd +9 -0
  100. package/packages/nfe/schemas/PL_010_V1.30/envEventoEConf_v1.00.xsd +10 -0
  101. package/packages/nfe/schemas/PL_010_V1.30/envEventoEntregaNFe_v1.00.xsd +10 -0
  102. package/packages/nfe/schemas/PL_010_V1.30/envEventoInsucessoNFe_v1.00.xsd +10 -0
  103. package/packages/nfe/schemas/PL_010_V1.30/envEvento_v1.00.xsd +9 -0
  104. package/packages/nfe/schemas/PL_010_V1.30/envFiscoNfe_v1.0.xsd +179 -0
  105. package/packages/nfe/schemas/PL_010_V1.30/envPProrrogNFe_v1.0.xsd +65 -0
  106. package/packages/nfe/schemas/PL_010_V1.30/envRemIndus_v1.00.xsd +9 -0
  107. package/packages/nfe/schemas/PL_010_V1.30/envSuframaInternaliza_v1.00.xsd +10 -0
  108. package/packages/nfe/schemas/PL_010_V1.30/envSuframaVistoria_v1.00.xsd +10 -0
  109. package/packages/nfe/schemas/PL_010_V1.30/enviNFe_v3.10.xsd +9 -0
  110. package/packages/nfe/schemas/PL_010_V1.30/enviNFe_v4.00.xsd +9 -0
  111. package/packages/nfe/schemas/PL_010_V1.30/eventoAtorInteressado_v1.00.xsd +9 -0
  112. package/packages/nfe/schemas/PL_010_V1.30/eventoCancEntregaNFe_v1.00.xsd +9 -0
  113. package/packages/nfe/schemas/PL_010_V1.30/eventoCancNFe_v1.00.xsd +9 -0
  114. package/packages/nfe/schemas/PL_010_V1.30/eventoCancSubst_v1.00.xsd +9 -0
  115. package/packages/nfe/schemas/PL_010_V1.30/eventoEPEC_v0.01.xsd +267 -0
  116. package/packages/nfe/schemas/PL_010_V1.30/eventoEPEC_v1.00.xsd +231 -0
  117. package/packages/nfe/schemas/PL_010_V1.30/eventoEntregaNFe_v1.00.xsd +9 -0
  118. package/packages/nfe/schemas/PL_010_V1.30/eventoRemIndus_v1.00.xsd +9 -0
  119. package/packages/nfe/schemas/PL_010_V1.30/inutNFe_v3.10.xsd +9 -0
  120. package/packages/nfe/schemas/PL_010_V1.30/inutNFe_v4.00.xsd +9 -0
  121. package/packages/nfe/schemas/PL_010_V1.30/leiauteAverb_v1.00.xsd +468 -0
  122. package/packages/nfe/schemas/PL_010_V1.30/leiauteCCe_v1.00.xsd +382 -0
  123. package/packages/nfe/schemas/PL_010_V1.30/leiauteCcgConsGTIN_v1.00.xsd +94 -0
  124. package/packages/nfe/schemas/PL_010_V1.30/leiauteComprovanteEntregaNFe_v1.00.xsd +487 -0
  125. package/packages/nfe/schemas/PL_010_V1.30/leiauteConfRecebto_v1.00.xsd +369 -0
  126. package/packages/nfe/schemas/PL_010_V1.30/leiauteConsNFeDest_v1.01.xsd +483 -0
  127. package/packages/nfe/schemas/PL_010_V1.30/leiauteConsSitNFe_v3.10.xsd +502 -0
  128. package/packages/nfe/schemas/PL_010_V1.30/leiauteConsSitNFe_v4.00.xsd +502 -0
  129. package/packages/nfe/schemas/PL_010_V1.30/leiauteConsStatServ_v3.10.xsd +98 -0
  130. package/packages/nfe/schemas/PL_010_V1.30/leiauteConsStatServ_v4.00.xsd +98 -0
  131. package/packages/nfe/schemas/PL_010_V1.30/leiauteConsultaCadastro_v2.00.xsd +404 -0
  132. package/packages/nfe/schemas/PL_010_V1.30/leiauteDownloadNFe_v1.00.xsd +149 -0
  133. package/packages/nfe/schemas/PL_010_V1.30/leiauteEPEC_v1.00.xsd +423 -0
  134. package/packages/nfe/schemas/PL_010_V1.30/leiauteEventoAtorInteressado_v1.00.xsd +384 -0
  135. package/packages/nfe/schemas/PL_010_V1.30/leiauteEventoCancEConf_v1.00.xsd +296 -0
  136. package/packages/nfe/schemas/PL_010_V1.30/leiauteEventoCancEntregaNFe_v1.00.xsd +307 -0
  137. package/packages/nfe/schemas/PL_010_V1.30/leiauteEventoCancInsucessoNFe_v1.00.xsd +297 -0
  138. package/packages/nfe/schemas/PL_010_V1.30/leiauteEventoCancNFe_v1.00.xsd +358 -0
  139. package/packages/nfe/schemas/PL_010_V1.30/leiauteEventoCancSubst_v1.00.xsd +366 -0
  140. package/packages/nfe/schemas/PL_010_V1.30/leiauteEventoEConf_v1.00.xsd +296 -0
  141. package/packages/nfe/schemas/PL_010_V1.30/leiauteEventoEntregaNFe_v1.00.xsd +321 -0
  142. package/packages/nfe/schemas/PL_010_V1.30/leiauteEventoInsucessoNFe_v1.00.xsd +297 -0
  143. package/packages/nfe/schemas/PL_010_V1.30/leiauteEvento_v1.00.xsd +335 -0
  144. package/packages/nfe/schemas/PL_010_V1.30/leiauteInutNFe_v3.10.xsd +193 -0
  145. package/packages/nfe/schemas/PL_010_V1.30/leiauteInutNFe_v4.00.xsd +193 -0
  146. package/packages/nfe/schemas/PL_010_V1.30/leiauteInutNFe_v4.00_MT.xsd +200 -0
  147. package/packages/nfe/schemas/PL_010_V1.30/leiauteNFe_v3.10.xsd +6060 -0
  148. package/packages/nfe/schemas/PL_010_V1.30/leiauteNFe_v4.00.xsd +7579 -0
  149. package/packages/nfe/schemas/PL_010_V1.30/leiauteRemIndus_v1.00.xsd +344 -0
  150. package/packages/nfe/schemas/PL_010_V1.30/leiauteSuframaInternaliza_v1.00.xsd +642 -0
  151. package/packages/nfe/schemas/PL_010_V1.30/leiauteSuframaVistoria_v1.00.xsd +648 -0
  152. package/packages/nfe/schemas/PL_010_V1.30/nfe_v3.10.xsd +9 -0
  153. package/packages/nfe/schemas/PL_010_V1.30/nfe_v4.00.xsd +10 -0
  154. package/packages/nfe/schemas/PL_010_V1.30/procAverbNFe_v1.00.xsd +10 -0
  155. package/packages/nfe/schemas/PL_010_V1.30/procCCeNFe_v1.00.xsd +10 -0
  156. package/packages/nfe/schemas/PL_010_V1.30/procComprovanteEntregaNFe_v1.00.xsd +10 -0
  157. package/packages/nfe/schemas/PL_010_V1.30/procConfRecebtoNFe_v1.00.xsd +9 -0
  158. package/packages/nfe/schemas/PL_010_V1.30/procEPEC_v1.00.xsd +9 -0
  159. package/packages/nfe/schemas/PL_010_V1.30/procEventoAtorInteressado_v1.00.xsd +9 -0
  160. package/packages/nfe/schemas/PL_010_V1.30/procEventoCancEConf_v1.00.xsd +9 -0
  161. package/packages/nfe/schemas/PL_010_V1.30/procEventoCancEntregaNFe_v1.00.xsd +9 -0
  162. package/packages/nfe/schemas/PL_010_V1.30/procEventoCancInsucessoNFe_v1.00.xsd +9 -0
  163. package/packages/nfe/schemas/PL_010_V1.30/procEventoCancNFe_v1.00.xsd +9 -0
  164. package/packages/nfe/schemas/PL_010_V1.30/procEventoCancSubst_v1.00.xsd +9 -0
  165. package/packages/nfe/schemas/PL_010_V1.30/procEventoEConf_v1.00.xsd +9 -0
  166. package/packages/nfe/schemas/PL_010_V1.30/procEventoEntregaNFe_v1.00.xsd +9 -0
  167. package/packages/nfe/schemas/PL_010_V1.30/procEventoInsucessoNFe_v1.00.xsd +9 -0
  168. package/packages/nfe/schemas/PL_010_V1.30/procEventoNFe_v1.00.xsd +9 -0
  169. package/packages/nfe/schemas/PL_010_V1.30/procEventoNFe_v99.99.xsd +37 -0
  170. package/packages/nfe/schemas/PL_010_V1.30/procInutNFe_v3.10.xsd +9 -0
  171. package/packages/nfe/schemas/PL_010_V1.30/procInutNFe_v4.00.xsd +9 -0
  172. package/packages/nfe/schemas/PL_010_V1.30/procNFe_v3.10.xsd +9 -0
  173. package/packages/nfe/schemas/PL_010_V1.30/procNFe_v4.00.xsd +9 -0
  174. package/packages/nfe/schemas/PL_010_V1.30/procRemIndus_v1.00.xsd +9 -0
  175. package/packages/nfe/schemas/PL_010_V1.30/prod_leiauteNFe_v4.00.xsd +6736 -0
  176. package/packages/nfe/schemas/PL_010_V1.30/resEvento_v1.00.xsd +94 -0
  177. package/packages/nfe/schemas/PL_010_V1.30/resEvento_v1.01.xsd +108 -0
  178. package/packages/nfe/schemas/PL_010_V1.30/resNFe_v1.00.xsd +110 -0
  179. package/packages/nfe/schemas/PL_010_V1.30/resNFe_v1.01.xsd +122 -0
  180. package/packages/nfe/schemas/PL_010_V1.30/retComprovanteEntregaNFe_v1.00.xsd +10 -0
  181. package/packages/nfe/schemas/PL_010_V1.30/retConsCad_v2.00.xsd +9 -0
  182. package/packages/nfe/schemas/PL_010_V1.30/retConsGTIN_v1.00.xsd +9 -0
  183. package/packages/nfe/schemas/PL_010_V1.30/retConsReciNFe_v3.10.xsd +9 -0
  184. package/packages/nfe/schemas/PL_010_V1.30/retConsReciNFe_v4.00.xsd +9 -0
  185. package/packages/nfe/schemas/PL_010_V1.30/retConsSitNFe_v3.10.xsd +9 -0
  186. package/packages/nfe/schemas/PL_010_V1.30/retConsSitNFe_v4.00.xsd +9 -0
  187. package/packages/nfe/schemas/PL_010_V1.30/retConsStatServ_v3.10.xsd +9 -0
  188. package/packages/nfe/schemas/PL_010_V1.30/retConsStatServ_v4.00.xsd +9 -0
  189. package/packages/nfe/schemas/PL_010_V1.30/retDistDFeInt_v1.00.xsd +84 -0
  190. package/packages/nfe/schemas/PL_010_V1.30/retDistDFeInt_v1.01.xsd +99 -0
  191. package/packages/nfe/schemas/PL_010_V1.30/retDownloadNFe_v1.00.xsd +9 -0
  192. package/packages/nfe/schemas/PL_010_V1.30/retEnvAverb_v1.00.xsd +9 -0
  193. package/packages/nfe/schemas/PL_010_V1.30/retEnvAverb_v1.00_1.xsd +9 -0
  194. package/packages/nfe/schemas/PL_010_V1.30/retEnvCCe_v1.00.xsd +10 -0
  195. package/packages/nfe/schemas/PL_010_V1.30/retEnvCancelPProrrogNFe_v1.0.xsd +231 -0
  196. package/packages/nfe/schemas/PL_010_V1.30/retEnvConfRecebto_v1.00.xsd +9 -0
  197. package/packages/nfe/schemas/PL_010_V1.30/retEnvEPEC_v1.00.xsd +9 -0
  198. package/packages/nfe/schemas/PL_010_V1.30/retEnvEventoAtorInteressado_v1.00.xsd +9 -0
  199. package/packages/nfe/schemas/PL_010_V1.30/retEnvEventoCancNFe_v1.00.xsd +9 -0
  200. package/packages/nfe/schemas/PL_010_V1.30/retEnvEventoCancSubst_v1.00.xsd +9 -0
  201. package/packages/nfe/schemas/PL_010_V1.30/retEnvEvento_v1.00.xsd +9 -0
  202. package/packages/nfe/schemas/PL_010_V1.30/retEnvFiscoNFe_v1.0.xsd +234 -0
  203. package/packages/nfe/schemas/PL_010_V1.30/retEnvRemIndus_v1.00.xsd +9 -0
  204. package/packages/nfe/schemas/PL_010_V1.30/retEnvSuframaInternaliza_v1.00.xsd +9 -0
  205. package/packages/nfe/schemas/PL_010_V1.30/retEnvSuframaVistoria_v1.00.xsd +9 -0
  206. package/packages/nfe/schemas/PL_010_V1.30/retEnviNFe_v3.10.xsd +9 -0
  207. package/packages/nfe/schemas/PL_010_V1.30/retEnviNFe_v4.00.xsd +9 -0
  208. package/packages/nfe/schemas/PL_010_V1.30/retEventoCancEConf_v1.00.xsd +9 -0
  209. package/packages/nfe/schemas/PL_010_V1.30/retEventoCancEntregaNFe_v1.00.xsd +9 -0
  210. package/packages/nfe/schemas/PL_010_V1.30/retEventoCancInsucessoNFe_v1.00.xsd +9 -0
  211. package/packages/nfe/schemas/PL_010_V1.30/retEventoEConf_v1.00.xsd +9 -0
  212. package/packages/nfe/schemas/PL_010_V1.30/retEventoEPEC_v0.01.xsd +207 -0
  213. package/packages/nfe/schemas/PL_010_V1.30/retEventoEntregaNFe_v1.00.xsd +9 -0
  214. package/packages/nfe/schemas/PL_010_V1.30/retEventoInsucessoNFe_v1.00.xsd +9 -0
  215. package/packages/nfe/schemas/PL_010_V1.30/retInutNFe_v3.10.xsd +9 -0
  216. package/packages/nfe/schemas/PL_010_V1.30/retInutNFe_v4.00.xsd +9 -0
  217. package/packages/nfe/schemas/PL_010_V1.30/retPProrrogNFe_v1.0.xsd +233 -0
  218. package/packages/nfe/schemas/PL_010_V1.30/retconsNFeDest_v1.01.xsd +9 -0
  219. package/packages/nfe/schemas/PL_010_V1.30/tiposBasico_v1.03.xsd +872 -0
  220. package/packages/nfe/schemas/PL_010_V1.30/tiposBasico_v3.10.xsd +571 -0
  221. package/packages/nfe/schemas/PL_010_V1.30/tiposBasico_v4.00.xsd +598 -0
  222. package/packages/nfe/schemas/PL_010_V1.30/tiposBasicosCcgConsGTIN_v1.00.xsd +84 -0
  223. package/packages/nfe/schemas/PL_010_V1.30/tiposDistDFe_v1.00.xsd +217 -0
  224. package/packages/nfe/schemas/PL_010_V1.30/tiposDistDFe_v1.01.xsd +222 -0
  225. package/packages/nfe/schemas/PL_010_V1.30/xmldsig-core-schema_v1.01.xsd +98 -0
  226. package/dist/chunk-T743N7YC.mjs +0 -20
@@ -867,6 +867,7 @@ interface Det {
867
867
  impostoDevol?: Devol;
868
868
  infAdProd?: string;
869
869
  obsItem?: ObsItem;
870
+ vItem?: DecimalValue;
870
871
  }
871
872
 
872
873
  interface ICMSTot {
@@ -927,7 +928,47 @@ interface Total {
927
928
  ICMSTot: ICMSTot;
928
929
  ISSQNtot?: ISSQNTot;
929
930
  retTrib?: RetTrib;
930
- }
931
+ IBSCBSTot?: IBSCBSTot;
932
+ vNFTot?: DecimalValue;
933
+ }
934
+ interface IBSCBSTot {
935
+ vBCIBSCBS?: DecimalValue;
936
+ gIBS?: IBSTot;
937
+ gCBS?: CBSTot;
938
+ gMono?: IBSMonoTot;
939
+ }
940
+ type IBSTot = {
941
+ gIBSUF?: IBSUFTot;
942
+ gIBSMun?: IBSMunTot;
943
+ vIBS?: DecimalValue;
944
+ vCredPres?: DecimalValue;
945
+ vCredPresCondSus?: DecimalValue;
946
+ };
947
+ type IBSUFTot = {
948
+ vDif?: DecimalValue;
949
+ vDevTrib?: DecimalValue;
950
+ vIBSUF?: DecimalValue;
951
+ };
952
+ type IBSMunTot = {
953
+ vDif?: DecimalValue;
954
+ vDevTrib?: DecimalValue;
955
+ vIBSMun?: DecimalValue;
956
+ };
957
+ type CBSTot = {
958
+ vDif?: DecimalValue;
959
+ vDevTrib?: DecimalValue;
960
+ vCBS?: DecimalValue;
961
+ vCredPres?: DecimalValue;
962
+ vCredPresCondSus?: DecimalValue;
963
+ };
964
+ type IBSMonoTot = {
965
+ vIBSMono?: DecimalValue;
966
+ vCBSMono?: DecimalValue;
967
+ vIBSMonoReten?: DecimalValue;
968
+ vCBSMonoReten?: DecimalValue;
969
+ vIBSMonoRet?: DecimalValue;
970
+ vCBSMonoRet?: DecimalValue;
971
+ };
931
972
 
932
973
  interface Transporta {
933
974
  CNPJ?: string;
@@ -1206,9 +1247,19 @@ type PipelineAuthorizerResponse<E extends NFe$1, T extends E | E[]> = T extends
1206
1247
  response: SynchronousAutorizacaoResponse<T>;
1207
1248
  };
1208
1249
 
1250
+ declare const Schemas: {
1251
+ readonly PL_009_V4: "PL_009_V4";
1252
+ readonly PL_010_V1: "PL_010_V1";
1253
+ readonly PL_010_V1_21: "PL_010_V1.21";
1254
+ readonly PL_010_V1_30: "PL_010_V1.30";
1255
+ };
1256
+ declare const schemas: () => string;
1257
+ type Schema = (typeof Schemas)[keyof typeof Schemas];
1258
+
1209
1259
  interface ConsultStatusPayload {
1210
1260
  tpAmb: EnvironmentCode;
1211
1261
  cUF: StateCode;
1262
+ schema?: Schema;
1212
1263
  xServ?: 'STATUS';
1213
1264
  }
1214
1265
  interface ConsultStatusRequest {
@@ -1550,14 +1601,6 @@ interface NFCeProc {
1550
1601
  protNFe: ProtNFe;
1551
1602
  }
1552
1603
 
1553
- declare const Schemas: {
1554
- readonly PL_009_V4: "PL_009_V4";
1555
- readonly PL_010_V1: "PL_010_V1";
1556
- readonly PL_010_V1_21: "PL_010_V1.21";
1557
- };
1558
- declare const schemas: () => string;
1559
- type Schema = (typeof Schemas)[keyof typeof Schemas];
1560
-
1561
1604
  type WebserviceForState<WS extends Record<string, unknown>, S extends StateCode> = S extends keyof WS ? WS[S] : never;
1562
1605
  type UfMap = typeof StateCodes;
1563
1606
  type StateAcronymFromCode<S extends StateCode> = {
@@ -1685,7 +1728,12 @@ interface IcmsufdestBuilder {
1685
1728
  icmsufdest(payload: ICMSUFDest): IbscbsBuilder & AssembleDetXmlBuilder;
1686
1729
  }
1687
1730
  interface IbscbsBuilder {
1688
- ibscbs(payload: IBSCBS$1): AssembleDetXmlBuilder;
1731
+ ibscbs(payload: IBSCBS$1): vItemBuilder;
1732
+ }
1733
+ interface vItemBuilder {
1734
+ vItem(payload: {
1735
+ vItem: string;
1736
+ }): AssembleDetXmlBuilder;
1689
1737
  }
1690
1738
  interface AssembleDetXmlBuilder {
1691
1739
  assemble(): Det;
@@ -1722,7 +1770,7 @@ interface DetGroupBuilder<T extends object> {
1722
1770
  }
1723
1771
  interface TotalBuilder<T extends object> {
1724
1772
  total(payload: Total): TranspBuilder<T>;
1725
- increment(callback: (context: DeepPartial<Total>) => DeepPartial<Total>): TranspBuilder<T>;
1773
+ increment(callback: (context: DeepPartial<Total>, det: DeepPartial<Det[]>) => DeepPartial<Total>): TranspBuilder<T>;
1726
1774
  }
1727
1775
  interface TranspBuilder<T extends object> {
1728
1776
  transp(payload: Transp): CobrBuilder<T> & PagBuilder<T>;
@@ -1760,6 +1808,7 @@ interface AssembleNfeBuilder<T extends object> {
1760
1808
  assemble(): Promise<Either<NFeTsError, string>>;
1761
1809
  }
1762
1810
  interface INfeXmlBuilder<T extends object> extends InfNFeBuilder<T>, IdeBuilder<T>, DetGroupBuilder<T>, DestBuilder<T>, RetiradaBuilder<T>, EntregaBuilder<T>, AutXMLBuilder<T>, TotalBuilder<T>, TranspBuilder<T>, PagBuilder<T>, InfIntermedBuilder<T>, ExportaBuilder<T>, CompraBuilder<T>, CanaBuilder<T>, InfRespTecBuilder<T>, InfSolicNFFBuilder<T>, InfAdicBuilder<T>, AvulsaBuilder<T>, AssembleNfeBuilder<T> {
1811
+ schema?: Schema;
1763
1812
  }
1764
1813
 
1765
1814
  declare class AccessKeyBuilder {
@@ -4917,6 +4966,7 @@ declare class DanfceReducedPdfDocument extends DanfcePdfDocument {
4917
4966
  declare class NfeXmlBuilder<T extends object = NFe$1> implements INfeXmlBuilder<T> {
4918
4967
  protected readonly builder: XmlToolkit;
4919
4968
  protected contingency?: ContingencyOptions | undefined;
4969
+ readonly schema: Schema;
4920
4970
  protected readonly data: NFe$1;
4921
4971
  private $data;
4922
4972
  protected get entity(): new () => T;
@@ -4924,8 +4974,8 @@ declare class NfeXmlBuilder<T extends object = NFe$1> implements INfeXmlBuilder<
4924
4974
  protected readonly $det: DetBuilderAggregator | undefined;
4925
4975
  protected readonly $total: TotalBuilderAggregator | undefined;
4926
4976
  protected readonly nfeDetXmlBuilder: DetBuilder & ProdBuilder;
4927
- static create<T extends object = NFe$1>(builder: XmlToolkit, contingency?: ContingencyOptions): InfNFeBuilder<T> & IdeBuilder<T>;
4928
- protected constructor(builder: XmlToolkit, contingency?: ContingencyOptions | undefined);
4977
+ static create<T extends object = NFe$1>(builder: XmlToolkit, contingency?: ContingencyOptions, schema?: Schema): InfNFeBuilder<T> & IdeBuilder<T>;
4978
+ protected constructor(builder: XmlToolkit, contingency?: ContingencyOptions | undefined, schema?: Schema);
4929
4979
  infNFe($: InfNFeAttributes): this;
4930
4980
  ide(payload: Ide): this;
4931
4981
  emit(payload: Emit): this;
@@ -4936,7 +4986,8 @@ declare class NfeXmlBuilder<T extends object = NFe$1> implements INfeXmlBuilder<
4936
4986
  autXML(payload: AutXML): this;
4937
4987
  det<D>(items: [D, ...D[]], build: (ctx: ProdBuilder, item: D) => AssembleDetXmlBuilder): TotalBuilder<T> & TranspBuilder<T>;
4938
4988
  total(payload: Total): this;
4939
- increment(callback: (context: DeepPartial<Total>) => DeepPartial<Total>): this;
4989
+ increment(callback: (context: DeepPartial<Total>, det: DeepPartial<Det[]>) => DeepPartial<Total>): this;
4990
+ private buildTotalForPL_010;
4940
4991
  transp(payload: Transp): this;
4941
4992
  cobr(payload: Cobr): this;
4942
4993
  pag(payload: Pag): this;
@@ -4961,7 +5012,7 @@ declare class NfeXmlBuilder<T extends object = NFe$1> implements INfeXmlBuilder<
4961
5012
  declare class NfceXmlBuilder<T extends object = NFCe$1> extends NfeXmlBuilder<T> implements INfeXmlBuilder<T> {
4962
5013
  protected readonly data: NFCe$1;
4963
5014
  protected get entity(): new () => T;
4964
- static create<T extends object = NFCe$1>(builder: XmlToolkit, contingency?: ContingencyOptions): InfNFeBuilder<T> & IdeBuilder<T>;
5015
+ static create<T extends object = NFCe$1>(builder: XmlToolkit, contingency?: ContingencyOptions, schema?: Schema): InfNFeBuilder<T> & IdeBuilder<T>;
4965
5016
  protected assertHomologValidations(): boolean;
4966
5017
  protected assertContingencyModes(): void;
4967
5018
  }
@@ -5118,6 +5169,9 @@ declare class NfeDetXmlBuilder implements INfeDetXmlBuilder {
5118
5169
  cofinsst(payload: COFINSST): this;
5119
5170
  icmsufdest(payload: ICMSUFDest): this;
5120
5171
  ibscbs(payload: IBSCBS): this;
5172
+ vItem(payload: {
5173
+ vItem: string;
5174
+ }): this;
5121
5175
  assemble(): Det;
5122
5176
  }
5123
5177
 
@@ -5128,4 +5182,4 @@ declare class NFCe implements NFCe$1 {
5128
5182
  Signature?: Signature;
5129
5183
  }
5130
5184
 
5131
- export { type AccessKey, AccessKeyBuilder, type AssembleDetXmlBuilder, type AssembleNfeBuilder, type AsynchronousAutorizacaoResponse, type AutXMLBuilder, type AutorizacaoPayload, type AutorizacaoRequest, type AutorizacaoResponse, type AvulsaBuilder, type CanaBuilder, type CobrBuilder, type CofinsBuilder, type CofinsStBuilder, type CompraBuilder, type ConsultStatusPayload, type ConsultStatusRequest, type ConsultStatusResponse, type ConsultaCadastroPayload, type ConsultaCadastroRequest, type ConsultaCadastroResponse, type ConsultaProtocoloPayload, type ConsultaProtocoloRequest, type ConsultaProtocoloResponse, type ContingencyOptions, DanfceDefaultPdfDocument, DanfceReducedPdfDocument, DefaultDetBuilderAggregator, DefaultTotalBuilderAggregator, type DestBuilder, type DetBuilder, type DetBuilderAggregator, type DetEventoCancelamento, type DetGroupBuilder, type EmitBuilder, type EntregaBuilder, type EventoCancelamento, type EventoItem, type EventoItemAttributes, type EventoLotePayload, type EventoLoteResponse, type EventoPayload, type EventoRequest, type EventoResponse, type ExportaBuilder, type IIBuilder, type INfeDetXmlBuilder, type INfeXmlBuilder, type IbscbsBuilder, type IcmsBuilder, type IcmsIpiBuilder, type IcmsOrIssQnBuilder, type IcmsufdestBuilder, type IdeBuilder, type ImpostoBuilder, type InfAdicBuilder, type InfEvento, type InfEventoAttributes, type InfIntermedBuilder, type InfInut, type InfInutAttributes, type InfNFeBuilder, type InfRespTecBuilder, type InfSolicNFFBuilder, type InutNFeAttributes, type InutilizacaoPayload, type InutilizacaoRequest, type InutilizacaoResponse, type IssIpiBuilder, type IssQnBuilder, type NFCe$1 as NFCe, NFCe as NFCeDto, type NFCeProc, type NFe$1 as NFe, type NFeAttributes, NFe as NFeDto, type NFeProc, type NFeProcAttributes, NfceAuthorizerPipeline, NfceConsultStatusPipeline, NfceQrcode, type NfceQrcodeOptions, type NfceQrcodeOptions200, type NfceQrcodeOptions300, type NfceQrcodeOptionsBase, type NfceRemoteClient, NfceRemoteTransmitter, type NfceTransmitter, type NfceTransmitterOptions, NfceXmlBuilder, NfceXmlBuilderPipeline, NfeAuthorizationResponsePipeline, NfeAuthorizerPipeline, NfeConsultStatusPipeline, NfeCstatToProtocol, NfeDetXmlBuilder, NfeNfceCancelPipeline, NfeNfceVoidRangePipeline, type NfeRemoteClient, NfeRemoteTransmitter, type NfeTransmitter, type NfeTransmitterOptions, NfeXmlBuilder, NfeXmlBuilderPipeline, type OptionalSharedImpostoBuilder, type PagBuilder, type PipelineAuthorizerResponse, type PisBuilder, type PisStBuilder, type ProcEventoNFe, type ProdBuilder, type RetAutorizacaoPayload, type RetAutorizacaoRequest, type RetAutorizacaoResponse, type RetCancNFe, type RetEvento, type RetEventoItem, type RetiradaBuilder, type Schema, type SynchronousAutorizacaoResponse, type TotalBuilder, type TotalBuilderAggregator, TpEmis, TpEvent, type TranspBuilder, type VerifiedAccessKey, type VoidRangePayload, schemas };
5185
+ export { type AccessKey, AccessKeyBuilder, type AssembleDetXmlBuilder, type AssembleNfeBuilder, type AsynchronousAutorizacaoResponse, type AutXMLBuilder, type AutorizacaoPayload, type AutorizacaoRequest, type AutorizacaoResponse, type AvulsaBuilder, type CanaBuilder, type CobrBuilder, type CofinsBuilder, type CofinsStBuilder, type CompraBuilder, type ConsultStatusPayload, type ConsultStatusRequest, type ConsultStatusResponse, type ConsultaCadastroPayload, type ConsultaCadastroRequest, type ConsultaCadastroResponse, type ConsultaProtocoloPayload, type ConsultaProtocoloRequest, type ConsultaProtocoloResponse, type ContingencyOptions, DanfceDefaultPdfDocument, DanfceReducedPdfDocument, DefaultDetBuilderAggregator, DefaultTotalBuilderAggregator, type DestBuilder, type DetBuilder, type DetBuilderAggregator, type DetEventoCancelamento, type DetGroupBuilder, type EmitBuilder, type EntregaBuilder, type EventoCancelamento, type EventoItem, type EventoItemAttributes, type EventoLotePayload, type EventoLoteResponse, type EventoPayload, type EventoRequest, type EventoResponse, type ExportaBuilder, type IIBuilder, type INfeDetXmlBuilder, type INfeXmlBuilder, type IbscbsBuilder, type IcmsBuilder, type IcmsIpiBuilder, type IcmsOrIssQnBuilder, type IcmsufdestBuilder, type IdeBuilder, type ImpostoBuilder, type InfAdicBuilder, type InfEvento, type InfEventoAttributes, type InfIntermedBuilder, type InfInut, type InfInutAttributes, type InfNFeBuilder, type InfRespTecBuilder, type InfSolicNFFBuilder, type InutNFeAttributes, type InutilizacaoPayload, type InutilizacaoRequest, type InutilizacaoResponse, type IssIpiBuilder, type IssQnBuilder, type NFCe$1 as NFCe, NFCe as NFCeDto, type NFCeProc, type NFe$1 as NFe, type NFeAttributes, NFe as NFeDto, type NFeProc, type NFeProcAttributes, NfceAuthorizerPipeline, NfceConsultStatusPipeline, NfceQrcode, type NfceQrcodeOptions, type NfceQrcodeOptions200, type NfceQrcodeOptions300, type NfceQrcodeOptionsBase, type NfceRemoteClient, NfceRemoteTransmitter, type NfceTransmitter, type NfceTransmitterOptions, NfceXmlBuilder, NfceXmlBuilderPipeline, NfeAuthorizationResponsePipeline, NfeAuthorizerPipeline, NfeConsultStatusPipeline, NfeCstatToProtocol, NfeDetXmlBuilder, NfeNfceCancelPipeline, NfeNfceVoidRangePipeline, type NfeRemoteClient, NfeRemoteTransmitter, type NfeTransmitter, type NfeTransmitterOptions, NfeXmlBuilder, NfeXmlBuilderPipeline, type OptionalSharedImpostoBuilder, type PagBuilder, type PipelineAuthorizerResponse, type PisBuilder, type PisStBuilder, type ProcEventoNFe, type ProdBuilder, type RetAutorizacaoPayload, type RetAutorizacaoRequest, type RetAutorizacaoResponse, type RetCancNFe, type RetEvento, type RetEventoItem, type RetiradaBuilder, type Schema, type SynchronousAutorizacaoResponse, type TotalBuilder, type TotalBuilderAggregator, TpEmis, TpEvent, type TranspBuilder, type VerifiedAccessKey, type VoidRangePayload, schemas, type vItemBuilder };
@@ -867,6 +867,7 @@ interface Det {
867
867
  impostoDevol?: Devol;
868
868
  infAdProd?: string;
869
869
  obsItem?: ObsItem;
870
+ vItem?: DecimalValue;
870
871
  }
871
872
 
872
873
  interface ICMSTot {
@@ -927,7 +928,47 @@ interface Total {
927
928
  ICMSTot: ICMSTot;
928
929
  ISSQNtot?: ISSQNTot;
929
930
  retTrib?: RetTrib;
930
- }
931
+ IBSCBSTot?: IBSCBSTot;
932
+ vNFTot?: DecimalValue;
933
+ }
934
+ interface IBSCBSTot {
935
+ vBCIBSCBS?: DecimalValue;
936
+ gIBS?: IBSTot;
937
+ gCBS?: CBSTot;
938
+ gMono?: IBSMonoTot;
939
+ }
940
+ type IBSTot = {
941
+ gIBSUF?: IBSUFTot;
942
+ gIBSMun?: IBSMunTot;
943
+ vIBS?: DecimalValue;
944
+ vCredPres?: DecimalValue;
945
+ vCredPresCondSus?: DecimalValue;
946
+ };
947
+ type IBSUFTot = {
948
+ vDif?: DecimalValue;
949
+ vDevTrib?: DecimalValue;
950
+ vIBSUF?: DecimalValue;
951
+ };
952
+ type IBSMunTot = {
953
+ vDif?: DecimalValue;
954
+ vDevTrib?: DecimalValue;
955
+ vIBSMun?: DecimalValue;
956
+ };
957
+ type CBSTot = {
958
+ vDif?: DecimalValue;
959
+ vDevTrib?: DecimalValue;
960
+ vCBS?: DecimalValue;
961
+ vCredPres?: DecimalValue;
962
+ vCredPresCondSus?: DecimalValue;
963
+ };
964
+ type IBSMonoTot = {
965
+ vIBSMono?: DecimalValue;
966
+ vCBSMono?: DecimalValue;
967
+ vIBSMonoReten?: DecimalValue;
968
+ vCBSMonoReten?: DecimalValue;
969
+ vIBSMonoRet?: DecimalValue;
970
+ vCBSMonoRet?: DecimalValue;
971
+ };
931
972
 
932
973
  interface Transporta {
933
974
  CNPJ?: string;
@@ -1206,9 +1247,19 @@ type PipelineAuthorizerResponse<E extends NFe$1, T extends E | E[]> = T extends
1206
1247
  response: SynchronousAutorizacaoResponse<T>;
1207
1248
  };
1208
1249
 
1250
+ declare const Schemas: {
1251
+ readonly PL_009_V4: "PL_009_V4";
1252
+ readonly PL_010_V1: "PL_010_V1";
1253
+ readonly PL_010_V1_21: "PL_010_V1.21";
1254
+ readonly PL_010_V1_30: "PL_010_V1.30";
1255
+ };
1256
+ declare const schemas: () => string;
1257
+ type Schema = (typeof Schemas)[keyof typeof Schemas];
1258
+
1209
1259
  interface ConsultStatusPayload {
1210
1260
  tpAmb: EnvironmentCode;
1211
1261
  cUF: StateCode;
1262
+ schema?: Schema;
1212
1263
  xServ?: 'STATUS';
1213
1264
  }
1214
1265
  interface ConsultStatusRequest {
@@ -1550,14 +1601,6 @@ interface NFCeProc {
1550
1601
  protNFe: ProtNFe;
1551
1602
  }
1552
1603
 
1553
- declare const Schemas: {
1554
- readonly PL_009_V4: "PL_009_V4";
1555
- readonly PL_010_V1: "PL_010_V1";
1556
- readonly PL_010_V1_21: "PL_010_V1.21";
1557
- };
1558
- declare const schemas: () => string;
1559
- type Schema = (typeof Schemas)[keyof typeof Schemas];
1560
-
1561
1604
  type WebserviceForState<WS extends Record<string, unknown>, S extends StateCode> = S extends keyof WS ? WS[S] : never;
1562
1605
  type UfMap = typeof StateCodes;
1563
1606
  type StateAcronymFromCode<S extends StateCode> = {
@@ -1685,7 +1728,12 @@ interface IcmsufdestBuilder {
1685
1728
  icmsufdest(payload: ICMSUFDest): IbscbsBuilder & AssembleDetXmlBuilder;
1686
1729
  }
1687
1730
  interface IbscbsBuilder {
1688
- ibscbs(payload: IBSCBS$1): AssembleDetXmlBuilder;
1731
+ ibscbs(payload: IBSCBS$1): vItemBuilder;
1732
+ }
1733
+ interface vItemBuilder {
1734
+ vItem(payload: {
1735
+ vItem: string;
1736
+ }): AssembleDetXmlBuilder;
1689
1737
  }
1690
1738
  interface AssembleDetXmlBuilder {
1691
1739
  assemble(): Det;
@@ -1722,7 +1770,7 @@ interface DetGroupBuilder<T extends object> {
1722
1770
  }
1723
1771
  interface TotalBuilder<T extends object> {
1724
1772
  total(payload: Total): TranspBuilder<T>;
1725
- increment(callback: (context: DeepPartial<Total>) => DeepPartial<Total>): TranspBuilder<T>;
1773
+ increment(callback: (context: DeepPartial<Total>, det: DeepPartial<Det[]>) => DeepPartial<Total>): TranspBuilder<T>;
1726
1774
  }
1727
1775
  interface TranspBuilder<T extends object> {
1728
1776
  transp(payload: Transp): CobrBuilder<T> & PagBuilder<T>;
@@ -1760,6 +1808,7 @@ interface AssembleNfeBuilder<T extends object> {
1760
1808
  assemble(): Promise<Either<NFeTsError, string>>;
1761
1809
  }
1762
1810
  interface INfeXmlBuilder<T extends object> extends InfNFeBuilder<T>, IdeBuilder<T>, DetGroupBuilder<T>, DestBuilder<T>, RetiradaBuilder<T>, EntregaBuilder<T>, AutXMLBuilder<T>, TotalBuilder<T>, TranspBuilder<T>, PagBuilder<T>, InfIntermedBuilder<T>, ExportaBuilder<T>, CompraBuilder<T>, CanaBuilder<T>, InfRespTecBuilder<T>, InfSolicNFFBuilder<T>, InfAdicBuilder<T>, AvulsaBuilder<T>, AssembleNfeBuilder<T> {
1811
+ schema?: Schema;
1763
1812
  }
1764
1813
 
1765
1814
  declare class AccessKeyBuilder {
@@ -4917,6 +4966,7 @@ declare class DanfceReducedPdfDocument extends DanfcePdfDocument {
4917
4966
  declare class NfeXmlBuilder<T extends object = NFe$1> implements INfeXmlBuilder<T> {
4918
4967
  protected readonly builder: XmlToolkit;
4919
4968
  protected contingency?: ContingencyOptions | undefined;
4969
+ readonly schema: Schema;
4920
4970
  protected readonly data: NFe$1;
4921
4971
  private $data;
4922
4972
  protected get entity(): new () => T;
@@ -4924,8 +4974,8 @@ declare class NfeXmlBuilder<T extends object = NFe$1> implements INfeXmlBuilder<
4924
4974
  protected readonly $det: DetBuilderAggregator | undefined;
4925
4975
  protected readonly $total: TotalBuilderAggregator | undefined;
4926
4976
  protected readonly nfeDetXmlBuilder: DetBuilder & ProdBuilder;
4927
- static create<T extends object = NFe$1>(builder: XmlToolkit, contingency?: ContingencyOptions): InfNFeBuilder<T> & IdeBuilder<T>;
4928
- protected constructor(builder: XmlToolkit, contingency?: ContingencyOptions | undefined);
4977
+ static create<T extends object = NFe$1>(builder: XmlToolkit, contingency?: ContingencyOptions, schema?: Schema): InfNFeBuilder<T> & IdeBuilder<T>;
4978
+ protected constructor(builder: XmlToolkit, contingency?: ContingencyOptions | undefined, schema?: Schema);
4929
4979
  infNFe($: InfNFeAttributes): this;
4930
4980
  ide(payload: Ide): this;
4931
4981
  emit(payload: Emit): this;
@@ -4936,7 +4986,8 @@ declare class NfeXmlBuilder<T extends object = NFe$1> implements INfeXmlBuilder<
4936
4986
  autXML(payload: AutXML): this;
4937
4987
  det<D>(items: [D, ...D[]], build: (ctx: ProdBuilder, item: D) => AssembleDetXmlBuilder): TotalBuilder<T> & TranspBuilder<T>;
4938
4988
  total(payload: Total): this;
4939
- increment(callback: (context: DeepPartial<Total>) => DeepPartial<Total>): this;
4989
+ increment(callback: (context: DeepPartial<Total>, det: DeepPartial<Det[]>) => DeepPartial<Total>): this;
4990
+ private buildTotalForPL_010;
4940
4991
  transp(payload: Transp): this;
4941
4992
  cobr(payload: Cobr): this;
4942
4993
  pag(payload: Pag): this;
@@ -4961,7 +5012,7 @@ declare class NfeXmlBuilder<T extends object = NFe$1> implements INfeXmlBuilder<
4961
5012
  declare class NfceXmlBuilder<T extends object = NFCe$1> extends NfeXmlBuilder<T> implements INfeXmlBuilder<T> {
4962
5013
  protected readonly data: NFCe$1;
4963
5014
  protected get entity(): new () => T;
4964
- static create<T extends object = NFCe$1>(builder: XmlToolkit, contingency?: ContingencyOptions): InfNFeBuilder<T> & IdeBuilder<T>;
5015
+ static create<T extends object = NFCe$1>(builder: XmlToolkit, contingency?: ContingencyOptions, schema?: Schema): InfNFeBuilder<T> & IdeBuilder<T>;
4965
5016
  protected assertHomologValidations(): boolean;
4966
5017
  protected assertContingencyModes(): void;
4967
5018
  }
@@ -5118,6 +5169,9 @@ declare class NfeDetXmlBuilder implements INfeDetXmlBuilder {
5118
5169
  cofinsst(payload: COFINSST): this;
5119
5170
  icmsufdest(payload: ICMSUFDest): this;
5120
5171
  ibscbs(payload: IBSCBS): this;
5172
+ vItem(payload: {
5173
+ vItem: string;
5174
+ }): this;
5121
5175
  assemble(): Det;
5122
5176
  }
5123
5177
 
@@ -5128,4 +5182,4 @@ declare class NFCe implements NFCe$1 {
5128
5182
  Signature?: Signature;
5129
5183
  }
5130
5184
 
5131
- export { type AccessKey, AccessKeyBuilder, type AssembleDetXmlBuilder, type AssembleNfeBuilder, type AsynchronousAutorizacaoResponse, type AutXMLBuilder, type AutorizacaoPayload, type AutorizacaoRequest, type AutorizacaoResponse, type AvulsaBuilder, type CanaBuilder, type CobrBuilder, type CofinsBuilder, type CofinsStBuilder, type CompraBuilder, type ConsultStatusPayload, type ConsultStatusRequest, type ConsultStatusResponse, type ConsultaCadastroPayload, type ConsultaCadastroRequest, type ConsultaCadastroResponse, type ConsultaProtocoloPayload, type ConsultaProtocoloRequest, type ConsultaProtocoloResponse, type ContingencyOptions, DanfceDefaultPdfDocument, DanfceReducedPdfDocument, DefaultDetBuilderAggregator, DefaultTotalBuilderAggregator, type DestBuilder, type DetBuilder, type DetBuilderAggregator, type DetEventoCancelamento, type DetGroupBuilder, type EmitBuilder, type EntregaBuilder, type EventoCancelamento, type EventoItem, type EventoItemAttributes, type EventoLotePayload, type EventoLoteResponse, type EventoPayload, type EventoRequest, type EventoResponse, type ExportaBuilder, type IIBuilder, type INfeDetXmlBuilder, type INfeXmlBuilder, type IbscbsBuilder, type IcmsBuilder, type IcmsIpiBuilder, type IcmsOrIssQnBuilder, type IcmsufdestBuilder, type IdeBuilder, type ImpostoBuilder, type InfAdicBuilder, type InfEvento, type InfEventoAttributes, type InfIntermedBuilder, type InfInut, type InfInutAttributes, type InfNFeBuilder, type InfRespTecBuilder, type InfSolicNFFBuilder, type InutNFeAttributes, type InutilizacaoPayload, type InutilizacaoRequest, type InutilizacaoResponse, type IssIpiBuilder, type IssQnBuilder, type NFCe$1 as NFCe, NFCe as NFCeDto, type NFCeProc, type NFe$1 as NFe, type NFeAttributes, NFe as NFeDto, type NFeProc, type NFeProcAttributes, NfceAuthorizerPipeline, NfceConsultStatusPipeline, NfceQrcode, type NfceQrcodeOptions, type NfceQrcodeOptions200, type NfceQrcodeOptions300, type NfceQrcodeOptionsBase, type NfceRemoteClient, NfceRemoteTransmitter, type NfceTransmitter, type NfceTransmitterOptions, NfceXmlBuilder, NfceXmlBuilderPipeline, NfeAuthorizationResponsePipeline, NfeAuthorizerPipeline, NfeConsultStatusPipeline, NfeCstatToProtocol, NfeDetXmlBuilder, NfeNfceCancelPipeline, NfeNfceVoidRangePipeline, type NfeRemoteClient, NfeRemoteTransmitter, type NfeTransmitter, type NfeTransmitterOptions, NfeXmlBuilder, NfeXmlBuilderPipeline, type OptionalSharedImpostoBuilder, type PagBuilder, type PipelineAuthorizerResponse, type PisBuilder, type PisStBuilder, type ProcEventoNFe, type ProdBuilder, type RetAutorizacaoPayload, type RetAutorizacaoRequest, type RetAutorizacaoResponse, type RetCancNFe, type RetEvento, type RetEventoItem, type RetiradaBuilder, type Schema, type SynchronousAutorizacaoResponse, type TotalBuilder, type TotalBuilderAggregator, TpEmis, TpEvent, type TranspBuilder, type VerifiedAccessKey, type VoidRangePayload, schemas };
5185
+ export { type AccessKey, AccessKeyBuilder, type AssembleDetXmlBuilder, type AssembleNfeBuilder, type AsynchronousAutorizacaoResponse, type AutXMLBuilder, type AutorizacaoPayload, type AutorizacaoRequest, type AutorizacaoResponse, type AvulsaBuilder, type CanaBuilder, type CobrBuilder, type CofinsBuilder, type CofinsStBuilder, type CompraBuilder, type ConsultStatusPayload, type ConsultStatusRequest, type ConsultStatusResponse, type ConsultaCadastroPayload, type ConsultaCadastroRequest, type ConsultaCadastroResponse, type ConsultaProtocoloPayload, type ConsultaProtocoloRequest, type ConsultaProtocoloResponse, type ContingencyOptions, DanfceDefaultPdfDocument, DanfceReducedPdfDocument, DefaultDetBuilderAggregator, DefaultTotalBuilderAggregator, type DestBuilder, type DetBuilder, type DetBuilderAggregator, type DetEventoCancelamento, type DetGroupBuilder, type EmitBuilder, type EntregaBuilder, type EventoCancelamento, type EventoItem, type EventoItemAttributes, type EventoLotePayload, type EventoLoteResponse, type EventoPayload, type EventoRequest, type EventoResponse, type ExportaBuilder, type IIBuilder, type INfeDetXmlBuilder, type INfeXmlBuilder, type IbscbsBuilder, type IcmsBuilder, type IcmsIpiBuilder, type IcmsOrIssQnBuilder, type IcmsufdestBuilder, type IdeBuilder, type ImpostoBuilder, type InfAdicBuilder, type InfEvento, type InfEventoAttributes, type InfIntermedBuilder, type InfInut, type InfInutAttributes, type InfNFeBuilder, type InfRespTecBuilder, type InfSolicNFFBuilder, type InutNFeAttributes, type InutilizacaoPayload, type InutilizacaoRequest, type InutilizacaoResponse, type IssIpiBuilder, type IssQnBuilder, type NFCe$1 as NFCe, NFCe as NFCeDto, type NFCeProc, type NFe$1 as NFe, type NFeAttributes, NFe as NFeDto, type NFeProc, type NFeProcAttributes, NfceAuthorizerPipeline, NfceConsultStatusPipeline, NfceQrcode, type NfceQrcodeOptions, type NfceQrcodeOptions200, type NfceQrcodeOptions300, type NfceQrcodeOptionsBase, type NfceRemoteClient, NfceRemoteTransmitter, type NfceTransmitter, type NfceTransmitterOptions, NfceXmlBuilder, NfceXmlBuilderPipeline, NfeAuthorizationResponsePipeline, NfeAuthorizerPipeline, NfeConsultStatusPipeline, NfeCstatToProtocol, NfeDetXmlBuilder, NfeNfceCancelPipeline, NfeNfceVoidRangePipeline, type NfeRemoteClient, NfeRemoteTransmitter, type NfeTransmitter, type NfeTransmitterOptions, NfeXmlBuilder, NfeXmlBuilderPipeline, type OptionalSharedImpostoBuilder, type PagBuilder, type PipelineAuthorizerResponse, type PisBuilder, type PisStBuilder, type ProcEventoNFe, type ProdBuilder, type RetAutorizacaoPayload, type RetAutorizacaoRequest, type RetAutorizacaoResponse, type RetCancNFe, type RetEvento, type RetEventoItem, type RetiradaBuilder, type Schema, type SynchronousAutorizacaoResponse, type TotalBuilder, type TotalBuilderAggregator, TpEmis, TpEvent, type TranspBuilder, type VerifiedAccessKey, type VoidRangePayload, schemas, type vItemBuilder };
@@ -1,2 +1,2 @@
1
1
  import { createRequire } from 'module'; const require = createRequire(import.meta.url);
2
- import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y}from"../chunk-T743N7YC.mjs";import"../chunk-ZJDU5BRP.mjs";import"../chunk-W6MRGYXP.mjs";export{d as AccessKeyBuilder,x as DanfceDefaultPdfDocument,y as DanfceReducedPdfDocument,e as DefaultDetBuilderAggregator,f as DefaultTotalBuilderAggregator,u as NFCeDto,q as NFeDto,k as NfceAuthorizerPipeline,m as NfceConsultStatusPipeline,j as NfceQrcode,i as NfceRemoteTransmitter,v as NfceXmlBuilder,w as NfceXmlBuilderPipeline,n as NfeAuthorizationResponsePipeline,h as NfeAuthorizerPipeline,l as NfeConsultStatusPipeline,r as NfeDetXmlBuilder,o as NfeNfceCancelPipeline,p as NfeNfceVoidRangePipeline,g as NfeRemoteTransmitter,s as NfeXmlBuilder,t as NfeXmlBuilderPipeline,a as TpEmis,b as TpEvent,c as schemas};
2
+ import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y}from"../chunk-PMJZHYL3.mjs";import"../chunk-EF64O2NU.mjs";import"../chunk-W6MRGYXP.mjs";export{d as AccessKeyBuilder,x as DanfceDefaultPdfDocument,y as DanfceReducedPdfDocument,e as DefaultDetBuilderAggregator,f as DefaultTotalBuilderAggregator,u as NFCeDto,q as NFeDto,k as NfceAuthorizerPipeline,m as NfceConsultStatusPipeline,j as NfceQrcode,i as NfceRemoteTransmitter,v as NfceXmlBuilder,w as NfceXmlBuilderPipeline,n as NfeAuthorizationResponsePipeline,h as NfeAuthorizerPipeline,l as NfeConsultStatusPipeline,r as NfeDetXmlBuilder,o as NfeNfceCancelPipeline,p as NfeNfceVoidRangePipeline,g as NfeRemoteTransmitter,s as NfeXmlBuilder,t as NfeXmlBuilderPipeline,a as TpEmis,b as TpEvent,c as schemas};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nfets",
3
- "version": "0.0.62",
3
+ "version": "0.0.64",
4
4
  "description": "typescript libraries for Brazilian's SEFAZ standards",
5
5
  "type": "module",
6
6
  "main": "./dist/index.mjs",
@@ -0,0 +1,88 @@
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:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/nfe" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified" attributeFormDefault="unqualified">
4
+ <xs:include schemaLocation="tiposBasico_v1.03.xsd"/>
5
+ <xs:element name="detEvento">
6
+ <xs:annotation>
7
+ <xs:documentation>Schema XML de validação do evento de Ator Interessado na NF-e - Transportador (110150)”</xs:documentation>
8
+ </xs:annotation>
9
+ <xs:complexType>
10
+ <xs:sequence>
11
+ <xs:element name="descEvento">
12
+ <xs:annotation>
13
+ <xs:documentation>Descrição do Evento - "Ator interessado na NF-e”"</xs:documentation>
14
+ </xs:annotation>
15
+ <xs:simpleType>
16
+ <xs:restriction base="TString">
17
+ <xs:whiteSpace value="preserve"/>
18
+ <xs:enumeration value="Ator interessado na NF-e"/>
19
+ </xs:restriction>
20
+ </xs:simpleType>
21
+ </xs:element>
22
+ <xs:element name="cOrgaoAutor" type="TCodUfIBGE"/>
23
+ <xs:element name="tpAutor">
24
+ <xs:annotation>
25
+ <xs:documentation>Tipo do Órgão Autor do Evento. Informar uma das opções 1=Geração do Evento pelo Emitente; 2=Geração do Evento pelo Destinatário; 3=Geração do Evento pelo Transportador
26
+ Outros valores: 1=Empresa Emitente, 2=Empresa destinatária; 3=Empresa; 5=Fisco; 6=RFB; 9=Outros Órgãos;</xs:documentation>
27
+ </xs:annotation>
28
+ <xs:simpleType>
29
+ <xs:restriction base="xs:string">
30
+ <xs:whiteSpace value="preserve"/>
31
+ <xs:enumeration value="1"/>
32
+ <xs:enumeration value="2"/>
33
+ <xs:enumeration value="3"/>
34
+ </xs:restriction>
35
+ </xs:simpleType>
36
+ </xs:element>
37
+ <xs:element name="verAplic" type="TVerAplic">
38
+ <xs:annotation>
39
+ <xs:documentation>Versão do aplicativo do Autor do Evento.</xs:documentation>
40
+ </xs:annotation>
41
+ </xs:element>
42
+ <xs:element name="autXML">
43
+ <xs:annotation>
44
+ <xs:documentation>Pessoas autorizadas a acessar o XML da NF-e</xs:documentation>
45
+ </xs:annotation>
46
+ <xs:complexType>
47
+ <xs:choice>
48
+ <xs:element name="CNPJ" type="TCnpj"/>
49
+ <xs:element name="CPF" type="TCpf"/>
50
+ </xs:choice>
51
+ </xs:complexType>
52
+ </xs:element>
53
+ <xs:element name="tpAutorizacao" minOccurs="0">
54
+ <xs:annotation>
55
+ <xs:documentation>0 – Não permite; 1 – Permite o transportador autorizado pelo emitente ou destinatário autorizar outros transportadores para ter acesso ao download da NF-e
56
+ </xs:documentation>
57
+ </xs:annotation>
58
+ <xs:simpleType>
59
+ <xs:restriction base="xs:string">
60
+ <xs:whiteSpace value="preserve"/>
61
+ <xs:enumeration value="0"/>
62
+ <xs:enumeration value="1"/>
63
+ </xs:restriction>
64
+ </xs:simpleType>
65
+ </xs:element>
66
+ <xs:element name="xCondUso" minOccurs="0">
67
+ <xs:annotation>
68
+ <xs:documentation>Texto Fixo com as Condição de uso do tipo de autorização para o transportador: </xs:documentation>
69
+ </xs:annotation>
70
+ <xs:simpleType>
71
+ <xs:restriction base="xs:string">
72
+ <xs:whiteSpace value="preserve"/>
73
+ <xs:enumeration value="O emitente ou destinatário da NF-e, declara que permite o transportador declarado no campo CNPJ/CPF deste evento a autorizar os transportadores subcontratados ou redespachados a terem acesso ao download da NF-e"/>
74
+ </xs:restriction>
75
+ </xs:simpleType>
76
+ </xs:element>
77
+ </xs:sequence>
78
+ <xs:attribute name="versao" use="required">
79
+ <xs:simpleType>
80
+ <xs:restriction base="xs:string">
81
+ <xs:whiteSpace value="preserve"/>
82
+ <xs:enumeration value="1.00"/>
83
+ </xs:restriction>
84
+ </xs:simpleType>
85
+ </xs:attribute>
86
+ </xs:complexType>
87
+ </xs:element>
88
+ </xs:schema>
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- 03-03-2011 - correcao do nome da tag raiz -->
3
+ <!-- PL_006CC CCe 16/06/2010 -->
4
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/nfe" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified" attributeFormDefault="unqualified">
5
+ <xs:include schemaLocation="leiauteAverb_v1.00.xsd"/>
6
+ <xs:element name="evento" type="TEvento">
7
+ <xs:annotation>
8
+ <xs:documentation>Schema XML de validação do evento de Averbação da NFe</xs:documentation>
9
+ </xs:annotation>
10
+ </xs:element>
11
+ </xs:schema>
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!-- 03-03-2011 - correcao do nome da tag raiz -->
3
+ <!-- PL_006CC CCe 16/06/2010 -->
4
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/nfe" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified" attributeFormDefault="unqualified">
5
+ <xs:include schemaLocation="leiauteCCe_v1.00.xsd"/>
6
+ <xs:element name="evento" type="TEvento">
7
+ <xs:annotation>
8
+ <xs:documentation>Schema XML de validação do evento Carta de Correção</xs:documentation>
9
+ </xs:annotation>
10
+ </xs:element>
11
+ </xs:schema>