br_nfe 1.1.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (257) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +5 -0
  3. data/.travis.yml +8 -0
  4. data/Gemfile +16 -0
  5. data/Gemfile.lock +27 -3
  6. data/LICENSE +1 -1
  7. data/README.markdown +10 -12
  8. data/Rakefile +13 -0
  9. data/br_nfe.gemspec +18 -21
  10. data/lib/br_nfe/active_model_base.rb +7 -1
  11. data/lib/br_nfe/base.rb +175 -37
  12. data/lib/br_nfe/endereco.rb +7 -1
  13. data/lib/br_nfe/helper/have_rps.rb +1 -1
  14. data/lib/br_nfe/helper/values_ts/service_v1.rb +313 -0
  15. data/lib/br_nfe/response/service/build_response.rb +286 -0
  16. data/lib/br_nfe/response/service/default.rb +185 -0
  17. data/lib/br_nfe/{servico/response → response/service}/nota_fiscal.rb +11 -10
  18. data/lib/br_nfe/response/service/paths/base.rb +93 -0
  19. data/lib/br_nfe/response/service/paths/v1/servico_cancelar_nfse_resposta.rb +22 -0
  20. data/lib/br_nfe/response/service/paths/v1/servico_consultar_lote_rps_resposta.rb +25 -0
  21. data/lib/br_nfe/response/service/paths/v1/servico_consultar_nfse_resposta.rb +25 -0
  22. data/lib/br_nfe/response/service/paths/v1/servico_consultar_nfse_rps_resposta.rb +25 -0
  23. data/lib/br_nfe/response/service/paths/v1/servico_consultar_situacao_lote_rps_resposta.rb +31 -0
  24. data/lib/br_nfe/response/service/paths/v1/servico_enviar_lote_rps_resposta.rb +36 -0
  25. data/lib/br_nfe/response/service/paths/v1/tc_nfse.rb +127 -0
  26. data/lib/br_nfe/service/base.rb +59 -0
  27. data/lib/br_nfe/service/betha/base.rb +8 -0
  28. data/lib/br_nfe/service/betha/v1/cancelamento_nfs.rb +39 -0
  29. data/lib/br_nfe/service/betha/v1/consulta_lote_rps.rb +34 -0
  30. data/lib/br_nfe/service/betha/v1/consulta_nfs_por_rps.rb +32 -0
  31. data/lib/br_nfe/service/betha/v1/consulta_nfse.rb +32 -0
  32. data/lib/br_nfe/service/betha/v1/consulta_situacao_lote_rps.rb +30 -0
  33. data/lib/br_nfe/service/betha/v1/gateway.rb +21 -0
  34. data/lib/br_nfe/service/betha/v1/recepcao_lote_rps.rb +37 -0
  35. data/lib/br_nfe/service/betha/v1/response_paths/servico_consultar_lote_rps_resposta.rb +19 -0
  36. data/lib/br_nfe/service/betha/v1/response_paths/servico_consultar_nfse_resposta.rb +17 -0
  37. data/lib/br_nfe/service/betha/v1/response_paths/servico_consultar_nfse_rps_resposta.rb +17 -0
  38. data/lib/br_nfe/service/concerns/rules/cancelamento_nfs.rb +20 -0
  39. data/lib/br_nfe/service/concerns/rules/consulta_nfs_por_rps.rb +18 -0
  40. data/lib/br_nfe/service/concerns/rules/consulta_nfse.rb +29 -0
  41. data/lib/br_nfe/service/concerns/rules/recepcao_lote_rps.rb +50 -0
  42. data/lib/br_nfe/{servico → service}/intermediario.rb +1 -1
  43. data/lib/br_nfe/service/item.rb +70 -0
  44. data/lib/br_nfe/service/rps.rb +231 -0
  45. data/lib/br_nfe/service/sc/florianopolis/base.rb +25 -0
  46. data/lib/br_nfe/service/sc/florianopolis/cancellation.rb +30 -0
  47. data/lib/br_nfe/service/sc/florianopolis/emission_rps.rb +19 -0
  48. data/lib/br_nfe/service/sc/florianopolis/xml/_address.xml.slim +21 -0
  49. data/lib/br_nfe/service/sc/florianopolis/xml/_contact.xml.slim +3 -0
  50. data/lib/br_nfe/service/sc/florianopolis/xml/_service_item.xml.slim +9 -0
  51. data/lib/br_nfe/service/sc/florianopolis/xml/cancellation.xml.slim +6 -0
  52. data/lib/br_nfe/service/sc/florianopolis/xml/inf_requisicao.xml.slim +55 -0
  53. data/lib/br_nfe/service/sc/gaspar/cancela_nfse.rb +13 -0
  54. data/lib/br_nfe/service/sc/gaspar/consulta_lote_rps.rb +13 -0
  55. data/lib/br_nfe/service/sc/gaspar/consulta_nfs_por_rps.rb +13 -0
  56. data/lib/br_nfe/service/sc/gaspar/consulta_nfse.rb +17 -0
  57. data/lib/br_nfe/service/sc/gaspar/consulta_situacao_lote_rps.rb +13 -0
  58. data/lib/br_nfe/service/sc/gaspar/recepcao_lote_rps.rb +13 -0
  59. data/lib/br_nfe/service/sc/gaspar/recepcao_lote_rps_limitado.rb +13 -0
  60. data/lib/br_nfe/service/thema/v1/base.rb +55 -0
  61. data/lib/br_nfe/service/thema/v1/cancela_nfse.rb +48 -0
  62. data/lib/br_nfe/service/thema/v1/consulta_lote_rps.rb +49 -0
  63. data/lib/br_nfe/service/thema/v1/consulta_nfs_por_rps.rb +48 -0
  64. data/lib/br_nfe/service/thema/v1/consulta_nfse.rb +47 -0
  65. data/lib/br_nfe/service/thema/v1/consulta_situacao_lote_rps.rb +46 -0
  66. data/lib/br_nfe/service/thema/v1/recepcao_lote_rps.rb +51 -0
  67. data/lib/br_nfe/service/thema/v1/recepcao_lote_rps_limitado.rb +30 -0
  68. data/lib/br_nfe/service/xml/v1/_tc_contato.xml.slim +7 -0
  69. data/lib/br_nfe/service/xml/v1/_tc_cpf_cnpj.xml.slim +5 -0
  70. data/lib/br_nfe/service/xml/v1/_tc_dados_construcao_civil.xml.slim +2 -0
  71. data/lib/br_nfe/service/xml/v1/_tc_dados_prestador.xml.slim +15 -0
  72. data/lib/br_nfe/service/xml/v1/_tc_dados_servico.xml.slim +14 -0
  73. data/lib/br_nfe/service/xml/v1/_tc_dados_tomador.xml.slim +15 -0
  74. data/lib/br_nfe/service/xml/v1/_tc_endereco.xml.slim +13 -0
  75. data/lib/br_nfe/service/xml/v1/_tc_identificacao_intermediario_servico.xml.slim +7 -0
  76. data/lib/br_nfe/service/xml/v1/_tc_identificacao_nfse.xml.slim +7 -0
  77. data/lib/br_nfe/service/xml/v1/_tc_identificacao_orgao_gerador.xml.slim +8 -0
  78. data/lib/br_nfe/service/xml/v1/_tc_identificacao_prestador.xml.slim +3 -0
  79. data/lib/br_nfe/service/xml/v1/_tc_identificacao_rps.xml.slim +16 -0
  80. data/lib/br_nfe/service/xml/v1/_tc_identificacao_tomador.xml.slim +4 -0
  81. data/lib/br_nfe/service/xml/v1/_tc_inf_pedido_cancelamento.xml.slim +4 -0
  82. data/lib/br_nfe/service/xml/v1/_tc_inf_rps.xml.slim +47 -0
  83. data/lib/br_nfe/service/xml/v1/_tc_lote_rps.xml.slim +9 -0
  84. data/lib/br_nfe/service/xml/v1/_tc_pedido_cancelamento.xml.slim +4 -0
  85. data/lib/br_nfe/service/xml/v1/_tc_rps.xml.slim +8 -0
  86. data/lib/br_nfe/service/xml/v1/_tc_valores.xml.slim +48 -0
  87. data/lib/br_nfe/service/xml/v1/servico_cancelar_nfse_envio.xml.slim +9 -0
  88. data/lib/br_nfe/service/xml/v1/servico_consultar_lote_rps_envio.xml.slim +4 -0
  89. data/lib/br_nfe/service/xml/v1/servico_consultar_nfse_envio.xml.slim +19 -0
  90. data/lib/br_nfe/service/xml/v1/servico_consultar_nfse_rps_envio.xml.slim +5 -0
  91. data/lib/br_nfe/service/xml/v1/servico_consultar_situacao_lote_rps_envio.xml.slim +4 -0
  92. data/lib/br_nfe/service/xml/v1/servico_enviar_lote_rps_envio.xml.slim +9 -0
  93. data/lib/br_nfe/version.rb +2 -2
  94. data/lib/br_nfe/xml/_signed_info_sh1.xml.slim +9 -0
  95. data/lib/br_nfe/xml/signature_sh1.xml.slim +12 -0
  96. data/lib/br_nfe/xml/soap_env.xml.slim +3 -0
  97. data/lib/br_nfe.rb +72 -20
  98. data/test/br_nfe/base_test.rb +257 -108
  99. data/test/br_nfe/helper/have_intermediario_test.rb +2 -2
  100. data/test/br_nfe/helper/have_rps_test.rb +4 -4
  101. data/test/br_nfe/response/service/build_response_test.rb +377 -0
  102. data/test/br_nfe/response/service/default_test.rb +218 -0
  103. data/test/br_nfe/{servico/response → response/service}/nota_fiscal_test.rb +2 -2
  104. data/test/br_nfe/response/service/paths/base_test.rb +199 -0
  105. data/test/br_nfe/response/service/paths/v1/servico_cancelar_nfse_resposta_test.rb +25 -0
  106. data/test/br_nfe/response/service/paths/v1/servico_consultar_lote_rps_resposta_test.rb +30 -0
  107. data/test/br_nfe/response/service/paths/v1/servico_consultar_nfse_resposta_test.rb +30 -0
  108. data/test/br_nfe/response/service/paths/v1/servico_consultar_nfse_rps_resposta_test.rb +30 -0
  109. data/test/br_nfe/response/service/paths/v1/servico_consultar_situacao_lote_rps_resposta_test.rb +30 -0
  110. data/test/br_nfe/response/service/paths/v1/servico_enviar_lote_rps_resposta_test.rb +34 -0
  111. data/test/br_nfe/response/service/paths/v1/tc_nfse_test.rb +122 -0
  112. data/test/br_nfe/service/base_test.rb +138 -0
  113. data/test/br_nfe/service/betha/base_test.rb +9 -0
  114. data/test/br_nfe/service/betha/v1/cancelamento_nfs_test.rb +60 -0
  115. data/test/br_nfe/service/betha/v1/consulta_lote_rps_test.rb +55 -0
  116. data/test/br_nfe/service/betha/v1/consulta_nfs_por_rps_test.rb +55 -0
  117. data/test/br_nfe/service/betha/v1/consulta_nfse_test.rb +53 -0
  118. data/test/br_nfe/service/betha/v1/consulta_situacao_lote_rps_test.rb +49 -0
  119. data/test/br_nfe/service/betha/v1/gateway_test.rb +35 -0
  120. data/test/br_nfe/service/betha/v1/recepcao_lote_rps_test.rb +84 -0
  121. data/test/br_nfe/service/betha/v1/response_paths/servico_consultar_lote_rps_resposta_test.rb +16 -0
  122. data/test/br_nfe/service/betha/v1/response_paths/servico_consultar_nfse_resposta_test.rb +16 -0
  123. data/test/br_nfe/service/betha/v1/response_paths/servico_consultar_nfse_rps_resposta_test.rb +16 -0
  124. data/test/br_nfe/service/betha/v1/xsd/TiposNFe_v01.xsd +583 -0
  125. data/test/br_nfe/service/betha/v1/xsd/nfse_v01.xsd +652 -0
  126. data/test/br_nfe/service/betha/v1/xsd/servico_cancelar_nfse_envio_v01.xsd +17 -0
  127. data/test/br_nfe/service/betha/v1/xsd/servico_consultar_lote_rps_envio_v01.xsd +16 -0
  128. data/test/br_nfe/service/betha/v1/xsd/servico_consultar_nfse_envio_v01.xsd +28 -0
  129. data/test/br_nfe/service/betha/v1/xsd/servico_consultar_nfse_rps_envio_v01.xsd +16 -0
  130. data/test/br_nfe/service/betha/v1/xsd/servico_consultar_situacao_lote_rps_envio_v01.xsd +16 -0
  131. data/test/br_nfe/service/betha/v1/xsd/servico_enviar_lote_rps_envio_v01.xsd +17 -0
  132. data/test/br_nfe/service/betha/v1/xsd/xmldsig-core-schema.xsd +308 -0
  133. data/test/br_nfe/service/betha/v1/xsd/xmldsig-core-schema_v01.xsd +95 -0
  134. data/test/br_nfe/service/concerns/rules/cancelamento_nfs_test.rb +15 -0
  135. data/test/br_nfe/service/concerns/rules/consulta_nfs_por_rps_test.rb +36 -0
  136. data/test/br_nfe/service/concerns/rules/consulta_nfse_test.rb +42 -0
  137. data/test/br_nfe/{servico/base_test.rb → service/concerns/rules/recepcao_lote_rps_test.rb} +12 -4
  138. data/test/br_nfe/{servico → service}/intermediario_test.rb +1 -1
  139. data/test/br_nfe/service/item_test.rb +34 -0
  140. data/test/br_nfe/{servico → service}/rps_test.rb +191 -43
  141. data/test/br_nfe/service/sc/florianopolis/XSD/TiposNFSe_v2.0.xsd +863 -0
  142. data/test/br_nfe/service/sc/florianopolis/XSD/xmldsig-core-schema.xsd +309 -0
  143. data/test/br_nfe/service/sc/florianopolis/base_test.rb +20 -0
  144. data/test/br_nfe/service/sc/florianopolis/cancellation_test.rb +36 -0
  145. data/test/br_nfe/service/sc/florianopolis/emission_rps_test.rb +145 -0
  146. data/test/br_nfe/service/sc/gaspar/cancela_nfse_test.rb +21 -0
  147. data/test/br_nfe/service/sc/gaspar/consulta_nfs_por_rps_test.rb +21 -0
  148. data/test/br_nfe/service/sc/gaspar/consulta_nfse_test.rb +21 -0
  149. data/test/br_nfe/service/sc/gaspar/consulta_situacao_lote_rps_test.rb +21 -0
  150. data/test/br_nfe/service/sc/gaspar/recepcao_lote_rps_limitado_test.rb +22 -0
  151. data/test/br_nfe/service/sc/gaspar/recepcao_lote_rps_test.rb +22 -0
  152. data/test/br_nfe/service/thema/v1/base_test.rb +65 -0
  153. data/test/br_nfe/service/thema/v1/cancela_nfse_test.rb +56 -0
  154. data/test/br_nfe/service/thema/v1/consulta_lote_rps_test.rb +47 -0
  155. data/test/br_nfe/service/thema/v1/consulta_nfs_por_rps_test.rb +50 -0
  156. data/test/br_nfe/service/thema/v1/consulta_nfse_test.rb +50 -0
  157. data/test/br_nfe/service/thema/v1/consulta_situacao_lote_rps_test.rb +47 -0
  158. data/test/br_nfe/service/thema/v1/recepcao_lote_rps_test.rb +62 -0
  159. data/test/br_nfe/service/thema/v1/recepcao_lote_rps_test_limitado.rb +50 -0
  160. data/test/br_nfe/service/thema/v1/xsd/nfse.xsd +656 -0
  161. data/test/br_nfe/service/thema/v1/xsd/xmldsig-core-schema20020212.xsd +318 -0
  162. data/test/br_nfe/service/xsd/v1/nfse.xsd +779 -0
  163. data/test/br_nfe/service/xsd/v1/xmldsig-core-schema20020212.xsd +316 -0
  164. data/test/cert.pfx +0 -0
  165. data/test/factories/base.rb +2 -0
  166. data/test/factories/destinatario.rb +3 -3
  167. data/test/factories/response/service/build_response.rb +5 -0
  168. data/test/factories/response/service/default.rb +10 -0
  169. data/test/factories/{servico/response → response/service}/nota_fiscal.rb +9 -9
  170. data/test/factories/service/base.rb +6 -0
  171. data/test/factories/service/betha/base.rb +4 -0
  172. data/test/factories/service/betha/v1/cancelamento_nfs.rb +9 -0
  173. data/test/factories/{servico → service}/betha/v1/consulta_lote_rps.rb +2 -2
  174. data/test/factories/{servico → service}/betha/v1/consulta_nfs_por_rps.rb +1 -1
  175. data/test/factories/service/betha/v1/consulta_nfse.rb +8 -0
  176. data/test/factories/{servico → service}/betha/v1/consulta_situacao_lote_rps.rb +2 -2
  177. data/test/factories/{servico → service}/betha/v1/gateway.rb +1 -1
  178. data/test/factories/service/betha/v1/recepcao_lote_rps.rb +8 -0
  179. data/test/factories/{servico → service}/intermediario.rb +2 -2
  180. data/test/factories/service/item.rb +12 -0
  181. data/test/factories/service/rps.rb +50 -0
  182. data/test/factories/service/sc/florianopolis/base.rb +5 -0
  183. data/test/factories/service/sc/florianopolis/cancellation.rb +7 -0
  184. data/test/factories/service/sc/florianopolis/emission_rps.rb +7 -0
  185. data/test/factories/service/sc/gaspar/cancela_nfse.rb +9 -0
  186. data/test/factories/service/sc/gaspar/consulta_lote_rps.rb +7 -0
  187. data/test/factories/service/sc/gaspar/consulta_nfs_por_rps.rb +6 -0
  188. data/test/factories/service/sc/gaspar/consulta_nfse.rb +8 -0
  189. data/test/factories/service/sc/gaspar/consulta_situacao_lote_rps.rb +6 -0
  190. data/test/factories/service/sc/gaspar/recepcao_lote_rps.rb +9 -0
  191. data/test/factories/service/sc/gaspar/recepcao_lote_rps_limitado.rb +9 -0
  192. data/test/factories/service/thema/v1/base.rb +7 -0
  193. data/test/factories/service/thema/v1/cancela_nfse.rb +9 -0
  194. data/test/factories/service/thema/v1/consulta_lote_rps.rb +7 -0
  195. data/test/factories/service/thema/v1/consulta_nfs_por_rps.rb +6 -0
  196. data/test/factories/service/thema/v1/consulta_nfse.rb +8 -0
  197. data/test/factories/service/thema/v1/consulta_situacao_lote_rps.rb +6 -0
  198. data/test/factories/service/thema/v1/recepcao_lote_rps.rb +9 -0
  199. data/test/factories/service/thema/v1/recepcao_lote_rps_limitado.rb +8 -0
  200. data/test/test_helper.rb +42 -0
  201. metadata +338 -121
  202. data/lib/br_nfe/servico/base.rb +0 -35
  203. data/lib/br_nfe/servico/betha/base.rb +0 -85
  204. data/lib/br_nfe/servico/betha/build_response.rb +0 -141
  205. data/lib/br_nfe/servico/betha/v1/build_response.rb +0 -121
  206. data/lib/br_nfe/servico/betha/v1/cancelamento_nfs.rb +0 -52
  207. data/lib/br_nfe/servico/betha/v1/consulta_lote_rps.rb +0 -33
  208. data/lib/br_nfe/servico/betha/v1/consulta_nfs_por_rps.rb +0 -37
  209. data/lib/br_nfe/servico/betha/v1/consulta_nfse.rb +0 -51
  210. data/lib/br_nfe/servico/betha/v1/consulta_situacao_lote_rps.rb +0 -18
  211. data/lib/br_nfe/servico/betha/v1/gateway.rb +0 -125
  212. data/lib/br_nfe/servico/betha/v1/recepcao_lote_rps.rb +0 -97
  213. data/lib/br_nfe/servico/betha/v2/build_response.rb +0 -159
  214. data/lib/br_nfe/servico/betha/v2/cancelamento_nfs.rb +0 -30
  215. data/lib/br_nfe/servico/betha/v2/consulta_lote_rps.rb +0 -30
  216. data/lib/br_nfe/servico/betha/v2/consulta_nfse_por_rps.rb +0 -27
  217. data/lib/br_nfe/servico/betha/v2/envio_lote_rps_sincrono.rb +0 -30
  218. data/lib/br_nfe/servico/betha/v2/gateway.rb +0 -230
  219. data/lib/br_nfe/servico/betha/v2/gera_nfse.rb +0 -30
  220. data/lib/br_nfe/servico/betha/v2/recepcao_lote_rps.rb +0 -52
  221. data/lib/br_nfe/servico/betha/v2/substituicao_nfse.rb +0 -43
  222. data/lib/br_nfe/servico/response/default.rb +0 -34
  223. data/lib/br_nfe/servico/rps.rb +0 -108
  224. data/test/br_nfe/servico/betha/base_test.rb +0 -135
  225. data/test/br_nfe/servico/betha/v1/build_response_test.rb +0 -557
  226. data/test/br_nfe/servico/betha/v1/cancelamento_nfs_test.rb +0 -72
  227. data/test/br_nfe/servico/betha/v1/consulta_lote_rps_test.rb +0 -46
  228. data/test/br_nfe/servico/betha/v1/consulta_nfs_por_rps_test.rb +0 -68
  229. data/test/br_nfe/servico/betha/v1/consulta_nfse_test.rb +0 -74
  230. data/test/br_nfe/servico/betha/v1/consulta_situacao_lote_rps_test.rb +0 -27
  231. data/test/br_nfe/servico/betha/v1/gateway_test.rb +0 -151
  232. data/test/br_nfe/servico/betha/v1/recepcao_lote_rps_test.rb +0 -249
  233. data/test/br_nfe/servico/betha/v2/cancelamento_nfs_test.rb +0 -44
  234. data/test/br_nfe/servico/betha/v2/consulta_lote_rps_test.rb +0 -38
  235. data/test/br_nfe/servico/betha/v2/consulta_nfse_por_rps_test.rb +0 -36
  236. data/test/br_nfe/servico/betha/v2/envio_lote_rps_sincrono_test.rb +0 -51
  237. data/test/br_nfe/servico/betha/v2/gateway_test.rb +0 -372
  238. data/test/br_nfe/servico/betha/v2/gera_nfse_test.rb +0 -62
  239. data/test/br_nfe/servico/betha/v2/recepcao_lote_rps_test.rb +0 -108
  240. data/test/br_nfe/servico/betha/v2/substituicao_nfse_test.rb +0 -84
  241. data/test/br_nfe/servico/response/default_test.rb +0 -54
  242. data/test/factories/servico/base.rb +0 -5
  243. data/test/factories/servico/betha/base.rb +0 -5
  244. data/test/factories/servico/betha/v1/build_response.rb +0 -6
  245. data/test/factories/servico/betha/v1/cancelamento_nfs.rb +0 -7
  246. data/test/factories/servico/betha/v1/consulta_nfse.rb +0 -8
  247. data/test/factories/servico/betha/v1/recepcao_lote_rps.rb +0 -6
  248. data/test/factories/servico/betha/v2/cancelamento_nfs.rb +0 -7
  249. data/test/factories/servico/betha/v2/consulta_lote_rps.rb +0 -6
  250. data/test/factories/servico/betha/v2/consulta_nfse_por_rps.rb +0 -6
  251. data/test/factories/servico/betha/v2/envio_lote_rps_sincrono.rb +0 -5
  252. data/test/factories/servico/betha/v2/gateway.rb +0 -5
  253. data/test/factories/servico/betha/v2/gera_nfse.rb +0 -6
  254. data/test/factories/servico/betha/v2/recepcao_lote_rps.rb +0 -5
  255. data/test/factories/servico/betha/v2/substituicao_nfse.rb +0 -8
  256. data/test/factories/servico/response/default.rb +0 -10
  257. data/test/factories/servico/rps.rb +0 -44
