Skip to content

Commit

Permalink
Merge pull request akretion#100 from akretion/nfe-insuccesso
Browse files Browse the repository at this point in the history
Evento Insucesso na Entrega da NF-e
  • Loading branch information
rvalyi authored May 8, 2024
2 parents e3529f1 + 6f6266d commit cfda1e1
Show file tree
Hide file tree
Showing 30 changed files with 3,115 additions and 3 deletions.
2 changes: 1 addition & 1 deletion nfelib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from xsdata.formats.dataclass.serializers import XmlSerializer
from xsdata.formats.dataclass.serializers.config import SerializerConfig

__version__ = "2.0.4"
__version__ = "2.0.5"


class CommonMixin:
Expand Down
6 changes: 6 additions & 0 deletions nfelib/nfe_insucesso/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"""This file was generated by xsdata, v24.4, on 2024-05-08 08:25:46
Generator: DataclassGenerator
See: https://xsdata.readthedocs.io/
"""
# nothing here
6 changes: 6 additions & 0 deletions nfelib/nfe_insucesso/bindings/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"""This file was generated by xsdata, v24.4, on 2024-05-08 08:25:46
Generator: DataclassGenerator
See: https://xsdata.readthedocs.io/
"""
# nothing here
78 changes: 78 additions & 0 deletions nfelib/nfe_insucesso/bindings/v1_0/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
"""This file was generated by xsdata, v24.4, on 2024-05-08 08:25:46
Generator: DataclassGenerator
See: https://xsdata.readthedocs.io/
"""
from nfelib.nfe_insucesso.bindings.v1_0.env_evento_insucesso_nfe_v1_00 import (
EnvEvento,
)
from nfelib.nfe_insucesso.bindings.v1_0.evento_insucesso_nfe_v1_00 import (
Evento,
)
from nfelib.nfe_insucesso.bindings.v1_0.leiaute_evento_insucesso_nfe_v1_00 import (
InfEventoTpEvento,
InfEventoVerEvento,
TenvEvento,
Tevento,
TprocEvento,
TretEnvEvento,
TretEvento,
)
from nfelib.nfe_insucesso.bindings.v1_0.proc_evento_insucesso_nfe_v1_00 import (
ProcEventoNfe,
)
from nfelib.nfe_insucesso.bindings.v1_0.ret_evento_insucesso_nfe_v1_00 import (
RetEnvEvento,
)
from nfelib.nfe_insucesso.bindings.v1_0.tipos_basico_v1_03 import (
Tamb,
TcorgaoIbge,
)
from nfelib.nfe_insucesso.bindings.v1_0.tmp0000 import (
DetEvento,
DetEventoDescEvento,
DetEventoTpMotivo,
DetEventoVersao,
)
from nfelib.nfe_insucesso.bindings.v1_0.xmldsig_core_schema_v1_01 import (
KeyInfoType,
ReferenceType,
Signature,
SignatureType,
SignatureValueType,
SignedInfoType,
TransformsType,
TransformType,
TtransformUri,
X509DataType,
)

__all__ = [
"EnvEvento",
"Evento",
"TenvEvento",
"Tevento",
"TprocEvento",
"TretEnvEvento",
"TretEvento",
"InfEventoTpEvento",
"InfEventoVerEvento",
"ProcEventoNfe",
"RetEnvEvento",
"Tamb",
"TcorgaoIbge",
"DetEvento",
"DetEventoDescEvento",
"DetEventoTpMotivo",
"DetEventoVersao",
"KeyInfoType",
"ReferenceType",
"Signature",
"SignatureType",
"SignatureValueType",
"SignedInfoType",
"TtransformUri",
"TransformType",
"TransformsType",
"X509DataType",
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
"""This file was generated by xsdata, v24.4, on 2024-05-08 08:25:46
Generator: DataclassGenerator
See: https://xsdata.readthedocs.io/
"""
from dataclasses import dataclass

from nfelib.nfe_insucesso.bindings.v1_0.leiaute_evento_insucesso_nfe_v1_00 import (
TenvEvento,
)

__NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"


@dataclass
class EnvEvento(TenvEvento):
"""
Schema XML de validação do lote de envio do evento de Insucesso na Entrega da
NF-e.
"""

class Meta:
name = "envEvento"
namespace = "http://www.portalfiscal.inf.br/nfe"
23 changes: 23 additions & 0 deletions nfelib/nfe_insucesso/bindings/v1_0/evento_insucesso_nfe_v1_00.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
"""This file was generated by xsdata, v24.4, on 2024-05-08 08:25:46
Generator: DataclassGenerator
See: https://xsdata.readthedocs.io/
"""
from dataclasses import dataclass

from nfelib.nfe_insucesso.bindings.v1_0.leiaute_evento_insucesso_nfe_v1_00 import (
Tevento,
)

__NAMESPACE__ = "http://www.portalfiscal.inf.br/nfe"


@dataclass
class Evento(Tevento):
"""
Schema XML de validação do evento de Insucesso na entrega da NF-e.
"""

class Meta:
name = "evento"
namespace = "http://www.portalfiscal.inf.br/nfe"
Loading

0 comments on commit cfda1e1

Please sign in to comment.