diff --git a/nfelib/nfe/bindings/v4_0/__init__.py b/nfelib/nfe/bindings/v4_0/__init__.py index 08fbbd8a..580bba73 100644 --- a/nfelib/nfe/bindings/v4_0/__init__.py +++ b/nfelib/nfe/bindings/v4_0/__init__.py @@ -45,10 +45,13 @@ DiTpViaTransp, Icms00Cst, Icms00ModBc, + Icms02Cst, Icms10Cst, Icms10ModBc, Icms10ModBcst, Icms10MotDesIcmsst, + Icms15Cst, + Icms15MotRedAdRem, Icms20Cst, Icms20ModBc, Icms20MotDesIcms, @@ -59,7 +62,9 @@ Icms40MotDesIcms, Icms51Cst, Icms51ModBc, + Icms53Cst, Icms60Cst, + Icms61Cst, Icms70Cst, Icms70ModBc, Icms70ModBcst, @@ -125,6 +130,7 @@ IdeTpEmis, IdeTpImp, IdeTpNf, + OrigCombIndImport, ProcRefIndProc, ProcRefTpAto, ProdIndEscala, @@ -207,10 +213,13 @@ "DiTpViaTransp", "Icms00Cst", "Icms00ModBc", + "Icms02Cst", "Icms10Cst", "Icms10ModBc", "Icms10ModBcst", "Icms10MotDesIcmsst", + "Icms15Cst", + "Icms15MotRedAdRem", "Icms20Cst", "Icms20ModBc", "Icms20MotDesIcms", @@ -221,7 +230,9 @@ "Icms40MotDesIcms", "Icms51Cst", "Icms51ModBc", + "Icms53Cst", "Icms60Cst", + "Icms61Cst", "Icms70Cst", "Icms70ModBc", "Icms70ModBcst", @@ -287,6 +298,7 @@ "IdeTpEmis", "IdeTpImp", "IdeTpNf", + "OrigCombIndImport", "ProcRefIndProc", "ProcRefTpAto", "ProdIndEscala", diff --git a/nfelib/nfe/bindings/v4_0/leiaute_nfe_v4_00.py b/nfelib/nfe/bindings/v4_0/leiaute_nfe_v4_00.py index 1d6bea22..8cd7a219 100644 --- a/nfelib/nfe/bindings/v4_0/leiaute_nfe_v4_00.py +++ b/nfelib/nfe/bindings/v4_0/leiaute_nfe_v4_00.py @@ -97,6 +97,10 @@ class Icms00ModBc(Enum): VALUE_3 = "3" +class Icms02Cst(Enum): + VALUE_02 = "02" + + class Icms10Cst(Enum): VALUE_10 = "10" @@ -124,6 +128,15 @@ class Icms10MotDesIcmsst(Enum): VALUE_12 = "12" +class Icms15Cst(Enum): + VALUE_15 = "15" + + +class Icms15MotRedAdRem(Enum): + VALUE_1 = "1" + VALUE_9 = "9" + + class Icms20Cst(Enum): VALUE_20 = "20" @@ -193,10 +206,18 @@ class Icms51ModBc(Enum): VALUE_3 = "3" +class Icms53Cst(Enum): + VALUE_53 = "53" + + class Icms60Cst(Enum): VALUE_60 = "60" +class Icms61Cst(Enum): + VALUE_61 = "61" + + class Icms70Cst(Enum): VALUE_70 = "70" @@ -669,6 +690,11 @@ class IdeTpNf(Enum): VALUE_1 = "1" +class OrigCombIndImport(Enum): + VALUE_0 = "0" + VALUE_1 = "1" + + class ProcRefIndProc(Enum): VALUE_0 = "0" VALUE_1 = "1" @@ -4314,6 +4340,11 @@ class Comb: :ivar CIDE: CIDE Combustíveis :ivar encerrante: Informações do grupo de "encerrante" + :ivar pBio: Percentual do índice de mistura do + Biodiesel (B100) no Óleo Diesel B instituído + pelo órgão regulamentador + :ivar origComb: Grupo indicador da origem do + combustível """ cProdANP: Optional[str] = field( default=None, @@ -4411,6 +4442,23 @@ class Comb: "namespace": "http://www.portalfiscal.inf.br/nfe", } ) + pBio: Optional[str] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "white_space": "preserve", + "pattern": r"0(\.[1-9][0-9]{0,3})|0(\.[0][1-9][0-9]{0,2})|0(\.[0][0][1-9][0-9]{0,1})|0(\.[0][0][0][1-9])|100(\.[0]{1,4})?|[1-9]{1}[0-9]{0,1}(\.[0-9]{1,4})?", + } + ) + origComb: List["Tnfe.InfNfe.Det.Prod.Comb.OrigComb"] = field( + default_factory=list, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "max_occurs": 30, + } + ) @dataclass class Cide: @@ -4515,6 +4563,43 @@ class Encerrante: } ) + @dataclass + class OrigComb: + """ + :ivar indImport: Indicador de importação + 0=Nacional; 1=Importado; + :ivar cUFOrig: UF de origem do produtor ou do + importado + :ivar pOrig: Percentual originário para a UF + """ + indImport: Optional[OrigCombIndImport] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "required": True, + "white_space": "preserve", + } + ) + cUFOrig: Optional[TcodUfIbge] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "required": True, + } + ) + pOrig: Optional[str] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "required": True, + "white_space": "preserve", + "pattern": r"0(\.[1-9][0-9]{0,3})|0(\.[0][1-9][0-9]{0,2})|0(\.[0][0][1-9][0-9]{0,1})|0(\.[0][0][0][1-9])|100(\.[0]{1,4})?|[1-9]{1}[0-9]{0,1}(\.[0-9]{1,4})?", + } + ) + @dataclass class Imposto: """ @@ -5443,8 +5528,13 @@ class Icms: """ :ivar ICMS00: Tributação pelo ICMS 00 - Tributada integralmente + :ivar ICMS02: Tributação monofásica própria sobre + combustíveis :ivar ICMS10: Tributação pelo ICMS 10 - Tributada e com cobrança do ICMS por substituição tributária + :ivar ICMS15: Tributação monofásica própria e com + responsabilidade pela retenção sobre + combustíveis :ivar ICMS20: Tributção pelo ICMS 20 - Com redução de base de cálculo :ivar ICMS30: Tributação pelo ICMS 30 - Isenta ou @@ -5455,8 +5545,12 @@ class Icms: :ivar ICMS51: Tributção pelo ICMS 51 - Diferimento A exigência do preenchimento das informações do ICMS diferido fica à critério de cada UF. + :ivar ICMS53: Tributação monofásica sobre + combustíveis com recolhimento diferido :ivar ICMS60: Tributação pelo ICMS 60 - ICMS cobrado anteriormente por substituição tributária + :ivar ICMS61: Tributação monofásica sobre + combustíveis cobrada anteriormente; :ivar ICMS70: Tributação pelo ICMS 70 - Com redução de base de cálculo e cobrança do ICMS por substituição tributária @@ -5496,6 +5590,13 @@ class Icms: "namespace": "http://www.portalfiscal.inf.br/nfe", } ) + ICMS02: Optional["Tnfe.InfNfe.Det.Imposto.Icms.Icms02"] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + } + ) ICMS10: Optional["Tnfe.InfNfe.Det.Imposto.Icms.Icms10"] = field( default=None, metadata={ @@ -5503,6 +5604,13 @@ class Icms: "namespace": "http://www.portalfiscal.inf.br/nfe", } ) + ICMS15: Optional["Tnfe.InfNfe.Det.Imposto.Icms.Icms15"] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + } + ) ICMS20: Optional["Tnfe.InfNfe.Det.Imposto.Icms.Icms20"] = field( default=None, metadata={ @@ -5531,6 +5639,13 @@ class Icms: "namespace": "http://www.portalfiscal.inf.br/nfe", } ) + ICMS53: Optional["Tnfe.InfNfe.Det.Imposto.Icms.Icms53"] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + } + ) ICMS60: Optional["Tnfe.InfNfe.Det.Imposto.Icms.Icms60"] = field( default=None, metadata={ @@ -5538,6 +5653,13 @@ class Icms: "namespace": "http://www.portalfiscal.inf.br/nfe", } ) + ICMS61: Optional["Tnfe.InfNfe.Det.Imposto.Icms.Icms61"] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + } + ) ICMS70: Optional["Tnfe.InfNfe.Det.Imposto.Icms.Icms70"] = field( default=None, metadata={ @@ -5704,6 +5826,63 @@ class Icms00: } ) + @dataclass + class Icms02: + """ + :ivar orig: origem da mercadoria + :ivar CST: Tributção pelo ICMS 02= Tributação + monofásica própria sobre combustíveis; + :ivar qBCMono: Quantidade tributada. + :ivar adRemICMS: Alíquota ad rem do imposto. + :ivar vICMSMono: Valor do ICMS própri + """ + orig: Optional[Torig] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "required": True, + } + ) + CST: Optional[Icms02Cst] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "required": True, + "white_space": "preserve", + } + ) + qBCMono: Optional[str] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "white_space": "preserve", + "pattern": r"0|0\.[0-9]{1,4}|[1-9]{1}[0-9]{0,10}|[1-9]{1}[0-9]{0,10}(\.[0-9]{1,4})?", + } + ) + adRemICMS: Optional[str] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "required": True, + "white_space": "preserve", + "pattern": r"0|0\.[0-9]{2,4}|[1-9]{1}[0-9]{0,2}(\.[0-9]{2,4})?", + } + ) + vICMSMono: Optional[str] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "required": True, + "white_space": "preserve", + "pattern": r"0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?", + } + ) + @dataclass class Icms10: """ @@ -5933,6 +6112,120 @@ class Icms10: } ) + @dataclass + class Icms15: + """ + :ivar orig: origem da mercadoria + :ivar CST: Tributção pelo ICMS 15= Tributação + monofásica própria e com responsabilidade + pela retenção sobre combustíveis; + :ivar qBCMono: Quantidade tributada. + :ivar adRemICMS: Alíquota ad rem do imposto. + :ivar vICMSMono: Valor do ICMS próprio + :ivar qBCMonoReten: Quantidade tributada sujeita + a retenção. + :ivar adRemICMSReten: Alíquota ad rem do imposto + com retenção. + :ivar vICMSMonoReten: Valor do ICMS com retenção + :ivar pRedAdRem: Percentual de redução do valor + da alíquota ad rem do ICMS. + :ivar motRedAdRem: Motivo da redução do adrem 1= + Transporte coletivo de passageiros; + 9=Outros; + """ + orig: Optional[Torig] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "required": True, + } + ) + CST: Optional[Icms15Cst] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "required": True, + "white_space": "preserve", + } + ) + qBCMono: Optional[str] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "white_space": "preserve", + "pattern": r"0|0\.[0-9]{1,4}|[1-9]{1}[0-9]{0,10}|[1-9]{1}[0-9]{0,10}(\.[0-9]{1,4})?", + } + ) + adRemICMS: Optional[str] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "required": True, + "white_space": "preserve", + "pattern": r"0|0\.[0-9]{2,4}|[1-9]{1}[0-9]{0,2}(\.[0-9]{2,4})?", + } + ) + vICMSMono: Optional[str] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "required": True, + "white_space": "preserve", + "pattern": r"0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?", + } + ) + qBCMonoReten: Optional[str] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "white_space": "preserve", + "pattern": r"0|0\.[0-9]{1,4}|[1-9]{1}[0-9]{0,10}|[1-9]{1}[0-9]{0,10}(\.[0-9]{1,4})?", + } + ) + adRemICMSReten: Optional[str] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "required": True, + "white_space": "preserve", + "pattern": r"0|0\.[0-9]{2,4}|[1-9]{1}[0-9]{0,2}(\.[0-9]{2,4})?", + } + ) + vICMSMonoReten: Optional[str] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "required": True, + "white_space": "preserve", + "pattern": r"0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?", + } + ) + pRedAdRem: Optional[str] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "white_space": "preserve", + "pattern": r"0(\.[0-9]{2})?|100(\.00)?|[1-9]{1}[0-9]{0,1}(\.[0-9]{2})?", + } + ) + motRedAdRem: Optional[Icms15MotRedAdRem] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "white_space": "preserve", + } + ) + @dataclass class Icms20: """ @@ -6458,6 +6751,113 @@ class Icms51: } ) + @dataclass + class Icms53: + """ + :ivar orig: origem da mercadoria + :ivar CST: Tributção pelo ICMS 53= Tributação + monofásica sobre combustíveis com + recolhimento diferido; + :ivar qBCMono: Quantidade tributada. + :ivar adRemICMS: Alíquota ad rem do imposto. + :ivar vICMSMonoOp: Valor do ICMS da operação + :ivar pDif: Percentual do diferemento + :ivar vICMSMonoDif: Valor do ICMS diferido + :ivar vICMSMono: Valor do ICMS próprio devido + :ivar qBCMonoDif: Quantidade tributada diferida. + :ivar adRemICMSDif: Alíquota ad rem do imposto + diferido + """ + orig: Optional[Torig] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "required": True, + } + ) + CST: Optional[Icms53Cst] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "required": True, + "white_space": "preserve", + } + ) + qBCMono: Optional[str] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "white_space": "preserve", + "pattern": r"0|0\.[0-9]{1,4}|[1-9]{1}[0-9]{0,10}|[1-9]{1}[0-9]{0,10}(\.[0-9]{1,4})?", + } + ) + adRemICMS: Optional[str] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "white_space": "preserve", + "pattern": r"0|0\.[0-9]{2,4}|[1-9]{1}[0-9]{0,2}(\.[0-9]{2,4})?", + } + ) + vICMSMonoOp: Optional[str] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "white_space": "preserve", + "pattern": r"0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?", + } + ) + pDif: Optional[str] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "white_space": "preserve", + "pattern": r"0(\.[0-9]{2,4})?|[1-9]{1}[0-9]{0,1}(\.[0-9]{2,4})?|100(\.0{2,4})?", + } + ) + vICMSMonoDif: Optional[str] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "white_space": "preserve", + "pattern": r"0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?", + } + ) + vICMSMono: Optional[str] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "white_space": "preserve", + "pattern": r"0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?", + } + ) + qBCMonoDif: Optional[str] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "white_space": "preserve", + "pattern": r"0|0\.[0-9]{1,4}|[1-9]{1}[0-9]{0,10}|[1-9]{1}[0-9]{0,10}(\.[0-9]{1,4})?", + } + ) + adRemICMSDif: Optional[str] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "white_space": "preserve", + "pattern": r"0|0\.[0-9]{2,4}|[1-9]{1}[0-9]{0,2}(\.[0-9]{2,4})?", + } + ) + @dataclass class Icms60: """ @@ -6604,6 +7004,67 @@ class Icms60: } ) + @dataclass + class Icms61: + """ + :ivar orig: origem da mercadoria + :ivar CST: Tributção pelo ICMS 61= Tributação + monofásica sobre combustíveis cobrada + anteriormente + :ivar qBCMonoRet: Quantidade tributada retida + anteriormente + :ivar adRemICMSRet: Alíquota ad rem do imposto + retido anteriormente + :ivar vICMSMonoRet: Valor do ICMS retido + anteriormente + """ + orig: Optional[Torig] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "required": True, + } + ) + CST: Optional[Icms61Cst] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "required": True, + "white_space": "preserve", + } + ) + qBCMonoRet: Optional[str] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "white_space": "preserve", + "pattern": r"0|0\.[0-9]{1,4}|[1-9]{1}[0-9]{0,10}|[1-9]{1}[0-9]{0,10}(\.[0-9]{1,4})?", + } + ) + adRemICMSRet: Optional[str] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "required": True, + "white_space": "preserve", + "pattern": r"0|0\.[0-9]{2,4}|[1-9]{1}[0-9]{0,2}(\.[0-9]{2,4})?", + } + ) + vICMSMonoRet: Optional[str] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "required": True, + "white_space": "preserve", + "pattern": r"0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?", + } + ) + @dataclass class Icms70: """ @@ -8627,6 +9088,17 @@ class Icmstot: :ivar vFCPSTRet: Valor Total do FCP (Fundo de Combate à Pobreza) retido anteriormente por substituição tributária. + :ivar qBCMono: Valor total da quantidade tributada do + ICMS monofásico próprio + :ivar vICMSMono: Valor total do ICMS monofásico próprio + :ivar qBCMonoReten: Valor total da quantidade tributada + do ICMS monofásico sujeito a retenção + :ivar vICMSMonoReten: Valor total do ICMS monofásico + sujeito a retenção + :ivar qBCMonoRet: Valor total da quantidade tributada do + ICMS monofásico retido anteriormente + :ivar vICMSMonoRet: Valor do ICMS monofásico retido + anteriormente :ivar vProd: Valor Total dos produtos e serviços :ivar vFrete: Valor Total do Frete :ivar vSeg: Valor Total do Seguro @@ -8752,6 +9224,60 @@ class Icmstot: "pattern": r"0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?", } ) + qBCMono: Optional[str] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "white_space": "preserve", + "pattern": r"0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?", + } + ) + vICMSMono: Optional[str] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "white_space": "preserve", + "pattern": r"0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?", + } + ) + qBCMonoReten: Optional[str] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "white_space": "preserve", + "pattern": r"0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?", + } + ) + vICMSMonoReten: Optional[str] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "white_space": "preserve", + "pattern": r"0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?", + } + ) + qBCMonoRet: Optional[str] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "white_space": "preserve", + "pattern": r"0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?", + } + ) + vICMSMonoRet: Optional[str] = field( + default=None, + metadata={ + "type": "Element", + "namespace": "http://www.portalfiscal.inf.br/nfe", + "white_space": "preserve", + "pattern": r"0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?", + } + ) vProd: Optional[str] = field( default=None, metadata={ diff --git a/nfelib/nfe/schemas/v4_0/leiauteNFe_v4.00.xsd b/nfelib/nfe/schemas/v4_0/leiauteNFe_v4.00.xsd index 82452059..6d7f42fd 100644 --- a/nfelib/nfe/schemas/v4_0/leiauteNFe_v4.00.xsd +++ b/nfelib/nfe/schemas/v4_0/leiauteNFe_v4.00.xsd @@ -13,6 +13,7 @@ + @@ -1931,6 +1932,42 @@ ambiente. + + + Percentual do índice de mistura do Biodiesel (B100) no Óleo Diesel B instituído pelo órgão regulamentador + + + + + Grupo indicador da origem do combustível + + + + + + Indicador de importação 0=Nacional; 1=Importado; + + + + + + + + + + + + UF de origem do produtor ou do importado + + + + + Percentual originário para a UF + + + + + @@ -2043,6 +2080,47 @@ ambiente. + + + Tributação monofásica própria sobre combustíveis + + + + + + origem da mercadoria + + + + + Tributção pelo ICMS +02= Tributação monofásica própria sobre combustíveis; + + + + + + + + + + + Quantidade tributada. + + + + + Alíquota ad rem do imposto. + + + + + Valor do ICMS própri + + + + + Tributação pelo ICMS @@ -2207,6 +2285,83 @@ ambiente. + + + Tributação monofásica própria e com responsabilidade pela retenção sobre combustíveis + + + + + + origem da mercadoria + + + + + Tributção pelo ICMS +15= Tributação monofásica própria e com responsabilidade pela retenção sobre combustíveis; + + + + + + + + + + + Quantidade tributada. + + + + + Alíquota ad rem do imposto. + + + + + Valor do ICMS próprio + + + + + Quantidade tributada sujeita a retenção. + + + + + Alíquota ad rem do imposto com retenção. + + + + + Valor do ICMS com retenção + + + + + + Percentual de redução do valor da alíquota ad rem do ICMS. + + + + + Motivo da redução do adrem + 1= Transporte coletivo de passageiros; 9=Outros; + + + + + + + + + + + + + + Tributção pelo ICMS @@ -2627,6 +2782,72 @@ A exigência do preenchimento das informações do ICMS diferido fica à critér + + + Tributação monofásica sobre combustíveis com recolhimento diferido + + + + + + origem da mercadoria + + + + + Tributção pelo ICMS +53= Tributação monofásica sobre combustíveis com recolhimento diferido; + + + + + + + + + + + Quantidade tributada. + + + + + Alíquota ad rem do imposto. + + + + + Valor do ICMS da operação + + + + + Percentual do diferemento + + + + + Valor do ICMS diferido + + + + + Valor do ICMS próprio devido + + + + + Quantidade tributada diferida. + + + + + Alíquota ad rem do imposto diferido + + + + + Tributação pelo ICMS @@ -2720,6 +2941,47 @@ A exigência do preenchimento das informações do ICMS diferido fica à critér + + + Tributação monofásica sobre combustíveis cobrada anteriormente; + + + + + + origem da mercadoria + + + + + Tributção pelo ICMS +61= Tributação monofásica sobre combustíveis cobrada anteriormente + + + + + + + + + + + Quantidade tributada retida anteriormente + + + + + Alíquota ad rem do imposto retido anteriormente + + + + + Valor do ICMS retido anteriormente + + + + + Tributação pelo ICMS @@ -4815,6 +5077,36 @@ Substituição Tributaria; Valor Total do FCP (Fundo de Combate à Pobreza) retido anteriormente por substituição tributária. + + + Valor total da quantidade tributada do ICMS monofásico próprio + + + + + Valor total do ICMS monofásico próprio + + + + + Valor total da quantidade tributada do ICMS monofásico sujeito a retenção + + + + + Valor total do ICMS monofásico sujeito a retenção + + + + + Valor total da quantidade tributada do ICMS monofásico retido anteriormente + + + + + Valor do ICMS monofásico retido anteriormente + + Valor Total dos produtos e serviços diff --git a/nfelib/nfe/schemas/v4_0/tiposBasico_v4.00.xsd b/nfelib/nfe/schemas/v4_0/tiposBasico_v4.00.xsd index 02ca29a8..d51b658e 100644 --- a/nfelib/nfe/schemas/v4_0/tiposBasico_v4.00.xsd +++ b/nfelib/nfe/schemas/v4_0/tiposBasico_v4.00.xsd @@ -189,6 +189,15 @@ + + + Tipo Decimal com 3 inteiros (no máximo 100), com 4 decimais, não aceita valor zero + + + + + + Tipo Decimal com 3 inteiros (no máximo 100), com até 4 decimais diff --git a/script.sh b/script.sh index 9846bfdf..b463e6ea 100755 --- a/script.sh +++ b/script.sh @@ -2,9 +2,9 @@ #DOWNLOAD_SCHEMAS=1 -# Pacote de Liberação nº 9j (Novo leiaute da NF-e, NT 2022.003 v.1.00b). Publicado em 05/01/2023 +# Pacote de Liberação nº 9k (Novo leiaute da NF-e, NT 2023.001 v.1.20). Publicado em 11/04/2023 if [$DOWNLOAD_SCHEMAS]; then - erpbrasil-edoc-gen-download-schema -n nfe -v v4_0 -u https://www.nfe.fazenda.gov.br/portal/exibirArquivo.aspx?conteudo=P3TfrfqQ38U= + erpbrasil-edoc-gen-download-schema -n nfe -v v4_0 -u https://www.nfe.fazenda.gov.br/portal/exibirArquivo.aspx?conteudo=C9Qz1lqk6eo= rm -rf nfelib/nfe/schemas cp -rf /tmp/generated/nfe/schemas nfelib/nfe/schemas fi