Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
20de6b5
[REF] Mudanças para o layout 4.00 da NF-e
lfdivino Mar 14, 2018
4e96dcb
[FIX] Emissão em contingencia NF-e 4.00
lfdivino Mar 20, 2018
39747f9
[FIX] Força o uso do protocolo TLS 1.2
mileo Apr 6, 2018
174776c
[FIX] Corrige URL serviços Ceará
mileo Apr 6, 2018
af8c13d
[FIX] Nome dos serviços nf-e 4.0
mileo Apr 6, 2018
c5fb603
[REF] Alteração para suportar webservice do Ceará com métodos fora do…
mileo Apr 6, 2018
b456016
[FIX] TAGs referentes a Informações de Pagamento.
mbcosta Jun 6, 2018
324ccab
É preciso forçar a inclusão do campo vDesc já que quando preenchido a…
mbcosta Jul 18, 2018
dcd8905
[FIX] Permite o envio do desconto com o valor zero
mileo Jul 23, 2018
9233892
[FIX] Tamanho do campo nDI
gabrielcardoso21 Aug 15, 2018
3187940
fix campo do ICMS
renatonlima Sep 9, 2016
823f5c9
[FIX] corrigida algumas tags da NFe
renatonlima Jun 14, 2018
7165fe9
[FIX] corrigido atributo na abertura do arquivo
renatonlima Jun 14, 2018
f020032
[FIX] tag ICMS 70
renatonlima Jun 14, 2018
85a6481
[FIX] ICMS cst 70 tag
renatonlima Jun 15, 2018
9c00276
update PySPED 1.2.0
renatonlima Jun 21, 2018
86de837
[FIX] fix danfe with geraldo in python 2
renatonlima Jun 21, 2018
41f32e7
[fix] geração da chave de acesso para NFe 4.00
renatonlima Jun 28, 2018
43d5f4d
Incluído grupo de informações da TAG <fat> para NFe 4.00, obrigatorio…
mbcosta Jul 18, 2018
294a9b0
Incluído leiute pl_009v4b, o mais recente disponível.
mbcosta Jul 18, 2018
2508e23
Alteração do XSD devido a um problema causado por alguma biblioteca( …
mbcosta Jul 20, 2018
a853514
[FEA] Adaptação do envelope para não mandar mais o header
aricaldeira Jun 28, 2018
55d9cd9
[FIX] Formatação da série
aricaldeira Jul 19, 2018
d86862b
[FIX] Ambiente nacional para evento de confirmação da operação
aricaldeira Jul 25, 2018
c12d750
[FIX] Campos referentes ao Fundo de Combate a Pobreza.
aricaldeira Jul 31, 2018
6d5b80b
[FIX] Corrigindo CSOSN 500
aricaldeira Apr 6, 2018
ae94be9
[FIX] Ajustando tags do FCP
aricaldeira Apr 10, 2018
260c9a8
[FIX] Ajustando tags do FCPST
renatonlima Aug 3, 2018
126686c
[FIX] UFPE NF-e 4.00 address
renatonlima Aug 14, 2018
ad58063
[FIX] ejeição-324
renatonlima Aug 22, 2018
ee60ba5
[FIX] Metodos
gabrielcardoso21 Aug 28, 2018
92e8cb8
[FIX] Webservice de Recepção de Evento
gabrielcardoso21 Oct 31, 2018
a8e5540
Feature/nfe 4.00 pl 009b4b 01 09 2018 (#22)
sadson Nov 6, 2018
07090a2
Merge branch 'fix/nfe_4.00' into feature/nfe_4.00-pl_009b4b-01_09_2018
mileo Nov 6, 2018
d3f2b9c
Merge pull request #21 from kmee/feature/nfe_4.00-pl_009b4b-01_09_2018
mileo Nov 6, 2018
b14ec1f
[NEW] ICMS efetivo para cst 60
mileo May 7, 2019
caa9d73
Merge pull request #24 from kmee/feature/icms_efetivo
sadamo May 8, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions pysped/nfe/danfe/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,14 @@
# <http://www.gnu.org/licenses/>
#

from pysped.nfe.danfe.danfe import DANFE
#from pysped.nfe.danfe.daede import DAEDE
import sys


if sys.version_info.major == 2:
from pysped.nfe.danfe.danfe_geraldo import DANFE
else:
from pysped.nfe.danfe.danfe import DANFE

from pysped.nfe.danfe.daede import DAEDE
from pysped.nfe.danfe.danfce import DANFCE
from pysped.nfe.danfe.danfse import DANFSE
3 changes: 2 additions & 1 deletion pysped/nfe/leiaute/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@
#
# Versão 4.00, usada a partir de agosto/2017
#
ESQUEMA_ATUAL_VERSAO_4 = 'pl_009_v4'
ESQUEMA_ATUAL_VERSAO_4 = 'pl_009_v4b'

#
# Emissão de NFC-e
Expand Down Expand Up @@ -363,6 +363,7 @@
from .nfe_400 import ProcRef as ProcRef_400
from .nfe_400 import AutXML as AutXML_400
from .nfe_400 import Rastro as Rastro_400
from .nfe_400 import Fat as Fat_400

#
# Envio de lote de NF-e
Expand Down
4 changes: 2 additions & 2 deletions pysped/nfe/leiaute/nfe_110.py
Original file line number Diff line number Diff line change
Expand Up @@ -2477,7 +2477,7 @@ def __init__(self):
super(Fat, self).__init__()
self.nFat = TagCaracter(nome='nFat', codigo='Y03', tamanho=[1, 60], raiz='//NFe/infNFe/cobr/fat', obrigatorio=False)
self.vOrig = TagDecimal(nome='vOrig', codigo='Y04', tamanho=[1, 15, 1], decimais=[0, 2, 2], raiz='//NFe/infNFe/cobr/fat', obrigatorio=False)
self.vDesc = TagDecimal(nome='vDesc', codigo='Y05', tamanho=[1, 15, 1], decimais=[0, 2, 2], raiz='//NFe/infNFe/cobr/fat', obrigatorio=False)
self.vDesc = TagDecimal(nome='vDesc', codigo='Y05', tamanho=[1, 15, 1], decimais=[0, 2, 2], raiz='//NFe/infNFe/cobr/fat', obrigatorio=True)
self.vLiq = TagDecimal(nome='vLiq' , codigo='Y06', tamanho=[1, 15, 1], decimais=[0, 2, 2], raiz='//NFe/infNFe/cobr/fat', obrigatorio=False)

def get_xml(self):
Expand Down Expand Up @@ -4007,7 +4007,7 @@ def _calcula_dv(self, valor):
def gera_nova_chave(self):
chave = str(self.infNFe.ide.cUF.valor).zfill(2)

if str(self.infNFe.versao.valor) == '3.10':
if str(self.infNFe.versao.valor) in ('3.10', '4.00'):
chave += str(self.infNFe.ide.dhEmi.valor.strftime('%y%m')).zfill(4)

else:
Expand Down
10 changes: 5 additions & 5 deletions pysped/nfe/leiaute/nfe_310.py
Original file line number Diff line number Diff line change
Expand Up @@ -586,8 +586,8 @@ def get_xml(self):
xml += self.vICMSST.xml
else:
xml += self.modBC.xml
xml += self.vBC.xml
xml += self.pRedBC.xml
xml += self.vBC.xml
xml += self.pICMS.xml
xml += self.vICMS.xml
xml += self.modBCST.xml
Expand Down Expand Up @@ -646,8 +646,8 @@ def get_xml(self):

elif self.CST.valor == '70':
xml += self.modBC.xml
xml += self.vBC.xml
xml += self.pRedBC.xml
xml += self.vBC.xml
xml += self.pICMS.xml
xml += self.vICMS.xml
xml += self.modBCST.xml
Expand All @@ -665,8 +665,8 @@ def get_xml(self):

elif self.CST.valor == '90':
xml += self.modBC.xml
xml += self.vBC.xml
xml += self.pRedBC.xml
xml += self.vBC.xml
xml += self.pICMS.xml
xml += self.vICMS.xml
xml += self.modBCST.xml
Expand Down Expand Up @@ -729,8 +729,8 @@ def get_xml(self):

elif self.CSOSN.valor == '900':
xml += self.modBC.xml
xml += self.vBC.xml
xml += self.pRedBC.xml
xml += self.vBC.xml
xml += self.pICMS.xml
xml += self.vICMS.xml
xml += self.modBCST.xml
Expand Down Expand Up @@ -2191,7 +2191,7 @@ def numero_formatado(self):
def serie_formatada(self):
if str(self.infNFe.ide.mod.valor) == '65':
return 'Série ' + str(self.infNFe.ide.serie.valor).zfill(3)
elif str(self.infNFe.ide.mod.valor) == '65':
elif str(self.infNFe.ide.mod.valor) == '55':
return 'SÉRIE ' + str(self.infNFe.ide.serie.valor).zfill(3)
else:
return str(self.infNFe.ide.serie.valor).zfill(3)
Expand Down
Loading