@@ -1,6 +1,6 @@
1
1
  FactoryGirl.define do
2
- factory :servico_betha_consulta_situacao_lote_rps, class: BrNfe::Servico::Betha::V1::ConsultaSituacaoLoteRps do
3
- protocolo '66665498735135768'
2
+ factory :servico_betha_consulta_situacao_lote_rps, class: BrNfe::Service::Betha::V1::ConsultaSituacaoLoteRps do
3
+ protocolo '1234567890'
4
4
  emitente { FactoryGirl.build(:emitente) }
5
5
  end
6
6
  end
@@ -1,5 +1,5 @@
1
1
  FactoryGirl.define do
2
- factory :br_nfe_servico_betha_v1_gateway, class: BrNfe::Servico::Betha::V1::Gateway do
2
+ factory :br_nfe_servico_betha_v1_gateway, class: BrNfe::Service::Betha::V1::Gateway do
3
3
 
4
4
  end
5
5
  end
@@ -0,0 +1,8 @@
1
+ FactoryGirl.define do
2
+ factory :br_nfe_servico_betha_recepcao_lote_rps, class: BrNfe::Service::Betha::V1::RecepcaoLoteRps do
3
+ numero_lote_rps '123'
4
+ operacao '1'
5
+ certificate_pkcs12_password 'associacao'
6
+ certificate_pkcs12_path { "#{BrNfe.root}/test/cert.pfx" }
7
+ end
8
+ end
@@ -1,7 +1,7 @@
1
1
  FactoryGirl.define do
