From 1542cec91c88d700468f5228048766868f0e9648 Mon Sep 17 00:00:00 2001 From: Ari Caldeira Date: Thu, 19 Jul 2018 09:55:11 -0300 Subject: [PATCH] =?UTF-8?q?[FIX]=20Formata=C3=A7=C3=A3o=20da=20s=C3=A9rie?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pysped/nfe/leiaute/nfe_310.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pysped/nfe/leiaute/nfe_310.py b/pysped/nfe/leiaute/nfe_310.py index 524babc8..f9d83b08 100644 --- a/pysped/nfe/leiaute/nfe_310.py +++ b/pysped/nfe/leiaute/nfe_310.py @@ -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)