Skip to content

Commit

Permalink
Merge pull request #32 from kmee/nfe-4.0-pl009-v4
Browse files Browse the repository at this point in the history
Nfe 4.0 pl009 v4
  • Loading branch information
mileo authored Jul 26, 2018
2 parents 38c3982 + d5e11fa commit 45c5f58
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions pysped/nfe/leiaute/__init__.py
Original file line number Diff line number Diff line change
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
2 changes: 1 addition & 1 deletion 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
2 changes: 1 addition & 1 deletion pysped/nfe/leiaute/schema/pl_009_v4/tiposBasico_v4.00.xsd
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@
</xs:annotation>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="0\.[0-9]{1}[1-9]{1}|0\.[1-9]{1}[0-9]{1}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?"/>
<xs:pattern value="0.00|0\.[0-9]{1}[1-9]{1}|0\.[1-9]{1}[0-9]{1}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="TIeDest">
Expand Down

0 comments on commit 45c5f58

Please sign in to comment.