Skip to content

Commit

Permalink
Merge pull request #95 from akretion/nfse-CommonMixin
Browse files Browse the repository at this point in the history
gen nfse with xsdata 24.2.1 + CommonMixin
  • Loading branch information
rvalyi authored Mar 11, 2024
2 parents 1442dfd + 31ddb48 commit dbabd0a
Show file tree
Hide file tree
Showing 9 changed files with 608 additions and 443 deletions.
5 changes: 5 additions & 0 deletions nfelib/nfse/bindings/v1_0/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
"""This file was generated by xsdata, v24.2.1, on 2024-03-11 16:13:50
Generator: DataclassGenerator
See: https://xsdata.readthedocs.io/
"""
from nfelib.nfse.bindings.v1_0.dps_v1_00 import Dps
from nfelib.nfse.bindings.v1_0.evento_v1_00 import Evento
from nfelib.nfse.bindings.v1_0.nfse_v1_00 import Nfse
Expand Down
6 changes: 6 additions & 0 deletions nfelib/nfse/bindings/v1_0/dps_v1_00.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
"""This file was generated by xsdata, v24.2.1, on 2024-03-11 16:13:50
Generator: DataclassGenerator
See: https://xsdata.readthedocs.io/
"""
from dataclasses import dataclass
from nfelib.nfse.bindings.v1_0.tipos_complexos_v1_00 import Tcdps

Expand All @@ -7,6 +12,7 @@
@dataclass
class Dps(Tcdps):
"""Schema XML da Declaração de Prestação de Serviços - DPS"""

class Meta:
name = "DPS"
namespace = "http://www.sped.fazenda.gov.br/nfse"
6 changes: 6 additions & 0 deletions nfelib/nfse/bindings/v1_0/evento_v1_00.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
"""This file was generated by xsdata, v24.2.1, on 2024-03-11 16:13:50
Generator: DataclassGenerator
See: https://xsdata.readthedocs.io/
"""
from dataclasses import dataclass
from nfelib.nfse.bindings.v1_0.tipos_eventos_v1_00 import Tcevento

Expand All @@ -9,6 +14,7 @@ class Evento(Tcevento):
"""
Schema XML do Pedido de Registro de Eventos.
"""

class Meta:
name = "evento"
namespace = "http://www.sped.fazenda.gov.br/nfse"
6 changes: 6 additions & 0 deletions nfelib/nfse/bindings/v1_0/nfse_v1_00.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
"""This file was generated by xsdata, v24.2.1, on 2024-03-11 16:13:50
Generator: DataclassGenerator
See: https://xsdata.readthedocs.io/
"""
from dataclasses import dataclass
from nfelib.nfse.bindings.v1_0.tipos_complexos_v1_00 import Tcnfse

Expand All @@ -7,6 +12,7 @@
@dataclass
class Nfse(Tcnfse):
"""Schema XML da Nota Fiscal de Serviços Eletrônica - NFS-e"""

class Meta:
name = "NFSe"
namespace = "http://www.sped.fazenda.gov.br/nfse"
6 changes: 6 additions & 0 deletions nfelib/nfse/bindings/v1_0/ped_reg_evento_v1_00.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
"""This file was generated by xsdata, v24.2.1, on 2024-03-11 16:13:50
Generator: DataclassGenerator
See: https://xsdata.readthedocs.io/
"""
from dataclasses import dataclass
from nfelib.nfse.bindings.v1_0.tipos_eventos_v1_00 import TcpedRegEvt

Expand All @@ -9,6 +14,7 @@ class PedRegEvento(TcpedRegEvt):
"""
Schema XML do Pedido de Registro de Eventos.
"""

class Meta:
name = "pedRegEvento"
namespace = "http://www.sped.fazenda.gov.br/nfse"
Loading

0 comments on commit dbabd0a

Please sign in to comment.