Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>br.com.swconsultoria</groupId>
<artifactId>java-nfe</artifactId>
<version>4.1.1</version>
<version>4.1.2-SNAPSHOT</version>
<name>Java_NFe</name>
<description>Api java para consumo do webService de nota fiscal eletronica</description>
<url>https://github.com/Samuel-Oliveira/Java_NFe</url>
Expand Down
171 changes: 169 additions & 2 deletions src/main/java/br/com/swconsultoria/nfe/schemas/TCIBS.java
Original file line number Diff line number Diff line change
Expand Up @@ -286,21 +286,23 @@ public void setGTribCompraGov(TTribCompraGov value) {
* &lt;element name="gDif" type="{http://www.portalfiscal.inf.br/nfe}TDif" minOccurs="0"/>
* &lt;element name="gDevTrib" type="{http://www.portalfiscal.inf.br/nfe}TDevTrib" minOccurs="0"/>
* &lt;element name="gRed" type="{http://www.portalfiscal.inf.br/nfe}TRed" minOccurs="0"/>
* &lt;element name="gALCZFMCBS" minOccurs="0"/>
* &lt;element name="vCBS" type="{http://www.portalfiscal.inf.br/nfe}TDec1302RTC"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"pcbs",
"gDif",
"gDevTrib",
"gRed",
"galczfmcbs",
"vcbs"
})
public static class GCBS {
Expand All @@ -310,6 +312,8 @@ public static class GCBS {
protected TDif gDif;
protected TDevTrib gDevTrib;
protected TRed gRed;
@XmlElement(name = "gALCZFMCBS")
protected TCIBS.GCBS.GALCZFMCBS galczfmcbs;
@XmlElement(name = "vCBS", required = true)
protected String vcbs;

Expand Down Expand Up @@ -433,6 +437,169 @@ public void setVCBS(String value) {
this.vcbs = value;
}

/**
* Obtém o valor da propriedade galczfmcbs.
*
* @return
* possible object is
* {@link TCIBS.GCBS.GALCZFMCBS }
*
*/
public TCIBS.GCBS.GALCZFMCBS getGALCZFMCBS() {
return galczfmcbs;
}

/**
* Define o valor da propriedade galczfmcbs.
*
* @param value
* allowed object is
* {@link TCIBS.GCBS.GALCZFMCBS }
*
*/
public void setGALCZFMCBS(TCIBS.GCBS.GALCZFMCBS value) {
this.galczfmcbs = value;
}


/**
* Grupo de operações em áreas incentivadas (ALC/ZFM) - CBS (alíquota zero).
* Criado pela NT 2025.002 v1.40 (UB66a), arts. 451 e 466 da LC 214/2025.
*
* <p>Classe Java de anonymous complex type.
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="tpALCZFMCBS" type="{http://www.portalfiscal.inf.br/nfe}TtpALCZFMCBS"/>
* &lt;element name="nProcSuframa" minOccurs="0"/>
* &lt;element name="pAliqEfetRegCBS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04RTC"/>
* &lt;element name="vTribRegCBS" type="{http://www.portalfiscal.inf.br/nfe}TDec1302RTC"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"tpALCZFMCBS",
"nProcSuframa",
"pAliqEfetRegCBS",
"vTribRegCBS"
})
public static class GALCZFMCBS {

@XmlElement(required = true)
protected String tpALCZFMCBS;
protected String nProcSuframa;
@XmlElement(required = true)
protected String pAliqEfetRegCBS;
@XmlElement(required = true)
protected String vTribRegCBS;

/**
* Obtém o valor da propriedade tpALCZFMCBS.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTpALCZFMCBS() {
return tpALCZFMCBS;
}

/**
* Define o valor da propriedade tpALCZFMCBS.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTpALCZFMCBS(String value) {
this.tpALCZFMCBS = value;
}

/**
* Obtém o valor da propriedade nProcSuframa.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNProcSuframa() {
return nProcSuframa;
}

/**
* Define o valor da propriedade nProcSuframa.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNProcSuframa(String value) {
this.nProcSuframa = value;
}

/**
* Obtém o valor da propriedade pAliqEfetRegCBS.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPAliqEfetRegCBS() {
return pAliqEfetRegCBS;
}

/**
* Define o valor da propriedade pAliqEfetRegCBS.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPAliqEfetRegCBS(String value) {
this.pAliqEfetRegCBS = value;
}

/**
* Obtém o valor da propriedade vTribRegCBS.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVTribRegCBS() {
return vTribRegCBS;
}

/**
* Define o valor da propriedade vTribRegCBS.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVTribRegCBS(String value) {
this.vTribRegCBS = value;
}

}

}


Expand Down
32 changes: 29 additions & 3 deletions src/main/java/br/com/swconsultoria/nfe/schemas/TCompraGov.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@

package br.com.swconsultoria.nfe.schemas;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
Expand All @@ -22,19 +24,21 @@
* &lt;element name="tpEnteGov" type="{http://www.portalfiscal.inf.br/nfe}TEnteGov"/>
* &lt;element name="pRedutor" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04RTC"/>
* &lt;element name="tpOperGov" type="{http://www.portalfiscal.inf.br/nfe}TOperCompraGov"/>
* &lt;element name="refDFeAnt" type="{http://www.portalfiscal.inf.br/nfe}TChNFe" maxOccurs="99" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TCompraGov", propOrder = {
"tpEnteGov",
"pRedutor",
"tpOperGov"
"tpOperGov",
"refDFeAnt"
})
public class TCompraGov {

Expand All @@ -44,6 +48,7 @@ public class TCompraGov {
protected String pRedutor;
@XmlElement(required = true)
protected String tpOperGov;
protected List<String> refDFeAnt;

/**
* Obtém o valor da propriedade tpEnteGov.
Expand Down Expand Up @@ -117,4 +122,25 @@ public void setTpOperGov(String value) {
this.tpOperGov = value;
}

/**
* Gets the value of the refDFeAnt property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List<String> getRefDFeAnt() {
if (refDFeAnt == null) {
refDFeAnt = new ArrayList<String>();
}
return this.refDFeAnt;
}

}
31 changes: 29 additions & 2 deletions src/main/java/br/com/swconsultoria/nfe/schemas/TDevTrib.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,51 @@
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="pDevTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec0302a04RTC" minOccurs="0"/>
* &lt;element name="vDevTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec1302RTC"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TDevTrib", propOrder = {
"pDevTrib",
"vDevTrib"
})
public class TDevTrib {

protected String pDevTrib;
@XmlElement(required = true)
protected String vDevTrib;

/**
* Obtém o valor da propriedade pDevTrib.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPDevTrib() {
return pDevTrib;
}

/**
* Define o valor da propriedade pDevTrib.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPDevTrib(String value) {
this.pDevTrib = value;
}

/**
* Obtém o valor da propriedade vDevTrib.
*
Expand Down
Loading