diff --git a/pom.xml b/pom.xml
index 995f905d..537a3572 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
Classe Java de anonymous complex type. + * + *
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="tpALCZFMCBS" type="{http://www.portalfiscal.inf.br/nfe}TtpALCZFMCBS"/>
+ * <element name="nProcSuframa" minOccurs="0"/>
+ * <element name="pAliqEfetRegCBS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04RTC"/>
+ * <element name="vTribRegCBS" type="{http://www.portalfiscal.inf.br/nfe}TDec1302RTC"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ *
+ *
+ *
+ */
+ @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;
+ }
+
+ }
+
}
diff --git a/src/main/java/br/com/swconsultoria/nfe/schemas/TCompraGov.java b/src/main/java/br/com/swconsultoria/nfe/schemas/TCompraGov.java
index 6a5bac1b..cb37e1ae 100644
--- a/src/main/java/br/com/swconsultoria/nfe/schemas/TCompraGov.java
+++ b/src/main/java/br/com/swconsultoria/nfe/schemas/TCompraGov.java
@@ -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;
@@ -22,19 +24,21 @@
* <element name="tpEnteGov" type="{http://www.portalfiscal.inf.br/nfe}TEnteGov"/>
* <element name="pRedutor" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04RTC"/>
* <element name="tpOperGov" type="{http://www.portalfiscal.inf.br/nfe}TOperCompraGov"/>
+ * <element name="refDFeAnt" type="{http://www.portalfiscal.inf.br/nfe}TChNFe" maxOccurs="99" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
- *
- *
+ *
+ *
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TCompraGov", propOrder = {
"tpEnteGov",
"pRedutor",
- "tpOperGov"
+ "tpOperGov",
+ "refDFeAnt"
})
public class TCompraGov {
@@ -44,6 +48,7 @@ public class TCompraGov {
protected String pRedutor;
@XmlElement(required = true)
protected String tpOperGov;
+ protected List+ * 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. + * + *
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ *
+ *
+ */
+ public List Classe Java de anonymous complex type.
- *
- * O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
- *
+ * Evento 211110 - Solicitação de Apropriação de crédito presumido (NT 2025.002-RTC).
+ *
+ * Estrutura conforme o e211110_v1.00.xsd do pacote "Schema dos eventos da NT 2025.002 v.1.40 -
+ * RTC", publicado em 27/07/2026:
+ *
*
* 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.
- * This is why there is not a
- * For example, to add a new item, do as follows:
- *
* Objects of the following type(s) are allowed in the list
- * {@link DetEvento211110.GCredPres }
- *
- *
+ * {@link DetEvento211110.GCredPresOper }
+ *
+ *
*/
- public List Classe Java de anonymous complex type.
- *
- * O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
- *
- * A base de cálculo e o código do crédito presumido são do grupo; o percentual e o valor
+ * vêm separados por tributo, em gIBSCredPres e gCBSCredPres.
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
- "vbc",
- "gibs",
- "gcbs"
+ "vBCCredPres",
+ "cCredPres",
+ "gIBSCredPres",
+ "gCBSCredPres"
})
- public static class GCredPres {
-
- @XmlElement(name = "vBC", required = true)
- protected String vbc;
- @XmlElement(name = "gIBS")
- protected DetEvento211110.GCredPres.GIBS gibs;
- @XmlElement(name = "gCBS")
- protected DetEvento211110.GCredPres.GCBS gcbs;
+ public static class GCredPresOper {
+
+ @XmlElement(required = true)
+ protected String vBCCredPres;
+ @XmlElement(required = true)
+ protected String cCredPres;
+ protected DetEvento211110.GCredPresOper.GIBSCredPres gIBSCredPres;
+ protected DetEvento211110.GCredPresOper.GCBSCredPres gCBSCredPres;
@XmlAttribute(name = "nItem", required = true)
protected String nItem;
/**
- * Obtém o valor da propriedade vbc.
- *
+ * Obtém o valor da propriedade vBCCredPres.
+ *
* @return
* possible object is
* {@link String }
- *
+ *
*/
- public String getVBC() {
- return vbc;
+ public String getVBCCredPres() {
+ return vBCCredPres;
}
/**
- * Define o valor da propriedade vbc.
- *
+ * Define o valor da propriedade vBCCredPres.
+ *
* @param value
* allowed object is
* {@link String }
- *
+ *
*/
- public void setVBC(String value) {
- this.vbc = value;
+ public void setVBCCredPres(String value) {
+ this.vBCCredPres = value;
}
/**
- * Obtém o valor da propriedade gibs.
- *
+ * Obtém o valor da propriedade cCredPres.
+ *
* @return
* possible object is
- * {@link DetEvento211110.GCredPres.GIBS }
- *
+ * {@link String }
+ *
*/
- public DetEvento211110.GCredPres.GIBS getGIBS() {
- return gibs;
+ public String getCCredPres() {
+ return cCredPres;
}
/**
- * Define o valor da propriedade gibs.
- *
+ * Define o valor da propriedade cCredPres.
+ *
* @param value
* allowed object is
- * {@link DetEvento211110.GCredPres.GIBS }
- *
+ * {@link String }
+ *
*/
- public void setGIBS(DetEvento211110.GCredPres.GIBS value) {
- this.gibs = value;
+ public void setCCredPres(String value) {
+ this.cCredPres = value;
}
/**
- * Obtém o valor da propriedade gcbs.
- *
+ * Obtém o valor da propriedade gIBSCredPres.
+ *
* @return
* possible object is
- * {@link DetEvento211110.GCredPres.GCBS }
- *
+ * {@link DetEvento211110.GCredPresOper.GIBSCredPres }
+ *
*/
- public DetEvento211110.GCredPres.GCBS getGCBS() {
- return gcbs;
+ public DetEvento211110.GCredPresOper.GIBSCredPres getGIBSCredPres() {
+ return gIBSCredPres;
}
/**
- * Define o valor da propriedade gcbs.
- *
+ * Define o valor da propriedade gIBSCredPres.
+ *
* @param value
* allowed object is
- * {@link DetEvento211110.GCredPres.GCBS }
- *
+ * {@link DetEvento211110.GCredPresOper.GIBSCredPres }
+ *
+ */
+ public void setGIBSCredPres(DetEvento211110.GCredPresOper.GIBSCredPres value) {
+ this.gIBSCredPres = value;
+ }
+
+ /**
+ * Obtém o valor da propriedade gCBSCredPres.
+ *
+ * @return
+ * possible object is
+ * {@link DetEvento211110.GCredPresOper.GCBSCredPres }
+ *
*/
- public void setGCBS(DetEvento211110.GCredPres.GCBS value) {
- this.gcbs = value;
+ public DetEvento211110.GCredPresOper.GCBSCredPres getGCBSCredPres() {
+ return gCBSCredPres;
+ }
+
+ /**
+ * Define o valor da propriedade gCBSCredPres.
+ *
+ * @param value
+ * allowed object is
+ * {@link DetEvento211110.GCredPresOper.GCBSCredPres }
+ *
+ */
+ public void setGCBSCredPres(DetEvento211110.GCredPresOper.GCBSCredPres value) {
+ this.gCBSCredPres = value;
}
/**
* Obtém o valor da propriedade nItem.
- *
+ *
* @return
* possible object is
* {@link String }
- *
+ *
*/
public String getNItem() {
return nItem;
@@ -436,11 +342,11 @@ public String getNItem() {
/**
* Define o valor da propriedade nItem.
- *
+ *
* @param value
* allowed object is
* {@link String }
- *
+ *
*/
public void setNItem(String value) {
this.nItem = value;
@@ -448,79 +354,27 @@ public void setNItem(String value) {
/**
- * Classe Java de anonymous complex type.
- *
- * O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
- *
- * Classe Java de anonymous complex type.
- *
- * O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe.
- *
- *
* <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="descEvento"> (enumeration "Solicitação de Apropriação de crédito presumido")
+ * <element name="cOrgaoAutor" type="TCodUfIBGE"/>
+ * <element name="tpAutor"> (enumeration "1", "2")
+ * <element name="verAplic" type="TVerAplic"/>
+ * <element name="gCredPresOper" maxOccurs="990">
* <sequence>
- * <element name="descEvento">
- * <simpleType>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- * <enumeration value="Solicitação de Apropriação de crédito presumido"/>
- * </restriction>
- * </simpleType>
+ * <element name="vBCCredPres" type="TDec_1302"/>
+ * <element name="cCredPres"/>
+ * <element name="gIBSCredPres" minOccurs="0">
+ * <sequence>
+ * <element name="pCredPres" type="TDec_0302_04"/>
+ * <element name="vCredPres" type="TDec1302"/>
+ * </sequence>
* </element>
- * <element name="cOrgaoAutor" type="{http://www.portalfiscal.inf.br/nfe}TCodUfIBGE"/>
- * <element name="tpAutor">
- * <simpleType>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- * <enumeration value="2"/>
- * </restriction>
- * </simpleType>
- * </element>
- * <element name="verAplic" type="{http://www.portalfiscal.inf.br/nfe}TVerAplic"/>
- * <element name="gCredPres" maxOccurs="990">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
- * <element name="gIBS" minOccurs="0">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="cCredPres">
- * <simpleType>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- * <whiteSpace value="preserve"/>
- * <pattern value="[0-9]{2}"/>
- * </restriction>
- * </simpleType>
- * </element>
- * <element name="pCredPres" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04"/>
- * <element name="vCredPres" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="gCBS" minOccurs="0">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="cCredPres">
- * <simpleType>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- * <whiteSpace value="preserve"/>
- * <pattern value="[0-9]{2}"/>
- * </restriction>
- * </simpleType>
- * </element>
- * <element name="pCredPres" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04"/>
- * <element name="vCredPres" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * </sequence>
- * <attribute name="nItem" use="required" type="{http://www.portalfiscal.inf.br/nfe}TnItem" />
- * </restriction>
- * </complexContent>
- * </complexType>
+ * <element name="gCBSCredPres" minOccurs="0">
+ * <sequence>
+ * <element name="pCredPres" type="TDec_0302_04"/>
+ * <element name="vCredPres" type="TDec1302"/>
+ * </sequence>
* </element>
* </sequence>
- * <attribute name="versao">
- * <simpleType>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- * <whiteSpace value="preserve"/>
- * <enumeration value="1.00"/>
- * </restriction>
- * </simpleType>
- * </attribute>
- * </restriction>
- * </complexContent>
+ * <attribute name="nItem" type="TnItem" use="required"/>
+ * </element>
+ * </sequence>
+ * <attribute name="versao"> (enumeration "1.00")
* </complexType>
*
- *
- *
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
@@ -105,7 +48,7 @@
"cOrgaoAutor",
"tpAutor",
"verAplic",
- "gCredPres"
+ "gCredPresOper"
})
@XmlRootElement(name = "detEvento")
public class DetEvento211110 {
@@ -119,17 +62,17 @@ public class DetEvento211110 {
@XmlElement(required = true)
protected String verAplic;
@XmlElement(required = true)
- protected Listset method for the gCredPres property.
- *
- *
- * getGCredPres().add(newItem);
- *
- *
- *
+ *
*
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
- * <element name="gIBS" minOccurs="0">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="cCredPres">
- * <simpleType>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- * <whiteSpace value="preserve"/>
- * <pattern value="[0-9]{2}"/>
- * </restriction>
- * </simpleType>
- * </element>
- * <element name="pCredPres" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04"/>
- * <element name="vCredPres" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * <element name="gCBS" minOccurs="0">
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="cCredPres">
- * <simpleType>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- * <whiteSpace value="preserve"/>
- * <pattern value="[0-9]{2}"/>
- * </restriction>
- * </simpleType>
- * </element>
- * <element name="pCredPres" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04"/>
- * <element name="vCredPres" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- * </element>
- * </sequence>
- * <attribute name="nItem" use="required" type="{http://www.portalfiscal.inf.br/nfe}TnItem" />
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
+ * Grupo de crédito presumido, por item da NF-e.
+ *
+ *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="cCredPres">
- * <simpleType>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- * <whiteSpace value="preserve"/>
- * <pattern value="[0-9]{2}"/>
- * </restriction>
- * </simpleType>
- * </element>
- * <element name="pCredPres" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04"/>
- * <element name="vCredPres" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
+ * Crédito presumido do IBS.
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
- "cCredPres",
"pCredPres",
"vCredPres"
})
- public static class GCBS {
+ public static class GIBSCredPres {
- @XmlElement(required = true)
- protected String cCredPres;
@XmlElement(required = true)
protected String pCredPres;
@XmlElement(required = true)
protected String vCredPres;
- /**
- * Obtém o valor da propriedade cCredPres.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getCCredPres() {
- return cCredPres;
- }
-
- /**
- * Define o valor da propriedade cCredPres.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setCCredPres(String value) {
- this.cCredPres = value;
- }
-
/**
* Obtém o valor da propriedade pCredPres.
- *
+ *
* @return
* possible object is
* {@link String }
- *
+ *
*/
public String getPCredPres() {
return pCredPres;
@@ -528,11 +382,11 @@ public String getPCredPres() {
/**
* Define o valor da propriedade pCredPres.
- *
+ *
* @param value
* allowed object is
* {@link String }
- *
+ *
*/
public void setPCredPres(String value) {
this.pCredPres = value;
@@ -540,11 +394,11 @@ public void setPCredPres(String value) {
/**
* Obtém o valor da propriedade vCredPres.
- *
+ *
* @return
* possible object is
* {@link String }
- *
+ *
*/
public String getVCredPres() {
return vCredPres;
@@ -552,11 +406,11 @@ public String getVCredPres() {
/**
* Define o valor da propriedade vCredPres.
- *
+ *
* @param value
* allowed object is
* {@link String }
- *
+ *
*/
public void setVCredPres(String value) {
this.vCredPres = value;
@@ -566,79 +420,27 @@ public void setVCredPres(String value) {
/**
- *
- * <complexType>
- * <complexContent>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <sequence>
- * <element name="cCredPres">
- * <simpleType>
- * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- * <whiteSpace value="preserve"/>
- * <pattern value="[0-9]{2}"/>
- * </restriction>
- * </simpleType>
- * </element>
- * <element name="pCredPres" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04"/>
- * <element name="vCredPres" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
- * </sequence>
- * </restriction>
- * </complexContent>
- * </complexType>
- *
- *
- *
+ * Crédito presumido da CBS.
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
- "cCredPres",
"pCredPres",
"vCredPres"
})
- public static class GIBS {
+ public static class GCBSCredPres {
- @XmlElement(required = true)
- protected String cCredPres;
@XmlElement(required = true)
protected String pCredPres;
@XmlElement(required = true)
protected String vCredPres;
- /**
- * Obtém o valor da propriedade cCredPres.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- public String getCCredPres() {
- return cCredPres;
- }
-
- /**
- * Define o valor da propriedade cCredPres.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- public void setCCredPres(String value) {
- this.cCredPres = value;
- }
-
/**
* Obtém o valor da propriedade pCredPres.
- *
+ *
* @return
* possible object is
* {@link String }
- *
+ *
*/
public String getPCredPres() {
return pCredPres;
@@ -646,11 +448,11 @@ public String getPCredPres() {
/**
* Define o valor da propriedade pCredPres.
- *
+ *
* @param value
* allowed object is
* {@link String }
- *
+ *
*/
public void setPCredPres(String value) {
this.pCredPres = value;
@@ -658,11 +460,11 @@ public void setPCredPres(String value) {
/**
* Obtém o valor da propriedade vCredPres.
- *
+ *
* @return
* possible object is
* {@link String }
- *
+ *
*/
public String getVCredPres() {
return vCredPres;
@@ -670,11 +472,11 @@ public String getVCredPres() {
/**
* Define o valor da propriedade vCredPres.
- *
+ *
* @param value
* allowed object is
* {@link String }
- *
+ *
*/
public void setVCredPres(String value) {
this.vCredPres = value;