nuvemfiscal_sdk_ruby 0.0.1

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 (1417) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +757 -0
  4. data/Rakefile +10 -0
  5. data/docs/AtvEvento.md +30 -0
  6. data/docs/BeneficioMunicipal.md +24 -0
  7. data/docs/CServ.md +26 -0
  8. data/docs/CepApi.md +82 -0
  9. data/docs/CepEndereco.md +32 -0
  10. data/docs/CnpjApi.md +169 -0
  11. data/docs/CnpjCnae.md +20 -0
  12. data/docs/CnpjCnaeSecundario.md +20 -0
  13. data/docs/CnpjEmpresa.md +60 -0
  14. data/docs/CnpjEndereco.md +32 -0
  15. data/docs/CnpjFaixaEtaria.md +20 -0
  16. data/docs/CnpjIdentificadorSocio.md +20 -0
  17. data/docs/CnpjListagem.md +20 -0
  18. data/docs/CnpjMotivoSituacaoCadastral.md +22 -0
  19. data/docs/CnpjMunicipio.md +22 -0
  20. data/docs/CnpjNaturezaJuridica.md +20 -0
  21. data/docs/CnpjOpcaoSimei.md +22 -0
  22. data/docs/CnpjOpcaoSimples.md +22 -0
  23. data/docs/CnpjPais.md +20 -0
  24. data/docs/CnpjPorteEmpresa.md +20 -0
  25. data/docs/CnpjQualificacaoSocio.md +20 -0
  26. data/docs/CnpjRepresentanteLegal.md +22 -0
  27. data/docs/CnpjSituacaoCadastral.md +22 -0
  28. data/docs/CnpjSituacaoEspecial.md +22 -0
  29. data/docs/CnpjSocio.md +32 -0
  30. data/docs/CnpjTelefone.md +20 -0
  31. data/docs/ComExterior.md +36 -0
  32. data/docs/ContaApi.md +150 -0
  33. data/docs/ContaCota.md +22 -0
  34. data/docs/ContaCotaListagem.md +20 -0
  35. data/docs/CteApi.md +1515 -0
  36. data/docs/CteCartaCorrecao.md +46 -0
  37. data/docs/CteInfCorrecao.md +24 -0
  38. data/docs/CtePedidoCancelamento.md +18 -0
  39. data/docs/CtePedidoCartaCorrecao.md +18 -0
  40. data/docs/CtePedidoEmissao.md +24 -0
  41. data/docs/CteSefazAereo.md +28 -0
  42. data/docs/CteSefazAquav.md +34 -0
  43. data/docs/CteSefazAutXML.md +20 -0
  44. data/docs/CteSefazBalsa.md +18 -0
  45. data/docs/CteSefazCobr.md +20 -0
  46. data/docs/CteSefazComData.md +20 -0
  47. data/docs/CteSefazComHora.md +20 -0
  48. data/docs/CteSefazComp.md +20 -0
  49. data/docs/CteSefazCompl.md +36 -0
  50. data/docs/CteSefazDest.md +32 -0
  51. data/docs/CteSefazDetCont.md +22 -0
  52. data/docs/CteSefazDetContInfDoc.md +20 -0
  53. data/docs/CteSefazDetContInfDocInfNF.md +22 -0
  54. data/docs/CteSefazDetContInfDocInfNFe.md +20 -0
  55. data/docs/CteSefazDocAnt.md +18 -0
  56. data/docs/CteSefazDup.md +22 -0
  57. data/docs/CteSefazDuto.md +22 -0
  58. data/docs/CteSefazEmiDocAnt.md +28 -0
  59. data/docs/CteSefazEmiOcc.md +26 -0
  60. data/docs/CteSefazEmit.md +32 -0
  61. data/docs/CteSefazEndeEmi.md +34 -0
  62. data/docs/CteSefazEnderFer.md +32 -0
  63. data/docs/CteSefazEndereco.md +36 -0
  64. data/docs/CteSefazEntrega.md +28 -0
  65. data/docs/CteSefazExped.md +30 -0
  66. data/docs/CteSefazFat.md +24 -0
  67. data/docs/CteSefazFerroEnv.md +26 -0
  68. data/docs/CteSefazFerrov.md +22 -0
  69. data/docs/CteSefazFluxo.md +24 -0
  70. data/docs/CteSefazICMS00.md +24 -0
  71. data/docs/CteSefazICMS20.md +30 -0
  72. data/docs/CteSefazICMS45.md +22 -0
  73. data/docs/CteSefazICMS60.md +30 -0
  74. data/docs/CteSefazICMS90.md +32 -0
  75. data/docs/CteSefazICMSOutraUF.md +30 -0
  76. data/docs/CteSefazICMSSN.md +20 -0
  77. data/docs/CteSefazICMSUFFim.md +30 -0
  78. data/docs/CteSefazIdDocAnt.md +20 -0
  79. data/docs/CteSefazIdDocAntEle.md +18 -0
  80. data/docs/CteSefazIdDocAntPap.md +26 -0
  81. data/docs/CteSefazIde.md +84 -0
  82. data/docs/CteSefazImp.md +30 -0
  83. data/docs/CteSefazInfCTeMultimodal.md +18 -0
  84. data/docs/CteSefazInfCTeNorm.md +34 -0
  85. data/docs/CteSefazInfCTeSupl.md +18 -0
  86. data/docs/CteSefazInfCarga.md +26 -0
  87. data/docs/CteSefazInfCte.md +48 -0
  88. data/docs/CteSefazInfCteComp.md +18 -0
  89. data/docs/CteSefazInfCteImp.md +24 -0
  90. data/docs/CteSefazInfCteSub.md +20 -0
  91. data/docs/CteSefazInfDoc.md +22 -0
  92. data/docs/CteSefazInfGlobalizado.md +18 -0
  93. data/docs/CteSefazInfModal.md +30 -0
  94. data/docs/CteSefazInfNF.md +52 -0
  95. data/docs/CteSefazInfNFe.md +26 -0
  96. data/docs/CteSefazInfOutros.md +32 -0
  97. data/docs/CteSefazInfQ.md +22 -0
  98. data/docs/CteSefazInfSeg.md +20 -0
  99. data/docs/CteSefazInfServVinc.md +18 -0
  100. data/docs/CteSefazInfSolicNFF.md +18 -0
  101. data/docs/CteSefazInfTotAP.md +20 -0
  102. data/docs/CteSefazLacUnidCarga.md +18 -0
  103. data/docs/CteSefazLacUnidTransp.md +18 -0
  104. data/docs/CteSefazLacre.md +18 -0
  105. data/docs/CteSefazMultimodal.md +22 -0
  106. data/docs/CteSefazNatCarga.md +20 -0
  107. data/docs/CteSefazNoInter.md +22 -0
  108. data/docs/CteSefazNoPeriodo.md +22 -0
  109. data/docs/CteSefazObsCont.md +20 -0
  110. data/docs/CteSefazObsFisco.md +20 -0
  111. data/docs/CteSefazOcc.md +24 -0
  112. data/docs/CteSefazPass.md +18 -0
  113. data/docs/CteSefazPeri.md +22 -0
  114. data/docs/CteSefazReceb.md +30 -0
  115. data/docs/CteSefazRem.md +32 -0
  116. data/docs/CteSefazRespTec.md +28 -0
  117. data/docs/CteSefazRodo.md +20 -0
  118. data/docs/CteSefazSeg.md +22 -0
  119. data/docs/CteSefazSemData.md +18 -0
  120. data/docs/CteSefazSemHora.md +18 -0
  121. data/docs/CteSefazTarifa.md +22 -0
  122. data/docs/CteSefazToma3.md +18 -0
  123. data/docs/CteSefazToma4.md +34 -0
  124. data/docs/CteSefazTrafMut.md +26 -0
  125. data/docs/CteSefazUnidCarga.md +24 -0
  126. data/docs/CteSefazUnidadeTransp.md +26 -0
  127. data/docs/CteSefazVPrest.md +22 -0
  128. data/docs/CteSefazVeicNovos.md +28 -0
  129. data/docs/DPS.md +20 -0
  130. data/docs/Dfe.md +42 -0
  131. data/docs/DfeAutorEvento.md +18 -0
  132. data/docs/DfeAutorizacao.md +46 -0
  133. data/docs/DfeCancelamento.md +46 -0
  134. data/docs/DfeCartaCorrecao.md +46 -0
  135. data/docs/DfeContribuinteEndereco.md +38 -0
  136. data/docs/DfeContribuinteInfCad.md +50 -0
  137. data/docs/DfeContribuinteInfCons.md +34 -0
  138. data/docs/DfeEvento.md +44 -0
  139. data/docs/DfeEventoListagem.md +20 -0
  140. data/docs/DfeInutilizacao.md +58 -0
  141. data/docs/DfeListagem.md +20 -0
  142. data/docs/DfeLote.md +32 -0
  143. data/docs/DfeLoteListagem.md +20 -0
  144. data/docs/DfePedidoEnvioEmail.md +18 -0
  145. data/docs/DfePedidoInutilizacao.md +30 -0
  146. data/docs/DfeRecibo.md +28 -0
  147. data/docs/DfeSefazStatus.md +30 -0
  148. data/docs/DfeSincronizacao.md +26 -0
  149. data/docs/DistribuicaoNfe.md +46 -0
  150. data/docs/DistribuicaoNfeDocumento.md +52 -0
  151. data/docs/DistribuicaoNfeDocumentoListagem.md +20 -0
  152. data/docs/DistribuicaoNfeEvento.md +44 -0
  153. data/docs/DistribuicaoNfeListagem.md +20 -0
  154. data/docs/DistribuicaoNfeNota.md +32 -0
  155. data/docs/DistribuicaoNfeNotaListagem.md +20 -0
  156. data/docs/DistribuicaoNfePedido.md +32 -0
  157. data/docs/DistribuicaoNfePedidoManifestacao.md +26 -0
  158. data/docs/DistribuioNFEApi.md +880 -0
  159. data/docs/DocDedRed.md +40 -0
  160. data/docs/DocNFNFS.md +22 -0
  161. data/docs/DocOutNFSe.md +22 -0
  162. data/docs/Email.md +34 -0
  163. data/docs/EmailApi.md +169 -0
  164. data/docs/EmailAttachment.md +20 -0
  165. data/docs/EmailEvent.md +24 -0
  166. data/docs/EmailListagem.md +20 -0
  167. data/docs/EmailResumo.md +26 -0
  168. data/docs/EmailStatusResponse.md +22 -0
  169. data/docs/Empresa.md +36 -0
  170. data/docs/EmpresaApi.md +1947 -0
  171. data/docs/EmpresaCertificado.md +32 -0
  172. data/docs/EmpresaConfigCte.md +20 -0
  173. data/docs/EmpresaConfigDistribuicaoNfe.md +22 -0
  174. data/docs/EmpresaConfigMdfe.md +18 -0
  175. data/docs/EmpresaConfigNfce.md +22 -0
  176. data/docs/EmpresaConfigNfceSefaz.md +20 -0
  177. data/docs/EmpresaConfigNfcom.md +20 -0
  178. data/docs/EmpresaConfigNfe.md +20 -0
  179. data/docs/EmpresaConfigNfse.md +26 -0
  180. data/docs/EmpresaConfigNfseRegTrib.md +22 -0
  181. data/docs/EmpresaConfigPrefeitura.md +22 -0
  182. data/docs/EmpresaConfigRps.md +22 -0
  183. data/docs/EmpresaEndereco.md +36 -0
  184. data/docs/EmpresaListagem.md +20 -0
  185. data/docs/EmpresaPedidoCadastroCertificado.md +20 -0
  186. data/docs/EnderExt.md +24 -0
  187. data/docs/EnderExtSimples.md +22 -0
  188. data/docs/EnderNac.md +20 -0
  189. data/docs/Endereco.md +28 -0
  190. data/docs/EnderecoEmail.md +18 -0
  191. data/docs/EnderecoSimples.md +28 -0
  192. data/docs/ExigSuspensa.md +20 -0
  193. data/docs/ExploracaoRodoviaria.md +30 -0
  194. data/docs/InfDPS.md +36 -0
  195. data/docs/InfoCompl.md +22 -0
  196. data/docs/InfoDedRed.md +22 -0
  197. data/docs/InfoFornecDocDedRed.md +36 -0
  198. data/docs/InfoIntermediario.md +36 -0
  199. data/docs/InfoObra.md +22 -0
  200. data/docs/InfoPrestador.md +20 -0
  201. data/docs/InfoTomador.md +38 -0
  202. data/docs/InfoTributacao.md +22 -0
  203. data/docs/InfoValores.md +24 -0
  204. data/docs/ListaDocDedRed.md +18 -0
  205. data/docs/LocPrest.md +20 -0
  206. data/docs/LocacaoSublocacao.md +24 -0
  207. data/docs/ManifestacaoNfeListagem.md +20 -0
  208. data/docs/MdfeApi.md +1979 -0
  209. data/docs/MdfeDocumentoVinculado.md +22 -0
  210. data/docs/MdfeEncerramento.md +50 -0
  211. data/docs/MdfeInclusaoCondutor.md +48 -0
  212. data/docs/MdfeInclusaoDfe.md +50 -0
  213. data/docs/MdfeNaoEncerrado.md +20 -0
  214. data/docs/MdfeNaoEncerrados.md +28 -0
  215. data/docs/MdfePedidoCancelamento.md +18 -0
  216. data/docs/MdfePedidoEmissao.md +24 -0
  217. data/docs/MdfePedidoEmissaoLote.md +24 -0
  218. data/docs/MdfePedidoEncerramento.md +22 -0
  219. data/docs/MdfePedidoInclusaoCondutor.md +20 -0
  220. data/docs/MdfePedidoInclusaoDfe.md +24 -0
  221. data/docs/MdfeSefazAereo.md +28 -0
  222. data/docs/MdfeSefazAquav.md +44 -0
  223. data/docs/MdfeSefazAutXML.md +20 -0
  224. data/docs/MdfeSefazComp.md +22 -0
  225. data/docs/MdfeSefazCondutor.md +20 -0
  226. data/docs/MdfeSefazDisp.md +28 -0
  227. data/docs/MdfeSefazEmit.md +28 -0
  228. data/docs/MdfeSefazEndeEmi.md +36 -0
  229. data/docs/MdfeSefazFerrov.md +20 -0
  230. data/docs/MdfeSefazIde.md +58 -0
  231. data/docs/MdfeSefazInfANTT.md +26 -0
  232. data/docs/MdfeSefazInfAdic.md +20 -0
  233. data/docs/MdfeSefazInfBanc.md +24 -0
  234. data/docs/MdfeSefazInfCIOT.md +22 -0
  235. data/docs/MdfeSefazInfCTe.md +28 -0
  236. data/docs/MdfeSefazInfContratante.md +26 -0
  237. data/docs/MdfeSefazInfContrato.md +20 -0
  238. data/docs/MdfeSefazInfDoc.md +18 -0
  239. data/docs/MdfeSefazInfEmbComb.md +20 -0
  240. data/docs/MdfeSefazInfEntregaParcial.md +20 -0
  241. data/docs/MdfeSefazInfLocalCarrega.md +22 -0
  242. data/docs/MdfeSefazInfLocalDescarrega.md +22 -0
  243. data/docs/MdfeSefazInfLotacao.md +20 -0
  244. data/docs/MdfeSefazInfMDFe.md +44 -0
  245. data/docs/MdfeSefazInfMDFeSupl.md +18 -0
  246. data/docs/MdfeSefazInfMDFeTransp.md +24 -0
  247. data/docs/MdfeSefazInfMDFeTranspPeri.md +28 -0
  248. data/docs/MdfeSefazInfModal.md +26 -0
  249. data/docs/MdfeSefazInfMunCarrega.md +20 -0
  250. data/docs/MdfeSefazInfMunDescarga.md +26 -0
  251. data/docs/MdfeSefazInfNFe.md +26 -0
  252. data/docs/MdfeSefazInfNFePeri.md +28 -0
  253. data/docs/MdfeSefazInfPag.md +42 -0
  254. data/docs/MdfeSefazInfPercurso.md +18 -0
  255. data/docs/MdfeSefazInfPrazo.md +22 -0
  256. data/docs/MdfeSefazInfResp.md +22 -0
  257. data/docs/MdfeSefazInfSeg.md +20 -0
  258. data/docs/MdfeSefazInfSolicNFF.md +18 -0
  259. data/docs/MdfeSefazInfTermCarreg.md +20 -0
  260. data/docs/MdfeSefazInfTermDescarreg.md +20 -0
  261. data/docs/MdfeSefazInfUnidCargaVazia.md +20 -0
  262. data/docs/MdfeSefazInfUnidTranspVazia.md +20 -0
  263. data/docs/MdfeSefazLacRodo.md +18 -0
  264. data/docs/MdfeSefazLacUnidCarga.md +18 -0
  265. data/docs/MdfeSefazLacUnidTransp.md +18 -0
  266. data/docs/MdfeSefazLacres.md +18 -0
  267. data/docs/MdfeSefazPeri.md +28 -0
  268. data/docs/MdfeSefazProdPred.md +26 -0
  269. data/docs/MdfeSefazProp.md +30 -0
  270. data/docs/MdfeSefazRespTec.md +28 -0
  271. data/docs/MdfeSefazRodo.md +26 -0
  272. data/docs/MdfeSefazSeg.md +24 -0
  273. data/docs/MdfeSefazTot.md +28 -0
  274. data/docs/MdfeSefazTrem.md +26 -0
  275. data/docs/MdfeSefazUnidCarga.md +24 -0
  276. data/docs/MdfeSefazUnidadeTransp.md +26 -0
  277. data/docs/MdfeSefazVag.md +30 -0
  278. data/docs/MdfeSefazValePed.md +20 -0
  279. data/docs/MdfeSefazVeicReboque.md +34 -0
  280. data/docs/MdfeSefazVeicReboqueProp.md +30 -0
  281. data/docs/MdfeSefazVeicTracao.md +38 -0
  282. data/docs/NfceApi.md +2173 -0
  283. data/docs/NfcomApi.md +775 -0
  284. data/docs/NfcomPedidoCancelamento.md +18 -0
  285. data/docs/NfcomPedidoEmissao.md +22 -0
  286. data/docs/NfcomSefazAssinante.md +36 -0
  287. data/docs/NfcomSefazAutXML.md +20 -0
  288. data/docs/NfcomSefazCOFINS.md +24 -0
  289. data/docs/NfcomSefazDest.md +32 -0
  290. data/docs/NfcomSefazDet.md +34 -0
  291. data/docs/NfcomSefazEmit.md +30 -0
  292. data/docs/NfcomSefazEndeDest.md +40 -0
  293. data/docs/NfcomSefazEndeEmi.md +36 -0
  294. data/docs/NfcomSefazFUNTTEL.md +22 -0
  295. data/docs/NfcomSefazFUST.md +22 -0
  296. data/docs/NfcomSefazGCofat.md +20 -0
  297. data/docs/NfcomSefazGCofatGNF.md +28 -0
  298. data/docs/NfcomSefazGFat.md +36 -0
  299. data/docs/NfcomSefazGFatCentral.md +20 -0
  300. data/docs/NfcomSefazGFidelidade.md +24 -0
  301. data/docs/NfcomSefazGNF.md +28 -0
  302. data/docs/NfcomSefazGPIX.md +18 -0
  303. data/docs/NfcomSefazGProc.md +20 -0
  304. data/docs/NfcomSefazGProcRef.md +42 -0
  305. data/docs/NfcomSefazGRessarc.md +26 -0
  306. data/docs/NfcomSefazGSub.md +22 -0
  307. data/docs/NfcomSefazICMS00.md +28 -0
  308. data/docs/NfcomSefazICMS20.md +34 -0
  309. data/docs/NfcomSefazICMS40.md +22 -0
  310. data/docs/NfcomSefazICMS51.md +22 -0
  311. data/docs/NfcomSefazICMS90.md +32 -0
  312. data/docs/NfcomSefazICMSSN.md +20 -0
  313. data/docs/NfcomSefazICMSTot.md +24 -0
  314. data/docs/NfcomSefazICMSUFDest.md +32 -0
  315. data/docs/NfcomSefazIde.md +54 -0
  316. data/docs/NfcomSefazImposto.md +42 -0
  317. data/docs/NfcomSefazInfAdic.md +20 -0
  318. data/docs/NfcomSefazInfNFCom.md +48 -0
  319. data/docs/NfcomSefazPIS.md +24 -0
  320. data/docs/NfcomSefazProd.md +42 -0
  321. data/docs/NfcomSefazRespTec.md +28 -0
  322. data/docs/NfcomSefazRetTrib.md +26 -0
  323. data/docs/NfcomSefazTotal.md +36 -0
  324. data/docs/NfcomSefazVRetTribTot.md +24 -0
  325. data/docs/NfeApi.md +2461 -0
  326. data/docs/NfePedidoCancelamento.md +18 -0
  327. data/docs/NfePedidoCartaCorrecao.md +18 -0
  328. data/docs/NfePedidoEmissao.md +24 -0
  329. data/docs/NfePedidoEmissaoLote.md +24 -0
  330. data/docs/NfeSefazAdi.md +26 -0
  331. data/docs/NfeSefazArma.md +24 -0
  332. data/docs/NfeSefazAutXML.md +20 -0
  333. data/docs/NfeSefazAvulsa.md +38 -0
  334. data/docs/NfeSefazCIDE.md +22 -0
  335. data/docs/NfeSefazCOFINS.md +24 -0
  336. data/docs/NfeSefazCOFINSAliq.md +24 -0
  337. data/docs/NfeSefazCOFINSNT.md +18 -0
  338. data/docs/NfeSefazCOFINSOutr.md +28 -0
  339. data/docs/NfeSefazCOFINSQtde.md +24 -0
  340. data/docs/NfeSefazCOFINSST.md +28 -0
  341. data/docs/NfeSefazCana.md +36 -0
  342. data/docs/NfeSefazCard.md +28 -0
  343. data/docs/NfeSefazCobr.md +20 -0
  344. data/docs/NfeSefazComb.md +42 -0
  345. data/docs/NfeSefazCompra.md +22 -0
  346. data/docs/NfeSefazDI.md +42 -0
  347. data/docs/NfeSefazDeduc.md +20 -0
  348. data/docs/NfeSefazDest.md +36 -0
  349. data/docs/NfeSefazDet.md +28 -0
  350. data/docs/NfeSefazDetExport.md +20 -0
  351. data/docs/NfeSefazDetPag.md +32 -0
  352. data/docs/NfeSefazDup.md +22 -0
  353. data/docs/NfeSefazEmit.md +36 -0
  354. data/docs/NfeSefazEncerrante.md +26 -0
  355. data/docs/NfeSefazEnderEmi.md +38 -0
  356. data/docs/NfeSefazEndereco.md +38 -0
  357. data/docs/NfeSefazExportInd.md +22 -0
  358. data/docs/NfeSefazExporta.md +22 -0
  359. data/docs/NfeSefazFat.md +24 -0
  360. data/docs/NfeSefazForDia.md +20 -0
  361. data/docs/NfeSefazGCred.md +22 -0
  362. data/docs/NfeSefazICMS.md +58 -0
  363. data/docs/NfeSefazICMS00.md +32 -0
  364. data/docs/NfeSefazICMS02.md +26 -0
  365. data/docs/NfeSefazICMS10.md +56 -0
  366. data/docs/NfeSefazICMS15.md +36 -0
  367. data/docs/NfeSefazICMS20.md +42 -0
  368. data/docs/NfeSefazICMS30.md +44 -0
  369. data/docs/NfeSefazICMS40.md +26 -0
  370. data/docs/NfeSefazICMS51.md +50 -0
  371. data/docs/NfeSefazICMS53.md +36 -0
  372. data/docs/NfeSefazICMS60.md +42 -0
  373. data/docs/NfeSefazICMS61.md +26 -0
  374. data/docs/NfeSefazICMS70.md +64 -0
  375. data/docs/NfeSefazICMS90.md +64 -0
  376. data/docs/NfeSefazICMSPart.md +52 -0
  377. data/docs/NfeSefazICMSSN101.md +24 -0
  378. data/docs/NfeSefazICMSSN102.md +20 -0
  379. data/docs/NfeSefazICMSSN201.md +42 -0
  380. data/docs/NfeSefazICMSSN202.md +38 -0
  381. data/docs/NfeSefazICMSSN500.md +42 -0
  382. data/docs/NfeSefazICMSSN900.md +52 -0
  383. data/docs/NfeSefazICMSST.md +46 -0
  384. data/docs/NfeSefazICMSTot.md +74 -0
  385. data/docs/NfeSefazICMSUFDest.md +34 -0
  386. data/docs/NfeSefazII.md +24 -0
  387. data/docs/NfeSefazIPINT.md +18 -0
  388. data/docs/NfeSefazIPITrib.md +28 -0
  389. data/docs/NfeSefazISSQN.md +48 -0
  390. data/docs/NfeSefazISSQNtot.md +40 -0
  391. data/docs/NfeSefazIde.md +64 -0
  392. data/docs/NfeSefazImposto.md +36 -0
  393. data/docs/NfeSefazImpostoDevol.md +20 -0
  394. data/docs/NfeSefazImpostoDevolIPI.md +18 -0
  395. data/docs/NfeSefazInfAdic.md +26 -0
  396. data/docs/NfeSefazInfAdicObsCont.md +20 -0
  397. data/docs/NfeSefazInfAdicObsFisco.md +20 -0
  398. data/docs/NfeSefazInfIntermed.md +20 -0
  399. data/docs/NfeSefazInfNFe.md +58 -0
  400. data/docs/NfeSefazInfNFeSupl.md +20 -0
  401. data/docs/NfeSefazInfProdEmb.md +22 -0
  402. data/docs/NfeSefazInfProdNFF.md +20 -0
  403. data/docs/NfeSefazInfRespTec.md +28 -0
  404. data/docs/NfeSefazInfSolicNFF.md +18 -0
  405. data/docs/NfeSefazIpi.md +28 -0
  406. data/docs/NfeSefazLacres.md +18 -0
  407. data/docs/NfeSefazLocal.md +48 -0
  408. data/docs/NfeSefazMed.md +22 -0
  409. data/docs/NfeSefazNFref.md +28 -0
  410. data/docs/NfeSefazObsCont.md +20 -0
  411. data/docs/NfeSefazObsFisco.md +20 -0
  412. data/docs/NfeSefazObsItem.md +20 -0
  413. data/docs/NfeSefazOrigComb.md +22 -0
  414. data/docs/NfeSefazPIS.md +24 -0
  415. data/docs/NfeSefazPISAliq.md +24 -0
  416. data/docs/NfeSefazPISNT.md +18 -0
  417. data/docs/NfeSefazPISOutr.md +28 -0
  418. data/docs/NfeSefazPISQtde.md +24 -0
  419. data/docs/NfeSefazPISST.md +28 -0
  420. data/docs/NfeSefazPag.md +20 -0
  421. data/docs/NfeSefazProcRef.md +22 -0
  422. data/docs/NfeSefazProd.md +96 -0
  423. data/docs/NfeSefazRastro.md +26 -0
  424. data/docs/NfeSefazRefECF.md +22 -0
  425. data/docs/NfeSefazRefNF.md +28 -0
  426. data/docs/NfeSefazRefNFP.md +32 -0
  427. data/docs/NfeSefazRetTransp.md +28 -0
  428. data/docs/NfeSefazRetTrib.md +30 -0
  429. data/docs/NfeSefazTotal.md +22 -0
  430. data/docs/NfeSefazTransp.md +32 -0
  431. data/docs/NfeSefazTransporta.md +30 -0
  432. data/docs/NfeSefazVeicProd.md +64 -0
  433. data/docs/NfeSefazVeiculo.md +22 -0
  434. data/docs/NfeSefazVol.md +30 -0
  435. data/docs/Nfse.md +42 -0
  436. data/docs/NfseApi.md +1311 -0
  437. data/docs/NfseCancelamento.md +28 -0
  438. data/docs/NfseCidadeMetadados.md +28 -0
  439. data/docs/NfseCidadesAtendidas.md +20 -0
  440. data/docs/NfseDpsPedidoEmissao.md +24 -0
  441. data/docs/NfseListagem.md +20 -0
  442. data/docs/NfseLoteDpsPedidoEmissao.md +24 -0
  443. data/docs/NfseMensagemRetorno.md +22 -0
  444. data/docs/NfsePedidoCancelamento.md +20 -0
  445. data/docs/NfsePedidoEmissao.md +20 -0
  446. data/docs/NfsePedidoSincronizacao.md +18 -0
  447. data/docs/NfseSincronizacao.md +20 -0
  448. data/docs/Rps.md +34 -0
  449. data/docs/RpsDados.md +20 -0
  450. data/docs/RpsDadosConstrucaoCivil.md +20 -0
  451. data/docs/RpsDadosIntermediario.md +22 -0
  452. data/docs/RpsDadosPrestador.md +40 -0
  453. data/docs/RpsDadosServico.md +46 -0
  454. data/docs/RpsDadosTomador.md +28 -0
  455. data/docs/RpsDadosTomadorEndereco.md +36 -0
  456. data/docs/RpsIdentificacao.md +22 -0
  457. data/docs/RpsIdentificacaoPrestador.md +18 -0
  458. data/docs/RpsLote.md +30 -0
  459. data/docs/RpsLoteListagem.md +20 -0
  460. data/docs/RpsPedidoEmissao.md +36 -0
  461. data/docs/RpsPedidoEmissaoLote.md +22 -0
  462. data/docs/RpsServicoValores.md +56 -0
  463. data/docs/Serv.md +32 -0
  464. data/docs/Substituicao.md +22 -0
  465. data/docs/TribFederal.md +24 -0
  466. data/docs/TribMunicipal.md +38 -0
  467. data/docs/TribOutrosPisCofins.md +30 -0
  468. data/docs/TribTotal.md +24 -0
  469. data/docs/TribTotalMonet.md +22 -0
  470. data/docs/TribTotalPercent.md +22 -0
  471. data/docs/VDescCondIncond.md +20 -0
  472. data/docs/VServPrest.md +20 -0
  473. data/git_push.sh +57 -0
  474. data/lib/nuvemfiscal_sdk_ruby/api/cep_api.rb +85 -0
  475. data/lib/nuvemfiscal_sdk_ruby/api/cnpj_api.rb +172 -0
  476. data/lib/nuvemfiscal_sdk_ruby/api/conta_api.rb +138 -0
  477. data/lib/nuvemfiscal_sdk_ruby/api/cte_api.rb +1316 -0
  478. data/lib/nuvemfiscal_sdk_ruby/api/distribuio_nfe_api.rb +806 -0
  479. data/lib/nuvemfiscal_sdk_ruby/api/email_api.rb +164 -0
  480. data/lib/nuvemfiscal_sdk_ruby/api/empresa_api.rb +1738 -0
  481. data/lib/nuvemfiscal_sdk_ruby/api/mdfe_api.rb +1740 -0
  482. data/lib/nuvemfiscal_sdk_ruby/api/nfce_api.rb +1946 -0
  483. data/lib/nuvemfiscal_sdk_ruby/api/nfcom_api.rb +688 -0
  484. data/lib/nuvemfiscal_sdk_ruby/api/nfe_api.rb +2176 -0
  485. data/lib/nuvemfiscal_sdk_ruby/api/nfse_api.rb +1167 -0
  486. data/lib/nuvemfiscal_sdk_ruby/api_client.rb +394 -0
  487. data/lib/nuvemfiscal_sdk_ruby/api_error.rb +58 -0
  488. data/lib/nuvemfiscal_sdk_ruby/configuration.rb +315 -0
  489. data/lib/nuvemfiscal_sdk_ruby/models/atv_evento.rb +381 -0
  490. data/lib/nuvemfiscal_sdk_ruby/models/beneficio_municipal.rb +284 -0
  491. data/lib/nuvemfiscal_sdk_ruby/models/c_serv.rb +289 -0
  492. data/lib/nuvemfiscal_sdk_ruby/models/cep_endereco.rb +277 -0
  493. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_cnae.rb +226 -0
  494. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_cnae_secundario.rb +226 -0
  495. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_empresa.rb +418 -0
  496. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_endereco.rb +285 -0
  497. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_faixa_etaria.rb +226 -0
  498. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_identificador_socio.rb +226 -0
  499. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_listagem.rb +225 -0
  500. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_motivo_situacao_cadastral.rb +236 -0
  501. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_municipio.rb +236 -0
  502. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_natureza_juridica.rb +226 -0
  503. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_opcao_simei.rb +238 -0
  504. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_opcao_simples.rb +238 -0
  505. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_pais.rb +226 -0
  506. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_porte_empresa.rb +226 -0
  507. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_qualificacao_socio.rb +226 -0
  508. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_representante_legal.rb +235 -0
  509. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_situacao_cadastral.rb +236 -0
  510. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_situacao_especial.rb +236 -0
  511. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_socio.rb +281 -0
  512. data/lib/nuvemfiscal_sdk_ruby/models/cnpj_telefone.rb +226 -0
  513. data/lib/nuvemfiscal_sdk_ruby/models/com_exterior.rb +410 -0
  514. data/lib/nuvemfiscal_sdk_ruby/models/conta_cota.rb +232 -0
  515. data/lib/nuvemfiscal_sdk_ruby/models/conta_cota_listagem.rb +225 -0
  516. data/lib/nuvemfiscal_sdk_ruby/models/cte_carta_correcao.rb +428 -0
  517. data/lib/nuvemfiscal_sdk_ruby/models/cte_inf_correcao.rb +351 -0
  518. data/lib/nuvemfiscal_sdk_ruby/models/cte_pedido_cancelamento.rb +215 -0
  519. data/lib/nuvemfiscal_sdk_ruby/models/cte_pedido_carta_correcao.rb +243 -0
  520. data/lib/nuvemfiscal_sdk_ruby/models/cte_pedido_emissao.rb +307 -0
  521. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_aereo.rb +308 -0
  522. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_aquav.rb +412 -0
  523. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_aut_xml.rb +228 -0
  524. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_balsa.rb +243 -0
  525. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_cobr.rb +226 -0
  526. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_com_data.rb +232 -0
  527. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_com_hora.rb +232 -0
  528. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_comp.rb +271 -0
  529. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_compl.rb +494 -0
  530. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_dest.rb +349 -0
  531. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_det_cont.rb +282 -0
  532. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_det_cont_inf_doc.rb +228 -0
  533. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_det_cont_inf_doc_inf_nf.rb +306 -0
  534. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_det_cont_inf_doc_inf_nfe.rb +260 -0
  535. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_doc_ant.rb +243 -0
  536. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_dup.rb +278 -0
  537. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_duto.rb +258 -0
  538. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_emi_doc_ant.rb +348 -0
  539. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_emi_occ.rb +305 -0
  540. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_emit.rb +340 -0
  541. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_ende_emi.rb +425 -0
  542. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_ender_fer.rb +424 -0
  543. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_endereco.rb +472 -0
  544. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_entrega.rb +260 -0
  545. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_exped.rb +338 -0
  546. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_fat.rb +319 -0
  547. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_ferro_env.rb +333 -0
  548. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_ferrov.rb +265 -0
  549. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_fluxo.rb +322 -0
  550. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_icms00.rb +303 -0
  551. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_icms20.rb +383 -0
  552. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_icms45.rb +271 -0
  553. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_icms60.rb +381 -0
  554. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_icms90.rb +407 -0
  555. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_icms_outra_uf.rb +381 -0
  556. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_icmssn.rb +232 -0
  557. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_icmsuf_fim.rb +402 -0
  558. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_id_doc_ant.rb +228 -0
  559. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_id_doc_ant_ele.rb +234 -0
  560. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_id_doc_ant_pap.rb +341 -0
  561. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_ide.rb +864 -0
  562. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_imp.rb +269 -0
  563. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_carga.rb +367 -0
  564. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_cte.rb +426 -0
  565. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_cte_comp.rb +234 -0
  566. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_cte_imp.rb +292 -0
  567. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_cte_multimodal.rb +234 -0
  568. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_cte_norm.rb +303 -0
  569. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_cte_sub.rb +230 -0
  570. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_cte_supl.rb +241 -0
  571. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_doc.rb +239 -0
  572. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_globalizado.rb +243 -0
  573. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_modal.rb +273 -0
  574. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_nf.rb +651 -0
  575. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_nfe.rb +302 -0
  576. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_outros.rb +359 -0
  577. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_q.rb +284 -0
  578. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_seg.rb +256 -0
  579. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_serv_vinc.rb +243 -0
  580. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_solic_nff.rb +243 -0
  581. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_inf_tot_ap.rb +247 -0
  582. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_lac_unid_carga.rb +243 -0
  583. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_lac_unid_transp.rb +243 -0
  584. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_lacre.rb +243 -0
  585. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_multimodal.rb +265 -0
  586. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_nat_carga.rb +253 -0
  587. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_no_inter.rb +245 -0
  588. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_no_periodo.rb +245 -0
  589. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_obs_cont.rb +280 -0
  590. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_obs_fisco.rb +280 -0
  591. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_occ.rb +300 -0
  592. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_pass.rb +240 -0
  593. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_peri.rb +272 -0
  594. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_receb.rb +338 -0
  595. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_rem.rb +349 -0
  596. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_resp_tec.rb +367 -0
  597. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_rodo.rb +249 -0
  598. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_seg.rb +296 -0
  599. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_sem_data.rb +219 -0
  600. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_sem_hora.rb +219 -0
  601. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_tarifa.rb +297 -0
  602. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_toma3.rb +219 -0
  603. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_toma4.rb +386 -0
  604. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_traf_mut.rb +297 -0
  605. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_unid_carga.rb +293 -0
  606. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_unidade_transp.rb +304 -0
  607. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_v_prest.rb +273 -0
  608. data/lib/nuvemfiscal_sdk_ruby/models/cte_sefaz_veic_novos.rb +401 -0
  609. data/lib/nuvemfiscal_sdk_ruby/models/dfe.rb +374 -0
  610. data/lib/nuvemfiscal_sdk_ruby/models/dfe_autor_evento.rb +215 -0
  611. data/lib/nuvemfiscal_sdk_ruby/models/dfe_autorizacao.rb +400 -0
  612. data/lib/nuvemfiscal_sdk_ruby/models/dfe_cancelamento.rb +400 -0
  613. data/lib/nuvemfiscal_sdk_ruby/models/dfe_carta_correcao.rb +400 -0
  614. data/lib/nuvemfiscal_sdk_ruby/models/dfe_contribuinte_endereco.rb +483 -0
  615. data/lib/nuvemfiscal_sdk_ruby/models/dfe_contribuinte_inf_cad.rb +475 -0
  616. data/lib/nuvemfiscal_sdk_ruby/models/dfe_contribuinte_inf_cons.rb +363 -0
  617. data/lib/nuvemfiscal_sdk_ruby/models/dfe_evento.rb +390 -0
  618. data/lib/nuvemfiscal_sdk_ruby/models/dfe_evento_listagem.rb +225 -0
  619. data/lib/nuvemfiscal_sdk_ruby/models/dfe_inutilizacao.rb +453 -0
  620. data/lib/nuvemfiscal_sdk_ruby/models/dfe_listagem.rb +225 -0
  621. data/lib/nuvemfiscal_sdk_ruby/models/dfe_lote.rb +329 -0
  622. data/lib/nuvemfiscal_sdk_ruby/models/dfe_lote_listagem.rb +225 -0
  623. data/lib/nuvemfiscal_sdk_ruby/models/dfe_pedido_envio_email.rb +236 -0
  624. data/lib/nuvemfiscal_sdk_ruby/models/dfe_pedido_inutilizacao.rb +470 -0
  625. data/lib/nuvemfiscal_sdk_ruby/models/dfe_recibo.rb +265 -0
  626. data/lib/nuvemfiscal_sdk_ruby/models/dfe_sefaz_status.rb +323 -0
  627. data/lib/nuvemfiscal_sdk_ruby/models/dfe_sincronizacao.rb +289 -0
  628. data/lib/nuvemfiscal_sdk_ruby/models/distribuicao_nfe.rb +478 -0
  629. data/lib/nuvemfiscal_sdk_ruby/models/distribuicao_nfe_documento.rb +448 -0
  630. data/lib/nuvemfiscal_sdk_ruby/models/distribuicao_nfe_documento_listagem.rb +225 -0
  631. data/lib/nuvemfiscal_sdk_ruby/models/distribuicao_nfe_evento.rb +397 -0
  632. data/lib/nuvemfiscal_sdk_ruby/models/distribuicao_nfe_listagem.rb +225 -0
  633. data/lib/nuvemfiscal_sdk_ruby/models/distribuicao_nfe_nota.rb +293 -0
  634. data/lib/nuvemfiscal_sdk_ruby/models/distribuicao_nfe_nota_listagem.rb +225 -0
  635. data/lib/nuvemfiscal_sdk_ruby/models/distribuicao_nfe_pedido.rb +358 -0
  636. data/lib/nuvemfiscal_sdk_ruby/models/distribuicao_nfe_pedido_manifestacao.rb +342 -0
  637. data/lib/nuvemfiscal_sdk_ruby/models/doc_ded_red.rb +472 -0
  638. data/lib/nuvemfiscal_sdk_ruby/models/doc_nfnfs.rb +293 -0
  639. data/lib/nuvemfiscal_sdk_ruby/models/doc_out_nfse.rb +269 -0
  640. data/lib/nuvemfiscal_sdk_ruby/models/dps.rb +228 -0
  641. data/lib/nuvemfiscal_sdk_ruby/models/email.rb +337 -0
  642. data/lib/nuvemfiscal_sdk_ruby/models/email_attachment.rb +242 -0
  643. data/lib/nuvemfiscal_sdk_ruby/models/email_event.rb +242 -0
  644. data/lib/nuvemfiscal_sdk_ruby/models/email_listagem.rb +225 -0
  645. data/lib/nuvemfiscal_sdk_ruby/models/email_resumo.rb +295 -0
  646. data/lib/nuvemfiscal_sdk_ruby/models/email_status_response.rb +275 -0
  647. data/lib/nuvemfiscal_sdk_ruby/models/empresa.rb +408 -0
  648. data/lib/nuvemfiscal_sdk_ruby/models/empresa_certificado.rb +277 -0
  649. data/lib/nuvemfiscal_sdk_ruby/models/empresa_config_cte.rb +266 -0
  650. data/lib/nuvemfiscal_sdk_ruby/models/empresa_config_distribuicao_nfe.rb +282 -0
  651. data/lib/nuvemfiscal_sdk_ruby/models/empresa_config_mdfe.rb +256 -0
  652. data/lib/nuvemfiscal_sdk_ruby/models/empresa_config_nfce.rb +282 -0
  653. data/lib/nuvemfiscal_sdk_ruby/models/empresa_config_nfce_sefaz.rb +258 -0
  654. data/lib/nuvemfiscal_sdk_ruby/models/empresa_config_nfcom.rb +266 -0
  655. data/lib/nuvemfiscal_sdk_ruby/models/empresa_config_nfe.rb +266 -0
  656. data/lib/nuvemfiscal_sdk_ruby/models/empresa_config_nfse.rb +302 -0
  657. data/lib/nuvemfiscal_sdk_ruby/models/empresa_config_nfse_reg_trib.rb +239 -0
  658. data/lib/nuvemfiscal_sdk_ruby/models/empresa_config_prefeitura.rb +293 -0
  659. data/lib/nuvemfiscal_sdk_ruby/models/empresa_config_rps.rb +257 -0
  660. data/lib/nuvemfiscal_sdk_ruby/models/empresa_endereco.rb +466 -0
  661. data/lib/nuvemfiscal_sdk_ruby/models/empresa_listagem.rb +225 -0
  662. data/lib/nuvemfiscal_sdk_ruby/models/empresa_pedido_cadastro_certificado.rb +260 -0
  663. data/lib/nuvemfiscal_sdk_ruby/models/ender_ext.rb +330 -0
  664. data/lib/nuvemfiscal_sdk_ruby/models/ender_ext_simples.rb +317 -0
  665. data/lib/nuvemfiscal_sdk_ruby/models/ender_nac.rb +228 -0
  666. data/lib/nuvemfiscal_sdk_ruby/models/endereco.rb +364 -0
  667. data/lib/nuvemfiscal_sdk_ruby/models/endereco_email.rb +222 -0
  668. data/lib/nuvemfiscal_sdk_ruby/models/endereco_simples.rb +372 -0
  669. data/lib/nuvemfiscal_sdk_ruby/models/exig_suspensa.rb +232 -0
  670. data/lib/nuvemfiscal_sdk_ruby/models/exploracao_rodoviaria.rb +297 -0
  671. data/lib/nuvemfiscal_sdk_ruby/models/inf_dps.rb +351 -0
  672. data/lib/nuvemfiscal_sdk_ruby/models/info_compl.rb +311 -0
  673. data/lib/nuvemfiscal_sdk_ruby/models/info_ded_red.rb +267 -0
  674. data/lib/nuvemfiscal_sdk_ruby/models/info_fornec_doc_ded_red.rb +457 -0
  675. data/lib/nuvemfiscal_sdk_ruby/models/info_intermediario.rb +457 -0
  676. data/lib/nuvemfiscal_sdk_ruby/models/info_obra.rb +285 -0
  677. data/lib/nuvemfiscal_sdk_ruby/models/info_prestador.rb +258 -0
  678. data/lib/nuvemfiscal_sdk_ruby/models/info_tomador.rb +470 -0
  679. data/lib/nuvemfiscal_sdk_ruby/models/info_tributacao.rb +240 -0
  680. data/lib/nuvemfiscal_sdk_ruby/models/info_valores.rb +256 -0
  681. data/lib/nuvemfiscal_sdk_ruby/models/lista_doc_ded_red.rb +252 -0
  682. data/lib/nuvemfiscal_sdk_ruby/models/loc_prest.rb +228 -0
  683. data/lib/nuvemfiscal_sdk_ruby/models/locacao_sublocacao.rb +306 -0
  684. data/lib/nuvemfiscal_sdk_ruby/models/manifestacao_nfe_listagem.rb +225 -0
  685. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_documento_vinculado.rb +235 -0
  686. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_encerramento.rb +420 -0
  687. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_inclusao_condutor.rb +410 -0
  688. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_inclusao_dfe.rb +422 -0
  689. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_nao_encerrado.rb +231 -0
  690. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_nao_encerrados.rb +273 -0
  691. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_pedido_cancelamento.rb +215 -0
  692. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_pedido_emissao.rb +307 -0
  693. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_pedido_emissao_lote.rb +340 -0
  694. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_pedido_encerramento.rb +250 -0
  695. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_pedido_inclusao_condutor.rb +267 -0
  696. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_pedido_inclusao_dfe.rb +246 -0
  697. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_aereo.rb +404 -0
  698. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_aquav.rb +575 -0
  699. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_aut_xml.rb +228 -0
  700. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_comp.rb +282 -0
  701. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_condutor.rb +256 -0
  702. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_disp.rb +291 -0
  703. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_emit.rb +318 -0
  704. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_ende_emi.rb +460 -0
  705. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_ferrov.rb +259 -0
  706. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_ide.rb +609 -0
  707. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_adic.rb +276 -0
  708. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_antt.rb +259 -0
  709. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_banc.rb +322 -0
  710. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_ciot.rb +241 -0
  711. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_contratante.rb +307 -0
  712. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_contrato.rb +271 -0
  713. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_cte.rb +287 -0
  714. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_doc.rb +252 -0
  715. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_emb_comb.rb +280 -0
  716. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_entrega_parcial.rb +262 -0
  717. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_local_carrega.rb +239 -0
  718. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_local_descarrega.rb +239 -0
  719. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_lotacao.rb +238 -0
  720. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_mdfe.rb +398 -0
  721. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_mdfe_supl.rb +241 -0
  722. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_mdfe_transp.rb +267 -0
  723. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_mdfe_transp_peri.rb +396 -0
  724. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_modal.rb +255 -0
  725. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_mun_carrega.rb +256 -0
  726. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_mun_descarga.rb +346 -0
  727. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_nfe.rb +278 -0
  728. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_nfe_peri.rb +396 -0
  729. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_pag.rb +462 -0
  730. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_percurso.rb +219 -0
  731. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_prazo.rb +284 -0
  732. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_resp.rb +241 -0
  733. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_seg.rb +256 -0
  734. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_solic_nff.rb +243 -0
  735. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_term_carreg.rb +280 -0
  736. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_term_descarreg.rb +280 -0
  737. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_unid_carga_vazia.rb +256 -0
  738. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_inf_unid_transp_vazia.rb +256 -0
  739. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_lac_rodo.rb +243 -0
  740. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_lac_unid_carga.rb +243 -0
  741. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_lac_unid_transp.rb +243 -0
  742. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_lacres.rb +243 -0
  743. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_peri.rb +396 -0
  744. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_prod_pred.rb +287 -0
  745. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_prop.rb +313 -0
  746. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_resp_tec.rb +367 -0
  747. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_rodo.rb +307 -0
  748. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_seg.rb +278 -0
  749. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_tot.rb +380 -0
  750. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_trem.rb +365 -0
  751. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_unid_carga.rb +278 -0
  752. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_unidade_transp.rb +304 -0
  753. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_vag.rb +401 -0
  754. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_vale_ped.rb +254 -0
  755. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_veic_reboque.rb +431 -0
  756. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_veic_reboque_prop.rb +313 -0
  757. data/lib/nuvemfiscal_sdk_ruby/models/mdfe_sefaz_veic_tracao.rb +488 -0
  758. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_pedido_cancelamento.rb +215 -0
  759. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_pedido_emissao.rb +298 -0
  760. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_assinante.rb +370 -0
  761. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_aut_xml.rb +228 -0
  762. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_cofins.rb +303 -0
  763. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_dest.rb +375 -0
  764. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_det.rb +376 -0
  765. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_emit.rb +331 -0
  766. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_ende_dest.rb +520 -0
  767. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_ende_emi.rb +460 -0
  768. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_funttel.rb +290 -0
  769. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_fust.rb +290 -0
  770. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_g_cofat.rb +241 -0
  771. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_g_cofat_gnf.rb +378 -0
  772. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_g_fat.rb +438 -0
  773. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_g_fat_central.rb +232 -0
  774. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_g_fidelidade.rb +306 -0
  775. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_g_proc.rb +256 -0
  776. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_g_proc_ref.rb +525 -0
  777. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_g_ressarc.rb +337 -0
  778. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_g_sub.rb +278 -0
  779. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_gnf.rb +378 -0
  780. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_gpix.rb +243 -0
  781. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_icms00.rb +355 -0
  782. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_icms20.rb +435 -0
  783. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_icms40.rb +271 -0
  784. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_icms51.rb +271 -0
  785. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_icms90.rb +401 -0
  786. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_icms_tot.rb +318 -0
  787. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_icmssn.rb +232 -0
  788. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_icmsuf_dest.rb +410 -0
  789. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_ide.rb +579 -0
  790. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_imposto.rb +327 -0
  791. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_inf_adic.rb +272 -0
  792. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_inf_nf_com.rb +449 -0
  793. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_pis.rb +303 -0
  794. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_prod.rb +480 -0
  795. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_resp_tec.rb +367 -0
  796. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_ret_trib.rb +346 -0
  797. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_total.rb +462 -0
  798. data/lib/nuvemfiscal_sdk_ruby/models/nfcom_sefaz_v_ret_trib_tot.rb +318 -0
  799. data/lib/nuvemfiscal_sdk_ruby/models/nfe_pedido_cancelamento.rb +215 -0
  800. data/lib/nuvemfiscal_sdk_ruby/models/nfe_pedido_carta_correcao.rb +234 -0
  801. data/lib/nuvemfiscal_sdk_ruby/models/nfe_pedido_emissao.rb +307 -0
  802. data/lib/nuvemfiscal_sdk_ruby/models/nfe_pedido_emissao_lote.rb +347 -0
  803. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_adi.rb +376 -0
  804. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_arma.rb +330 -0
  805. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_aut_xml.rb +258 -0
  806. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_avulsa.rb +489 -0
  807. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_cana.rb +500 -0
  808. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_card.rb +352 -0
  809. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_cide.rb +290 -0
  810. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_cobr.rb +245 -0
  811. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_cofins.rb +242 -0
  812. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_cofins_aliq.rb +303 -0
  813. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_cofins_outr.rb +351 -0
  814. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_cofins_qtde.rb +303 -0
  815. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_cofinsnt.rb +219 -0
  816. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_cofinsst.rb +349 -0
  817. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_comb.rb +544 -0
  818. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_compra.rb +311 -0
  819. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_deduc.rb +271 -0
  820. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_dest.rb +433 -0
  821. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_det.rb +328 -0
  822. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_det_export.rb +250 -0
  823. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_det_pag.rb +350 -0
  824. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_di.rb +517 -0
  825. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_dup.rb +280 -0
  826. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_emit.rb +446 -0
  827. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_encerrante.rb +371 -0
  828. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_ender_emi.rb +447 -0
  829. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_endereco.rb +483 -0
  830. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_export_ind.rb +275 -0
  831. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_exporta.rb +291 -0
  832. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_fat.rb +319 -0
  833. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_for_dia.rb +271 -0
  834. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_g_cred.rb +275 -0
  835. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icms.rb +395 -0
  836. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icms00.rb +381 -0
  837. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icms02.rb +314 -0
  838. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icms10.rb +671 -0
  839. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icms15.rb +442 -0
  840. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icms20.rb +483 -0
  841. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icms30.rb +507 -0
  842. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icms40.rb +280 -0
  843. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icms51.rb +601 -0
  844. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icms53.rb +449 -0
  845. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icms60.rb +518 -0
  846. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icms61.rb +314 -0
  847. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icms70.rb +747 -0
  848. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icms90.rb +729 -0
  849. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icms_part.rb +623 -0
  850. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icms_tot.rb +998 -0
  851. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icmssn101.rb +288 -0
  852. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icmssn102.rb +232 -0
  853. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icmssn201.rb +515 -0
  854. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icmssn202.rb +459 -0
  855. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icmssn500.rb +518 -0
  856. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icmssn900.rb +618 -0
  857. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icmsst.rb +578 -0
  858. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_icmsuf_dest.rb +452 -0
  859. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_ide.rb +663 -0
  860. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_ii.rb +318 -0
  861. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_imposto.rb +313 -0
  862. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_imposto_devol.rb +258 -0
  863. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_imposto_devol_ipi.rb +234 -0
  864. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_inf_adic.rb +366 -0
  865. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_inf_adic_obs_cont.rb +274 -0
  866. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_inf_adic_obs_fisco.rb +274 -0
  867. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_inf_intermed.rb +271 -0
  868. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_inf_nfe.rb +494 -0
  869. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_inf_nfe_supl.rb +276 -0
  870. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_inf_prod_emb.rb +308 -0
  871. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_inf_prod_nff.rb +247 -0
  872. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_inf_resp_tec.rb +382 -0
  873. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_inf_solic_nff.rb +243 -0
  874. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_ipi.rb +332 -0
  875. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_ipi_trib.rb +350 -0
  876. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_ipint.rb +218 -0
  877. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_issq_ntot.rb +490 -0
  878. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_issqn.rb +564 -0
  879. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_lacres.rb +242 -0
  880. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_local.rb +631 -0
  881. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_med.rb +282 -0
  882. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_n_fref.rb +311 -0
  883. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_obs_cont.rb +274 -0
  884. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_obs_fisco.rb +274 -0
  885. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_obs_item.rb +224 -0
  886. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_orig_comb.rb +269 -0
  887. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_pag.rb +278 -0
  888. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_pis.rb +242 -0
  889. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_pis_aliq.rb +303 -0
  890. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_pis_outr.rb +351 -0
  891. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_pis_qtde.rb +303 -0
  892. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_pisnt.rb +219 -0
  893. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_pisst.rb +349 -0
  894. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_proc_ref.rb +267 -0
  895. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_prod.rb +1134 -0
  896. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_rastro.rb +330 -0
  897. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_ref_ecf.rb +293 -0
  898. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_ref_nf.rb +347 -0
  899. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_ref_nfp.rb +399 -0
  900. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_ret_transp.rb +344 -0
  901. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_ret_trib.rb +388 -0
  902. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_total.rb +240 -0
  903. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_transp.rb +376 -0
  904. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_transporta.rb +400 -0
  905. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_veic_prod.rb +971 -0
  906. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_veiculo.rb +265 -0
  907. data/lib/nuvemfiscal_sdk_ruby/models/nfe_sefaz_vol.rb +404 -0
  908. data/lib/nuvemfiscal_sdk_ruby/models/nfse.rb +372 -0
  909. data/lib/nuvemfiscal_sdk_ruby/models/nfse_cancelamento.rb +297 -0
  910. data/lib/nuvemfiscal_sdk_ruby/models/nfse_cidade_metadados.rb +291 -0
  911. data/lib/nuvemfiscal_sdk_ruby/models/nfse_cidades_atendidas.rb +227 -0
  912. data/lib/nuvemfiscal_sdk_ruby/models/nfse_dps_pedido_emissao.rb +320 -0
  913. data/lib/nuvemfiscal_sdk_ruby/models/nfse_listagem.rb +225 -0
  914. data/lib/nuvemfiscal_sdk_ruby/models/nfse_lote_dps_pedido_emissao.rb +334 -0
  915. data/lib/nuvemfiscal_sdk_ruby/models/nfse_mensagem_retorno.rb +232 -0
  916. data/lib/nuvemfiscal_sdk_ruby/models/nfse_pedido_cancelamento.rb +225 -0
  917. data/lib/nuvemfiscal_sdk_ruby/models/nfse_pedido_emissao.rb +272 -0
  918. data/lib/nuvemfiscal_sdk_ruby/models/nfse_pedido_sincronizacao.rb +215 -0
  919. data/lib/nuvemfiscal_sdk_ruby/models/nfse_sincronizacao.rb +260 -0
  920. data/lib/nuvemfiscal_sdk_ruby/models/rps.rb +317 -0
  921. data/lib/nuvemfiscal_sdk_ruby/models/rps_dados.rb +223 -0
  922. data/lib/nuvemfiscal_sdk_ruby/models/rps_dados_construcao_civil.rb +223 -0
  923. data/lib/nuvemfiscal_sdk_ruby/models/rps_dados_intermediario.rb +232 -0
  924. data/lib/nuvemfiscal_sdk_ruby/models/rps_dados_prestador.rb +313 -0
  925. data/lib/nuvemfiscal_sdk_ruby/models/rps_dados_servico.rb +396 -0
  926. data/lib/nuvemfiscal_sdk_ruby/models/rps_dados_tomador.rb +271 -0
  927. data/lib/nuvemfiscal_sdk_ruby/models/rps_dados_tomador_endereco.rb +363 -0
  928. data/lib/nuvemfiscal_sdk_ruby/models/rps_identificacao.rb +232 -0
  929. data/lib/nuvemfiscal_sdk_ruby/models/rps_identificacao_prestador.rb +222 -0
  930. data/lib/nuvemfiscal_sdk_ruby/models/rps_lote.rb +317 -0
  931. data/lib/nuvemfiscal_sdk_ruby/models/rps_lote_listagem.rb +225 -0
  932. data/lib/nuvemfiscal_sdk_ruby/models/rps_pedido_emissao.rb +370 -0
  933. data/lib/nuvemfiscal_sdk_ruby/models/rps_pedido_emissao_lote.rb +311 -0
  934. data/lib/nuvemfiscal_sdk_ruby/models/rps_servico_valores.rb +394 -0
  935. data/lib/nuvemfiscal_sdk_ruby/models/serv.rb +285 -0
  936. data/lib/nuvemfiscal_sdk_ruby/models/substituicao.rb +282 -0
  937. data/lib/nuvemfiscal_sdk_ruby/models/trib_federal.rb +293 -0
  938. data/lib/nuvemfiscal_sdk_ruby/models/trib_municipal.rb +385 -0
  939. data/lib/nuvemfiscal_sdk_ruby/models/trib_outros_pis_cofins.rb +360 -0
  940. data/lib/nuvemfiscal_sdk_ruby/models/trib_total.rb +261 -0
  941. data/lib/nuvemfiscal_sdk_ruby/models/trib_total_monet.rb +290 -0
  942. data/lib/nuvemfiscal_sdk_ruby/models/trib_total_percent.rb +290 -0
  943. data/lib/nuvemfiscal_sdk_ruby/models/v_desc_cond_incond.rb +258 -0
  944. data/lib/nuvemfiscal_sdk_ruby/models/v_serv_prest.rb +260 -0
  945. data/lib/nuvemfiscal_sdk_ruby/version.rb +15 -0
  946. data/lib/nuvemfiscal_sdk_ruby.rb +507 -0
  947. data/nuvemfiscal_sdk_ruby.gemspec +39 -0
  948. data/spec/api/cep_api_spec.rb +47 -0
  949. data/spec/api/cnpj_api_spec.rb +64 -0
  950. data/spec/api/conta_api_spec.rb +56 -0
  951. data/spec/api/cte_api_spec.rb +275 -0
  952. data/spec/api/distribuio_nfe_api_spec.rb +187 -0
  953. data/spec/api/email_api_spec.rb +64 -0
  954. data/spec/api/empresa_api_spec.rb +341 -0
  955. data/spec/api/mdfe_api_spec.rb +353 -0
  956. data/spec/api/nfce_api_spec.rb +395 -0
  957. data/spec/api/nfcom_api_spec.rb +161 -0
  958. data/spec/api/nfe_api_spec.rb +437 -0
  959. data/spec/api/nfse_api_spec.rb +249 -0
  960. data/spec/models/atv_evento_spec.rb +72 -0
  961. data/spec/models/beneficio_municipal_spec.rb +54 -0
  962. data/spec/models/c_serv_spec.rb +60 -0
  963. data/spec/models/cep_endereco_spec.rb +78 -0
  964. data/spec/models/cnpj_cnae_secundario_spec.rb +42 -0
  965. data/spec/models/cnpj_cnae_spec.rb +42 -0
  966. data/spec/models/cnpj_empresa_spec.rb +162 -0
  967. data/spec/models/cnpj_endereco_spec.rb +78 -0
  968. data/spec/models/cnpj_faixa_etaria_spec.rb +42 -0
  969. data/spec/models/cnpj_identificador_socio_spec.rb +42 -0
  970. data/spec/models/cnpj_listagem_spec.rb +42 -0
  971. data/spec/models/cnpj_motivo_situacao_cadastral_spec.rb +48 -0
  972. data/spec/models/cnpj_municipio_spec.rb +48 -0
  973. data/spec/models/cnpj_natureza_juridica_spec.rb +42 -0
  974. data/spec/models/cnpj_opcao_simei_spec.rb +48 -0
  975. data/spec/models/cnpj_opcao_simples_spec.rb +48 -0
  976. data/spec/models/cnpj_pais_spec.rb +42 -0
  977. data/spec/models/cnpj_porte_empresa_spec.rb +42 -0
  978. data/spec/models/cnpj_qualificacao_socio_spec.rb +42 -0
  979. data/spec/models/cnpj_representante_legal_spec.rb +48 -0
  980. data/spec/models/cnpj_situacao_cadastral_spec.rb +48 -0
  981. data/spec/models/cnpj_situacao_especial_spec.rb +48 -0
  982. data/spec/models/cnpj_socio_spec.rb +78 -0
  983. data/spec/models/cnpj_telefone_spec.rb +42 -0
  984. data/spec/models/com_exterior_spec.rb +90 -0
  985. data/spec/models/conta_cota_listagem_spec.rb +42 -0
  986. data/spec/models/conta_cota_spec.rb +48 -0
  987. data/spec/models/cte_carta_correcao_spec.rb +128 -0
  988. data/spec/models/cte_inf_correcao_spec.rb +54 -0
  989. data/spec/models/cte_pedido_cancelamento_spec.rb +36 -0
  990. data/spec/models/cte_pedido_carta_correcao_spec.rb +36 -0
  991. data/spec/models/cte_pedido_emissao_spec.rb +58 -0
  992. data/spec/models/cte_sefaz_aereo_spec.rb +66 -0
  993. data/spec/models/cte_sefaz_aquav_spec.rb +84 -0
  994. data/spec/models/cte_sefaz_aut_xml_spec.rb +42 -0
  995. data/spec/models/cte_sefaz_balsa_spec.rb +36 -0
  996. data/spec/models/cte_sefaz_cobr_spec.rb +42 -0
  997. data/spec/models/cte_sefaz_com_data_spec.rb +42 -0
  998. data/spec/models/cte_sefaz_com_hora_spec.rb +42 -0
  999. data/spec/models/cte_sefaz_comp_spec.rb +42 -0
  1000. data/spec/models/cte_sefaz_compl_spec.rb +90 -0
  1001. data/spec/models/cte_sefaz_dest_spec.rb +78 -0
  1002. data/spec/models/cte_sefaz_det_cont_inf_doc_inf_nf_spec.rb +48 -0
  1003. data/spec/models/cte_sefaz_det_cont_inf_doc_inf_nfe_spec.rb +42 -0
  1004. data/spec/models/cte_sefaz_det_cont_inf_doc_spec.rb +42 -0
  1005. data/spec/models/cte_sefaz_det_cont_spec.rb +48 -0
  1006. data/spec/models/cte_sefaz_doc_ant_spec.rb +36 -0
  1007. data/spec/models/cte_sefaz_dup_spec.rb +48 -0
  1008. data/spec/models/cte_sefaz_duto_spec.rb +48 -0
  1009. data/spec/models/cte_sefaz_emi_doc_ant_spec.rb +66 -0
  1010. data/spec/models/cte_sefaz_emi_occ_spec.rb +60 -0
  1011. data/spec/models/cte_sefaz_emit_spec.rb +78 -0
  1012. data/spec/models/cte_sefaz_ende_emi_spec.rb +84 -0
  1013. data/spec/models/cte_sefaz_ender_fer_spec.rb +78 -0
  1014. data/spec/models/cte_sefaz_endereco_spec.rb +90 -0
  1015. data/spec/models/cte_sefaz_entrega_spec.rb +66 -0
  1016. data/spec/models/cte_sefaz_exped_spec.rb +72 -0
  1017. data/spec/models/cte_sefaz_fat_spec.rb +54 -0
  1018. data/spec/models/cte_sefaz_ferro_env_spec.rb +60 -0
  1019. data/spec/models/cte_sefaz_ferrov_spec.rb +48 -0
  1020. data/spec/models/cte_sefaz_fluxo_spec.rb +54 -0
  1021. data/spec/models/cte_sefaz_icms00_spec.rb +54 -0
  1022. data/spec/models/cte_sefaz_icms20_spec.rb +72 -0
  1023. data/spec/models/cte_sefaz_icms45_spec.rb +48 -0
  1024. data/spec/models/cte_sefaz_icms60_spec.rb +72 -0
  1025. data/spec/models/cte_sefaz_icms90_spec.rb +78 -0
  1026. data/spec/models/cte_sefaz_icms_outra_uf_spec.rb +72 -0
  1027. data/spec/models/cte_sefaz_icmssn_spec.rb +42 -0
  1028. data/spec/models/cte_sefaz_icmsuf_fim_spec.rb +72 -0
  1029. data/spec/models/cte_sefaz_id_doc_ant_ele_spec.rb +36 -0
  1030. data/spec/models/cte_sefaz_id_doc_ant_pap_spec.rb +60 -0
  1031. data/spec/models/cte_sefaz_id_doc_ant_spec.rb +42 -0
  1032. data/spec/models/cte_sefaz_ide_spec.rb +234 -0
  1033. data/spec/models/cte_sefaz_imp_spec.rb +72 -0
  1034. data/spec/models/cte_sefaz_inf_carga_spec.rb +60 -0
  1035. data/spec/models/cte_sefaz_inf_cte_comp_spec.rb +36 -0
  1036. data/spec/models/cte_sefaz_inf_cte_imp_spec.rb +54 -0
  1037. data/spec/models/cte_sefaz_inf_cte_multimodal_spec.rb +36 -0
  1038. data/spec/models/cte_sefaz_inf_cte_norm_spec.rb +84 -0
  1039. data/spec/models/cte_sefaz_inf_cte_spec.rb +126 -0
  1040. data/spec/models/cte_sefaz_inf_cte_sub_spec.rb +42 -0
  1041. data/spec/models/cte_sefaz_inf_cte_supl_spec.rb +36 -0
  1042. data/spec/models/cte_sefaz_inf_doc_spec.rb +48 -0
  1043. data/spec/models/cte_sefaz_inf_globalizado_spec.rb +36 -0
  1044. data/spec/models/cte_sefaz_inf_modal_spec.rb +72 -0
  1045. data/spec/models/cte_sefaz_inf_nf_spec.rb +138 -0
  1046. data/spec/models/cte_sefaz_inf_nfe_spec.rb +60 -0
  1047. data/spec/models/cte_sefaz_inf_outros_spec.rb +78 -0
  1048. data/spec/models/cte_sefaz_inf_q_spec.rb +48 -0
  1049. data/spec/models/cte_sefaz_inf_seg_spec.rb +42 -0
  1050. data/spec/models/cte_sefaz_inf_serv_vinc_spec.rb +36 -0
  1051. data/spec/models/cte_sefaz_inf_solic_nff_spec.rb +36 -0
  1052. data/spec/models/cte_sefaz_inf_tot_ap_spec.rb +42 -0
  1053. data/spec/models/cte_sefaz_lac_unid_carga_spec.rb +36 -0
  1054. data/spec/models/cte_sefaz_lac_unid_transp_spec.rb +36 -0
  1055. data/spec/models/cte_sefaz_lacre_spec.rb +36 -0
  1056. data/spec/models/cte_sefaz_multimodal_spec.rb +48 -0
  1057. data/spec/models/cte_sefaz_nat_carga_spec.rb +42 -0
  1058. data/spec/models/cte_sefaz_no_inter_spec.rb +48 -0
  1059. data/spec/models/cte_sefaz_no_periodo_spec.rb +48 -0
  1060. data/spec/models/cte_sefaz_obs_cont_spec.rb +42 -0
  1061. data/spec/models/cte_sefaz_obs_fisco_spec.rb +42 -0
  1062. data/spec/models/cte_sefaz_occ_spec.rb +54 -0
  1063. data/spec/models/cte_sefaz_pass_spec.rb +36 -0
  1064. data/spec/models/cte_sefaz_peri_spec.rb +48 -0
  1065. data/spec/models/cte_sefaz_receb_spec.rb +72 -0
  1066. data/spec/models/cte_sefaz_rem_spec.rb +78 -0
  1067. data/spec/models/cte_sefaz_resp_tec_spec.rb +66 -0
  1068. data/spec/models/cte_sefaz_rodo_spec.rb +42 -0
  1069. data/spec/models/cte_sefaz_seg_spec.rb +48 -0
  1070. data/spec/models/cte_sefaz_sem_data_spec.rb +36 -0
  1071. data/spec/models/cte_sefaz_sem_hora_spec.rb +36 -0
  1072. data/spec/models/cte_sefaz_tarifa_spec.rb +48 -0
  1073. data/spec/models/cte_sefaz_toma3_spec.rb +36 -0
  1074. data/spec/models/cte_sefaz_toma4_spec.rb +84 -0
  1075. data/spec/models/cte_sefaz_traf_mut_spec.rb +60 -0
  1076. data/spec/models/cte_sefaz_unid_carga_spec.rb +54 -0
  1077. data/spec/models/cte_sefaz_unidade_transp_spec.rb +60 -0
  1078. data/spec/models/cte_sefaz_v_prest_spec.rb +48 -0
  1079. data/spec/models/cte_sefaz_veic_novos_spec.rb +66 -0
  1080. data/spec/models/dfe_autor_evento_spec.rb +36 -0
  1081. data/spec/models/dfe_autorizacao_spec.rb +128 -0
  1082. data/spec/models/dfe_cancelamento_spec.rb +128 -0
  1083. data/spec/models/dfe_carta_correcao_spec.rb +128 -0
  1084. data/spec/models/dfe_contribuinte_endereco_spec.rb +96 -0
  1085. data/spec/models/dfe_contribuinte_inf_cad_spec.rb +132 -0
  1086. data/spec/models/dfe_contribuinte_inf_cons_spec.rb +84 -0
  1087. data/spec/models/dfe_evento_listagem_spec.rb +42 -0
  1088. data/spec/models/dfe_evento_spec.rb +122 -0
  1089. data/spec/models/dfe_inutilizacao_spec.rb +164 -0
  1090. data/spec/models/dfe_listagem_spec.rb +42 -0
  1091. data/spec/models/dfe_lote_listagem_spec.rb +42 -0
  1092. data/spec/models/dfe_lote_spec.rb +86 -0
  1093. data/spec/models/dfe_pedido_envio_email_spec.rb +36 -0
  1094. data/spec/models/dfe_pedido_inutilizacao_spec.rb +76 -0
  1095. data/spec/models/dfe_recibo_spec.rb +66 -0
  1096. data/spec/models/dfe_sefaz_status_spec.rb +80 -0
  1097. data/spec/models/dfe_sincronizacao_spec.rb +64 -0
  1098. data/spec/models/dfe_spec.rb +116 -0
  1099. data/spec/models/distribuicao_nfe_documento_listagem_spec.rb +42 -0
  1100. data/spec/models/distribuicao_nfe_documento_spec.rb +142 -0
  1101. data/spec/models/distribuicao_nfe_evento_spec.rb +122 -0
  1102. data/spec/models/distribuicao_nfe_listagem_spec.rb +42 -0
  1103. data/spec/models/distribuicao_nfe_nota_listagem_spec.rb +42 -0
  1104. data/spec/models/distribuicao_nfe_nota_spec.rb +78 -0
  1105. data/spec/models/distribuicao_nfe_pedido_manifestacao_spec.rb +64 -0
  1106. data/spec/models/distribuicao_nfe_pedido_spec.rb +86 -0
  1107. data/spec/models/distribuicao_nfe_spec.rb +132 -0
  1108. data/spec/models/doc_ded_red_spec.rb +102 -0
  1109. data/spec/models/doc_nfnfs_spec.rb +48 -0
  1110. data/spec/models/doc_out_nfse_spec.rb +48 -0
  1111. data/spec/models/dps_spec.rb +42 -0
  1112. data/spec/models/email_attachment_spec.rb +42 -0
  1113. data/spec/models/email_event_spec.rb +54 -0
  1114. data/spec/models/email_listagem_spec.rb +42 -0
  1115. data/spec/models/email_resumo_spec.rb +64 -0
  1116. data/spec/models/email_spec.rb +88 -0
  1117. data/spec/models/email_status_response_spec.rb +52 -0
  1118. data/spec/models/empresa_certificado_spec.rb +78 -0
  1119. data/spec/models/empresa_config_cte_spec.rb +46 -0
  1120. data/spec/models/empresa_config_distribuicao_nfe_spec.rb +52 -0
  1121. data/spec/models/empresa_config_mdfe_spec.rb +40 -0
  1122. data/spec/models/empresa_config_nfce_sefaz_spec.rb +42 -0
  1123. data/spec/models/empresa_config_nfce_spec.rb +52 -0
  1124. data/spec/models/empresa_config_nfcom_spec.rb +46 -0
  1125. data/spec/models/empresa_config_nfe_spec.rb +46 -0
  1126. data/spec/models/empresa_config_nfse_reg_trib_spec.rb +48 -0
  1127. data/spec/models/empresa_config_nfse_spec.rb +64 -0
  1128. data/spec/models/empresa_config_prefeitura_spec.rb +48 -0
  1129. data/spec/models/empresa_config_rps_spec.rb +48 -0
  1130. data/spec/models/empresa_endereco_spec.rb +90 -0
  1131. data/spec/models/empresa_listagem_spec.rb +42 -0
  1132. data/spec/models/empresa_pedido_cadastro_certificado_spec.rb +42 -0
  1133. data/spec/models/empresa_spec.rb +90 -0
  1134. data/spec/models/ender_ext_simples_spec.rb +48 -0
  1135. data/spec/models/ender_ext_spec.rb +54 -0
  1136. data/spec/models/ender_nac_spec.rb +42 -0
  1137. data/spec/models/endereco_email_spec.rb +36 -0
  1138. data/spec/models/endereco_simples_spec.rb +66 -0
  1139. data/spec/models/endereco_spec.rb +66 -0
  1140. data/spec/models/exig_suspensa_spec.rb +42 -0
  1141. data/spec/models/exploracao_rodoviaria_spec.rb +72 -0
  1142. data/spec/models/inf_dps_spec.rb +90 -0
  1143. data/spec/models/info_compl_spec.rb +48 -0
  1144. data/spec/models/info_ded_red_spec.rb +48 -0
  1145. data/spec/models/info_fornec_doc_ded_red_spec.rb +90 -0
  1146. data/spec/models/info_intermediario_spec.rb +90 -0
  1147. data/spec/models/info_obra_spec.rb +48 -0
  1148. data/spec/models/info_prestador_spec.rb +42 -0
  1149. data/spec/models/info_tomador_spec.rb +96 -0
  1150. data/spec/models/info_tributacao_spec.rb +48 -0
  1151. data/spec/models/info_valores_spec.rb +54 -0
  1152. data/spec/models/lista_doc_ded_red_spec.rb +36 -0
  1153. data/spec/models/loc_prest_spec.rb +42 -0
  1154. data/spec/models/locacao_sublocacao_spec.rb +54 -0
  1155. data/spec/models/manifestacao_nfe_listagem_spec.rb +42 -0
  1156. data/spec/models/mdfe_documento_vinculado_spec.rb +48 -0
  1157. data/spec/models/mdfe_encerramento_spec.rb +140 -0
  1158. data/spec/models/mdfe_inclusao_condutor_spec.rb +134 -0
  1159. data/spec/models/mdfe_inclusao_dfe_spec.rb +140 -0
  1160. data/spec/models/mdfe_nao_encerrado_spec.rb +42 -0
  1161. data/spec/models/mdfe_nao_encerrados_spec.rb +66 -0
  1162. data/spec/models/mdfe_pedido_cancelamento_spec.rb +36 -0
  1163. data/spec/models/mdfe_pedido_emissao_lote_spec.rb +58 -0
  1164. data/spec/models/mdfe_pedido_emissao_spec.rb +58 -0
  1165. data/spec/models/mdfe_pedido_encerramento_spec.rb +48 -0
  1166. data/spec/models/mdfe_pedido_inclusao_condutor_spec.rb +42 -0
  1167. data/spec/models/mdfe_pedido_inclusao_dfe_spec.rb +54 -0
  1168. data/spec/models/mdfe_sefaz_aereo_spec.rb +66 -0
  1169. data/spec/models/mdfe_sefaz_aquav_spec.rb +114 -0
  1170. data/spec/models/mdfe_sefaz_aut_xml_spec.rb +42 -0
  1171. data/spec/models/mdfe_sefaz_comp_spec.rb +48 -0
  1172. data/spec/models/mdfe_sefaz_condutor_spec.rb +42 -0
  1173. data/spec/models/mdfe_sefaz_disp_spec.rb +66 -0
  1174. data/spec/models/mdfe_sefaz_emit_spec.rb +66 -0
  1175. data/spec/models/mdfe_sefaz_ende_emi_spec.rb +90 -0
  1176. data/spec/models/mdfe_sefaz_ferrov_spec.rb +42 -0
  1177. data/spec/models/mdfe_sefaz_ide_spec.rb +156 -0
  1178. data/spec/models/mdfe_sefaz_inf_adic_spec.rb +42 -0
  1179. data/spec/models/mdfe_sefaz_inf_antt_spec.rb +60 -0
  1180. data/spec/models/mdfe_sefaz_inf_banc_spec.rb +54 -0
  1181. data/spec/models/mdfe_sefaz_inf_ciot_spec.rb +48 -0
  1182. data/spec/models/mdfe_sefaz_inf_contratante_spec.rb +60 -0
  1183. data/spec/models/mdfe_sefaz_inf_contrato_spec.rb +42 -0
  1184. data/spec/models/mdfe_sefaz_inf_cte_spec.rb +66 -0
  1185. data/spec/models/mdfe_sefaz_inf_doc_spec.rb +36 -0
  1186. data/spec/models/mdfe_sefaz_inf_emb_comb_spec.rb +42 -0
  1187. data/spec/models/mdfe_sefaz_inf_entrega_parcial_spec.rb +42 -0
  1188. data/spec/models/mdfe_sefaz_inf_local_carrega_spec.rb +48 -0
  1189. data/spec/models/mdfe_sefaz_inf_local_descarrega_spec.rb +48 -0
  1190. data/spec/models/mdfe_sefaz_inf_lotacao_spec.rb +42 -0
  1191. data/spec/models/mdfe_sefaz_inf_mdfe_spec.rb +114 -0
  1192. data/spec/models/mdfe_sefaz_inf_mdfe_supl_spec.rb +36 -0
  1193. data/spec/models/mdfe_sefaz_inf_mdfe_transp_peri_spec.rb +66 -0
  1194. data/spec/models/mdfe_sefaz_inf_mdfe_transp_spec.rb +54 -0
  1195. data/spec/models/mdfe_sefaz_inf_modal_spec.rb +60 -0
  1196. data/spec/models/mdfe_sefaz_inf_mun_carrega_spec.rb +42 -0
  1197. data/spec/models/mdfe_sefaz_inf_mun_descarga_spec.rb +60 -0
  1198. data/spec/models/mdfe_sefaz_inf_nfe_peri_spec.rb +66 -0
  1199. data/spec/models/mdfe_sefaz_inf_nfe_spec.rb +60 -0
  1200. data/spec/models/mdfe_sefaz_inf_pag_spec.rb +108 -0
  1201. data/spec/models/mdfe_sefaz_inf_percurso_spec.rb +36 -0
  1202. data/spec/models/mdfe_sefaz_inf_prazo_spec.rb +48 -0
  1203. data/spec/models/mdfe_sefaz_inf_resp_spec.rb +48 -0
  1204. data/spec/models/mdfe_sefaz_inf_seg_spec.rb +42 -0
  1205. data/spec/models/mdfe_sefaz_inf_solic_nff_spec.rb +36 -0
  1206. data/spec/models/mdfe_sefaz_inf_term_carreg_spec.rb +42 -0
  1207. data/spec/models/mdfe_sefaz_inf_term_descarreg_spec.rb +42 -0
  1208. data/spec/models/mdfe_sefaz_inf_unid_carga_vazia_spec.rb +42 -0
  1209. data/spec/models/mdfe_sefaz_inf_unid_transp_vazia_spec.rb +42 -0
  1210. data/spec/models/mdfe_sefaz_lac_rodo_spec.rb +36 -0
  1211. data/spec/models/mdfe_sefaz_lac_unid_carga_spec.rb +36 -0
  1212. data/spec/models/mdfe_sefaz_lac_unid_transp_spec.rb +36 -0
  1213. data/spec/models/mdfe_sefaz_lacres_spec.rb +36 -0
  1214. data/spec/models/mdfe_sefaz_peri_spec.rb +66 -0
  1215. data/spec/models/mdfe_sefaz_prod_pred_spec.rb +60 -0
  1216. data/spec/models/mdfe_sefaz_prop_spec.rb +72 -0
  1217. data/spec/models/mdfe_sefaz_resp_tec_spec.rb +66 -0
  1218. data/spec/models/mdfe_sefaz_rodo_spec.rb +60 -0
  1219. data/spec/models/mdfe_sefaz_seg_spec.rb +54 -0
  1220. data/spec/models/mdfe_sefaz_tot_spec.rb +66 -0
  1221. data/spec/models/mdfe_sefaz_trem_spec.rb +60 -0
  1222. data/spec/models/mdfe_sefaz_unid_carga_spec.rb +54 -0
  1223. data/spec/models/mdfe_sefaz_unidade_transp_spec.rb +60 -0
  1224. data/spec/models/mdfe_sefaz_vag_spec.rb +72 -0
  1225. data/spec/models/mdfe_sefaz_vale_ped_spec.rb +42 -0
  1226. data/spec/models/mdfe_sefaz_veic_reboque_prop_spec.rb +72 -0
  1227. data/spec/models/mdfe_sefaz_veic_reboque_spec.rb +84 -0
  1228. data/spec/models/mdfe_sefaz_veic_tracao_spec.rb +96 -0
  1229. data/spec/models/nfcom_pedido_cancelamento_spec.rb +36 -0
  1230. data/spec/models/nfcom_pedido_emissao_spec.rb +52 -0
  1231. data/spec/models/nfcom_sefaz_assinante_spec.rb +90 -0
  1232. data/spec/models/nfcom_sefaz_aut_xml_spec.rb +42 -0
  1233. data/spec/models/nfcom_sefaz_cofins_spec.rb +54 -0
  1234. data/spec/models/nfcom_sefaz_dest_spec.rb +78 -0
  1235. data/spec/models/nfcom_sefaz_det_spec.rb +84 -0
  1236. data/spec/models/nfcom_sefaz_emit_spec.rb +72 -0
  1237. data/spec/models/nfcom_sefaz_ende_dest_spec.rb +102 -0
  1238. data/spec/models/nfcom_sefaz_ende_emi_spec.rb +90 -0
  1239. data/spec/models/nfcom_sefaz_funttel_spec.rb +48 -0
  1240. data/spec/models/nfcom_sefaz_fust_spec.rb +48 -0
  1241. data/spec/models/nfcom_sefaz_g_cofat_gnf_spec.rb +66 -0
  1242. data/spec/models/nfcom_sefaz_g_cofat_spec.rb +42 -0
  1243. data/spec/models/nfcom_sefaz_g_fat_central_spec.rb +42 -0
  1244. data/spec/models/nfcom_sefaz_g_fat_spec.rb +90 -0
  1245. data/spec/models/nfcom_sefaz_g_fidelidade_spec.rb +54 -0
  1246. data/spec/models/nfcom_sefaz_g_proc_ref_spec.rb +108 -0
  1247. data/spec/models/nfcom_sefaz_g_proc_spec.rb +42 -0
  1248. data/spec/models/nfcom_sefaz_g_ressarc_spec.rb +60 -0
  1249. data/spec/models/nfcom_sefaz_g_sub_spec.rb +48 -0
  1250. data/spec/models/nfcom_sefaz_gnf_spec.rb +66 -0
  1251. data/spec/models/nfcom_sefaz_gpix_spec.rb +36 -0
  1252. data/spec/models/nfcom_sefaz_icms00_spec.rb +66 -0
  1253. data/spec/models/nfcom_sefaz_icms20_spec.rb +84 -0
  1254. data/spec/models/nfcom_sefaz_icms40_spec.rb +48 -0
  1255. data/spec/models/nfcom_sefaz_icms51_spec.rb +48 -0
  1256. data/spec/models/nfcom_sefaz_icms90_spec.rb +78 -0
  1257. data/spec/models/nfcom_sefaz_icms_tot_spec.rb +54 -0
  1258. data/spec/models/nfcom_sefaz_icmssn_spec.rb +42 -0
  1259. data/spec/models/nfcom_sefaz_icmsuf_dest_spec.rb +78 -0
  1260. data/spec/models/nfcom_sefaz_ide_spec.rb +144 -0
  1261. data/spec/models/nfcom_sefaz_imposto_spec.rb +108 -0
  1262. data/spec/models/nfcom_sefaz_inf_adic_spec.rb +42 -0
  1263. data/spec/models/nfcom_sefaz_inf_nf_com_spec.rb +126 -0
  1264. data/spec/models/nfcom_sefaz_pis_spec.rb +54 -0
  1265. data/spec/models/nfcom_sefaz_prod_spec.rb +108 -0
  1266. data/spec/models/nfcom_sefaz_resp_tec_spec.rb +66 -0
  1267. data/spec/models/nfcom_sefaz_ret_trib_spec.rb +60 -0
  1268. data/spec/models/nfcom_sefaz_total_spec.rb +90 -0
  1269. data/spec/models/nfcom_sefaz_v_ret_trib_tot_spec.rb +54 -0
  1270. data/spec/models/nfe_pedido_cancelamento_spec.rb +36 -0
  1271. data/spec/models/nfe_pedido_carta_correcao_spec.rb +36 -0
  1272. data/spec/models/nfe_pedido_emissao_lote_spec.rb +58 -0
  1273. data/spec/models/nfe_pedido_emissao_spec.rb +58 -0
  1274. data/spec/models/nfe_sefaz_adi_spec.rb +60 -0
  1275. data/spec/models/nfe_sefaz_arma_spec.rb +54 -0
  1276. data/spec/models/nfe_sefaz_aut_xml_spec.rb +42 -0
  1277. data/spec/models/nfe_sefaz_avulsa_spec.rb +96 -0
  1278. data/spec/models/nfe_sefaz_cana_spec.rb +90 -0
  1279. data/spec/models/nfe_sefaz_card_spec.rb +66 -0
  1280. data/spec/models/nfe_sefaz_cide_spec.rb +48 -0
  1281. data/spec/models/nfe_sefaz_cobr_spec.rb +42 -0
  1282. data/spec/models/nfe_sefaz_cofins_aliq_spec.rb +54 -0
  1283. data/spec/models/nfe_sefaz_cofins_outr_spec.rb +66 -0
  1284. data/spec/models/nfe_sefaz_cofins_qtde_spec.rb +54 -0
  1285. data/spec/models/nfe_sefaz_cofins_spec.rb +54 -0
  1286. data/spec/models/nfe_sefaz_cofinsnt_spec.rb +36 -0
  1287. data/spec/models/nfe_sefaz_cofinsst_spec.rb +66 -0
  1288. data/spec/models/nfe_sefaz_comb_spec.rb +108 -0
  1289. data/spec/models/nfe_sefaz_compra_spec.rb +48 -0
  1290. data/spec/models/nfe_sefaz_deduc_spec.rb +42 -0
  1291. data/spec/models/nfe_sefaz_dest_spec.rb +90 -0
  1292. data/spec/models/nfe_sefaz_det_export_spec.rb +42 -0
  1293. data/spec/models/nfe_sefaz_det_pag_spec.rb +78 -0
  1294. data/spec/models/nfe_sefaz_det_spec.rb +66 -0
  1295. data/spec/models/nfe_sefaz_di_spec.rb +108 -0
  1296. data/spec/models/nfe_sefaz_dup_spec.rb +48 -0
  1297. data/spec/models/nfe_sefaz_emit_spec.rb +90 -0
  1298. data/spec/models/nfe_sefaz_encerrante_spec.rb +60 -0
  1299. data/spec/models/nfe_sefaz_ender_emi_spec.rb +96 -0
  1300. data/spec/models/nfe_sefaz_endereco_spec.rb +96 -0
  1301. data/spec/models/nfe_sefaz_export_ind_spec.rb +48 -0
  1302. data/spec/models/nfe_sefaz_exporta_spec.rb +48 -0
  1303. data/spec/models/nfe_sefaz_fat_spec.rb +54 -0
  1304. data/spec/models/nfe_sefaz_for_dia_spec.rb +42 -0
  1305. data/spec/models/nfe_sefaz_g_cred_spec.rb +48 -0
  1306. data/spec/models/nfe_sefaz_icms00_spec.rb +78 -0
  1307. data/spec/models/nfe_sefaz_icms02_spec.rb +60 -0
  1308. data/spec/models/nfe_sefaz_icms10_spec.rb +150 -0
  1309. data/spec/models/nfe_sefaz_icms15_spec.rb +90 -0
  1310. data/spec/models/nfe_sefaz_icms20_spec.rb +108 -0
  1311. data/spec/models/nfe_sefaz_icms30_spec.rb +114 -0
  1312. data/spec/models/nfe_sefaz_icms40_spec.rb +60 -0
  1313. data/spec/models/nfe_sefaz_icms51_spec.rb +132 -0
  1314. data/spec/models/nfe_sefaz_icms53_spec.rb +90 -0
  1315. data/spec/models/nfe_sefaz_icms60_spec.rb +108 -0
  1316. data/spec/models/nfe_sefaz_icms61_spec.rb +60 -0
  1317. data/spec/models/nfe_sefaz_icms70_spec.rb +174 -0
  1318. data/spec/models/nfe_sefaz_icms90_spec.rb +174 -0
  1319. data/spec/models/nfe_sefaz_icms_part_spec.rb +138 -0
  1320. data/spec/models/nfe_sefaz_icms_spec.rb +156 -0
  1321. data/spec/models/nfe_sefaz_icms_tot_spec.rb +204 -0
  1322. data/spec/models/nfe_sefaz_icmssn101_spec.rb +54 -0
  1323. data/spec/models/nfe_sefaz_icmssn102_spec.rb +42 -0
  1324. data/spec/models/nfe_sefaz_icmssn201_spec.rb +108 -0
  1325. data/spec/models/nfe_sefaz_icmssn202_spec.rb +96 -0
  1326. data/spec/models/nfe_sefaz_icmssn500_spec.rb +108 -0
  1327. data/spec/models/nfe_sefaz_icmssn900_spec.rb +138 -0
  1328. data/spec/models/nfe_sefaz_icmsst_spec.rb +120 -0
  1329. data/spec/models/nfe_sefaz_icmsuf_dest_spec.rb +84 -0
  1330. data/spec/models/nfe_sefaz_ide_spec.rb +174 -0
  1331. data/spec/models/nfe_sefaz_ii_spec.rb +54 -0
  1332. data/spec/models/nfe_sefaz_imposto_devol_ipi_spec.rb +36 -0
  1333. data/spec/models/nfe_sefaz_imposto_devol_spec.rb +42 -0
  1334. data/spec/models/nfe_sefaz_imposto_spec.rb +90 -0
  1335. data/spec/models/nfe_sefaz_inf_adic_obs_cont_spec.rb +42 -0
  1336. data/spec/models/nfe_sefaz_inf_adic_obs_fisco_spec.rb +42 -0
  1337. data/spec/models/nfe_sefaz_inf_adic_spec.rb +60 -0
  1338. data/spec/models/nfe_sefaz_inf_intermed_spec.rb +42 -0
  1339. data/spec/models/nfe_sefaz_inf_nfe_spec.rb +156 -0
  1340. data/spec/models/nfe_sefaz_inf_nfe_supl_spec.rb +42 -0
  1341. data/spec/models/nfe_sefaz_inf_prod_emb_spec.rb +48 -0
  1342. data/spec/models/nfe_sefaz_inf_prod_nff_spec.rb +42 -0
  1343. data/spec/models/nfe_sefaz_inf_resp_tec_spec.rb +66 -0
  1344. data/spec/models/nfe_sefaz_inf_solic_nff_spec.rb +36 -0
  1345. data/spec/models/nfe_sefaz_ipi_spec.rb +66 -0
  1346. data/spec/models/nfe_sefaz_ipi_trib_spec.rb +66 -0
  1347. data/spec/models/nfe_sefaz_ipint_spec.rb +36 -0
  1348. data/spec/models/nfe_sefaz_issq_ntot_spec.rb +102 -0
  1349. data/spec/models/nfe_sefaz_issqn_spec.rb +126 -0
  1350. data/spec/models/nfe_sefaz_lacres_spec.rb +36 -0
  1351. data/spec/models/nfe_sefaz_local_spec.rb +126 -0
  1352. data/spec/models/nfe_sefaz_med_spec.rb +48 -0
  1353. data/spec/models/nfe_sefaz_n_fref_spec.rb +66 -0
  1354. data/spec/models/nfe_sefaz_obs_cont_spec.rb +42 -0
  1355. data/spec/models/nfe_sefaz_obs_fisco_spec.rb +42 -0
  1356. data/spec/models/nfe_sefaz_obs_item_spec.rb +42 -0
  1357. data/spec/models/nfe_sefaz_orig_comb_spec.rb +48 -0
  1358. data/spec/models/nfe_sefaz_pag_spec.rb +42 -0
  1359. data/spec/models/nfe_sefaz_pis_aliq_spec.rb +54 -0
  1360. data/spec/models/nfe_sefaz_pis_outr_spec.rb +66 -0
  1361. data/spec/models/nfe_sefaz_pis_qtde_spec.rb +54 -0
  1362. data/spec/models/nfe_sefaz_pis_spec.rb +54 -0
  1363. data/spec/models/nfe_sefaz_pisnt_spec.rb +36 -0
  1364. data/spec/models/nfe_sefaz_pisst_spec.rb +66 -0
  1365. data/spec/models/nfe_sefaz_proc_ref_spec.rb +48 -0
  1366. data/spec/models/nfe_sefaz_prod_spec.rb +270 -0
  1367. data/spec/models/nfe_sefaz_rastro_spec.rb +60 -0
  1368. data/spec/models/nfe_sefaz_ref_ecf_spec.rb +48 -0
  1369. data/spec/models/nfe_sefaz_ref_nf_spec.rb +66 -0
  1370. data/spec/models/nfe_sefaz_ref_nfp_spec.rb +78 -0
  1371. data/spec/models/nfe_sefaz_ret_transp_spec.rb +66 -0
  1372. data/spec/models/nfe_sefaz_ret_trib_spec.rb +72 -0
  1373. data/spec/models/nfe_sefaz_total_spec.rb +48 -0
  1374. data/spec/models/nfe_sefaz_transp_spec.rb +78 -0
  1375. data/spec/models/nfe_sefaz_transporta_spec.rb +72 -0
  1376. data/spec/models/nfe_sefaz_veic_prod_spec.rb +174 -0
  1377. data/spec/models/nfe_sefaz_veiculo_spec.rb +48 -0
  1378. data/spec/models/nfe_sefaz_vol_spec.rb +72 -0
  1379. data/spec/models/nfse_cancelamento_spec.rb +70 -0
  1380. data/spec/models/nfse_cidade_metadados_spec.rb +74 -0
  1381. data/spec/models/nfse_cidades_atendidas_spec.rb +42 -0
  1382. data/spec/models/nfse_dps_pedido_emissao_spec.rb +62 -0
  1383. data/spec/models/nfse_listagem_spec.rb +42 -0
  1384. data/spec/models/nfse_lote_dps_pedido_emissao_spec.rb +62 -0
  1385. data/spec/models/nfse_mensagem_retorno_spec.rb +48 -0
  1386. data/spec/models/nfse_pedido_cancelamento_spec.rb +42 -0
  1387. data/spec/models/nfse_pedido_emissao_spec.rb +46 -0
  1388. data/spec/models/nfse_pedido_sincronizacao_spec.rb +36 -0
  1389. data/spec/models/nfse_sincronizacao_spec.rb +46 -0
  1390. data/spec/models/nfse_spec.rb +116 -0
  1391. data/spec/models/rps_dados_construcao_civil_spec.rb +42 -0
  1392. data/spec/models/rps_dados_intermediario_spec.rb +48 -0
  1393. data/spec/models/rps_dados_prestador_spec.rb +102 -0
  1394. data/spec/models/rps_dados_servico_spec.rb +120 -0
  1395. data/spec/models/rps_dados_spec.rb +42 -0
  1396. data/spec/models/rps_dados_tomador_endereco_spec.rb +90 -0
  1397. data/spec/models/rps_dados_tomador_spec.rb +66 -0
  1398. data/spec/models/rps_identificacao_prestador_spec.rb +36 -0
  1399. data/spec/models/rps_identificacao_spec.rb +48 -0
  1400. data/spec/models/rps_lote_listagem_spec.rb +42 -0
  1401. data/spec/models/rps_lote_spec.rb +80 -0
  1402. data/spec/models/rps_pedido_emissao_lote_spec.rb +52 -0
  1403. data/spec/models/rps_pedido_emissao_spec.rb +90 -0
  1404. data/spec/models/rps_servico_valores_spec.rb +150 -0
  1405. data/spec/models/rps_spec.rb +84 -0
  1406. data/spec/models/serv_spec.rb +78 -0
  1407. data/spec/models/substituicao_spec.rb +48 -0
  1408. data/spec/models/trib_federal_spec.rb +54 -0
  1409. data/spec/models/trib_municipal_spec.rb +96 -0
  1410. data/spec/models/trib_outros_pis_cofins_spec.rb +72 -0
  1411. data/spec/models/trib_total_monet_spec.rb +48 -0
  1412. data/spec/models/trib_total_percent_spec.rb +48 -0
  1413. data/spec/models/trib_total_spec.rb +54 -0
  1414. data/spec/models/v_desc_cond_incond_spec.rb +42 -0
  1415. data/spec/models/v_serv_prest_spec.rb +42 -0
  1416. data/spec/spec_helper.rb +111 -0
  1417. metadata +1967 -0