2
- factory :intermediario, class: BrNfe::Servico::Intermediario do
2
+ factory :intermediario, class: BrNfe::Service::Intermediario do
3
3
  cpf_cnpj '66.788.854/0001-92'
4
- inscricao_municipal '5165-8'
4
+ inscricao_municipal '51658'
5
5
  razao_social 'RAZÃO SOCIAL'
6
6
  end
7
7
  end
@@ -0,0 +1,12 @@
1
+ FactoryGirl.define do
2
+ factory :service_item, class: BrNfe::Service::Item do
3
+ cnae_id '886'
4
+ cnae_code '1234567'
5
+ description 'Item description'
6
+ cst '1'
7
+ iss_tax_rate 0.025
8
+ unit_value 100.00
9
+ quantity 2.0
10
+ total_value 200.00
11
+ end
12
+ end
@@ -0,0 +1,50 @@
1
+ FactoryGirl.define do
2
+ factory :br_nfe_rps, class: BrNfe::Service::Rps do
3
+ destinatario { FactoryGirl.build(:destinatario) }
4
+ numero 556
5
+ serie 'SN'
6
+ tipo '1'
7
+ data_emissao DateTime.now
8
+ status '1'
9
+ competencia Date.today
10
+ total_services '349.00'
11
+ total_iss '6.98'
12
+ iss_tax_rate '0.02'
13
+ base_calculation '349.00'
14
+ iss_retained '2'
15
+ item_lista_servico '0107'
16
+ description "MENSALIDADE PLANO PRO. 349,00 \n\nValor Aprox dos Tributos: R$ 6,59 Federal, R$ 0,00 Estadual e R$ 1,62 Municipal \n Fonte: IBPT/FECOMERCIO SC 5oi7eW"
17
+ codigo_municipio '4204202'
18
+ cnae_code '6202300'
19
+
20
+ trait :completo do
21
+ codigo_tributacao_municipio '6699'
22
+ condicao_pagamento { FactoryGirl.build(:condicao_pagamento, :a_prazo) }
23
+ intermediario { FactoryGirl.build(:intermediario) }
24
+ numero_substituicao '555'
25
+ serie_substituicao 'SN'
26
+ tipo_substituicao '1'
27
+ codigo_obra '66'
28
+ codigo_art '223'
29
+ outras_informacoes 'info a mais'
30
+ total_base_calculation_st 55.77
31
+ total_issqn_st 4.87
32
+ deductions 7.0
33
+ valor_pis 1.123
34
+ valor_cofins 2.123
35
+ valor_inss 3.123
36
+ valor_ir 4.123
37
+ valor_csll 5.123
38
+ outras_retencoes 6.123
39
+ desconto_incondicionado 7.123
40
+ desconto_condicionado 8.123
41
+ responsavel_retencao '1'
42
+ exigibilidade_iss '5'
43
+ numero_processo '6546'
44
+ iss_retained true
45
+ total_iss_retained 5.55
46
+ net_value 349.00
47
+ municipio_incidencia '111'
48
+ end
49
+ end
50
+ end
@@ -0,0 +1,5 @@
1
+ FactoryGirl.define do
2
+ factory :service_sc_floripa_base, class: BrNfe::Service::SC::Florianopolis::Base do
3
+ emitente { FactoryGirl.build(:emitente) }
4
+ end
5
+ end
@@ -0,0 +1,7 @@
1
+ FactoryGirl.define do
2
+ factory :service_sc_floripa_cancellation, class: BrNfe::Service::SC::Florianopolis::Cancellation do
3
+ aedf '123456'
4
+ serie_number 1154
5
+ emitente { FactoryGirl.build(:emitente) }
6
+ end
7
+ end
@@ -0,0 +1,7 @@
1
+ FactoryGirl.define do
2
+ factory :service_sc_floripa_emission_rps, class: BrNfe::Service::SC::Florianopolis::EmissionRPS do
3
+ cfps 5525
4
+ aedf 123456
5
+ emitente { FactoryGirl.build(:emitente) }
6
+ end
7
+ end
@@ -0,0 +1,9 @@
1
+ FactoryGirl.define do
2
+ factory :service_sc_gaspar_cancela_nfse, class: BrNfe::Service::SC::Gaspar::CancelaNfse do
3
+ nfe_number '3365'
4
+ codigo_cancelamento '1'
5
+ certificate_pkcs12_password 'associacao'
6
+ certificate_pkcs12_path { "#{BrNfe.root}/test/cert.pfx" }
7
+ emitente { FactoryGirl.build(:emitente) }
8
+ end
9
+ end
@@ -0,0 +1,7 @@
1
+
2
+ FactoryGirl.define do
3
+ factory :service_sc_gaspar_consulta_lote_rps, class: BrNfe::Service::SC::Gaspar::ConsultaLoteRps do
4
+ emitente { FactoryGirl.build(:emitente) }
5
+ protocolo '1234567890'
6
+ end
7
+ end
@@ -0,0 +1,6 @@
1
+ FactoryGirl.define do
2
+ factory :service_sc_gaspar_consulta_nfs_por_rps, class: BrNfe::Service::SC::Gaspar::ConsultaNfsPorRps do
3
+ rps { FactoryGirl.build(:br_nfe_rps) }
4
+ emitente { FactoryGirl.build(:emitente) }
5
+ end
6
+ end
@@ -0,0 +1,8 @@
1
+ FactoryGirl.define do
2
+ factory :service_sc_gaspar_consulta_nfse, class: BrNfe::Service::SC::Gaspar::ConsultaNfse do
3
+ emitente { FactoryGirl.build(:emitente) }
4
+ nfe_number '5566778'
5
+ start_date { Date.yesterday }
6
+ end_date { Date.today }
7
+ end
8
+ end
@@ -0,0 +1,6 @@
1
+ FactoryGirl.define do
2
+ factory :service_sc_gaspar_consulta_situacao_lote_rps, class: BrNfe::Service::SC::Gaspar::ConsultaSituacaoLoteRps do
3
+ protocolo '1234567890'
4
+ emitente { FactoryGirl.build(:emitente) }
5
+ end
6
+ end
@@ -0,0 +1,9 @@
1
+ FactoryGirl.define do
2
+ factory :service_sc_gaspar_recepcao_lote_rps, class: BrNfe::Service::SC::Gaspar::RecepcaoLoteRps do
3
+ emitente { FactoryGirl.build(:emitente) }
4
+ numero_lote_rps '123'
5
+ operacao '1'
6
+ certificate_pkcs12_password 'associacao'
7
+ certificate_pkcs12_path { "#{BrNfe.root}/test/cert.pfx" }
8
+ end
9
+ end
@@ -0,0 +1,9 @@
1
+ FactoryGirl.define do
2
+ factory :service_sc_gaspar_recepcao_lote_rps_limitado, class: BrNfe::Service::SC::Gaspar::RecepcaoLoteRpsLimitado do
3
+ emitente { FactoryGirl.build(:emitente) }
4
+ numero_lote_rps '123'
5
+ operacao '1'
6
+ certificate_pkcs12_password 'associacao'
7
+ certificate_pkcs12_path { "#{BrNfe.root}/test/cert.pfx" }
8
+ end
9
+ end
@@ -0,0 +1,7 @@
1
+ FactoryGirl.define do
2
+ factory :service_thema_v1_base, class: BrNfe::Service::Thema::V1::Base do
3
+ emitente { FactoryGirl.build(:emitente) }
4
+ certificate_pkcs12_password 'associacao'
5
+ certificate_pkcs12_path { "#{BrNfe.root}/test/cert.pfx" }
6
+ end
7
+ end
@@ -0,0 +1,9 @@
1
+ FactoryGirl.define do
2
+ factory :service_thema_v1_cancela_nfse, class: BrNfe::Service::Thema::V1::CancelaNfse do
3
+ nfe_number '3365'
4
+ codigo_cancelamento '1'
5
+ certificate_pkcs12_password 'associacao'
6
+ certificate_pkcs12_path { "#{BrNfe.root}/test/cert.pfx" }
7
+
8
+ end
9
+ end
@@ -0,0 +1,7 @@
1
+
2
+ FactoryGirl.define do
3
+ factory :service_thema_v1_consulta_lote_rps, class: BrNfe::Service::Thema::V1::ConsultaLoteRps do
4
+ emitente { FactoryGirl.build(:emitente) }
5
+ protocolo '1234567890'
6
+ end
7
+ end
@@ -0,0 +1,6 @@
1
+ FactoryGirl.define do
2
+ factory :service_thema_v1_consulta_nfs_por_rps, class: BrNfe::Service::Thema::V1::ConsultaNfsPorRps do
3
+ rps { FactoryGirl.build(:br_nfe_rps) }
4
+ emitente { FactoryGirl.build(:emitente) }
5
+ end
6
+ end
@@ -0,0 +1,8 @@
1
+ FactoryGirl.define do
2
+ factory :service_thema_v1_consulta_nfse, class: BrNfe::Service::Thema::V1::ConsultaNfse do
3
+ emitente { FactoryGirl.build(:emitente) }
4
+ nfe_number '5566778'
5
+ start_date { Date.yesterday }
6
+ end_date { Date.today }
7
+ end
8
+ end
@@ -0,0 +1,6 @@
1
+ FactoryGirl.define do
2
+ factory :service_thema_v1_consulta_situacao_lote_rps, class: BrNfe::Service::Thema::V1::ConsultaSituacaoLoteRps do
3
+ emitente { FactoryGirl.build(:emitente) }
4
+ protocolo '1234567890'
5
+ end
6
+ end
@@ -0,0 +1,9 @@
1
+ FactoryGirl.define do
2
+ factory :service_thema_v1_recepcao_lote_rps, class: BrNfe::Service::Thema::V1::RecepcaoLoteRps do
3
+ emitente { FactoryGirl.build(:emitente) }
4
+ numero_lote_rps '123'
5
+ operacao '1'
6
+ certificate_pkcs12_password 'associacao'
7
+ certificate_pkcs12_path { "#{BrNfe.root}/test/cert.pfx" }
8
+ end
9
+ end
@@ -0,0 +1,8 @@
1
+ FactoryGirl.define do
2
+ factory :service_thema_v1_recepcao_lote_rps_limitado, class: BrNfe::Service::Thema::V1::RecepcaoLoteRpsLimitado do
3
+ numero_lote_rps '123'
4
+ operacao '1'
5
+ certificate_pkcs12_password 'associacao'
6
+ certificate_pkcs12_path { "#{BrNfe.root}/test/cert.pfx" }
7
+ end
8
+ end
@@ -0,0 +1,42 @@
1
+ # encoding: UTF-8
2
+ require 'bundler/setup'
3
+ Bundler.require(:default, :test)
4
+
5
+ ENV["RAILS_ENV"] = "test"
6
+ require "rails/test_help"
7
+ require 'minitest/autorun'
8
+ require "minitest/rails"
9
+ require 'minitest/matchers_vaccine'
10
+
11
+ require 'shoulda/matchers'
12
+ require "minitest/reporters"
13
+ require 'mocha/mini_test'
14
+
15
+ require "codeclimate-test-reporter"
16
+ CodeClimate::TestReporter.start
17
+
18
+
19
+ require 'factory_girl_rails'
20
+
21
+ Minitest::Reporters.use!
22
+
23
+ if ActiveSupport.version >= Gem::Version.new('4.2')
24
+ ActiveSupport::TestCase.test_order = :sorted
25
+ end
26
+
27
+ FactoryGirl.definition_file_paths = [File.expand_path('../factories', __FILE__)]
28
+ FactoryGirl.find_definitions
29
+
30
+ class Module
31
+ include Minitest::Spec::DSL
32
+ end
33
+
34
+ class Object
35
+ alias context describe
36
+ end
37
+
38
+ class MiniTest::Spec
39
+ include Shoulda::Matchers::ActiveModel
40
+ include FactoryGirl::Syntax::Methods
41
+ let(:sequence_1) { sequence('sequence_1') }
42
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: br_nfe
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruno M. Mergen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-14 00:00:00.000000000 Z
11
+ date: 2016-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -94,16 +94,63 @@ dependencies:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '1.4'
97
- description: Emissão de Notas Fiscais Eletrônicas em Ruby
97
+ - !ruby/object:Gem::Dependency
98
+ name: slim
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '3.0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '3.0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: slim-rails
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '3.1'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '3.1'
125
+ - !ruby/object:Gem::Dependency
126
+ name: pry
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '0.10'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '0.10'
139
+ description: BrNfe é uma gem para projetos Ruby on Rails que tem como objetifo facilitar
140
+ e padronizar a emissão de Notas Fiscais eletrônicas
98
141
  email:
