Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pl 009 v4c #41

Open
wants to merge 55 commits into
base: 8.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
1a3a268
Incluído leiute pl_009v4b, o mais recente disponível.
mbcosta Jul 18, 2018
e23c7ac
Alteração do XSD devido a um problema causado por alguma biblioteca( …
mbcosta Jul 20, 2018
a67c1ac
[FEA] Adaptação do envelope para não mandar mais o header
aricaldeira Jun 28, 2018
e5de8a7
[FIX] Formatação da série
aricaldeira Jul 19, 2018
66d9375
[FIX] Ambiente nacional para evento de confirmação da operação
aricaldeira Jul 25, 2018
1b72c46
[FIX] Campos referentes ao Fundo de Combate a Pobreza.
aricaldeira Jul 31, 2018
9a248cd
[FIX] Corrigindo CSOSN 500
aricaldeira Apr 6, 2018
087a913
[FIX] Ajustando tags do FCP
aricaldeira Apr 10, 2018
de75e39
[FIX] Ajustando tags do FCPST
renatonlima Aug 3, 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
5d2b1be
Merge remote-tracking branch 'odoo-brazil/fix/nfe-4.0-pl009-v4' into …
renatonlima Aug 14, 2018
b01d0ee
[FIX] UFPE NF-e 4.00 address
renatonlima Aug 14, 2018
9233892
[FIX] Tamanho do campo nDI
gabrielcardoso21 Aug 15, 2018
87f5215
[FIX] ejeição-324
renatonlima Aug 22, 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
8b4c2ad
FIX tag ICMSUFDest
renatonlima Oct 2, 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
eec63a1
Fix required tags in Fat tag
renatonlima Apr 3, 2019
b14ec1f
[NEW] ICMS efetivo para cst 60
mileo May 7, 2019
c9e7130
Added new field in ICMS tag
renatonlima May 9, 2019
7c98d8c
[NEW] InfRespTec
mileo Jun 4, 2019
0f51fba
[NEW] Atualização do schema
mileo Jun 4, 2019
9ec2430
fixup! [NEW] InfRespTec
mileo Jun 4, 2019
55918d5
[NEW] ICMS efetivo para cst 60
mileo May 7, 2019
15f7649
[NEW] InfRespTec
mileo Jun 4, 2019
1035eeb
[NEW] Atualização do schema
mileo Jun 4, 2019
ad6b8fd
fixup! [NEW] InfRespTec
mileo Jun 4, 2019
c5adcc0
fixup! [NEW] Atualização do schema
mileo Jun 5, 2019
40ad0ca
[FIX] vICMSSubstituto tag
renatonlima Jun 11, 2019
defdb91
Merge branch 'nfe_4.00-pl_009v4b-01_09_2018' into pl_009_v4c
renatonlima Jun 12, 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
2 changes: 1 addition & 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_v4c'

#
# Emissão de NFC-e
Expand Down
6 changes: 3 additions & 3 deletions pysped/nfe/leiaute/nfe_110.py
Original file line number Diff line number Diff line change
Expand Up @@ -2475,10 +2475,10 @@ def valor_extenso(self):
class Fat(XMLNFe):
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.nFat = TagCaracter(nome='nFat', codigo='Y03', tamanho=[1, 60], raiz='//NFe/infNFe/cobr/fat', obrigatorio=True)
self.vOrig = TagDecimal(nome='vOrig', codigo='Y04', tamanho=[1, 15, 1], decimais=[0, 2, 2], raiz='//NFe/infNFe/cobr/fat', obrigatorio=True)
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)
self.vLiq = TagDecimal(nome='vLiq' , codigo='Y06', tamanho=[1, 15, 1], decimais=[0, 2, 2], raiz='//NFe/infNFe/cobr/fat', obrigatorio=True)

def get_xml(self):
if not (self.nFat.valor or self.vOrig.valor or self.vDesc.valor or self.vLiq.valor):
Expand Down
2 changes: 1 addition & 1 deletion pysped/nfe/leiaute/nfe_310.py
Original file line number Diff line number Diff line change
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
258 changes: 223 additions & 35 deletions pysped/nfe/leiaute/nfe_400.py

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions pysped/nfe/leiaute/schema/pl_009_v4b/consReciNFe_v4.00.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns="http://www.portalfiscal.inf.br/nfe" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:include schemaLocation="leiauteNFe_v4.00.xsd"/>
<xs:element name="consReciNFe" type="TConsReciNFe">
<xs:annotation>
<xs:documentation>Schema XML de validação do Pedido de Consulta do Recido do Lote de Notas Fiscais Eletrônicas</xs:documentation>
</xs:annotation>
</xs:element>
</xs:schema>
9 changes: 9 additions & 0 deletions pysped/nfe/leiaute/schema/pl_009_v4b/consSitNFe_v4.00.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/nfe" targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:include schemaLocation="leiauteConsSitNFe_v4.00.xsd"/>
<xs:element name="consSitNFe" type="TConsSitNFe">
<xs:annotation>
<xs:documentation>Schema de validação XML dp Pedido de Consulta da Situação Atual da Nota Fiscal Eletrônica</xs:documentation>
</xs:annotation>
</xs:element>
</xs:schema>
9 changes: 9 additions & 0 deletions pysped/nfe/leiaute/schema/pl_009_v4b/consStatServ_v4.00.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns="http://www.portalfiscal.inf.br/nfe" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:include schemaLocation="leiauteConsStatServ_v4.00.xsd"/>
<xs:element name="consStatServ" type="TConsStatServ">
<xs:annotation>
<xs:documentation>Schema XML de validação do Pedido de Consulta do Status do Serviço</xs:documentation>
</xs:annotation>
</xs:element>
</xs:schema>
9 changes: 9 additions & 0 deletions pysped/nfe/leiaute/schema/pl_009_v4b/enviNFe_v4.00.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/nfe" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:include schemaLocation="leiauteNFe_v4.00.xsd"/>
<xs:element name="enviNFe" type="TEnviNFe">
<xs:annotation>
<xs:documentation>Schema XML de validação do Pedido de Concessão de Autorização da Nota Fiscal Eletrônica</xs:documentation>
</xs:annotation>
</xs:element>
</xs:schema>
9 changes: 9 additions & 0 deletions pysped/nfe/leiaute/schema/pl_009_v4b/inutNFe_v4.00.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/nfe" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:include schemaLocation="leiauteInutNFe_v4.00.xsd"/>
<xs:element name="inutNFe" type="TInutNFe">
<xs:annotation>
<xs:documentation>Schema XML de validação do Pedido de Inutilização de Numeração da Nota Fiscal Eletrônica</xs:documentation>
</xs:annotation>
</xs:element>
</xs:schema>
Loading