Skip to content

Commit

Permalink
nfse: XSD PATCH: tribNac -> tribFed
Browse files Browse the repository at this point in the history
it seems the official xsd file has an error with the tribNac tax field
(inside the trib tag) while the other spec files and known NFSe's seem
to use the tribFed tag instead. So we replaced tribNac by tribFed.
The related ComplexField and inner attributes seem OK.
  • Loading branch information
rvalyi committed May 26, 2024
1 parent 5baba19 commit 39a9503
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions nfelib/nfse/bindings/v1_0/tipos_complexos_v1_00.py
Original file line number Diff line number Diff line change
Expand Up @@ -2453,7 +2453,7 @@ class TcinfoTributacao(CommonMixin):
"""
:ivar tribMun: Grupo de informações relacionados ao Imposto Sobre
Serviços de Qualquer Natureza - ISSQN
:ivar tribNac: Grupo de informações de outros tributos relacionados
:ivar tribFed: Grupo de informações de outros tributos relacionados
ao serviço prestado
:ivar totTrib: Grupo de informações para totais aproximados dos
tributos relacionados ao serviço prestado
Expand All @@ -2470,7 +2470,7 @@ class Meta:
"required": True,
},
)
tribNac: Optional[TctribNacional] = field(
tribFed: Optional[TctribNacional] = field(
default=None,
metadata={
"type": "Element",
Expand Down
2 changes: 1 addition & 1 deletion nfelib/nfse/schemas/v1_0/tiposComplexos_v1.00.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -1255,7 +1255,7 @@
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="tribNac" type="TCTribNacional" minOccurs="0">
<xs:element name="tribFed" type="TCTribNacional" minOccurs="0">
<xs:annotation>
<xs:documentation>
Grupo de informações de outros tributos relacionados ao serviço prestado
Expand Down

0 comments on commit 39a9503

Please sign in to comment.