99
142
  - brunomergen@gmail.com
100
143
  executables: []
101
144
  extensions: []
102
145
  extra_rdoc_files: []
103
146
  files:
147
+ - ".gitignore"
148
+ - ".travis.yml"
149
+ - Gemfile
104
150
  - Gemfile.lock
105
151
  - LICENSE
106
152
  - README.markdown
153
+ - Rakefile
107
154
  - br_nfe.gemspec
108
155
  - lib/br_nfe.rb
109
156
  - lib/br_nfe/active_model_base.rb
@@ -120,31 +167,89 @@ files:
120
167
  - lib/br_nfe/helper/have_intermediario.rb
121
168
  - lib/br_nfe/helper/have_rps.rb
122
169
  - lib/br_nfe/helper/string_methods.rb
123
- - lib/br_nfe/servico/base.rb
124
- - lib/br_nfe/servico/betha/base.rb
125
- - lib/br_nfe/servico/betha/build_response.rb
126
- - lib/br_nfe/servico/betha/v1/build_response.rb
127
- - lib/br_nfe/servico/betha/v1/cancelamento_nfs.rb
128
- - lib/br_nfe/servico/betha/v1/consulta_lote_rps.rb
129
- - lib/br_nfe/servico/betha/v1/consulta_nfs_por_rps.rb
130
- - lib/br_nfe/servico/betha/v1/consulta_nfse.rb
131
- - lib/br_nfe/servico/betha/v1/consulta_situacao_lote_rps.rb
132
- - lib/br_nfe/servico/betha/v1/gateway.rb
133
- - lib/br_nfe/servico/betha/v1/recepcao_lote_rps.rb
134
- - lib/br_nfe/servico/betha/v2/build_response.rb
135
- - lib/br_nfe/servico/betha/v2/cancelamento_nfs.rb
136
- - lib/br_nfe/servico/betha/v2/consulta_lote_rps.rb
137
- - lib/br_nfe/servico/betha/v2/consulta_nfse_por_rps.rb
138
- - lib/br_nfe/servico/betha/v2/envio_lote_rps_sincrono.rb
139
- - lib/br_nfe/servico/betha/v2/gateway.rb
140
- - lib/br_nfe/servico/betha/v2/gera_nfse.rb
141
- - lib/br_nfe/servico/betha/v2/recepcao_lote_rps.rb
142
- - lib/br_nfe/servico/betha/v2/substituicao_nfse.rb
143
- - lib/br_nfe/servico/intermediario.rb
144
- - lib/br_nfe/servico/response/default.rb
145
- - lib/br_nfe/servico/response/nota_fiscal.rb
146
- - lib/br_nfe/servico/rps.rb
170
+ - lib/br_nfe/helper/values_ts/service_v1.rb
171
+ - lib/br_nfe/response/service/build_response.rb
172
+ - lib/br_nfe/response/service/default.rb
173
+ - lib/br_nfe/response/service/nota_fiscal.rb
174
+ - lib/br_nfe/response/service/paths/base.rb
175
+ - lib/br_nfe/response/service/paths/v1/servico_cancelar_nfse_resposta.rb
176
+ - lib/br_nfe/response/service/paths/v1/servico_consultar_lote_rps_resposta.rb
177
+ - lib/br_nfe/response/service/paths/v1/servico_consultar_nfse_resposta.rb
178
+ - lib/br_nfe/response/service/paths/v1/servico_consultar_nfse_rps_resposta.rb
179
+ - lib/br_nfe/response/service/paths/v1/servico_consultar_situacao_lote_rps_resposta.rb
180
+ - lib/br_nfe/response/service/paths/v1/servico_enviar_lote_rps_resposta.rb
181
+ - lib/br_nfe/response/service/paths/v1/tc_nfse.rb
182
+ - lib/br_nfe/service/base.rb
183
+ - lib/br_nfe/service/betha/base.rb
184
+ - lib/br_nfe/service/betha/v1/cancelamento_nfs.rb
185
+ - lib/br_nfe/service/betha/v1/consulta_lote_rps.rb
186
+ - lib/br_nfe/service/betha/v1/consulta_nfs_por_rps.rb
187
+ - lib/br_nfe/service/betha/v1/consulta_nfse.rb
188
+ - lib/br_nfe/service/betha/v1/consulta_situacao_lote_rps.rb
189
+ - lib/br_nfe/service/betha/v1/gateway.rb
190
+ - lib/br_nfe/service/betha/v1/recepcao_lote_rps.rb
191
+ - lib/br_nfe/service/betha/v1/response_paths/servico_consultar_lote_rps_resposta.rb
192
+ - lib/br_nfe/service/betha/v1/response_paths/servico_consultar_nfse_resposta.rb
193
+ - lib/br_nfe/service/betha/v1/response_paths/servico_consultar_nfse_rps_resposta.rb
194
+ - lib/br_nfe/service/concerns/rules/cancelamento_nfs.rb
195
+ - lib/br_nfe/service/concerns/rules/consulta_nfs_por_rps.rb
196
+ - lib/br_nfe/service/concerns/rules/consulta_nfse.rb
197
+ - lib/br_nfe/service/concerns/rules/recepcao_lote_rps.rb
198
+ - lib/br_nfe/service/intermediario.rb
199
+ - lib/br_nfe/service/item.rb
200
+ - lib/br_nfe/service/rps.rb
201
+ - lib/br_nfe/service/sc/florianopolis/base.rb
202
+ - lib/br_nfe/service/sc/florianopolis/cancellation.rb
203
+ - lib/br_nfe/service/sc/florianopolis/emission_rps.rb
204
+ - lib/br_nfe/service/sc/florianopolis/xml/_address.xml.slim
205
+ - lib/br_nfe/service/sc/florianopolis/xml/_contact.xml.slim
206
+ - lib/br_nfe/service/sc/florianopolis/xml/_service_item.xml.slim
207
+ - lib/br_nfe/service/sc/florianopolis/xml/cancellation.xml.slim
208
+ - lib/br_nfe/service/sc/florianopolis/xml/inf_requisicao.xml.slim
209
+ - lib/br_nfe/service/sc/gaspar/cancela_nfse.rb
210
+ - lib/br_nfe/service/sc/gaspar/consulta_lote_rps.rb
211
+ - lib/br_nfe/service/sc/gaspar/consulta_nfs_por_rps.rb
212
+ - lib/br_nfe/service/sc/gaspar/consulta_nfse.rb
213
+ - lib/br_nfe/service/sc/gaspar/consulta_situacao_lote_rps.rb
214
+ - lib/br_nfe/service/sc/gaspar/recepcao_lote_rps.rb
215
+ - lib/br_nfe/service/sc/gaspar/recepcao_lote_rps_limitado.rb
216
+ - lib/br_nfe/service/thema/v1/base.rb
217
+ - lib/br_nfe/service/thema/v1/cancela_nfse.rb
218
+ - lib/br_nfe/service/thema/v1/consulta_lote_rps.rb
219
+ - lib/br_nfe/service/thema/v1/consulta_nfs_por_rps.rb
220
+ - lib/br_nfe/service/thema/v1/consulta_nfse.rb
221
+ - lib/br_nfe/service/thema/v1/consulta_situacao_lote_rps.rb
222
+ - lib/br_nfe/service/thema/v1/recepcao_lote_rps.rb
223
+ - lib/br_nfe/service/thema/v1/recepcao_lote_rps_limitado.rb
224
+ - lib/br_nfe/service/xml/v1/_tc_contato.xml.slim
225
+ - lib/br_nfe/service/xml/v1/_tc_cpf_cnpj.xml.slim
226
+ - lib/br_nfe/service/xml/v1/_tc_dados_construcao_civil.xml.slim
227
+ - lib/br_nfe/service/xml/v1/_tc_dados_prestador.xml.slim
228
+ - lib/br_nfe/service/xml/v1/_tc_dados_servico.xml.slim
229
+ - lib/br_nfe/service/xml/v1/_tc_dados_tomador.xml.slim
230
+ - lib/br_nfe/service/xml/v1/_tc_endereco.xml.slim
231
+ - lib/br_nfe/service/xml/v1/_tc_identificacao_intermediario_servico.xml.slim
232
+ - lib/br_nfe/service/xml/v1/_tc_identificacao_nfse.xml.slim
233
+ - lib/br_nfe/service/xml/v1/_tc_identificacao_orgao_gerador.xml.slim
234
+ - lib/br_nfe/service/xml/v1/_tc_identificacao_prestador.xml.slim
235
+ - lib/br_nfe/service/xml/v1/_tc_identificacao_rps.xml.slim
236
+ - lib/br_nfe/service/xml/v1/_tc_identificacao_tomador.xml.slim
237
+ - lib/br_nfe/service/xml/v1/_tc_inf_pedido_cancelamento.xml.slim
238
+ - lib/br_nfe/service/xml/v1/_tc_inf_rps.xml.slim
239
+ - lib/br_nfe/service/xml/v1/_tc_lote_rps.xml.slim
240
+ - lib/br_nfe/service/xml/v1/_tc_pedido_cancelamento.xml.slim
241
+ - lib/br_nfe/service/xml/v1/_tc_rps.xml.slim
242
+ - lib/br_nfe/service/xml/v1/_tc_valores.xml.slim
243
+ - lib/br_nfe/service/xml/v1/servico_cancelar_nfse_envio.xml.slim
244
+ - lib/br_nfe/service/xml/v1/servico_consultar_lote_rps_envio.xml.slim
245
+ - lib/br_nfe/service/xml/v1/servico_consultar_nfse_envio.xml.slim
246
+ - lib/br_nfe/service/xml/v1/servico_consultar_nfse_rps_envio.xml.slim
247
+ - lib/br_nfe/service/xml/v1/servico_consultar_situacao_lote_rps_envio.xml.slim
248
+ - lib/br_nfe/service/xml/v1/servico_enviar_lote_rps_envio.xml.slim
147
249
  - lib/br_nfe/version.rb
