Skip to content

Commit 6931e9e

Browse files
authored
Merge pull request #1649 from ZeusAutomacao/Reforma_tributaria
Suporte à Reforma Tributária do Consumo para NFe/NFCe
2 parents 82a7c5a + 2f38070 commit 6931e9e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+6487
-42
lines changed

NFe.AppTeste/Schemas/DFeTiposBasicos_v1.00.xsd

Lines changed: 1097 additions & 0 deletions
Large diffs are not rendered by default.

NFe.AppTeste/Schemas/leiauteNFe_v4.00.xsd

Lines changed: 161 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!-- edited with XMLSpy v2011 sp1 (http://www.altova.com) by End User (free.org) -->
2+
<!-- edited with XMLSpy v2025 rel. 2 (x64) (https://www.altova.com) by PROCERGS (Procergs - Centro de Tecnologia da Informação e Comunicação do Estado do Rio Grande do Sul S.A.) -->
33
<!-- PL_009 alterações de esquema decorrentes da - NT2016.002 v1.20 - 31/05/2017 13:14hs-->
44
<!-- PL_008g alterações de esquema decorrentes da - NT2015.002 - 15/07/2015 -->
55
<!-- PL_008h alterações de esquema decorrentes da - NT2015.003 - 17/09/2015 -->
@@ -17,10 +17,11 @@
1717
<!-- PL_009l_NT2023_002_v100 - Alteração de Schema para evitar caracteres inválidos -->
1818
<!-- PL_009m_NT2019_001_v155 - Inclusão de campos para Crédito Presumido e Redução da base de cálculo -->
1919
<!-- PL_009m_NT2023_004_v101 - Informações de Pagamentos e Outros -->
20-
<!-- PL_009p_NT2024_003_v101 - Produtos agropecuários -->
20+
<!-- PL_009p_NT2024_003_v103 - Produtos agropecuários -->
2121
<xs:schema xmlns="http://www.portalfiscal.inf.br/nfe" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:editix="http://www.portalfiscal.inf.br/nfe" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified" attributeFormDefault="unqualified">
2222
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema_v1.01.xsd"/>
2323
<xs:include schemaLocation="tiposBasico_v4.00.xsd"/>
24+
<xs:include schemaLocation="DFeTiposBasicos_v1.00.xsd"/>
2425
<xs:complexType name="TNFe">
2526
<xs:annotation>
2627
<xs:documentation>Tipo Nota Fiscal Eletrônica</xs:documentation>
@@ -123,6 +124,12 @@ SCAN 900-999</xs:documentation>
123124
<xs:documentation>Código do Município de Ocorrência do Fato Gerador (utilizar a tabela do IBGE)</xs:documentation>
124125
</xs:annotation>
125126
</xs:element>
127+
<xs:element name="cMunFGIBS" type="TCodMunIBGE" minOccurs="0">
128+
<xs:annotation>
129+
<xs:documentation>Informar o município de ocorrência do fato gerador do fato gerador do IBS / CBS.
130+
Campo preenchido somente quando “indPres = 5 (Operação presencial, fora do estabelecimento) ”, e não tiver endereço do destinatário (Grupo: E05) ou local de entrega (Grupo: G01).</xs:documentation>
131+
</xs:annotation>
132+
</xs:element>
126133
<xs:element name="tpImp">
127134
<xs:annotation>
128135
<xs:documentation>Formato de impressão do DANFE (0-sem DANFE;1-DANFe Retrato; 2-DANFe Paisagem;3-DANFe Simplificado;
@@ -190,7 +197,25 @@ SCAN 900-999</xs:documentation>
190197
1 - NFe normal
191198
2 - NFe complementar
192199
3 - NFe de ajuste
193-
4 - Devolução/Retorno</xs:documentation>
200+
4 - Devolução/Retorno
201+
5 - Nota de crédito
202+
6 - Nota de débito</xs:documentation>
203+
</xs:annotation>
204+
</xs:element>
205+
<xs:element name="tpNFDebito" type="TTpNFDebito" minOccurs="0">
206+
<xs:annotation>
207+
<xs:documentation>Tipo de Nota de Débito:
208+
01=Transferência de créditos para Cooperativas;
209+
02=Anulação de Crédito por Saídas Imunes/Isentas;
210+
03=Débitos de notas fiscais não processadas na apuração;
211+
04=Multa e juros;
212+
05=Transferência de crédito de sucessão.
213+
</xs:documentation>
214+
</xs:annotation>
215+
</xs:element>
216+
<xs:element name="tpNFCredito" type="TTpNFCredito" minOccurs="0">
217+
<xs:annotation>
218+
<xs:documentation>Tipo de Nota de Crédito</xs:documentation>
194219
</xs:annotation>
195220
</xs:element>
196221
<xs:element name="indFinal">
@@ -466,6 +491,25 @@ Preencher com &quot;2B&quot;, quando se tratar de Cupom Fiscal emitido por máqu
466491
</xs:choice>
467492
</xs:complexType>
468493
</xs:element>
494+
<xs:element name="gCompraGov" type="TCompraGov" minOccurs="0">
495+
<xs:annotation>
496+
<xs:documentation>Grupo de Compras Governamentais</xs:documentation>
497+
</xs:annotation>
498+
</xs:element>
499+
<xs:element name="gPagAntecipado" minOccurs="0">
500+
<xs:annotation>
501+
<xs:documentation>Informado para abater as parcelas de antecipação de pagamento, conforme Art. 10. § 4º</xs:documentation>
502+
</xs:annotation>
503+
<xs:complexType>
504+
<xs:sequence>
505+
<xs:element name="refNFe" type="TChNFe" minOccurs="1" maxOccurs="99">
506+
<xs:annotation>
507+
<xs:documentation>Chave de acesso da NF-e de antecipação de pagamento</xs:documentation>
508+
</xs:annotation>
509+
</xs:element>
510+
</xs:sequence>
511+
</xs:complexType>
512+
</xs:element>
469513
</xs:sequence>
470514
</xs:complexType>
471515
</xs:element>
@@ -1037,7 +1081,7 @@ Formato ”CFOP9999”.</xs:documentation>
10371081
</xs:element>
10381082
<xs:element name="vUnTrib" type="TDec_1110v">
10391083
<xs:annotation>
1040-
<xs:documentation>Valor unitário de tributação - - alterado para aceitar 0 a 10 casas decimais e 11 inteiros</xs:documentation>
1084+
<xs:documentation>Valor unitário de tributação - alterado para aceitar 0 a 10 casas decimais e 11 inteiros</xs:documentation>
10411085
</xs:annotation>
10421086
</xs:element>
10431087
<xs:element name="vFrete" type="TDec_1302Opc" minOccurs="0">
@@ -1074,10 +1118,20 @@ Formato ”CFOP9999”.</xs:documentation>
10741118
</xs:restriction>
10751119
</xs:simpleType>
10761120
</xs:element>
1121+
<xs:element name="indBemMovelUsado" minOccurs="0">
1122+
<xs:annotation>
1123+
<xs:documentation>Indicador de fornecimento de bem móvel usado: 1-Bem Móvel Usado</xs:documentation>
1124+
</xs:annotation>
1125+
<xs:simpleType>
1126+
<xs:restriction base="xs:string">
1127+
<xs:whiteSpace value="preserve"/>
1128+
<xs:enumeration value="1"/>
1129+
</xs:restriction>
1130+
</xs:simpleType>
1131+
</xs:element>
10771132
<xs:element name="DI" minOccurs="0" maxOccurs="100">
10781133
<xs:annotation>
1079-
<xs:documentation>Delcaração de Importação
1080-
(NT 2011/004)</xs:documentation>
1134+
<xs:documentation>Declaração de Importação (NT 2011/004)</xs:documentation>
10811135
</xs:annotation>
10821136
<xs:complexType>
10831137
<xs:sequence>
@@ -2041,7 +2095,7 @@ ambiente.</xs:documentation>
20412095
<xs:documentation>Valor estimado total de impostos federais, estaduais e municipais</xs:documentation>
20422096
</xs:annotation>
20432097
</xs:element>
2044-
<xs:choice>
2098+
<xs:choice minOccurs="0">
20452099
<xs:sequence>
20462100
<xs:element name="ICMS">
20472101
<xs:annotation>
@@ -5019,6 +5073,16 @@ Substituição Tributaria;</xs:documentation>
50195073
</xs:sequence>
50205074
</xs:complexType>
50215075
</xs:element>
5076+
<xs:element name="IS" type="TIS" minOccurs="0">
5077+
<xs:annotation>
5078+
<xs:documentation>Grupo de informações do Imposto Seletivo</xs:documentation>
5079+
</xs:annotation>
5080+
</xs:element>
5081+
<xs:element name="IBSCBS" type="TTribNFe" minOccurs="0">
5082+
<xs:annotation>
5083+
<xs:documentation>Grupo de informações dos tributos IBS, CBS e Imposto Seletivo</xs:documentation>
5084+
</xs:annotation>
5085+
</xs:element>
50225086
</xs:sequence>
50235087
</xs:complexType>
50245088
</xs:element>
@@ -5117,6 +5181,36 @@ Substituição Tributaria;</xs:documentation>
51175181
</xs:sequence>
51185182
</xs:complexType>
51195183
</xs:element>
5184+
<xs:element name="vItem" type="TDec_1302" minOccurs="0">
5185+
<xs:annotation>
5186+
<xs:documentation>Valor total do Item, correspondente à sua participação no total da nota. A soma dos itens deverá corresponder ao total da nota.</xs:documentation>
5187+
</xs:annotation>
5188+
</xs:element>
5189+
<xs:element name="DFeReferenciado" minOccurs="0">
5190+
<xs:annotation>
5191+
<xs:documentation>Referenciamento de item de outros DFe</xs:documentation>
5192+
</xs:annotation>
5193+
<xs:complexType>
5194+
<xs:sequence>
5195+
<xs:element name="chaveAcesso" type="TChNFe">
5196+
<xs:annotation>
5197+
<xs:documentation>Chave de Acesso do DFe referenciado</xs:documentation>
5198+
</xs:annotation>
5199+
</xs:element>
5200+
<xs:element name="nItem" minOccurs="0">
5201+
<xs:annotation>
5202+
<xs:documentation>Número do item do documento referenciado. Corresponde ao atributo nItem do elemento det do documento original.</xs:documentation>
5203+
</xs:annotation>
5204+
<xs:simpleType>
5205+
<xs:restriction base="xs:string">
5206+
<xs:whiteSpace value="preserve"/>
5207+
<xs:pattern value="[1-9]{1}[0-9]{0,1}|[1-8]{1}[0-9]{2}|[9]{1}[0-8]{1}[0-9]{1}|[9]{1}[9]{1}[0]{1}"/>
5208+
</xs:restriction>
5209+
</xs:simpleType>
5210+
</xs:element>
5211+
</xs:sequence>
5212+
</xs:complexType>
5213+
</xs:element>
51205214
</xs:sequence>
51215215
<xs:attribute name="nItem" use="required">
51225216
<xs:annotation>
@@ -5415,6 +5509,21 @@ Substituição Tributaria;</xs:documentation>
54155509
</xs:sequence>
54165510
</xs:complexType>
54175511
</xs:element>
5512+
<xs:element name="ISTot" type="TISTot" minOccurs="0">
5513+
<xs:annotation>
5514+
<xs:documentation>Valores totais da NF com Imposto Seletivo</xs:documentation>
5515+
</xs:annotation>
5516+
</xs:element>
5517+
<xs:element name="IBSCBSTot" type="TIBSCBSMonoTot" minOccurs="0">
5518+
<xs:annotation>
5519+
<xs:documentation>Valores totais da NF com IBS / CBS</xs:documentation>
5520+
</xs:annotation>
5521+
</xs:element>
5522+
<xs:element name="vNFTot" type="TDec_1302Opc" minOccurs="0">
5523+
<xs:annotation>
5524+
<xs:documentation>Valor Total da NF considerando os impostos por fora IBS, CBS e IS</xs:documentation>
5525+
</xs:annotation>
5526+
</xs:element>
54185527
</xs:sequence>
54195528
</xs:complexType>
54205529
</xs:element>
@@ -6292,7 +6401,7 @@ tipo de ato concessório:
62926401
</xs:annotation>
62936402
<xs:complexType>
62946403
<xs:choice>
6295-
<xs:element name="defensivo">
6404+
<xs:element name="defensivo" maxOccurs="20">
62966405
<xs:annotation>
62976406
<xs:documentation>Defensivo Agrícola / Agrotóxico</xs:documentation>
62986407
</xs:annotation>
@@ -6303,8 +6412,8 @@ tipo de ato concessório:
63036412
<xs:documentation>Número do Receituário ou Receita do Defensivo / Agrotóxico</xs:documentation>
63046413
</xs:annotation>
63056414
<xs:simpleType>
6306-
<xs:restriction base="xs:string">
6307-
<xs:maxLength value="20"/>
6415+
<xs:restriction base="TString">
6416+
<xs:maxLength value="30"/>
63086417
<xs:minLength value="1"/>
63096418
</xs:restriction>
63106419
</xs:simpleType>
@@ -6340,7 +6449,7 @@ tipo de ato concessório:
63406449
</xs:restriction>
63416450
</xs:simpleType>
63426451
</xs:element>
6343-
<xs:element name="UFGuia" type="TUfEmi" minOccurs="0"/>
6452+
<xs:element name="UFGuia" type="TUfEmi"/>
63446453
<xs:element name="serieGuia" minOccurs="0">
63456454
<xs:annotation>
63466455
<xs:documentation>Série da Guia</xs:documentation>
@@ -6403,9 +6512,18 @@ tipo de ato concessório:
64036512
<xs:simpleType>
64046513
<xs:restriction base="xs:string">
64056514
<xs:whiteSpace value="preserve"/>
6406-
<xs:minLength value="100"/>
6407-
<xs:maxLength value="600"/>
6408-
<xs:pattern value="(((HTTPS?|https?)://.*\?chNFe=[0-9]{44}&amp;nVersao=100&amp;tpAmb=[1-2](&amp;cDest=([A-Za-z0-9.:+-/)(]{0}|[A-Za-z0-9.:+-/)(]{5,20})?)?&amp;dhEmi=[A-Fa-f0-9]{50}&amp;vNF=(0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?)&amp;vICMS=(0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?)&amp;digVal=[A-Fa-f0-9]{56}&amp;cIdToken=[0-9]{6}&amp;cHashQRCode=[A-Fa-f0-9]{40})|((HTTPS?|https?)://.*\?p=([0-9]{34}(1|3|4)[0-9]{9})\|[2]\|[1-2]\|(0|[1-9]{1}([0-9]{1,5})?)\|[A-Fa-f0-9]{40})|((HTTPS?|https?)://.*\?p=([0-9]{34}9[0-9]{9})\|[2]\|[1-2]\|([0]{1}[1-9]{1}|[1-2]{1}[0-9]{1}|[3]{1}[0-1]{1})\|(0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?)\|[A-Fa-f0-9]{56}\|(0|[1-9]{1}([0-9]{1,5})?)\|[A-Fa-f0-9]{40}))"/>
6515+
<xs:minLength value="60"/>
6516+
<xs:maxLength value="1000"/>
6517+
<!--QRCODE V1-->
6518+
<xs:pattern value="((HTTPS?|https?)://.*\?chNFe=[0-9]{44}&amp;nVersao=100&amp;tpAmb=[1-2](&amp;cDest=([A-Za-z0-9.:+-/)(]{0}|[A-Za-z0-9.:+-/)(]{5,20})?)?&amp;dhEmi=[A-Fa-f0-9]{50}&amp;vNF=(0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?)&amp;vICMS=(0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?)&amp;digVal=[A-Fa-f0-9]{56}&amp;cIdToken=[0-9]{6}&amp;cHashQRCode=[A-Fa-f0-9]{40})"/>
6519+
<!--QRCODE V2 ONLINE-->
6520+
<xs:pattern value="((HTTPS?|https?)://.*\?p=([0-9]{34}(1|3|4)[0-9]{9})\|[2]\|[1-2]\|(0|[1-9]{1}([0-9]{1,5})?)\|[A-Fa-f0-9]{40})"/>
6521+
<!--QRCODE V2 OFFLINE-->
6522+
<xs:pattern value="((HTTPS?|https?)://.*\?p=([0-9]{34}9[0-9]{9})\|[2]\|[1-2]\|([0]{1}[1-9]{1}|[1-2]{1}[0-9]{1}|[3]{1}[0-1]{1})\|(0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?)\|[A-Fa-f0-9]{56}\|(0|[1-9]{1}([0-9]{1,5})?)\|[A-Fa-f0-9]{40})"/>
6523+
<!--QRCODE V3 ONLINE-->
6524+
<xs:pattern value="((HTTPS?|https?)://.*\?p=([0-9]{34}(1|3|4)[0-9]{9})\|[3]\|[1-2])"/>
6525+
<!--QRCODE V3 OFFLINE-->
6526+
<xs:pattern value="((HTTPS?|https?)://.*\?p=([0-9]{34}(9)[0-9]{9})\|[3]\|[1-2]\|([0]{1}[1-9]{1}|[1-2]{1}[0-9]{1}|[3]{1}[0-1]{1})\|(0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?)\|((1|2|3)?)\|(([0-9]{3,14})?)\|([a-zA-Z0-9+/]+[=]{0,2}))"/>
64096527
</xs:restriction>
64106528
</xs:simpleType>
64116529
</xs:element>
@@ -7221,6 +7339,34 @@ alterado para tamanho variavel 1-4. (NT2011/004)</xs:documentation>
72217339
<xs:enumeration value="2"/>
72227340
<xs:enumeration value="3"/>
72237341
<xs:enumeration value="4"/>
7342+
<xs:enumeration value="5"/>
7343+
<xs:enumeration value="6"/>
7344+
</xs:restriction>
7345+
</xs:simpleType>
7346+
<xs:simpleType name="TTpNFDebito">
7347+
<xs:annotation>
7348+
<xs:documentation>Tipo de Nota de Débito: 01=Transferência de créditos para Cooperativas; 02=Anulação de Crédito por Saídas Imunes/Isentas; 03=Débitos de notas fiscais não processadas na apuração; 04=Multa e juros; 05=Transferência de crédito de sucessão); 06=Pagamento antecipado; 07=Perda em estoque</xs:documentation>
7349+
</xs:annotation>
7350+
<xs:restriction base="xs:string">
7351+
<xs:whiteSpace value="preserve"/>
7352+
<xs:enumeration value="01"/>
7353+
<xs:enumeration value="02"/>
7354+
<xs:enumeration value="03"/>
7355+
<xs:enumeration value="04"/>
7356+
<xs:enumeration value="05"/>
7357+
<xs:enumeration value="06"/>
7358+
<xs:enumeration value="07"/>
7359+
</xs:restriction>
7360+
</xs:simpleType>
7361+
<xs:simpleType name="TTpNFCredito">
7362+
<xs:annotation>
7363+
<xs:documentation>Tipo de Nota de Crédito: 01=Multa e juros; 02=Apropriação de crédito presumido de IBS sobre o saldo devedor na ZFM (art. 450, § 1º, LC 214/25); 03=Retorno</xs:documentation>
7364+
</xs:annotation>
7365+
<xs:restriction base="xs:string">
7366+
<xs:whiteSpace value="preserve"/>
7367+
<xs:enumeration value="01"/>
7368+
<xs:enumeration value="02"/>
7369+
<xs:enumeration value="03"/>
72247370
</xs:restriction>
72257371
</xs:simpleType>
72267372
<xs:simpleType name="TProcEmi">
@@ -7409,4 +7555,4 @@ alterado para tamanho variavel 1-4. (NT2011/004)</xs:documentation>
74097555
</xs:choice>
74107556
</xs:sequence>
74117557
</xs:complexType>
7412-
</xs:schema>
7558+
</xs:schema>

NFe.AppTeste/Schemas/nfe_v4.00.xsd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- edited with XMLSpy v2008 (http://www.altova.com) by [email protected] (PROCERGS) -->
23
<xs:schema xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/nfe" targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified" attributeFormDefault="unqualified">
34
<xs:include schemaLocation="leiauteNFe_v4.00.xsd"/>
45
<xs:element name="NFe" type="TNFe">

NFe.AppTeste/Schemas/tiposBasico_v4.00.xsd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@
6161
</xs:annotation>
6262
<xs:restriction base="xs:string">
6363
<xs:whiteSpace value="preserve"/>
64-
<xs:maxLength value="15"/>
65-
<xs:pattern value="[0-9]{15}"/>
64+
<xs:maxLength value="17"/>
65+
<xs:pattern value="[0-9]{15}|[0-9]{17}"/>
6666
</xs:restriction>
6767
</xs:simpleType>
6868
<xs:simpleType name="TRec">
@@ -81,8 +81,8 @@
8181
</xs:annotation>
8282
<xs:restriction base="xs:string">
8383
<xs:whiteSpace value="preserve"/>
84-
<xs:maxLength value="3"/>
85-
<xs:pattern value="[0-9]{3}"/>
84+
<xs:maxLength value="4"/>
85+
<xs:pattern value="[0-9]{3,4}"/>
8686
</xs:restriction>
8787
</xs:simpleType>
8888
<xs:simpleType name="TCnpj">

NFe.AppTeste/Schemas/xmldsig-core-schema_v1.01.xsd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,4 @@
9595
<enumeration value="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
9696
</restriction>
9797
</simpleType>
98-
</schema>
98+
</schema>
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
/********************************************************************************/
2+
/* Projeto: Biblioteca ZeusNFe */
3+
/* Biblioteca C# para emissão de Nota Fiscal Eletrônica - NFe e Nota Fiscal de */
4+
/* Consumidor Eletrônica - NFC-e (http://www.nfe.fazenda.gov.br) */
5+
/* */
6+
/* Direitos Autorais Reservados (c) 2014 Adenilton Batista da Silva */
7+
/* Zeusdev Tecnologia LTDA ME */
8+
/* */
9+
/* Você pode obter a última versão desse arquivo no GitHub */
10+
/* localizado em https://github.com/adeniltonbs/Zeus.Net.NFe.NFCe */
11+
/* */
12+
/* */
13+
/* Esta biblioteca é software livre; você pode redistribuí-la e/ou modificá-la */
14+
/* sob os termos da Licença Pública Geral Menor do GNU conforme publicada pela */
15+
/* Free Software Foundation; tanto a versão 2.1 da Licença, ou (a seu critério) */
16+
/* qualquer versão posterior. */
17+
/* */
18+
/* Esta biblioteca é distribuída na expectativa de que seja útil, porém, SEM */
19+
/* NENHUMA GARANTIA; nem mesmo a garantia implícita de COMERCIABILIDADE OU */
20+
/* ADEQUAÇÃO A UMA FINALIDADE ESPECÍFICA. Consulte a Licença Pública Geral Menor*/
21+
/* do GNU para mais detalhes. (Arquivo LICENÇA.TXT ou LICENSE.TXT) */
22+
/* */
23+
/* Você deve ter recebido uma cópia da Licença Pública Geral Menor do GNU junto*/
24+
/* com esta biblioteca; se não, escreva para a Free Software Foundation, Inc., */
25+
/* no endereço 59 Temple Street, Suite 330, Boston, MA 02111-1307 USA. */
26+
/* Você também pode obter uma copia da licença em: */
27+
/* http://www.opensource.org/licenses/lgpl-license.php */
28+
/* */
29+
/* Zeusdev Tecnologia LTDA ME - [email protected] */
30+
/* http://www.zeusautomacao.com.br/ */
31+
/* Rua Comendador Francisco josé da Cunha, 111 - Itabaiana - SE - 49500-000 */
32+
/********************************************************************************/
33+
34+
namespace NFe.Classes.Informacoes.Detalhe
35+
{
36+
public class DFeReferenciado
37+
{
38+
/// <summary>
39+
/// VC02 - Chave de acesso do DF-e referenciado
40+
/// </summary>
41+
public string chaveAcesso { get; set; }
42+
43+
/// <summary>
44+
/// VC03 - Número do item do documento referenciado.
45+
/// </summary>
46+
public int? nItem { get; set; }
47+
48+
public bool ShouldSerializenItem() => nItem.HasValue;
49+
}
50+
}

0 commit comments

Comments
 (0)