Module: BrNfe
- Extended by:
- ActiveSupport::Autoload
- Includes:
- Helper, Service
- Defined in:
- lib/br_nfe.rb,
lib/br_nfe/base.rb,
lib/br_nfe/person.rb,
lib/br_nfe/version.rb,
lib/br_nfe/endereco.rb,
lib/br_nfe/constants.rb,
lib/br_nfe/service/rps.rb,
lib/br_nfe/service/base.rb,
lib/br_nfe/service/item.rb,
lib/br_nfe/helper/cpf_cnpj.rb,
lib/br_nfe/product/emitente.rb,
lib/br_nfe/product/nfe/item.rb,
lib/br_nfe/service/emitente.rb,
lib/br_nfe/active_model_base.rb,
lib/br_nfe/calculos/modulo11.rb,
lib/br_nfe/condicao_pagamento.rb,
lib/br_nfe/service/betha/base.rb,
lib/br_nfe/product/evento/base.rb,
lib/br_nfe/product/nota_fiscal.rb,
lib/br_nfe/active_model/has_one.rb,
lib/br_nfe/product/destinatario.rb,
lib/br_nfe/product/gateway/base.rb,
lib/br_nfe/product/nf_xml_value.rb,
lib/br_nfe/service/destinatario.rb,
lib/br_nfe/active_model/has_many.rb,
lib/br_nfe/helper/string_methods.rb,
lib/br_nfe/product/response/base.rb,
lib/br_nfe/service/intermediario.rb,
lib/br_nfe/service/thema/v1/base.rb,
lib/br_nfe/product/operation/base.rb,
lib/br_nfe/product/response/event.rb,
lib/br_nfe/association/have_address.rb,
lib/br_nfe/product/nfe/item_tax/ipi.rb,
lib/br_nfe/product/nfe/item_tax/pis.rb,
lib/br_nfe/service/betha/v1/gateway.rb,
lib/br_nfe/service/response/default.rb,
lib/br_nfe/service/simpliss/v1/base.rb,
lib/br_nfe/active_model/associations.rb,
lib/br_nfe/association/have_emitente.rb,
lib/br_nfe/product/nfe/item_tax/icms.rb,
lib/br_nfe/product/nfe/item_tax/issqn.rb,
lib/br_nfe/product/evento/cancelamento.rb,
lib/br_nfe/product/nfe/cobranca/fatura.rb,
lib/br_nfe/product/nfe/item_tax/cofins.rb,
lib/br_nfe/product/nfe/item_tax/pis_st.rb,
lib/br_nfe/product/nfe/transporte/base.rb,
lib/br_nfe/product/response/build/base.rb,
lib/br_nfe/service/response/build/base.rb,
lib/br_nfe/service/association/have_rps.rb,
lib/br_nfe/service/response/nota_fiscal.rb,
lib/br_nfe/association/have_destinatario.rb,
lib/br_nfe/calculos/modulo11_fator_de2a9.rb,
lib/br_nfe/product/nfe/adicao_importacao.rb,
lib/br_nfe/product/nfe/transporte/volume.rb,
lib/br_nfe/service/betha/v1/cancela_nfse.rb,
lib/br_nfe/service/response/cancelamento.rb,
lib/br_nfe/service/sc/florianopolis/base.rb,
lib/br_nfe/service/thema/v1/cancela_nfse.rb,
lib/br_nfe/product/gateway/web_service_am.rb,
lib/br_nfe/product/gateway/web_service_ba.rb,
lib/br_nfe/product/gateway/web_service_ce.rb,
lib/br_nfe/product/gateway/web_service_go.rb,
lib/br_nfe/product/gateway/web_service_mg.rb,
lib/br_nfe/product/gateway/web_service_ms.rb,
lib/br_nfe/product/gateway/web_service_mt.rb,
lib/br_nfe/product/gateway/web_service_pe.rb,
lib/br_nfe/product/gateway/web_service_pr.rb,
lib/br_nfe/product/gateway/web_service_rs.rb,
lib/br_nfe/product/gateway/web_service_sp.rb,
lib/br_nfe/product/nfe/cobranca/duplicata.rb,
lib/br_nfe/product/nfe/cobranca/pagamento.rb,
lib/br_nfe/product/nfe/detalhe_exportacao.rb,
lib/br_nfe/product/nfe/item_tax/cofins_st.rb,
lib/br_nfe/product/nfe/transporte/veiculo.rb,
lib/br_nfe/service/betha/v1/consulta_nfse.rb,
lib/br_nfe/service/response/consulta_nfse.rb,
lib/br_nfe/service/thema/v1/consulta_nfse.rb,
lib/br_nfe/product/nfe/item_tax/importacao.rb,
lib/br_nfe/product/nfe/processo_referencia.rb,
lib/br_nfe/product/gateway/web_service_svan.rb,
lib/br_nfe/product/gateway/web_service_svrs.rb,
lib/br_nfe/product/response/nfe_autorizacao.rb,
lib/br_nfe/service/simpliss/v1/cancela_nfse.rb,
lib/br_nfe/calculos/fatores_de_multiplicacao.rb,
lib/br_nfe/product/nfe/declaracao_importacao.rb,
lib/br_nfe/product/operation/nfe_autorizacao.rb,
lib/br_nfe/product/operation/nfe_download_nf.rb,
lib/br_nfe/product/response/nfe_inutilizacao.rb,
lib/br_nfe/service/response/paths/v1/tc_nfse.rb,
lib/br_nfe/service/simpliss/v1/consulta_nfse.rb,
lib/br_nfe/product/gateway/web_service_svc_an.rb,
lib/br_nfe/product/gateway/web_service_svc_rs.rb,
lib/br_nfe/product/operation/nfe_inutilizacao.rb,
lib/br_nfe/service/betha/v1/consulta_lote_rps.rb,
lib/br_nfe/service/betha/v1/recepcao_lote_rps.rb,
lib/br_nfe/service/response/consulta_lote_rps.rb,
lib/br_nfe/service/response/recepcao_lote_rps.rb,
lib/br_nfe/service/thema/v1/consulta_lote_rps.rb,
lib/br_nfe/service/thema/v1/recepcao_lote_rps.rb,
lib/br_nfe/association/have_condicao_pagamento.rb,
lib/br_nfe/product/response/nfe_status_servico.rb,
lib/br_nfe/service/response/build/cancelamento.rb,
lib/br_nfe/product/nfe/item_tax/icms_uf_destino.rb,
lib/br_nfe/product/nfe/transporte/transportador.rb,
lib/br_nfe/product/operation/nfe_status_servico.rb,
lib/br_nfe/product/response/nfe_ret_autorizacao.rb,
lib/br_nfe/service/concerns/rules/consulta_nfse.rb,
lib/br_nfe/service/response/build/consulta_nfse.rb,
lib/br_nfe/service/response/build/invoice_build.rb,
lib/br_nfe/product/operation/nfe_recepcao_evento.rb,
lib/br_nfe/product/operation/nfe_ret_autorizacao.rb,
lib/br_nfe/service/betha/v1/consulta_nfs_por_rps.rb,
lib/br_nfe/service/concerns/values_ts/service_v1.rb,
lib/br_nfe/service/response/consulta_nfs_por_rps.rb,
lib/br_nfe/service/sc/florianopolis/cancellation.rb,
lib/br_nfe/service/sc/florianopolis/emission_rps.rb,
lib/br_nfe/service/simpliss/v1/consulta_lote_rps.rb,
lib/br_nfe/service/simpliss/v1/recepcao_lote_rps.rb,
lib/br_nfe/service/thema/v1/consulta_nfs_por_rps.rb,
lib/br_nfe/product/response/build/nfe_autorizacao.rb,
lib/br_nfe/service/association/have_intermediario.rb,
lib/br_nfe/product/response/build/nfe_inutilizacao.rb,
lib/br_nfe/product/response/nfe_consulta_protocolo.rb,
lib/br_nfe/service/concerns/rules/cancelamento_nfs.rb,
lib/br_nfe/calculos/modulo11_fator_de2a9_resto_zero.rb,
lib/br_nfe/product/operation/nfe_consulta_protocolo.rb,
lib/br_nfe/service/concerns/rules/recepcao_lote_rps.rb,
lib/br_nfe/service/response/build/consulta_lote_rps.rb,
lib/br_nfe/service/response/build/recepcao_lote_rps.rb,
lib/br_nfe/service/simpliss/v1/consulta_nfs_por_rps.rb,
lib/br_nfe/product/response/build/nfe_status_servico.rb,
lib/br_nfe/product/response/build/nfe_ret_autorizacao.rb,
lib/br_nfe/service/betha/v1/consulta_situacao_lote_rps.rb,
lib/br_nfe/service/concerns/rules/consulta_nfs_por_rps.rb,
lib/br_nfe/service/response/build/consulta_nfs_por_rps.rb,
lib/br_nfe/service/response/consulta_situacao_lote_rps.rb,
lib/br_nfe/service/thema/v1/consulta_situacao_lote_rps.rb,
lib/br_nfe/service/thema/v1/recepcao_lote_rps_limitado.rb,
lib/br_nfe/product/response/build/nfe_consulta_protocolo.rb,
lib/br_nfe/service/simpliss/v1/consulta_situacao_lote_rps.rb,
lib/br_nfe/service/response/build/consulta_situacao_lote_rps.rb
Overview
Defined Under Namespace
Modules: ActiveModel, Association, Calculos, Constants, Helper, Product, Service, StringMethods, Version
Classes: ActiveModelBase, Base, CondicaoPagamento, Endereco, Person
Constant Summary
collapse
- @@endereco_class =
BrNfe::Endereco
- @@condicao_pagamento_class =
BrNfe::CondicaoPagamento
- @@client_wsdl_log =
false
- @@client_wsdl_pretty_print_xml =
false
- @@emitente_service_class =
BrNfe::Service::Emitente
- @@destinatario_service_class =
BrNfe::Service::Destinatario
- @@intermediario_service_class =
BrNfe::Service::Intermediario
- @@rps_class =
BrNfe::Service::Rps
- @@service_item_class =
BrNfe::Service::Item
- @@destinatario_product_class =
BrNfe::Product::Destinatario
- @@emitente_product_class =
BrNfe::Product::Emitente
- @@nota_fiscal_product_class =
BrNfe::Product::NotaFiscal
- @@declaracao_importacao_product_class =
BrNfe::Product::Nfe::DeclaracaoImportacao
- @@adicao_importacao_product_class =
BrNfe::Product::Nfe::AdicaoImportacao
- @@detalhe_exportacao_product_class =
BrNfe::Product::Nfe::DetalheExportacao
- @@item_product_class =
BrNfe::Product::Nfe::Item
- @@processo_referencia_product_class =
BrNfe::Product::Nfe::ProcessoReferencia
- @@cancelamento_product_class =
BrNfe::Product::Evento::Cancelamento
- @@icms_item_tax_product_class =
BrNfe::Product::Nfe::ItemTax::Icms
- @@cofins_item_tax_product_class =
BrNfe::Product::Nfe::ItemTax::Cofins
- @@cofins_st_item_tax_product_class =
BrNfe::Product::Nfe::ItemTax::CofinsSt
- @@icms_uf_destino_item_tax_product_class =
BrNfe::Product::Nfe::ItemTax::IcmsUfDestino
- @@importacao_item_tax_product_class =
BrNfe::Product::Nfe::ItemTax::Importacao
- @@ipi_item_tax_product_class =
BrNfe::Product::Nfe::ItemTax::Ipi
- @@issqn_item_tax_product_class =
BrNfe::Product::Nfe::ItemTax::Issqn
- @@pis_item_tax_product_class =
BrNfe::Product::Nfe::ItemTax::Pis
- @@pis_st_item_tax_product_class =
BrNfe::Product::Nfe::ItemTax::PisSt
- @@duplicata_product_class =
BrNfe::Product::Nfe::Cobranca::Duplicata
- @@fatura_product_class =
BrNfe::Product::Nfe::Cobranca::Fatura
- @@pagamento_product_class =
BrNfe::Product::Nfe::Cobranca::Pagamento
- @@transporte_product_class =
BrNfe::Product::Nfe::Transporte::Base
- @@veiculo_product_class =
BrNfe::Product::Nfe::Transporte::Veiculo
- @@volume_transporte_product_class =
BrNfe::Product::Nfe::Transporte::Volume
- @@transportador_product_class =
BrNfe::Product::Nfe::Transporte::Transportador
Class Method Summary
collapse
Methods included from Helper
only_number
Class Method Details
.root ⇒ Object
44
45
46
|
# File 'lib/br_nfe.rb', line 44
def self.root
File.expand_path '../..', __FILE__
end
|
.setup {|_self| ... } ⇒ Object
364
365
366
|
# File 'lib/br_nfe.rb', line 364
def self.setup
yield self
end
|
.true_values ⇒ Object
54
55
56
|
# File 'lib/br_nfe.rb', line 54
def self.true_values
[true, :true, 'true', 't', :t, 1, '1', :TRUE, 'TRUE', 'T']
end
|