250
+ - lib/br_nfe/xml/_signed_info_sh1.xml.slim
251
+ - lib/br_nfe/xml/signature_sh1.xml.slim
252
+ - lib/br_nfe/xml/soap_env.xml.slim
148
253
  - test/br_nfe/base_test.rb
149
254
  - test/br_nfe/condicao_pagamento_test.rb
150
255
  - test/br_nfe/destinatario_test.rb
@@ -157,58 +262,112 @@ files:
157
262
  - test/br_nfe/helper/have_emitente_test.rb
158
263
  - test/br_nfe/helper/have_intermediario_test.rb
159
264
  - test/br_nfe/helper/have_rps_test.rb
160
- - test/br_nfe/servico/base_test.rb
161
- - test/br_nfe/servico/betha/base_test.rb
162
- - test/br_nfe/servico/betha/v1/build_response_test.rb
163
- - test/br_nfe/servico/betha/v1/cancelamento_nfs_test.rb
164
- - test/br_nfe/servico/betha/v1/consulta_lote_rps_test.rb
165
- - test/br_nfe/servico/betha/v1/consulta_nfs_por_rps_test.rb
166
- - test/br_nfe/servico/betha/v1/consulta_nfse_test.rb
167
- - test/br_nfe/servico/betha/v1/consulta_situacao_lote_rps_test.rb
168
- - test/br_nfe/servico/betha/v1/gateway_test.rb
169
- - test/br_nfe/servico/betha/v1/recepcao_lote_rps_test.rb
170
- - test/br_nfe/servico/betha/v2/cancelamento_nfs_test.rb
171
- - test/br_nfe/servico/betha/v2/consulta_lote_rps_test.rb
172
- - test/br_nfe/servico/betha/v2/consulta_nfse_por_rps_test.rb
173
- - test/br_nfe/servico/betha/v2/envio_lote_rps_sincrono_test.rb
174
- - test/br_nfe/servico/betha/v2/gateway_test.rb
175
- - test/br_nfe/servico/betha/v2/gera_nfse_test.rb
176
- - test/br_nfe/servico/betha/v2/recepcao_lote_rps_test.rb
177
- - test/br_nfe/servico/betha/v2/substituicao_nfse_test.rb
178
- - test/br_nfe/servico/intermediario_test.rb
179
- - test/br_nfe/servico/response/default_test.rb
180
- - test/br_nfe/servico/response/nota_fiscal_test.rb
181
- - test/br_nfe/servico/rps_test.rb
265
+ - test/br_nfe/response/service/build_response_test.rb
266
+ - test/br_nfe/response/service/default_test.rb
267
+ - test/br_nfe/response/service/nota_fiscal_test.rb
268
+ - test/br_nfe/response/service/paths/base_test.rb
269
+ - test/br_nfe/response/service/paths/v1/servico_cancelar_nfse_resposta_test.rb
270
+ - test/br_nfe/response/service/paths/v1/servico_consultar_lote_rps_resposta_test.rb
271
+ - test/br_nfe/response/service/paths/v1/servico_consultar_nfse_resposta_test.rb
272
+ - test/br_nfe/response/service/paths/v1/servico_consultar_nfse_rps_resposta_test.rb
273
+ - test/br_nfe/response/service/paths/v1/servico_consultar_situacao_lote_rps_resposta_test.rb
274
+ - test/br_nfe/response/service/paths/v1/servico_enviar_lote_rps_resposta_test.rb
275
+ - test/br_nfe/response/service/paths/v1/tc_nfse_test.rb
276
+ - test/br_nfe/service/base_test.rb
277
+ - test/br_nfe/service/betha/base_test.rb
278
+ - test/br_nfe/service/betha/v1/cancelamento_nfs_test.rb
279
+ - test/br_nfe/service/betha/v1/consulta_lote_rps_test.rb
280
+ - test/br_nfe/service/betha/v1/consulta_nfs_por_rps_test.rb
281
+ - test/br_nfe/service/betha/v1/consulta_nfse_test.rb
282
+ - test/br_nfe/service/betha/v1/consulta_situacao_lote_rps_test.rb
283
+ - test/br_nfe/service/betha/v1/gateway_test.rb
284
+ - test/br_nfe/service/betha/v1/recepcao_lote_rps_test.rb
285
+ - test/br_nfe/service/betha/v1/response_paths/servico_consultar_lote_rps_resposta_test.rb
286
+ - test/br_nfe/service/betha/v1/response_paths/servico_consultar_nfse_resposta_test.rb
287
+ - test/br_nfe/service/betha/v1/response_paths/servico_consultar_nfse_rps_resposta_test.rb
288
+ - test/br_nfe/service/betha/v1/xsd/TiposNFe_v01.xsd
289
+ - test/br_nfe/service/betha/v1/xsd/nfse_v01.xsd
290
+ - test/br_nfe/service/betha/v1/xsd/servico_cancelar_nfse_envio_v01.xsd
291
+ - test/br_nfe/service/betha/v1/xsd/servico_consultar_lote_rps_envio_v01.xsd
292
+ - test/br_nfe/service/betha/v1/xsd/servico_consultar_nfse_envio_v01.xsd
293
+ - test/br_nfe/service/betha/v1/xsd/servico_consultar_nfse_rps_envio_v01.xsd
294
+ - test/br_nfe/service/betha/v1/xsd/servico_consultar_situacao_lote_rps_envio_v01.xsd
295
+ - test/br_nfe/service/betha/v1/xsd/servico_enviar_lote_rps_envio_v01.xsd
296
+ - test/br_nfe/service/betha/v1/xsd/xmldsig-core-schema.xsd
297
+ - test/br_nfe/service/betha/v1/xsd/xmldsig-core-schema_v01.xsd
298
+ - test/br_nfe/service/concerns/rules/cancelamento_nfs_test.rb
299
+ - test/br_nfe/service/concerns/rules/consulta_nfs_por_rps_test.rb
300
+ - test/br_nfe/service/concerns/rules/consulta_nfse_test.rb
301
+ - test/br_nfe/service/concerns/rules/recepcao_lote_rps_test.rb
302
+ - test/br_nfe/service/intermediario_test.rb
303
+ - test/br_nfe/service/item_test.rb
304
+ - test/br_nfe/service/rps_test.rb
305
+ - test/br_nfe/service/sc/florianopolis/XSD/TiposNFSe_v2.0.xsd
306
+ - test/br_nfe/service/sc/florianopolis/XSD/xmldsig-core-schema.xsd
307
+ - test/br_nfe/service/sc/florianopolis/base_test.rb
308
+ - test/br_nfe/service/sc/florianopolis/cancellation_test.rb
309
+ - test/br_nfe/service/sc/florianopolis/emission_rps_test.rb
310
+ - test/br_nfe/service/sc/gaspar/cancela_nfse_test.rb
311
+ - test/br_nfe/service/sc/gaspar/consulta_nfs_por_rps_test.rb
312
+ - test/br_nfe/service/sc/gaspar/consulta_nfse_test.rb
313
+ - test/br_nfe/service/sc/gaspar/consulta_situacao_lote_rps_test.rb
314
+ - test/br_nfe/service/sc/gaspar/recepcao_lote_rps_limitado_test.rb
315
+ - test/br_nfe/service/sc/gaspar/recepcao_lote_rps_test.rb
316
+ - test/br_nfe/service/thema/v1/base_test.rb
317
+ - test/br_nfe/service/thema/v1/cancela_nfse_test.rb
318
+ - test/br_nfe/service/thema/v1/consulta_lote_rps_test.rb
319
+ - test/br_nfe/service/thema/v1/consulta_nfs_por_rps_test.rb
320
+ - test/br_nfe/service/thema/v1/consulta_nfse_test.rb
321
+ - test/br_nfe/service/thema/v1/consulta_situacao_lote_rps_test.rb
322
+ - test/br_nfe/service/thema/v1/recepcao_lote_rps_test.rb
323
+ - test/br_nfe/service/thema/v1/recepcao_lote_rps_test_limitado.rb
324
+ - test/br_nfe/service/thema/v1/xsd/nfse.xsd
325
+ - test/br_nfe/service/thema/v1/xsd/xmldsig-core-schema20020212.xsd
326
+ - test/br_nfe/service/xsd/v1/nfse.xsd
327
+ - test/br_nfe/service/xsd/v1/xmldsig-core-schema20020212.xsd
328
+ - test/cert.pfx
182
329
  - test/factories/base.rb
