Class TNFe.InfNFe.Ide.NFref

java.lang.Object
systextil.integracao.xml.nfe.TNFe.InfNFe.Ide.NFref
Enclosing class:
TNFe.InfNFe.Ide

public static class TNFe.InfNFe.Ide.NFref extends Object

Classe Java de anonymous complex type.

O seguinte fragmento do esquema especifica o conteudo esperado contido dentro desta classe.


 <complexType>
   <complexContent>
	 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
	   <choice>
		 <element name="refNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/>
		 <element name="refNFeSig" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/>
		 <element name="refNF">
		   <complexType>
			 <complexContent>
			   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
				 <sequence>
				   <element name="cUF" type="{http://www.portalfiscal.inf.br/nfe}TCodUfIBGE"/>
				   <element name="AAMM">
					 <simpleType>
					   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
						 <whiteSpace value="preserve"/>
						 <pattern value="[0-9]{2}[0]{1}[1-9]{1}|[0-9]{2}[1]{1}[0-2]{1}"/>
					   </restriction>
					 </simpleType>
				   </element>
				   <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/>
				   <element name="mod">
					 <simpleType>
					   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
						 <whiteSpace value="preserve"/>
						 <enumeration value="01"/>
						 <enumeration value="02"/>
					   </restriction>
					 </simpleType>
				   </element>
				   <element name="serie" type="{http://www.portalfiscal.inf.br/nfe}TSerie"/>
				   <element name="nNF" type="{http://www.portalfiscal.inf.br/nfe}TNF"/>
				 </sequence>
			   </restriction>
			 </complexContent>
		   </complexType>
		 </element>
		 <element name="refNFP">
		   <complexType>
			 <complexContent>
			   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
				 <sequence>
				   <element name="cUF" type="{http://www.portalfiscal.inf.br/nfe}TCodUfIBGE"/>
				   <element name="AAMM">
					 <simpleType>
					   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
						 <whiteSpace value="preserve"/>
						 <pattern value="[0-9]{2}[0]{1}[1-9]{1}|[0-9]{2}[1]{1}[0-2]{1}"/>
					   </restriction>
					 </simpleType>
				   </element>
				   <choice>
					 <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/>
					 <element name="CPF" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/>
				   </choice>
				   <element name="IE" type="{http://www.portalfiscal.inf.br/nfe}TIeDest"/>
				   <element name="mod">
					 <simpleType>
					   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
						 <whiteSpace value="preserve"/>
						 <enumeration value="01"/>
						 <enumeration value="04"/>
					   </restriction>
					 </simpleType>
				   </element>
				   <element name="serie" type="{http://www.portalfiscal.inf.br/nfe}TSerie"/>
				   <element name="nNF" type="{http://www.portalfiscal.inf.br/nfe}TNF"/>
				 </sequence>
			   </restriction>
			 </complexContent>
		   </complexType>
		 </element>
		 <element name="refCTe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/>
		 <element name="refECF">
		   <complexType>
			 <complexContent>
			   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
				 <sequence>
				   <element name="mod">
					 <simpleType>
					   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
						 <whiteSpace value="preserve"/>
						 <enumeration value="2B"/>
						 <enumeration value="2C"/>
						 <enumeration value="2D"/>
					   </restriction>
					 </simpleType>
				   </element>
				   <element name="nECF">
					 <simpleType>
					   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
						 <whiteSpace value="preserve"/>
						 <pattern value="[0-9]{1,3}"/>
					   </restriction>
					 </simpleType>
				   </element>
				   <element name="nCOO">
					 <simpleType>
					   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
						 <whiteSpace value="preserve"/>
						 <pattern value="[0-9]{1,6}"/>
					   </restriction>
					 </simpleType>
				   </element>
				 </sequence>
			   </restriction>
			 </complexContent>
		   </complexType>
		 </element>
	   </choice>
	 </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • refNFe

      protected String refNFe
      Chave de acesso das NF-e referenciadas. Chave de acesso compostas por Codigo da UF (tabela do IBGE) + AAMM da emissao + CNPJ do Emitente + modelo, serie e numero da NF-e Referenciada + Codigo Numerico + DV.
    • refNFeSig

      protected String refNFeSig
      Referencia uma NF-e (modelo 55) emitida anteriormente pela sua Chave de Acesso com codigo numerico zerado, permitindo manter o sigilo da NF-e referenciada.
    • refNF

      protected TNFe.InfNFe.Ide.NFref.RefNF refNF
      Dados da NF modelo 1/1A referenciada ou NF modelo 2 referenciada
    • refNFP

      protected TNFe.InfNFe.Ide.NFref.RefNFP refNFP
      Grupo com as informacoes NF de produtor referenciada
    • refCTe

      protected String refCTe
      Utilizar esta TAG para referenciar um CT-e emitido anteriormente, vinculada a NF-e atual
    • refECF

      protected TNFe.InfNFe.Ide.NFref.RefECF refECF
      Grupo do Cupom Fiscal vinculado a NF-e
  • Constructor Details

    • NFref

      public NFref()
  • Method Details