Browse Source

Add CSOSN 500 (cobrado anteriormente por ST)

3.10
Junior Tada 8 years ago
parent
commit
baabaf3ffc
  1. 2
      pynfe/processamento/serializacao.py

2
pynfe/processamento/serializacao.py

@ -258,7 +258,7 @@ class SerializacaoXML(Serializacao):
### ICMS ### ICMS
icms = etree.SubElement(imposto, 'ICMS') icms = etree.SubElement(imposto, 'ICMS')
icms_csosn = ('102', '103', '300', '400')
icms_csosn = ('102', '103', '300', '400', '500')
if produto_servico.icms_modalidade in icms_csosn: if produto_servico.icms_modalidade in icms_csosn:
icms_item = etree.SubElement(icms, 'ICMSSN'+produto_servico.icms_modalidade) icms_item = etree.SubElement(icms, 'ICMSSN'+produto_servico.icms_modalidade)
etree.SubElement(icms_item, 'orig').text = str(produto_servico.icms_origem) etree.SubElement(icms_item, 'orig').text = str(produto_servico.icms_origem)

Loading…
Cancel
Save