183
330
  - test/factories/condicao_pagamento.rb
184
331
  - test/factories/destinatario.rb
185
332
  - test/factories/emitente.rb
186
333
  - test/factories/endereco.rb
187
- - test/factories/servico/base.rb
188
- - test/factories/servico/betha/base.rb
189
- - test/factories/servico/betha/v1/build_response.rb
190
- - test/factories/servico/betha/v1/cancelamento_nfs.rb
191
- - test/factories/servico/betha/v1/consulta_lote_rps.rb
192
- - test/factories/servico/betha/v1/consulta_nfs_por_rps.rb
193
- - test/factories/servico/betha/v1/consulta_nfse.rb
194
- - test/factories/servico/betha/v1/consulta_situacao_lote_rps.rb
195
- - test/factories/servico/betha/v1/gateway.rb
196
- - test/factories/servico/betha/v1/recepcao_lote_rps.rb
197
- - test/factories/servico/betha/v2/cancelamento_nfs.rb
198
- - test/factories/servico/betha/v2/consulta_lote_rps.rb
199
- - test/factories/servico/betha/v2/consulta_nfse_por_rps.rb
200
- - test/factories/servico/betha/v2/envio_lote_rps_sincrono.rb
201
- - test/factories/servico/betha/v2/gateway.rb
202
- - test/factories/servico/betha/v2/gera_nfse.rb
203
- - test/factories/servico/betha/v2/recepcao_lote_rps.rb
204
- - test/factories/servico/betha/v2/substituicao_nfse.rb
205
- - test/factories/servico/intermediario.rb
206
- - test/factories/servico/response/default.rb
207
- - test/factories/servico/response/nota_fiscal.rb
208
- - test/factories/servico/rps.rb
334
+ - test/factories/response/service/build_response.rb
335
+ - test/factories/response/service/default.rb
336
+ - test/factories/response/service/nota_fiscal.rb
337
+ - test/factories/service/base.rb
338
+ - test/factories/service/betha/base.rb
339
+ - test/factories/service/betha/v1/cancelamento_nfs.rb
340
+ - test/factories/service/betha/v1/consulta_lote_rps.rb
341
+ - test/factories/service/betha/v1/consulta_nfs_por_rps.rb
342
+ - test/factories/service/betha/v1/consulta_nfse.rb
343
+ - test/factories/service/betha/v1/consulta_situacao_lote_rps.rb
344
+ - test/factories/service/betha/v1/gateway.rb
345
+ - test/factories/service/betha/v1/recepcao_lote_rps.rb
346
+ - test/factories/service/intermediario.rb
347
+ - test/factories/service/item.rb
348
+ - test/factories/service/rps.rb
349
+ - test/factories/service/sc/florianopolis/base.rb
350
+ - test/factories/service/sc/florianopolis/cancellation.rb
351
+ - test/factories/service/sc/florianopolis/emission_rps.rb
352
+ - test/factories/service/sc/gaspar/cancela_nfse.rb
353
+ - test/factories/service/sc/gaspar/consulta_lote_rps.rb
354
+ - test/factories/service/sc/gaspar/consulta_nfs_por_rps.rb
355
+ - test/factories/service/sc/gaspar/consulta_nfse.rb
356
+ - test/factories/service/sc/gaspar/consulta_situacao_lote_rps.rb
357
+ - test/factories/service/sc/gaspar/recepcao_lote_rps.rb
358
+ - test/factories/service/sc/gaspar/recepcao_lote_rps_limitado.rb
359
+ - test/factories/service/thema/v1/base.rb
360
+ - test/factories/service/thema/v1/cancela_nfse.rb
361
+ - test/factories/service/thema/v1/consulta_lote_rps.rb
362
+ - test/factories/service/thema/v1/consulta_nfs_por_rps.rb
363
+ - test/factories/service/thema/v1/consulta_nfse.rb
364
+ - test/factories/service/thema/v1/consulta_situacao_lote_rps.rb
365
+ - test/factories/service/thema/v1/recepcao_lote_rps.rb
366
+ - test/factories/service/thema/v1/recepcao_lote_rps_limitado.rb
367
+ - test/test_helper.rb
209
368
  homepage: https://github.com/Brunomm/br_nfe
