Skip to content

Commit

Permalink
Merge pull request #70 from akretion/master-nfe-pl9j
Browse files Browse the repository at this point in the history
nfe Pacote nº 9j (NT 2022.003 v.1.00b).
  • Loading branch information
rvalyi authored May 14, 2023
2 parents 698d960 + 7f99be4 commit eadb1e8
Show file tree
Hide file tree
Showing 12 changed files with 1,849 additions and 12 deletions.
20 changes: 20 additions & 0 deletions nfelib/nfe/bindings/v4_0/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from nfelib.nfe.bindings.v4_0.cons_cad_v2_00 import ConsCad
from nfelib.nfe.bindings.v4_0.cons_reci_nfe_v4_00 import ConsReciNfe
from nfelib.nfe.bindings.v4_0.cons_sit_nfe_v4_00 import ConsSitNfe
from nfelib.nfe.bindings.v4_0.cons_stat_serv_v4_00 import ConsStatServ
Expand All @@ -19,6 +20,15 @@
TconsStatServXServ,
TretConsStatServ,
)
from nfelib.nfe.bindings.v4_0.leiaute_consulta_cadastro_v2_00 import (
TconsCad,
TretConsCad,
TufCons,
InfCadCSit,
InfCadIndCredCte,
InfCadIndCredNfe,
InfConsXServ,
)
from nfelib.nfe.bindings.v4_0.leiaute_inut_nfe_v4_00 import (
TinutNfe,
TprocInutNfe,
Expand Down Expand Up @@ -131,6 +141,7 @@
from nfelib.nfe.bindings.v4_0.nfe_v4_00 import Nfe
from nfelib.nfe.bindings.v4_0.proc_inut_nfe_v4_00 import ProcInutNfe
from nfelib.nfe.bindings.v4_0.proc_nfe_v4_00 import NfeProc
from nfelib.nfe.bindings.v4_0.ret_cons_cad_v2_00 import RetConsCad
from nfelib.nfe.bindings.v4_0.ret_cons_reci_nfe_v4_00 import RetConsReciNfe
from nfelib.nfe.bindings.v4_0.ret_cons_sit_nfe_v4_00 import RetConsSitNfe
from nfelib.nfe.bindings.v4_0.ret_cons_stat_serv_v4_00 import RetConsStatServ
Expand Down Expand Up @@ -158,6 +169,7 @@
)

__all__ = [
"ConsCad",
"ConsReciNfe",
"ConsSitNfe",
"ConsStatServ",
Expand All @@ -175,6 +187,13 @@
"TconsStatServ",
"TconsStatServXServ",
"TretConsStatServ",
"TconsCad",
"TretConsCad",
"TufCons",
"InfCadCSit",
"InfCadIndCredCte",
"InfCadIndCredNfe",
"InfConsXServ",
"TinutNfe",
"TprocInutNfe",
"TretInutNfe",
Expand Down Expand Up @@ -283,6 +302,7 @@
"Nfe",
"ProcInutNfe",
"NfeProc",
"RetConsCad",
"RetConsReciNfe",
"RetConsSitNfe",
"RetConsStatServ",
Expand Down
13 changes: 13 additions & 0 deletions nfelib/nfe/bindings/v4_0/cons_cad_v2_00.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from dataclasses import dataclass
from nfelib.nfe.bindings.v4_0.leiaute_consulta_cadastro_v2_00 import TconsCad

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


@dataclass
class ConsCad(TconsCad):
"""
Schema XML de validação do retorno da consulta cadastro contribuintes.
"""
class Meta:
namespace = "http://www.portalfiscal.inf.br/nfe"
Loading

0 comments on commit eadb1e8

Please sign in to comment.