Class: BrNfe::Product::Nfe::ItemTax::Issqn
- Inherits:
-
ActiveModelBase
- Object
- ActiveModelBase
- BrNfe::Product::Nfe::ItemTax::Issqn
- Defined in:
- lib/br_nfe/product/nfe/item_tax/issqn.rb
Instance Attribute Summary collapse
-
#aliquota ⇒ Object
Alíquota do ISSQN.
-
#codigo_pais ⇒ Object
CÓDIGO DO PAÍS ONDE O SERVIÇO FOI PRESTADO Tabela do BACEN.
-
#codigo_servico ⇒ Object
ITEM DA LISTA DE SERVIÇOS Informar o Item da lista de serviços em que se classifica o serviço no padrão ABRASF (Formato: NN.NN).
-
#codigo_servico_municipio ⇒ Object
CÓDIGO DO SERVIÇO PRESTADO DENTRO DO MUNICÍPIO.
-
#incentivo_fiscal ⇒ Object
INDICADOR DE INCENTIVO FISCAL true = Sim(1); false = Não;.
-
#indicador_iss ⇒ Object
INDICADOR DA EXIGIBILIDADE DO ISS 1=Exigível, 2=Não incidência; 3=Isenção; 4=Exportação; 5=Imunidade; 6=Exigibilidade Suspensa por Decisão Judicial; 7=Exigibilidade Suspensa por Processo Administrativo;.
-
#municipio_incidencia ⇒ Object
CÓDIGO DO MUNICÍPIO DE INCIDÊNCIA DO IMPOSTO Tabela do IBGE.
-
#municipio_ocorrencia ⇒ Object
CÓDIGO DO MUNICÍPIO DE OCORRÊNCIA DO FATO GERADOR DO ISSQN Informar o município de ocorrência do fato gerador do ISSQN.
-
#numero_processo ⇒ Object
NÚMERO DO PROCESSO JUDICIAL OU ADMINISTRATIVO DE SUSPENSÃO DA EXIGIBILIDADE Informar somente quando declarada a suspensão da exigibilidade do ISSQN.
-
#total ⇒ Object
VALOR DO ISSQN.
-
#total_base_calculo ⇒ Object
VALOR DA BASE DE CÁLCULO DO ISSQN.
-
#total_deducao_bc ⇒ Object
VALOR DEDUÇÃO PARA REDUÇÃO DA BASE DE CÁLCULO.
-
#total_desconto_condicionado ⇒ Object
VALOR DESCONTO CONDICIONADO Type: Float Required: No Example: 450.00 Length: 13v2 tag: vDescCond.
-
#total_desconto_incondicionado ⇒ Object
VALOR DESCONTO INCONDICIONADO Type: Float Required: No Example: 450.00 Length: 13v2 tag: vDescIncond.
-
#total_iss_retido ⇒ Object
VALOR RETENÇÃO ISS Valor declaratório.
-
#total_outras_retencoes ⇒ Object
VALOR OUTRAS RETENÇÕES Valor declaratório.
Attributes inherited from ActiveModelBase
Instance Method Summary collapse
Methods inherited from ActiveModelBase
#assign_attributes, #initialize
Constructor Details
This class inherits a constructor from BrNfe::ActiveModelBase
Instance Attribute Details
#aliquota ⇒ Object
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_pais ⇒ Object
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_servico ⇒ Object
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_municipio ⇒ Object
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_fiscal ⇒ Object
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_iss ⇒ Object
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_incidencia ⇒ Object
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_ocorrencia ⇒ Object
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_processo ⇒ Object
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 |
#total ⇒ Object
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_calculo ⇒ Object
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_bc ⇒ Object
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_condicionado ⇒ Object
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_incondicionado ⇒ Object
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_retido ⇒ Object
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_retencoes ⇒ Object
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_values ⇒ Object
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 |