210
369
  licenses:
211
- - BSD
370
+ - MIT
212
371
  metadata: {}
213
372
  post_install_message:
214
373
  rdoc_options: []
@@ -216,9 +375,15 @@ require_paths:
216
375
  - lib
217
376
  required_ruby_version: !ruby/object:Gem::Requirement
218
377
  requirements:
219
- - - ">="
378
+ - - "~>"
220
379
  - !ruby/object:Gem::Version
221
380
  version: '2.1'
381
+ - - "~>"
382
+ - !ruby/object:Gem::Version
383
+ version: '2.2'
384
+ - - "~>"
385
+ - !ruby/object:Gem::Version
386
+ version: '2.3'
222
387
  required_rubygems_version: !ruby/object:Gem::Requirement
223
388
  requirements:
224
389
  - - ">="
@@ -226,11 +391,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
226
391
  version: '0'
227
392
  requirements: []
228
393
  rubyforge_project:
229
- rubygems_version: 2.4.6
394
+ rubygems_version: 2.5.1
230
395
  signing_key:
231
396
  specification_version: 4
232
- summary: BrNfe é uma gem para projetos Ruby on Rails que tem como objetifo facilitar
233
- e padronizar a emissão de Notas Fiscais eletrônicas
397
+ summary: Emissão de Notas Fiscais Eletrônicas em Ruby
234
398
  test_files:
235
399
  - test/br_nfe/base_test.rb
236
400
  - test/br_nfe/condicao_pagamento_test.rb
@@ -244,53 +408,106 @@ test_files:
244
408
  - test/br_nfe/helper/have_emitente_test.rb
245
409
  - test/br_nfe/helper/have_intermediario_test.rb
246
410
  - test/br_nfe/helper/have_rps_test.rb