@@ -0,0 +1,998 @@
1
+ =begin
2
+ #API Nuvem Fiscal
3
+
4
+ #API para automação comercial e documentos fiscais.
5
+
6
+ The version of the OpenAPI document: 2.44.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module NuvemfiscalSdkRuby
17
+ # Totais referentes ao ICMS.
18
+ class NfeSefazICMSTot
19
+ # BC do ICMS.
20
+ attr_accessor :v_bc
21
+
22
+ # Valor Total do ICMS.
23
+ attr_accessor :v_icms
24
+
25
+ # Valor Total do ICMS desonerado.
26
+ attr_accessor :v_icms_deson
27
+
28
+ # Valor total do ICMS relativo ao Fundo de Combate à Pobreza (FCP) para a UF de destino.
29
+ attr_accessor :v_fcpuf_dest
30
+
31
+ # Valor total do ICMS de partilha para a UF do destinatário.
32
+ attr_accessor :v_icmsuf_dest
33
+
34
+ # Valor total do ICMS de partilha para a UF do remetente.
35
+ attr_accessor :v_icmsuf_remet
36
+
37
+ # Valor Total do FCP (Fundo de Combate à Pobreza).
38
+ attr_accessor :v_fcp
39
+
40
+ # BC do ICMS ST.
41
+ attr_accessor :v_bcst
42
+
43
+ # Valor Total do ICMS ST.
44
+ attr_accessor :v_st
45
+
46
+ # Valor Total do FCP (Fundo de Combate à Pobreza) retido por substituição tributária.
47
+ attr_accessor :v_fcpst
48
+
49
+ # Valor Total do FCP (Fundo de Combate à Pobreza) retido anteriormente por substituição tributária.
50
+ attr_accessor :v_fcpst_ret
51
+
52
+ # Valor total da quantidade tributada do ICMS monofásico próprio.
53
+ attr_accessor :q_bc_mono
54
+
55
+ # Valor total do ICMS monofásico próprio.
56
+ attr_accessor :v_icms_mono
57
+
58
+ # Valor total da quantidade tributada do ICMS monofásico sujeito a retenção.
59
+ attr_accessor :q_bc_mono_reten
60
+
61
+ # Valor total do ICMS monofásico sujeito a retenção.
62
+ attr_accessor :v_icms_mono_reten
63
+
64
+ # Valor total da quantidade tributada do ICMS monofásico retido anteriormente.
65
+ attr_accessor :q_bc_mono_ret
66
+
67
+ # Valor do ICMS monofásico retido anteriormente.
68
+ attr_accessor :v_icms_mono_ret
69
+
70
+ # Valor Total dos produtos e serviços.
71
+ attr_accessor :v_prod
72
+
73
+ # Valor Total do Frete.
74
+ attr_accessor :v_frete
75
+
76
+ # Valor Total do Seguro.
77
+ attr_accessor :v_seg
78
+
79
+ # Valor Total do Desconto.
80
+ attr_accessor :v_desc
81
+
82
+ # Valor Total do II.
83
+ attr_accessor :v_ii
84
+
85
+ # Valor Total do IPI.
86
+ attr_accessor :v_ipi
87
+
88
+ # Valor Total do IPI devolvido. Deve ser informado quando preenchido o Grupo Tributos Devolvidos na emissão de nota finNFe=4 (devolução) nas operações com não contribuintes do IPI. Corresponde ao total da soma dos campos id: UA04.
89
+ attr_accessor :v_ipi_devol
90
+
91
+ # Valor do PIS.
92
+ attr_accessor :v_pis
93
+
94
+ # Valor do COFINS.
95
+ attr_accessor :v_cofins
96
+
97
+ # Outras Despesas acessórias.
98
+ attr_accessor :v_outro
99
+
100
+ # Valor Total da NF-e.
101
+ attr_accessor :v_nf
102
+
103
+ # Valor estimado total de impostos federais, estaduais e municipais.
104
+ attr_accessor :v_tot_trib
105
+
106
+ # Attribute mapping from ruby-style variable name to JSON key.
107
+ def self.attribute_map
108
+ {
109
+ :'v_bc' => :'vBC',
110
+ :'v_icms' => :'vICMS',
111
+ :'v_icms_deson' => :'vICMSDeson',
112
+ :'v_fcpuf_dest' => :'vFCPUFDest',
113
+ :'v_icmsuf_dest' => :'vICMSUFDest',
114
+ :'v_icmsuf_remet' => :'vICMSUFRemet',
115
+ :'v_fcp' => :'vFCP',
116
+ :'v_bcst' => :'vBCST',
117
+ :'v_st' => :'vST',
118
+ :'v_fcpst' => :'vFCPST',
119
+ :'v_fcpst_ret' => :'vFCPSTRet',
120
+ :'q_bc_mono' => :'qBCMono',
121
+ :'v_icms_mono' => :'vICMSMono',
122
+ :'q_bc_mono_reten' => :'qBCMonoReten',
123
+ :'v_icms_mono_reten' => :'vICMSMonoReten',
124
+ :'q_bc_mono_ret' => :'qBCMonoRet',
125
+ :'v_icms_mono_ret' => :'vICMSMonoRet',
126
+ :'v_prod' => :'vProd',
127
+ :'v_frete' => :'vFrete',
128
+ :'v_seg' => :'vSeg',
129
+ :'v_desc' => :'vDesc',
130
+ :'v_ii' => :'vII',
131
+ :'v_ipi' => :'vIPI',
132
+ :'v_ipi_devol' => :'vIPIDevol',
133
+ :'v_pis' => :'vPIS',
134
+ :'v_cofins' => :'vCOFINS',
135
+ :'v_outro' => :'vOutro',
136
+ :'v_nf' => :'vNF',
137
+ :'v_tot_trib' => :'vTotTrib'
138
+ }
139
+ end
140
+
141
+ # Returns all the JSON keys this model knows about
142
+ def self.acceptable_attributes
143
+ attribute_map.values
144
+ end
145
+
146
+ # Attribute type mapping.
147
+ def self.openapi_types
148
+ {
149
+ :'v_bc' => :'Float',
150
+ :'v_icms' => :'Float',
151
+ :'v_icms_deson' => :'Float',
152
+ :'v_fcpuf_dest' => :'Float',
153
+ :'v_icmsuf_dest' => :'Float',
154
+ :'v_icmsuf_remet' => :'Float',
155
+ :'v_fcp' => :'Float',
156
+ :'v_bcst' => :'Float',
157
+ :'v_st' => :'Float',
158
+ :'v_fcpst' => :'Float',
159
+ :'v_fcpst_ret' => :'Float',
160
+ :'q_bc_mono' => :'Float',
161
+ :'v_icms_mono' => :'Float',
162
+ :'q_bc_mono_reten' => :'Float',
163
+ :'v_icms_mono_reten' => :'Float',
164
+ :'q_bc_mono_ret' => :'Float',
165
+ :'v_icms_mono_ret' => :'Float',
166
+ :'v_prod' => :'Float',
167
+ :'v_frete' => :'Float',
168
+ :'v_seg' => :'Float',
169
+ :'v_desc' => :'Float',
170
+ :'v_ii' => :'Float',
171
+ :'v_ipi' => :'Float',
172
+ :'v_ipi_devol' => :'Float',
173
+ :'v_pis' => :'Float',
174
+ :'v_cofins' => :'Float',
175
+ :'v_outro' => :'Float',
176
+ :'v_nf' => :'Float',
177
+ :'v_tot_trib' => :'Float'
178
+ }
179
+ end
180
+
181
+ # List of attributes with nullable: true
182
+ def self.openapi_nullable
183
+ Set.new([
184
+ :'v_bc',
185
+ :'v_icms',
186
+ :'v_icms_deson',
187
+ :'v_fcpuf_dest',
188
+ :'v_icmsuf_dest',
189
+ :'v_icmsuf_remet',
190
+ :'v_fcp',
191
+ :'v_bcst',
192
+ :'v_st',
193
+ :'v_fcpst',
194
+ :'v_fcpst_ret',
195
+ :'q_bc_mono',
196
+ :'v_icms_mono',
197
+ :'q_bc_mono_reten',
198
+ :'v_icms_mono_reten',
199
+ :'q_bc_mono_ret',
200
+ :'v_icms_mono_ret',
201
+ :'v_prod',
202
+ :'v_frete',
203
+ :'v_seg',
204
+ :'v_desc',
205
+ :'v_ii',
206
+ :'v_ipi',
207
+ :'v_ipi_devol',
208
+ :'v_pis',
209
+ :'v_cofins',
210
+ :'v_outro',
211
+ :'v_nf',
212
+ :'v_tot_trib'
213
+ ])
214
+ end
215
+
216
+ # Initializes the object
217
+ # @param [Hash] attributes Model attributes in the form of hash
218
+ def initialize(attributes = {})
219
+ if (!attributes.is_a?(Hash))
220
+ fail ArgumentError, "The input argument (attributes) must be a hash in `NuvemfiscalSdkRuby::NfeSefazICMSTot` initialize method"
221
+ end
222
+
223
+ # check to see if the attribute exists and convert string to symbol for hash key
224
+ attributes = attributes.each_with_object({}) { |(k, v), h|
225
+ if (!self.class.attribute_map.key?(k.to_sym))
226
+ fail ArgumentError, "`#{k}` is not a valid attribute in `NuvemfiscalSdkRuby::NfeSefazICMSTot`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
227
+ end
228
+ h[k.to_sym] = v
229
+ }
230
+
231
+ if attributes.key?(:'v_bc')
232
+ self.v_bc = attributes[:'v_bc']
233
+ else
234
+ self.v_bc = nil
235
+ end
236
+
237
+ if attributes.key?(:'v_icms')
238
+ self.v_icms = attributes[:'v_icms']
239
+ else
240
+ self.v_icms = nil
241
+ end
242
+
243
+ if attributes.key?(:'v_icms_deson')
244
+ self.v_icms_deson = attributes[:'v_icms_deson']
245
+ else
246
+ self.v_icms_deson = nil
247
+ end
248
+
249
+ if attributes.key?(:'v_fcpuf_dest')
250
+ self.v_fcpuf_dest = attributes[:'v_fcpuf_dest']
251
+ end
252
+
253
+ if attributes.key?(:'v_icmsuf_dest')
254
+ self.v_icmsuf_dest = attributes[:'v_icmsuf_dest']
255
+ end
256
+
257
+ if attributes.key?(:'v_icmsuf_remet')
258
+ self.v_icmsuf_remet = attributes[:'v_icmsuf_remet']
259
+ end
260
+
261
+ if attributes.key?(:'v_fcp')
262
+ self.v_fcp = attributes[:'v_fcp']
263
+ else
264
+ self.v_fcp = nil
265
+ end
266
+
267
+ if attributes.key?(:'v_bcst')
268
+ self.v_bcst = attributes[:'v_bcst']
269
+ else
270
+ self.v_bcst = nil
271
+ end
272
+
273
+ if attributes.key?(:'v_st')
274
+ self.v_st = attributes[:'v_st']
275
+ else
276
+ self.v_st = nil
277
+ end
278
+
279
+ if attributes.key?(:'v_fcpst')
280
+ self.v_fcpst = attributes[:'v_fcpst']
281
+ else
282
+ self.v_fcpst = nil
283
+ end
284
+
285
+ if attributes.key?(:'v_fcpst_ret')
286
+ self.v_fcpst_ret = attributes[:'v_fcpst_ret']
287
+ else
288
+ self.v_fcpst_ret = nil
289
+ end
290
+
291
+ if attributes.key?(:'q_bc_mono')
292
+ self.q_bc_mono = attributes[:'q_bc_mono']
293
+ end
294
+
295
+ if attributes.key?(:'v_icms_mono')
296
+ self.v_icms_mono = attributes[:'v_icms_mono']
297
+ end
298
+
299
+ if attributes.key?(:'q_bc_mono_reten')
300
+ self.q_bc_mono_reten = attributes[:'q_bc_mono_reten']
301
+ end
302
+
303
+ if attributes.key?(:'v_icms_mono_reten')
304
+ self.v_icms_mono_reten = attributes[:'v_icms_mono_reten']
305
+ end
306
+
307
+ if attributes.key?(:'q_bc_mono_ret')
308
+ self.q_bc_mono_ret = attributes[:'q_bc_mono_ret']
309
+ end
310
+
311
+ if attributes.key?(:'v_icms_mono_ret')
312
+ self.v_icms_mono_ret = attributes[:'v_icms_mono_ret']
313
+ end
314
+
315
+ if attributes.key?(:'v_prod')
316
+ self.v_prod = attributes[:'v_prod']
317
+ else
318
+ self.v_prod = nil
319
+ end
320
+
321
+ if attributes.key?(:'v_frete')
322
+ self.v_frete = attributes[:'v_frete']
323
+ else
324
+ self.v_frete = nil
325
+ end
326
+
327
+ if attributes.key?(:'v_seg')
328
+ self.v_seg = attributes[:'v_seg']
329
+ else
330
+ self.v_seg = nil
331
+ end
332
+
333
+ if attributes.key?(:'v_desc')
334
+ self.v_desc = attributes[:'v_desc']
335
+ else
336
+ self.v_desc = nil
337
+ end
338
+
339
+ if attributes.key?(:'v_ii')
340
+ self.v_ii = attributes[:'v_ii']
341
+ else
342
+ self.v_ii = nil
343
+ end
344
+
345
+ if attributes.key?(:'v_ipi')
346
+ self.v_ipi = attributes[:'v_ipi']
347
+ else
348
+ self.v_ipi = nil
349
+ end
350
+
351
+ if attributes.key?(:'v_ipi_devol')
352
+ self.v_ipi_devol = attributes[:'v_ipi_devol']
353
+ else
354
+ self.v_ipi_devol = nil
355
+ end
356
+
357
+ if attributes.key?(:'v_pis')
358
+ self.v_pis = attributes[:'v_pis']
359
+ else
360
+ self.v_pis = nil
361
+ end
362
+
363
+ if attributes.key?(:'v_cofins')
364
+ self.v_cofins = attributes[:'v_cofins']
365
+ else
366
+ self.v_cofins = nil
367
+ end
368
+
369
+ if attributes.key?(:'v_outro')
370
+ self.v_outro = attributes[:'v_outro']
371
+ else
372
+ self.v_outro = nil
373
+ end
374
+
375
+ if attributes.key?(:'v_nf')
376
+ self.v_nf = attributes[:'v_nf']
377
+ else
378
+ self.v_nf = nil
379
+ end
380
+
381
+ if attributes.key?(:'v_tot_trib')
382
+ self.v_tot_trib = attributes[:'v_tot_trib']
383
+ end
384
+ end
385
+
386
+ # Show invalid properties with the reasons. Usually used together with valid?
387
+ # @return Array for valid properties with the reasons
388
+ def list_invalid_properties
389
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
390
+ invalid_properties = Array.new
391
+ if @v_bc < 0
392
+ invalid_properties.push('invalid value for "v_bc", must be greater than or equal to 0.')
393
+ end
394
+
395
+ if @v_icms < 0
396
+ invalid_properties.push('invalid value for "v_icms", must be greater than or equal to 0.')
397
+ end
398
+
399
+ if @v_icms_deson < 0
400
+ invalid_properties.push('invalid value for "v_icms_deson", must be greater than or equal to 0.')
401
+ end
402
+
403
+ if !@v_fcpuf_dest.nil? && @v_fcpuf_dest < 0
404
+ invalid_properties.push('invalid value for "v_fcpuf_dest", must be greater than or equal to 0.')
405
+ end
406
+
407
+ if !@v_icmsuf_dest.nil? && @v_icmsuf_dest < 0
408
+ invalid_properties.push('invalid value for "v_icmsuf_dest", must be greater than or equal to 0.')
409
+ end
410
+
411
+ if !@v_icmsuf_remet.nil? && @v_icmsuf_remet < 0
412
+ invalid_properties.push('invalid value for "v_icmsuf_remet", must be greater than or equal to 0.')
413
+ end
414
+
415
+ if @v_fcp < 0
416
+ invalid_properties.push('invalid value for "v_fcp", must be greater than or equal to 0.')
417
+ end
418
+
419
+ if @v_bcst < 0
420
+ invalid_properties.push('invalid value for "v_bcst", must be greater than or equal to 0.')
421
+ end
422
+
423
+ if @v_st < 0
424
+ invalid_properties.push('invalid value for "v_st", must be greater than or equal to 0.')
425
+ end
426
+
427
+ if @v_fcpst < 0
428
+ invalid_properties.push('invalid value for "v_fcpst", must be greater than or equal to 0.')
429
+ end
430
+
431
+ if @v_fcpst_ret < 0
432
+ invalid_properties.push('invalid value for "v_fcpst_ret", must be greater than or equal to 0.')
433
+ end
434
+
435
+ if !@q_bc_mono.nil? && @q_bc_mono < 0
436
+ invalid_properties.push('invalid value for "q_bc_mono", must be greater than or equal to 0.')
437
+ end
438
+
439
+ if !@v_icms_mono.nil? && @v_icms_mono < 0
440
+ invalid_properties.push('invalid value for "v_icms_mono", must be greater than or equal to 0.')
441
+ end
442
+
443
+ if !@q_bc_mono_reten.nil? && @q_bc_mono_reten < 0
444
+ invalid_properties.push('invalid value for "q_bc_mono_reten", must be greater than or equal to 0.')
445
+ end
446
+
447
+ if !@v_icms_mono_reten.nil? && @v_icms_mono_reten < 0
448
+ invalid_properties.push('invalid value for "v_icms_mono_reten", must be greater than or equal to 0.')
449
+ end
450
+
451
+ if !@q_bc_mono_ret.nil? && @q_bc_mono_ret < 0
452
+ invalid_properties.push('invalid value for "q_bc_mono_ret", must be greater than or equal to 0.')
453
+ end
454
+
455
+ if !@v_icms_mono_ret.nil? && @v_icms_mono_ret < 0
456
+ invalid_properties.push('invalid value for "v_icms_mono_ret", must be greater than or equal to 0.')
457
+ end
458
+
459
+ if @v_prod < 0
460
+ invalid_properties.push('invalid value for "v_prod", must be greater than or equal to 0.')
461
+ end
462
+
463
+ if @v_frete < 0
464
+ invalid_properties.push('invalid value for "v_frete", must be greater than or equal to 0.')
465
+ end
466
+
467
+ if @v_seg < 0
468
+ invalid_properties.push('invalid value for "v_seg", must be greater than or equal to 0.')
469
+ end
470
+
471
+ if @v_desc < 0
472
+ invalid_properties.push('invalid value for "v_desc", must be greater than or equal to 0.')
473
+ end
474
+
475
+ if @v_ii < 0
476
+ invalid_properties.push('invalid value for "v_ii", must be greater than or equal to 0.')
477
+ end
478
+
479
+ if @v_ipi < 0
480
+ invalid_properties.push('invalid value for "v_ipi", must be greater than or equal to 0.')
481
+ end
482
+
483
+ if @v_ipi_devol < 0
484
+ invalid_properties.push('invalid value for "v_ipi_devol", must be greater than or equal to 0.')
485
+ end
486
+
487
+ if @v_pis < 0
488
+ invalid_properties.push('invalid value for "v_pis", must be greater than or equal to 0.')
489
+ end
490
+
491
+ if @v_cofins < 0
492
+ invalid_properties.push('invalid value for "v_cofins", must be greater than or equal to 0.')
493
+ end
494
+
495
+ if @v_outro < 0
496
+ invalid_properties.push('invalid value for "v_outro", must be greater than or equal to 0.')
497
+ end
498
+
499
+ if @v_nf < 0
500
+ invalid_properties.push('invalid value for "v_nf", must be greater than or equal to 0.')
501
+ end
502
+
503
+ if !@v_tot_trib.nil? && @v_tot_trib < 0
504
+ invalid_properties.push('invalid value for "v_tot_trib", must be greater than or equal to 0.')
505
+ end
506
+
507
+ invalid_properties
508
+ end
509
+
510
+ # Check to see if the all the properties in the model are valid
511
+ # @return true if the model is valid
512
+ def valid?
513
+ warn '[DEPRECATED] the `valid?` method is obsolete'
514
+ return false if @v_bc < 0
515
+ return false if @v_icms < 0
516
+ return false if @v_icms_deson < 0
517
+ return false if !@v_fcpuf_dest.nil? && @v_fcpuf_dest < 0
518
+ return false if !@v_icmsuf_dest.nil? && @v_icmsuf_dest < 0
519
+ return false if !@v_icmsuf_remet.nil? && @v_icmsuf_remet < 0
520
+ return false if @v_fcp < 0
521
+ return false if @v_bcst < 0
522
+ return false if @v_st < 0
523
+ return false if @v_fcpst < 0
524
+ return false if @v_fcpst_ret < 0
525
+ return false if !@q_bc_mono.nil? && @q_bc_mono < 0
526
+ return false if !@v_icms_mono.nil? && @v_icms_mono < 0
527
+ return false if !@q_bc_mono_reten.nil? && @q_bc_mono_reten < 0
528
+ return false if !@v_icms_mono_reten.nil? && @v_icms_mono_reten < 0
529
+ return false if !@q_bc_mono_ret.nil? && @q_bc_mono_ret < 0
530
+ return false if !@v_icms_mono_ret.nil? && @v_icms_mono_ret < 0
531
+ return false if @v_prod < 0
532
+ return false if @v_frete < 0
533
+ return false if @v_seg < 0
534
+ return false if @v_desc < 0
535
+ return false if @v_ii < 0
536
+ return false if @v_ipi < 0
537
+ return false if @v_ipi_devol < 0
538
+ return false if @v_pis < 0
539
+ return false if @v_cofins < 0
540
+ return false if @v_outro < 0
541
+ return false if @v_nf < 0
542
+ return false if !@v_tot_trib.nil? && @v_tot_trib < 0
543
+ true
544
+ end
545
+
546
+ # Custom attribute writer method with validation
547
+ # @param [Object] v_bc Value to be assigned
548
+ def v_bc=(v_bc)
549
+ if !v_bc.nil? && v_bc < 0
550
+ fail ArgumentError, 'invalid value for "v_bc", must be greater than or equal to 0.'
551
+ end
552
+
553
+ @v_bc = v_bc
554
+ end
555
+
556
+ # Custom attribute writer method with validation
557
+ # @param [Object] v_icms Value to be assigned
558
+ def v_icms=(v_icms)
559
+ if !v_icms.nil? && v_icms < 0
560
+ fail ArgumentError, 'invalid value for "v_icms", must be greater than or equal to 0.'
561
+ end
562
+
563
+ @v_icms = v_icms
564
+ end
565
+
566
+ # Custom attribute writer method with validation
567
+ # @param [Object] v_icms_deson Value to be assigned
568
+ def v_icms_deson=(v_icms_deson)
569
+ if !v_icms_deson.nil? && v_icms_deson < 0
570
+ fail ArgumentError, 'invalid value for "v_icms_deson", must be greater than or equal to 0.'
571
+ end
572
+
573
+ @v_icms_deson = v_icms_deson
574
+ end
575
+
576
+ # Custom attribute writer method with validation
577
+ # @param [Object] v_fcpuf_dest Value to be assigned
578
+ def v_fcpuf_dest=(v_fcpuf_dest)
579
+ if !v_fcpuf_dest.nil? && v_fcpuf_dest < 0
580
+ fail ArgumentError, 'invalid value for "v_fcpuf_dest", must be greater than or equal to 0.'
581
+ end
582
+
583
+ @v_fcpuf_dest = v_fcpuf_dest
584
+ end
585
+
586
+ # Custom attribute writer method with validation
587
+ # @param [Object] v_icmsuf_dest Value to be assigned
588
+ def v_icmsuf_dest=(v_icmsuf_dest)
589
+ if !v_icmsuf_dest.nil? && v_icmsuf_dest < 0
590
+ fail ArgumentError, 'invalid value for "v_icmsuf_dest", must be greater than or equal to 0.'
591
+ end
592
+
593
+ @v_icmsuf_dest = v_icmsuf_dest
594
+ end
595
+
596
+ # Custom attribute writer method with validation
597
+ # @param [Object] v_icmsuf_remet Value to be assigned
598
+ def v_icmsuf_remet=(v_icmsuf_remet)
599
+ if !v_icmsuf_remet.nil? && v_icmsuf_remet < 0
600
+ fail ArgumentError, 'invalid value for "v_icmsuf_remet", must be greater than or equal to 0.'
601
+ end
602
+
603
+ @v_icmsuf_remet = v_icmsuf_remet
604
+ end
605
+
606
+ # Custom attribute writer method with validation
607
+ # @param [Object] v_fcp Value to be assigned
608
+ def v_fcp=(v_fcp)
609
+ if !v_fcp.nil? && v_fcp < 0
610
+ fail ArgumentError, 'invalid value for "v_fcp", must be greater than or equal to 0.'
611
+ end
612
+
613
+ @v_fcp = v_fcp
614
+ end
615
+
616
+ # Custom attribute writer method with validation
617
+ # @param [Object] v_bcst Value to be assigned
618
+ def v_bcst=(v_bcst)
619
+ if !v_bcst.nil? && v_bcst < 0
620
+ fail ArgumentError, 'invalid value for "v_bcst", must be greater than or equal to 0.'
621
+ end
622
+
623
+ @v_bcst = v_bcst
624
+ end
625
+
626
+ # Custom attribute writer method with validation
627
+ # @param [Object] v_st Value to be assigned
628
+ def v_st=(v_st)
629
+ if !v_st.nil? && v_st < 0
630
+ fail ArgumentError, 'invalid value for "v_st", must be greater than or equal to 0.'
631
+ end
632
+
633
+ @v_st = v_st
634
+ end
635
+
636
+ # Custom attribute writer method with validation
637
+ # @param [Object] v_fcpst Value to be assigned
638
+ def v_fcpst=(v_fcpst)
639
+ if !v_fcpst.nil? && v_fcpst < 0
640
+ fail ArgumentError, 'invalid value for "v_fcpst", must be greater than or equal to 0.'
641
+ end
642
+
643
+ @v_fcpst = v_fcpst
644
+ end
645
+
646
+ # Custom attribute writer method with validation
647
+ # @param [Object] v_fcpst_ret Value to be assigned
648
+ def v_fcpst_ret=(v_fcpst_ret)
649
+ if !v_fcpst_ret.nil? && v_fcpst_ret < 0
650
+ fail ArgumentError, 'invalid value for "v_fcpst_ret", must be greater than or equal to 0.'
651
+ end
652
+
653
+ @v_fcpst_ret = v_fcpst_ret
654
+ end
655
+
656
+ # Custom attribute writer method with validation
657
+ # @param [Object] q_bc_mono Value to be assigned
658
+ def q_bc_mono=(q_bc_mono)
659
+ if !q_bc_mono.nil? && q_bc_mono < 0
660
+ fail ArgumentError, 'invalid value for "q_bc_mono", must be greater than or equal to 0.'
661
+ end
662
+
663
+ @q_bc_mono = q_bc_mono
664
+ end
665
+
666
+ # Custom attribute writer method with validation
667
+ # @param [Object] v_icms_mono Value to be assigned
668
+ def v_icms_mono=(v_icms_mono)
669
+ if !v_icms_mono.nil? && v_icms_mono < 0
670
+ fail ArgumentError, 'invalid value for "v_icms_mono", must be greater than or equal to 0.'
671
+ end
672
+
673
+ @v_icms_mono = v_icms_mono
674
+ end
675
+
676
+ # Custom attribute writer method with validation
677
+ # @param [Object] q_bc_mono_reten Value to be assigned
678
+ def q_bc_mono_reten=(q_bc_mono_reten)
679
+ if !q_bc_mono_reten.nil? && q_bc_mono_reten < 0
680
+ fail ArgumentError, 'invalid value for "q_bc_mono_reten", must be greater than or equal to 0.'
681
+ end
682
+
683
+ @q_bc_mono_reten = q_bc_mono_reten
684
+ end
685
+
686
+ # Custom attribute writer method with validation
687
+ # @param [Object] v_icms_mono_reten Value to be assigned
688
+ def v_icms_mono_reten=(v_icms_mono_reten)
689
+ if !v_icms_mono_reten.nil? && v_icms_mono_reten < 0
690
+ fail ArgumentError, 'invalid value for "v_icms_mono_reten", must be greater than or equal to 0.'
691
+ end
692
+
693
+ @v_icms_mono_reten = v_icms_mono_reten
694
+ end
695
+
696
+ # Custom attribute writer method with validation
697
+ # @param [Object] q_bc_mono_ret Value to be assigned
698
+ def q_bc_mono_ret=(q_bc_mono_ret)
699
+ if !q_bc_mono_ret.nil? && q_bc_mono_ret < 0
700
+ fail ArgumentError, 'invalid value for "q_bc_mono_ret", must be greater than or equal to 0.'
701
+ end
702
+
703
+ @q_bc_mono_ret = q_bc_mono_ret
704
+ end
705
+
706
+ # Custom attribute writer method with validation
707
+ # @param [Object] v_icms_mono_ret Value to be assigned
708
+ def v_icms_mono_ret=(v_icms_mono_ret)
709
+ if !v_icms_mono_ret.nil? && v_icms_mono_ret < 0
710
+ fail ArgumentError, 'invalid value for "v_icms_mono_ret", must be greater than or equal to 0.'
711
+ end
712
+
713
+ @v_icms_mono_ret = v_icms_mono_ret
714
+ end
715
+
716
+ # Custom attribute writer method with validation
717
+ # @param [Object] v_prod Value to be assigned
718
+ def v_prod=(v_prod)
719
+ if !v_prod.nil? && v_prod < 0
720
+ fail ArgumentError, 'invalid value for "v_prod", must be greater than or equal to 0.'
721
+ end
722
+
723
+ @v_prod = v_prod
724
+ end
725
+
726
+ # Custom attribute writer method with validation
727
+ # @param [Object] v_frete Value to be assigned
728
+ def v_frete=(v_frete)
729
+ if !v_frete.nil? && v_frete < 0
730
+ fail ArgumentError, 'invalid value for "v_frete", must be greater than or equal to 0.'
731
+ end
732
+
733
+ @v_frete = v_frete
734
+ end
735
+
736
+ # Custom attribute writer method with validation
737
+ # @param [Object] v_seg Value to be assigned
738
+ def v_seg=(v_seg)
739
+ if !v_seg.nil? && v_seg < 0
740
+ fail ArgumentError, 'invalid value for "v_seg", must be greater than or equal to 0.'
741
+ end
742
+
743
+ @v_seg = v_seg
744
+ end
745
+
746
+ # Custom attribute writer method with validation
747
+ # @param [Object] v_desc Value to be assigned
748
+ def v_desc=(v_desc)
749
+ if !v_desc.nil? && v_desc < 0
750
+ fail ArgumentError, 'invalid value for "v_desc", must be greater than or equal to 0.'
751
+ end
752
+
753
+ @v_desc = v_desc
754
+ end
755
+
756
+ # Custom attribute writer method with validation
757
+ # @param [Object] v_ii Value to be assigned
758
+ def v_ii=(v_ii)
759
+ if !v_ii.nil? && v_ii < 0
760
+ fail ArgumentError, 'invalid value for "v_ii", must be greater than or equal to 0.'
761
+ end
762
+
763
+ @v_ii = v_ii
764
+ end
765
+
766
+ # Custom attribute writer method with validation
767
+ # @param [Object] v_ipi Value to be assigned
768
+ def v_ipi=(v_ipi)
769
+ if !v_ipi.nil? && v_ipi < 0
770
+ fail ArgumentError, 'invalid value for "v_ipi", must be greater than or equal to 0.'
771
+ end
772
+
773
+ @v_ipi = v_ipi
774
+ end
775
+
776
+ # Custom attribute writer method with validation
777
+ # @param [Object] v_ipi_devol Value to be assigned
778
+ def v_ipi_devol=(v_ipi_devol)
779
+ if !v_ipi_devol.nil? && v_ipi_devol < 0
780
+ fail ArgumentError, 'invalid value for "v_ipi_devol", must be greater than or equal to 0.'
781
+ end
782
+
783
+ @v_ipi_devol = v_ipi_devol
784
+ end
785
+
786
+ # Custom attribute writer method with validation
787
+ # @param [Object] v_pis Value to be assigned
788
+ def v_pis=(v_pis)
789
+ if !v_pis.nil? && v_pis < 0
790
+ fail ArgumentError, 'invalid value for "v_pis", must be greater than or equal to 0.'
791
+ end
792
+
793
+ @v_pis = v_pis
794
+ end
795
+
796
+ # Custom attribute writer method with validation
797
+ # @param [Object] v_cofins Value to be assigned
798
+ def v_cofins=(v_cofins)
799
+ if !v_cofins.nil? && v_cofins < 0
800
+ fail ArgumentError, 'invalid value for "v_cofins", must be greater than or equal to 0.'
801
+ end
802
+
803
+ @v_cofins = v_cofins
804
+ end
805
+
806
+ # Custom attribute writer method with validation
807
+ # @param [Object] v_outro Value to be assigned
808
+ def v_outro=(v_outro)
809
+ if !v_outro.nil? && v_outro < 0
810
+ fail ArgumentError, 'invalid value for "v_outro", must be greater than or equal to 0.'
811
+ end
812
+
813
+ @v_outro = v_outro
814
+ end
815
+
816
+ # Custom attribute writer method with validation
817
+ # @param [Object] v_nf Value to be assigned
818
+ def v_nf=(v_nf)
819
+ if !v_nf.nil? && v_nf < 0
820
+ fail ArgumentError, 'invalid value for "v_nf", must be greater than or equal to 0.'
821
+ end
822
+
823
+ @v_nf = v_nf
824
+ end
825
+
826
+ # Custom attribute writer method with validation
827
+ # @param [Object] v_tot_trib Value to be assigned
828
+ def v_tot_trib=(v_tot_trib)
829
+ if !v_tot_trib.nil? && v_tot_trib < 0
830
+ fail ArgumentError, 'invalid value for "v_tot_trib", must be greater than or equal to 0.'
831
+ end
832
+
833
+ @v_tot_trib = v_tot_trib
834
+ end
835
+
836
+ # Checks equality by comparing each attribute.
837
+ # @param [Object] Object to be compared
838
+ def ==(o)
839
+ return true if self.equal?(o)
840
+ self.class == o.class &&
841
+ v_bc == o.v_bc &&
842
+ v_icms == o.v_icms &&
843
+ v_icms_deson == o.v_icms_deson &&
844
+ v_fcpuf_dest == o.v_fcpuf_dest &&
845
+ v_icmsuf_dest == o.v_icmsuf_dest &&
846
+ v_icmsuf_remet == o.v_icmsuf_remet &&
847
+ v_fcp == o.v_fcp &&
848
+ v_bcst == o.v_bcst &&
849
+ v_st == o.v_st &&
850
+ v_fcpst == o.v_fcpst &&
851
+ v_fcpst_ret == o.v_fcpst_ret &&
852
+ q_bc_mono == o.q_bc_mono &&
853
+ v_icms_mono == o.v_icms_mono &&
854
+ q_bc_mono_reten == o.q_bc_mono_reten &&
855
+ v_icms_mono_reten == o.v_icms_mono_reten &&
856
+ q_bc_mono_ret == o.q_bc_mono_ret &&
857
+ v_icms_mono_ret == o.v_icms_mono_ret &&
858
+ v_prod == o.v_prod &&
859
+ v_frete == o.v_frete &&
860
+ v_seg == o.v_seg &&
861
+ v_desc == o.v_desc &&
862
+ v_ii == o.v_ii &&
863
+ v_ipi == o.v_ipi &&
864
+ v_ipi_devol == o.v_ipi_devol &&
865
+ v_pis == o.v_pis &&
866
+ v_cofins == o.v_cofins &&
867
+ v_outro == o.v_outro &&
868
+ v_nf == o.v_nf &&
869
+ v_tot_trib == o.v_tot_trib
870
+ end
871
+
872
+ # @see the `==` method
873
+ # @param [Object] Object to be compared
874
+ def eql?(o)
875
+ self == o
876
+ end
877
+
878
+ # Calculates hash code according to all attributes.
879
+ # @return [Integer] Hash code
880
+ def hash
881
+ [v_bc, v_icms, v_icms_deson, v_fcpuf_dest, v_icmsuf_dest, v_icmsuf_remet, v_fcp, v_bcst, v_st, v_fcpst, v_fcpst_ret, q_bc_mono, v_icms_mono, q_bc_mono_reten, v_icms_mono_reten, q_bc_mono_ret, v_icms_mono_ret, v_prod, v_frete, v_seg, v_desc, v_ii, v_ipi, v_ipi_devol, v_pis, v_cofins, v_outro, v_nf, v_tot_trib].hash
882
+ end
883
+
884
+ # Builds the object from hash
885
+ # @param [Hash] attributes Model attributes in the form of hash
886
+ # @return [Object] Returns the model itself
887
+ def self.build_from_hash(attributes)
888
+ return nil unless attributes.is_a?(Hash)
889
+ attributes = attributes.transform_keys(&:to_sym)
890
+ transformed_hash = {}
891
+ openapi_types.each_pair do |key, type|
892
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
893
+ transformed_hash["#{key}"] = nil
894
+ elsif type =~ /\AArray<(.*)>/i
895
+ # check to ensure the input is an array given that the attribute
896
+ # is documented as an array but the input is not
897
+ if attributes[attribute_map[key]].is_a?(Array)
898
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
899
+ end
900
+ elsif !attributes[attribute_map[key]].nil?
901
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
902
+ end
903
+ end
904
+ new(transformed_hash)
905
+ end
906
+
907
+ # Deserializes the data based on type
908
+ # @param string type Data type
909
+ # @param string value Value to be deserialized
910
+ # @return [Object] Deserialized data
911
+ def self._deserialize(type, value)
912
+ case type.to_sym
913
+ when :Time
914
+ Time.parse(value)
915
+ when :Date
916
+ Date.parse(value)
917
+ when :String
918
+ value.to_s
919
+ when :Integer
920
+ value.to_i
921
+ when :Float
922
+ value.to_f
923
+ when :Boolean
924
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
925
+ true
926
+ else
927
+ false
928
+ end
929
+ when :Object
930
+ # generic object (usually a Hash), return directly
931
+ value
932
+ when /\AArray<(?<inner_type>.+)>\z/
933
+ inner_type = Regexp.last_match[:inner_type]
934
+ value.map { |v| _deserialize(inner_type, v) }
935
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
936
+ k_type = Regexp.last_match[:k_type]
937
+ v_type = Regexp.last_match[:v_type]
938
+ {}.tap do |hash|
939
+ value.each do |k, v|
940
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
941
+ end
942
+ end
943
+ else # model
944
+ # models (e.g. Pet) or oneOf
945
+ klass = NuvemfiscalSdkRuby.const_get(type)
946
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
947
+ end
948
+ end
949
+
950
+ # Returns the string representation of the object
951
+ # @return [String] String presentation of the object
952
+ def to_s
953
+ to_hash.to_s
954
+ end
955
+
956
+ # to_body is an alias to to_hash (backward compatibility)
957
+ # @return [Hash] Returns the object in the form of hash
958
+ def to_body
959
+ to_hash
960
+ end
961
+
962
+ # Returns the object in the form of hash
963
+ # @return [Hash] Returns the object in the form of hash
964
+ def to_hash
965
+ hash = {}
966
+ self.class.attribute_map.each_pair do |attr, param|
967
+ value = self.send(attr)
968
+ if value.nil?
969
+ is_nullable = self.class.openapi_nullable.include?(attr)
970
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
971
+ end
972
+
973
+ hash[param] = _to_hash(value)
974
+ end
975
+ hash
976
+ end
977
+
978
+ # Outputs non-array value in the form of hash
979
+ # For object, use to_hash. Otherwise, just return the value
980
+ # @param [Object] value Any valid value
981
+ # @return [Hash] Returns the value in the form of hash
982
+ def _to_hash(value)
983
+ if value.is_a?(Array)
984
+ value.compact.map { |v| _to_hash(v) }
985
+ elsif value.is_a?(Hash)
986
+ {}.tap do |hash|
987
+ value.each { |k, v| hash[k] = _to_hash(v) }
988
+ end
989
+ elsif value.respond_to? :to_hash
990
+ value.to_hash
991
+ else
992
+ value
993
+ end
994
+ end
995
+
996
+ end
997
+
998
+ end