Class: BrNfe::Product::Nfe::ItemTax::Issqn

Inherits:
ActiveModelBase show all
Defined in:
lib/br_nfe/product/nfe/item_tax/issqn.rb

Instance Attribute Summary collapse

Attributes inherited from ActiveModelBase

#reference

Instance Method Summary collapse

Methods inherited from ActiveModelBase

#assign_attributes, #initialize

Constructor Details

This class inherits a constructor from BrNfe::ActiveModelBase

Instance Attribute Details

#aliquotaObject

Alíquota do ISSQN

Type: Float Required: Yes Example: 2.47 Length: 3v2-4 tag: vAliq



32
33
34
# File 'lib/br_nfe/product/nfe/item_tax/issqn.rb', line 32

def aliquota
  @aliquota
end

#codigo_paisObject

CÓDIGO DO PAÍS ONDE O SERVIÇO FOI PRESTADO

Tabela do BACEN. Informar somente se o munic

Type: Number Required: No Example: 0142 Length: 4 tag: cPais



196
197
198
# File 'lib/br_nfe/product/nfe/item_tax/issqn.rb', line 196

def codigo_pais
  @codigo_pais
end

#codigo_servicoObject

ITEM DA LISTA DE SERVIÇOS

Informar o Item da lista de servi

Type: Number Required: Yes Example: _1204 OR ‘12.04’_ Length: 5 tag: cListServ



78
79
80
# File 'lib/br_nfe/product/nfe/item_tax/issqn.rb', line 78

def codigo_servico
  @codigo_servico
end

#codigo_servico_municipioObject

CÓDIGO DO SERVIÇO PRESTADO DENTRO DO MUNICÍPIO

Type: String Required: No Example: 216461 Length: _max: 20_ tag: cServico



171
172
173
# File 'lib/br_nfe/product/nfe/item_tax/issqn.rb', line 171

def codigo_servico_municipio
  @codigo_servico_municipio
end

#incentivo_fiscalObject

INDICADOR DE INCENTIVO FISCAL

true  = Sim(1); 
false = N

Type: Boolean Required: No Example: 0142 Default: false Length: _max: 30_ tag: indIncentivo



222
223
224
# File 'lib/br_nfe/product/nfe/item_tax/issqn.rb', line 222

def incentivo_fiscal
  @incentivo_fiscal
end

#indicador_issObject

INDICADOR DA EXIGIBILIDADE DO ISS

1=Exig

Type: Number Required: Yes Example: 2 Default: 1 Length: 1 tag: indISS



157
158
159
# File 'lib/br_nfe/product/nfe/item_tax/issqn.rb', line 157

def indicador_iss
  @indicador_iss
end

#municipio_incidenciaObject

CÓDIGO DO MUNICÍPIO DE INCIDÊNCIA DO IMPOSTO Tabela do IBGE. Informar “9999999” para serviço fora do País.

Type: Number Required: No Example: 4253214 Length: 7 tag: cMun



183
184
185
# File 'lib/br_nfe/product/nfe/item_tax/issqn.rb', line 183

def municipio_incidencia
  @municipio_incidencia
end

#municipio_ocorrenciaObject

CÓDIGO DO MUNICÍPIO DE OCORRÊNCIA DO FATO GERADOR DO ISSQN

Informar o munic

Type: Number Required: Yes Example: 4201534 Length: 7 tag: cMunFG



62
63
64
# File 'lib/br_nfe/product/nfe/item_tax/issqn.rb', line 62

def municipio_ocorrencia
  @municipio_ocorrencia
end

#numero_processoObject

NÚMERO DO PROCESSO JUDICIAL OU ADMINISTRATIVO DE SUSPENSÃO DA EXIGIBILIDADE

Informar somente quando declarada a suspens

Type: String Required: No Example: 0142 Length: _max: 30_ tag: nProcesso



208
209
210
# File 'lib/br_nfe/product/nfe/item_tax/issqn.rb', line 208

def numero_processo
  @numero_processo
end

#totalObject

VALOR DO ISSQN

Type: Float Required: Yes Example: 350.47 Length: 13v2 tag: vISSQN



43
44
45
# File 'lib/br_nfe/product/nfe/item_tax/issqn.rb', line 43

def total
  @total
end

#total_base_calculoObject

VALOR DA BASE DE CÁLCULO DO ISSQN

Type: Float Required: Yes Example: 350.47 Length: 13v2 tag: vBC



21
22
23
# File 'lib/br_nfe/product/nfe/item_tax/issqn.rb', line 21

def total_base_calculo
  @total_base_calculo
end

#total_deducao_bcObject

VALOR DEDUÇÃO PARA REDUÇÃO DA BASE DE CÁLCULO

Type: Float Required: No Example: 450.00 Length: 13v2 tag: vDeducao



92
93
94
# File 'lib/br_nfe/product/nfe/item_tax/issqn.rb', line 92

def total_deducao_bc
  @total_deducao_bc
end

#total_desconto_condicionadoObject

VALOR DESCONTO CONDICIONADO

Type: Float Required: No Example: 450.00 Length: 13v2 tag: vDescCond



126
127
128
# File 'lib/br_nfe/product/nfe/item_tax/issqn.rb', line 126

def total_desconto_condicionado
  @total_desconto_condicionado
end

#total_desconto_incondicionadoObject

VALOR DESCONTO INCONDICIONADO

Type: Float Required: No Example: 450.00 Length: 13v2 tag: vDescIncond



115
116
117
# File 'lib/br_nfe/product/nfe/item_tax/issqn.rb', line 115

def total_desconto_incondicionado
  @total_desconto_incondicionado
end

#total_iss_retidoObject

VALOR RETENÇÃO ISS

Valor declarat

Type: Float Required: No Example: 450.00 Length: 13v2 tag: vISSRet



138
139
140
# File 'lib/br_nfe/product/nfe/item_tax/issqn.rb', line 138

def total_iss_retido
  @total_iss_retido
end

#total_outras_retencoesObject

VALOR OUTRAS RETENÇÕES

Valor declarat

Type: Float Required: No Example: 450.00 Length: 13v2 tag: vOutro



104
105
106
# File 'lib/br_nfe/product/nfe/item_tax/issqn.rb', line 104

def total_outras_retencoes
  @total_outras_retencoes
end

Instance Method Details

#default_valuesObject



228
229
230
231
232
233
# File 'lib/br_nfe/product/nfe/item_tax/issqn.rb', line 228

def default_values
  {
    indicador_iss:    1, # 1=Exigível;
    incentivo_fiscal: false, # Não
  }
end