247
- - test/br_nfe/servico/base_test.rb
248
- - test/br_nfe/servico/betha/base_test.rb
249
- - test/br_nfe/servico/betha/v1/build_response_test.rb
250
- - test/br_nfe/servico/betha/v1/cancelamento_nfs_test.rb
251
- - test/br_nfe/servico/betha/v1/consulta_lote_rps_test.rb
252
- - test/br_nfe/servico/betha/v1/consulta_nfs_por_rps_test.rb
253
- - test/br_nfe/servico/betha/v1/consulta_nfse_test.rb
254
- - test/br_nfe/servico/betha/v1/consulta_situacao_lote_rps_test.rb
255
- - test/br_nfe/servico/betha/v1/gateway_test.rb
256
- - test/br_nfe/servico/betha/v1/recepcao_lote_rps_test.rb
257
- - test/br_nfe/servico/betha/v2/cancelamento_nfs_test.rb
258
- - test/br_nfe/servico/betha/v2/consulta_lote_rps_test.rb
259
- - test/br_nfe/servico/betha/v2/consulta_nfse_por_rps_test.rb
260
- - test/br_nfe/servico/betha/v2/envio_lote_rps_sincrono_test.rb
261
- - test/br_nfe/servico/betha/v2/gateway_test.rb
262
- - test/br_nfe/servico/betha/v2/gera_nfse_test.rb
263
- - test/br_nfe/servico/betha/v2/recepcao_lote_rps_test.rb
264
- - test/br_nfe/servico/betha/v2/substituicao_nfse_test.rb
265
- - test/br_nfe/servico/intermediario_test.rb
266
- - test/br_nfe/servico/response/default_test.rb
267
- - test/br_nfe/servico/response/nota_fiscal_test.rb
268
- - test/br_nfe/servico/rps_test.rb
411
+ - test/br_nfe/response/service/build_response_test.rb
412
+ - test/br_nfe/response/service/default_test.rb
413
+ - test/br_nfe/response/service/nota_fiscal_test.rb
414
+ - test/br_nfe/response/service/paths/base_test.rb
415
+ - test/br_nfe/response/service/paths/v1/servico_cancelar_nfse_resposta_test.rb
416
+ - test/br_nfe/response/service/paths/v1/servico_consultar_lote_rps_resposta_test.rb
417
+ - test/br_nfe/response/service/paths/v1/servico_consultar_nfse_resposta_test.rb
418
+ - test/br_nfe/response/service/paths/v1/servico_consultar_nfse_rps_resposta_test.rb
419
+ - test/br_nfe/response/service/paths/v1/servico_consultar_situacao_lote_rps_resposta_test.rb
420
+ - test/br_nfe/response/service/paths/v1/servico_enviar_lote_rps_resposta_test.rb
421
+ - test/br_nfe/response/service/paths/v1/tc_nfse_test.rb
422
+ - test/br_nfe/service/base_test.rb
423
+ - test/br_nfe/service/betha/base_test.rb
424
+ - test/br_nfe/service/betha/v1/cancelamento_nfs_test.rb
425
+ - test/br_nfe/service/betha/v1/consulta_lote_rps_test.rb
426
+ - test/br_nfe/service/betha/v1/consulta_nfs_por_rps_test.rb
427
+ - test/br_nfe/service/betha/v1/consulta_nfse_test.rb
428
+ - test/br_nfe/service/betha/v1/consulta_situacao_lote_rps_test.rb
429
+ - test/br_nfe/service/betha/v1/gateway_test.rb
430
+ - test/br_nfe/service/betha/v1/recepcao_lote_rps_test.rb
431
+ - test/br_nfe/service/betha/v1/response_paths/servico_consultar_lote_rps_resposta_test.rb
432
+ - test/br_nfe/service/betha/v1/response_paths/servico_consultar_nfse_resposta_test.rb
433
+ - test/br_nfe/service/betha/v1/response_paths/servico_consultar_nfse_rps_resposta_test.rb
434
+ - test/br_nfe/service/betha/v1/xsd/TiposNFe_v01.xsd
435
+ - test/br_nfe/service/betha/v1/xsd/nfse_v01.xsd
436
+ - test/br_nfe/service/betha/v1/xsd/servico_cancelar_nfse_envio_v01.xsd
437
+ - test/br_nfe/service/betha/v1/xsd/servico_consultar_lote_rps_envio_v01.xsd
438
+ - test/br_nfe/service/betha/v1/xsd/servico_consultar_nfse_envio_v01.xsd
439
+ - test/br_nfe/service/betha/v1/xsd/servico_consultar_nfse_rps_envio_v01.xsd
440
+ - test/br_nfe/service/betha/v1/xsd/servico_consultar_situacao_lote_rps_envio_v01.xsd
441
+ - test/br_nfe/service/betha/v1/xsd/servico_enviar_lote_rps_envio_v01.xsd
442
+ - test/br_nfe/service/betha/v1/xsd/xmldsig-core-schema.xsd
443
+ - test/br_nfe/service/betha/v1/xsd/xmldsig-core-schema_v01.xsd
444
+ - test/br_nfe/service/concerns/rules/cancelamento_nfs_test.rb
445
+ - test/br_nfe/service/concerns/rules/consulta_nfs_por_rps_test.rb
446
+ - test/br_nfe/service/concerns/rules/consulta_nfse_test.rb
447
+ - test/br_nfe/service/concerns/rules/recepcao_lote_rps_test.rb
448
+ - test/br_nfe/service/intermediario_test.rb
449
+ - test/br_nfe/service/item_test.rb
450
+ - test/br_nfe/service/rps_test.rb
451
+ - test/br_nfe/service/sc/florianopolis/XSD/TiposNFSe_v2.0.xsd
452
+ - test/br_nfe/service/sc/florianopolis/XSD/xmldsig-core-schema.xsd
453
+ - test/br_nfe/service/sc/florianopolis/base_test.rb
454
+ - test/br_nfe/service/sc/florianopolis/cancellation_test.rb
455
+ - test/br_nfe/service/sc/florianopolis/emission_rps_test.rb
456
+ - test/br_nfe/service/sc/gaspar/cancela_nfse_test.rb
457
+ - test/br_nfe/service/sc/gaspar/consulta_nfs_por_rps_test.rb
458
+ - test/br_nfe/service/sc/gaspar/consulta_nfse_test.rb
459
+ - test/br_nfe/service/sc/gaspar/consulta_situacao_lote_rps_test.rb
460
+ - test/br_nfe/service/sc/gaspar/recepcao_lote_rps_limitado_test.rb
461
+ - test/br_nfe/service/sc/gaspar/recepcao_lote_rps_test.rb
462
+ - test/br_nfe/service/thema/v1/base_test.rb
463
+ - test/br_nfe/service/thema/v1/cancela_nfse_test.rb
464
+ - test/br_nfe/service/thema/v1/consulta_lote_rps_test.rb
465
+ - test/br_nfe/service/thema/v1/consulta_nfs_por_rps_test.rb
466
+ - test/br_nfe/service/thema/v1/consulta_nfse_test.rb
467
+ - test/br_nfe/service/thema/v1/consulta_situacao_lote_rps_test.rb
468
+ - test/br_nfe/service/thema/v1/recepcao_lote_rps_test.rb
469
+ - test/br_nfe/service/thema/v1/recepcao_lote_rps_test_limitado.rb
470
+ - test/br_nfe/service/thema/v1/xsd/nfse.xsd
471
+ - test/br_nfe/service/thema/v1/xsd/xmldsig-core-schema20020212.xsd
472
+ - test/br_nfe/service/xsd/v1/nfse.xsd
473
+ - test/br_nfe/service/xsd/v1/xmldsig-core-schema20020212.xsd
474
+ - test/cert.pfx
269
475
  - test/factories/base.rb
270
476
  - test/factories/condicao_pagamento.rb
271
477
  - test/factories/destinatario.rb
272
478
  - test/factories/emitente.rb
273
479
  - test/factories/endereco.rb
274
- - test/factories/servico/base.rb
275
- - test/factories/servico/betha/base.rb
276
- - test/factories/servico/betha/v1/build_response.rb
277
- - test/factories/servico/betha/v1/cancelamento_nfs.rb
278
- - test/factories/servico/betha/v1/consulta_lote_rps.rb
279
- - test/factories/servico/betha/v1/consulta_nfs_por_rps.rb
280
- - test/factories/servico/betha/v1/consulta_nfse.rb
281
- - test/factories/servico/betha/v1/consulta_situacao_lote_rps.rb
282
- - test/factories/servico/betha/v1/gateway.rb
283
- - test/factories/servico/betha/v1/recepcao_lote_rps.rb
284
- - test/factories/servico/betha/v2/cancelamento_nfs.rb
285
- - test/factories/servico/betha/v2/consulta_lote_rps.rb
286
- - test/factories/servico/betha/v2/consulta_nfse_por_rps.rb
287
- - test/factories/servico/betha/v2/envio_lote_rps_sincrono.rb
288
- - test/factories/servico/betha/v2/gateway.rb
289
- - test/factories/servico/betha/v2/gera_nfse.rb
290
- - test/factories/servico/betha/v2/recepcao_lote_rps.rb
291
- - test/factories/servico/betha/v2/substituicao_nfse.rb
292
- - test/factories/servico/intermediario.rb
293
- - test/factories/servico/response/default.rb
294
- - test/factories/servico/response/nota_fiscal.rb
295
- - test/factories/servico/rps.rb
296
- has_rdoc:
480
+ - test/factories/response/service/build_response.rb
481
+ - test/factories/response/service/default.rb
482
+ - test/factories/response/service/nota_fiscal.rb
483
+ - test/factories/service/base.rb
484
+ - test/factories/service/betha/base.rb
485
+ - test/factories/service/betha/v1/cancelamento_nfs.rb
486
+ - test/factories/service/betha/v1/consulta_lote_rps.rb
487
+ - test/factories/service/betha/v1/consulta_nfs_por_rps.rb
488
+ - test/factories/service/betha/v1/consulta_nfse.rb
489
+ - test/factories/service/betha/v1/consulta_situacao_lote_rps.rb
490
+ - test/factories/service/betha/v1/gateway.rb
491
+ - test/factories/service/betha/v1/recepcao_lote_rps.rb
492
+ - test/factories/service/intermediario.rb
493
+ - test/factories/service/item.rb
494
+ - test/factories/service/rps.rb
495
+ - test/factories/service/sc/florianopolis/base.rb
496
+ - test/factories/service/sc/florianopolis/cancellation.rb
497
+ - test/factories/service/sc/florianopolis/emission_rps.rb
498
+ - test/factories/service/sc/gaspar/cancela_nfse.rb
499
+ - test/factories/service/sc/gaspar/consulta_lote_rps.rb
500
+ - test/factories/service/sc/gaspar/consulta_nfs_por_rps.rb
501
+ - test/factories/service/sc/gaspar/consulta_nfse.rb
502
+ - test/factories/service/sc/gaspar/consulta_situacao_lote_rps.rb
503
+ - test/factories/service/sc/gaspar/recepcao_lote_rps.rb
504
+ - test/factories/service/sc/gaspar/recepcao_lote_rps_limitado.rb
505
+ - test/factories/service/thema/v1/base.rb
506
+ - test/factories/service/thema/v1/cancela_nfse.rb
507
+ - test/factories/service/thema/v1/consulta_lote_rps.rb
508
+ - test/factories/service/thema/v1/consulta_nfs_por_rps.rb
509
+ - test/factories/service/thema/v1/consulta_nfse.rb
510
+ - test/factories/service/thema/v1/consulta_situacao_lote_rps.rb
511
+ - test/factories/service/thema/v1/recepcao_lote_rps.rb
512
+ - test/factories/service/thema/v1/recepcao_lote_rps_limitado.rb
513
+ - test/test_helper.rb