diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ee48c21c..4d36b844 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,3 @@ - name: Liberar nova versão on: @@ -10,38 +9,45 @@ on: jobs: package: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 name: Empacotar executavel steps: - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + + - uses: actions/setup-java@v3 with: java-version: '8' - distribution: 'adopt' - cache: maven - - name: Cache local Maven repository + distribution: 'temurin' + + - name: Cache Maven repository uses: actions/cache@v3 with: path: ~/.m2/repository - key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + key: maven-${{ runner.os }}-${{ hashFiles('**/pom.xml') }} restore-keys: | - ${{ runner.os }}-maven- + maven-${{ runner.os }}- + - name: Ajustando Timezone uses: szenius/set-timezone@v1.0 with: timezoneLinux: "America/Sao_Paulo" timezoneMacos: "America/Sao_Paulo" timezoneWindows: "America/Sao_Paulo" + - name: Criando executavel run: | - mvn versions:set -DnewVersion=${{github.ref_name}} + mvn versions:set -DnewVersion=${{ github.ref_name }} mvn -B package -Passembly --file pom.xml - name: Criando pasta para Zip - run: mkdir java-nfe && cp target/java-nfe-${{github.ref_name}}.jar java-nfe && cp schemas.zip java-nfe + run: | + mkdir java-nfe + cp target/java-nfe-${{ github.ref_name }}.jar java-nfe + cp schemas.zip java-nfe + - uses: montudor/action-zip@v1 with: - args: zip -qq -r java-nfe-${{github.ref_name}}.zip java-nfe + args: zip -qq -r java-nfe-${{ github.ref_name }}.zip java-nfe - name: Criando release uses: actions/create-release@v1 @@ -49,17 +55,18 @@ jobs: with: draft: false prerelease: false - release_name: ${{ steps.version.outputs.version }} + release_name: ${{ github.ref_name }} tag_name: ${{ github.ref }} body_path: CHANGELOG.md env: - GITHUB_TOKEN: ${{ github.token }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Subir executavel (zip) para release uses: actions/upload-release-asset@v1 env: - GITHUB_TOKEN: ${{ github.token }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./java-nfe-${{github.ref_name}}.zip - asset_name: java-nfe-${{github.ref_name}}.zip + asset_path: ./java-nfe-${{ github.ref_name }}.zip + asset_name: java-nfe-${{ github.ref_name }}.zip asset_content_type: application/zip diff --git a/CHANGELOG.md b/CHANGELOG.md index 07bef1ed..3283c24a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,2 +1,4 @@ # Notas de versão -- Atualizado Cacert MS \ No newline at end of file +- Atualizado CACERT +- Correcao QrCode NFC-e V3 +- Removido Ini4J (Vunerabilidade) \ No newline at end of file diff --git a/README.md b/README.md index 2b731c38..4ba1b085 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,11 @@ -# Java-NFe [![MIT License](https://img.shields.io/github/license/Samuel-Oliveira/Java_NFe.svg) ](https://github.com/Samuel-Oliveira/Java_NFe/blob/master/LICENSE) [![Maven Central](https://img.shields.io/maven-central/v/br.com.swconsultoria/java-nfe.svg?label=Maven%20Central)](https://search.maven.org/artifact/br.com.swconsultoria/java-nfe/4.00.37/jar) +# Java-NFe [![MIT License](https://img.shields.io/github/license/Samuel-Oliveira/Java_NFe.svg) ](https://github.com/Samuel-Oliveira/Java_NFe/blob/master/LICENSE) [![Maven Central](https://img.shields.io/maven-central/v/br.com.swconsultoria/java-nfe.svg?label=Maven%20Central)](https://search.maven.org/artifact/br.com.swconsultoria/java-nfe/4.00.40/jar) Biblioteca Java para consumo do WebService de NFe/NFCe +### Powered by +[![JetBrains logo.](https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.svg)](https://jb.gg/OpenSource) + +Thanks to JetBrains for supporting this project! https://www.jetbrains.com/?from=Java_NFe + ## Dúvidas, Sugestões ou Consultoria [![Java Brasil](https://discordapp.com/api/guilds/519583346066587676/widget.png?style=banner2)](https://discord.gg/ZXpqnaV) @@ -17,7 +22,7 @@ Para Iniciar : br.com.swconsultoria java-nfe - 4.00.37 + 4.00.40 ``` @@ -29,16 +34,83 @@ repositories { } } dependencies { - implementation "br.com.swconsultoria:java-nfe:4.00.37" + implementation "br.com.swconsultoria:java-nfe:4.00.40" } ``` Veja a Wiki https://github.com/Samuel-Oliveira/Java_NFe/wiki, para ter um Tutorial Completo. +________________________________________________________________________________________________ +# 🚨 Atenção — Reforma Tributária na NF-e / NFC-e + +Foram adicionadas as classes com o **layout da Reforma Tributária**. +Para garantir que não haja impacto nos sistemas em produção, **todas as novas classes estão isoladas** no seguinte pacote: br.com.swconsultoria.nfe.schema_rt.nfe + +--- + +## 🧠 O que muda? + +A reforma, neste momento, afeta apenas as seguintes funções: + +- 🔍 `consultaRecibo` — Consulta NF-e / NFC-e Assíncrona +- 🧾 `montaNfe` — Montagem, Assinatura e Validação do XML +- 🚀 `enviarNfe` — Envio de NF-e / NFC-e + +Para utilizar essas funções adaptadas à Reforma Tributária, utilize a classe: **NfeRT** + +--- + +## 📦 Schemas XSD + +Foi adicionado um arquivo ZIP com os novos schemas: **schemas_rt.zip** + +**Importante:** +Esse arquivo deve ser **extraído na mesma pasta dos schemas atuais**, sobrescrevendo-os temporariamente **apenas se você deseja testar o novo layout da Reforma Tributária**. + +--- + +## 🗓️ Cronograma de Implantação da Reforma Tributária (NF-e / NFC-e) + +| Data | Evento | +|-------------------------------|---------------------------------------------------------------------------------------------| +| **07/07/2025 até 28/07/2025** | Entrada em **homologação** dos novos campos: `IBS`, `CBS` e `IS`. *(Varia conforme a UF)* | +| **04/08/2025** | Homologação da implantação dos **eventos fiscais** necessários para a apuração tributária. | +| **06/10/2025** | Entrada em **produção** dos eventos e dos novos campos, porém com **preenchimento opcional**. | +| **05/01/2026** | Os campos `IBS`, `CBS` e `IS` tornam-se de **preenchimento obrigatório em produção**. | + +--- + +## 💼 Consultoria Especializada + +Estamos com uma equipe dedicada exclusivamente à **Reforma Tributária**. +A partir de **Agosto de 2025**, estaremos oferecendo serviços de **consultoria personalizada** para apoiar empresas na migração de seus sistemas para o novo layout. + +--- + +## 📞 Contato + +- Discord: `.samueloliveira` +- E-mail: [samuel@swconsultoria.com.br](mailto:samuel@swconsultoria.com.br) +- WhatsApp/Telefone: **(62) 99306-6546** + ________________________________________________________________________________________________ # Historico de Versões +## v4.00.40 - 06/07/2025 - Schemas PL.009p1 e PL.010b +- Atualizado CACERT +- Correcao QrCode NFC-e V3 +- Removido Ini4J (Vunerabilidade) + +## v4.00.39 - 21/06/2025 - Schemas PL.009p1 e PL.010b +- Atualizado WebServices NFCe Ceara +- Atualizado CACERT +- Adicionado QrCode NFC-e V3 +- Adicionado Layout Reforma Tributária + +## v4.00.38 - 06/05/2025 - Schemas PL.009p1 +- Atualizado URL Consulta Cadastro RS + ## v4.00.37 - 05/04/2025 - Schemas PL.009p1 - Atualizado CACERT @@ -395,6 +467,3 @@ ________________________________________________________________________________ ## v3.10.0 - 26-09-2016 - Versão Inicial Do Sistema - - -Thanks to JetBrains for supporting this project! https://www.jetbrains.com/?from=Java_NFe diff --git a/pom-base.xml b/pom-base.xml index 06b26bdf..d2760fc5 100644 --- a/pom-base.xml +++ b/pom-base.xml @@ -2,7 +2,7 @@ 4.0.0 br.com.swconsultoria java-nfe - 4.00.38-${versao}-SNAPSHOT + 4.00.40-${versao}-SNAPSHOT Java_NFe Api java para consumo do webService de nota fiscal eletronica https://github.com/Samuel-Oliveira/Java_NFe @@ -28,6 +28,25 @@ 1.8 1.8 1.8 + + + 3.12 + 4.4.6 + 2.3.1 + 2.3.1 + 2.3.0.1 + 1.7.5 + 1.2.20 + 1.49 + 5.13.3 + 1.18.38 + 3.14.0 + 0.8.0 + 3.2.8 + 3.7.1 + 3.3.1 + 3.11.2 + 3.5.3 @@ -55,7 +74,7 @@ org.apache.maven.plugins maven-assembly-plugin - 3.1.1 + ${maven-assembly-plugin.version} jar-with-dependencies @@ -78,106 +97,89 @@ - br.com.swconsultoria java_certificado - 3.9 + ${java-certificado.version} - - - org.ini4j - ini4j - 0.5.4 - - org.apache.httpcomponents httpcore - 4.4.6 + ${httpcore.version} - - com.sun.xml.bind jaxb-impl - 2.3.1 + ${jaxb-impl.version} com.sun.xml.bind jaxb-xjc - 2.3.1 + ${jaxb-xjc.version} com.sun.xml.bind jaxb-core - 2.3.0.1 + ${jaxb-core.version} - org.apache.axis2 axis2-kernel - 1.7.5 + ${axis2.version} - servlet-api javax.servlet + servlet-api - commons-fileupload commons-fileupload + commons-fileupload - org.apache.axis2 axis2-adb - 1.7.5 + ${axis2.version} - org.apache.axis2 axis2-jaxws - 1.7.5 + ${axis2.version} - org.apache.axis2 axis2-transport-http - 1.7.5 + ${axis2.version} - org.apache.axis2 axis2-transport-local - 1.7.5 + ${axis2.version} - org.apache.ws.commons.axiom axiom-api - 1.2.20 + ${axiom-api.version} org.jmockit jmockit - 1.46 + ${jmockit.version} test org.junit.jupiter junit-jupiter - 5.4.0 + ${junit-jupiter.version} test org.projectlombok lombok - 1.18.22 + ${lombok.version} provided - @@ -185,7 +187,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.8.0 + ${maven-compiler-plugin.version} 1.8 1.8 @@ -211,10 +213,24 @@ true + + org.apache.maven.plugins + maven-gpg-plugin + ${maven-gpg-plugin.version} + + + sign-artifacts + verify + + sign + + + + org.apache.maven.plugins maven-source-plugin - 3.2.1 + ${maven-source-plugin.version} attach-sources @@ -224,9 +240,25 @@ + + org.apache.maven.plugins + maven-javadoc-plugin + ${maven-javadoc-plugin.version} + + + attach-javadocs + + jar + + + + + false + + maven-surefire-plugin - 3.0.0 + ${maven-surefire-plugin.version} -javaagent:src/test/resources/agent.jar diff --git a/pom.xml b/pom.xml index 3a9dc746..794ffd52 100644 --- a/pom.xml +++ b/pom.xml @@ -1,8 +1,9 @@ 4.0.0 + br.com.swconsultoria java-nfe - 4.00.38-SNAPSHOT + 4.00.40 Java_NFe Api java para consumo do webService de nota fiscal eletronica https://github.com/Samuel-Oliveira/Java_NFe @@ -28,18 +29,26 @@ 1.8 1.8 1.8 - - - - sonatype-nexus - https://oss.sonatype.org/content/repositories/snapshots - - - sonatype-nexus - https://oss.sonatype.org/service/local/staging/deploy/maven2 - - + + 3.12 + 4.4.6 + 2.3.1 + 2.3.1 + 2.3.0.1 + 1.7.5 + 1.2.20 + 1.49 + 5.13.3 + 1.18.38 + 3.14.0 + 0.8.0 + 3.2.8 + 3.7.1 + 3.3.1 + 3.11.2 + 3.5.3 + @@ -57,7 +66,7 @@ org.apache.maven.plugins maven-assembly-plugin - 3.1.1 + ${maven-assembly-plugin.version} jar-with-dependencies @@ -80,106 +89,89 @@ - br.com.swconsultoria java_certificado - 3.9 + ${java-certificado.version} - - - org.ini4j - ini4j - 0.5.4 - - org.apache.httpcomponents httpcore - 4.4.6 + ${httpcore.version} - - com.sun.xml.bind jaxb-impl - 2.3.1 + ${jaxb-impl.version} com.sun.xml.bind jaxb-xjc - 2.3.1 + ${jaxb-xjc.version} com.sun.xml.bind jaxb-core - 2.3.0.1 + ${jaxb-core.version} - org.apache.axis2 axis2-kernel - 1.7.5 + ${axis2.version} - servlet-api javax.servlet + servlet-api - commons-fileupload commons-fileupload + commons-fileupload - org.apache.axis2 axis2-adb - 1.7.5 + ${axis2.version} - org.apache.axis2 axis2-jaxws - 1.7.5 + ${axis2.version} - org.apache.axis2 axis2-transport-http - 1.7.5 + ${axis2.version} - org.apache.axis2 axis2-transport-local - 1.7.5 + ${axis2.version} - org.apache.ws.commons.axiom axiom-api - 1.2.20 + ${axiom-api.version} org.jmockit jmockit - 1.46 + ${jmockit.version} test org.junit.jupiter junit-jupiter - 5.4.0 + ${junit-jupiter.version} test org.projectlombok lombok - 1.18.22 + ${lombok.version} provided - @@ -187,27 +179,16 @@ org.apache.maven.plugins maven-compiler-plugin - 3.8.0 + ${maven-compiler-plugin.version} 1.8 1.8 - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.13 - true - - sonatype-nexus - https://oss.sonatype.org/ - true - - org.apache.maven.plugins maven-gpg-plugin - 1.6 + ${maven-gpg-plugin.version} sign-artifacts @@ -218,19 +199,10 @@ - - org.apache.maven.plugins - maven-release-plugin - 3.0.0 - - false - true - - org.apache.maven.plugins maven-source-plugin - 3.2.1 + ${maven-source-plugin.version} attach-sources @@ -243,7 +215,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.5.0 + ${maven-javadoc-plugin.version} attach-javadocs @@ -259,11 +231,19 @@ org.apache.maven.plugins maven-surefire-plugin - 3.0.0 + ${maven-surefire-plugin.version} + + -javaagent:src/test/resources/agent.jar + + + + org.sonatype.central + central-publishing-maven-plugin + ${central-publishing-maven-plugin.version} + true - - -javaagent:src/test/resources/agent.jar - + central + true diff --git a/schemas_rt.zip b/schemas_rt.zip new file mode 100644 index 00000000..5b08b0b8 Binary files /dev/null and b/schemas_rt.zip differ diff --git a/schemas_rt/DFeTiposBasicos_v1.00.xsd b/schemas_rt/DFeTiposBasicos_v1.00.xsd new file mode 100644 index 00000000..430314d8 --- /dev/null +++ b/schemas_rt/DFeTiposBasicos_v1.00.xsd @@ -0,0 +1,1053 @@ + + + + + + Tipo string genérico + + + + + + + + + Código Situação Tributária do IBS/CBS + + + + + + + + + Código de Classificação Tributária do IBS e da CBS + + + + + + + + + Tipo Decimal com 15 dígitos, sendo 11 de corpo e 4 decimais + + + + + + + + + Tipo Decimal com 11 inteiros, podendo ter 4 decimais (utilizado em tags opcionais) + + + + + + + + + Tipo Decimal com 15 dígitos, sendo 13 de corpo e 2 decimais + + + + + + + + + Tipo Decimal com até 3 dígitos inteiros, podendo ter de 2 até 4 decimais + + + + + + + + + Tipo da Operação com Ente Governamental + + + + + + + + + + Tipo de Ente Governamental + + + + + + + + + + + + Tipo de classificação do Crédito Presumido IBS ZFM + + + + + + + + + + + + Grupo de informações da Tributação da NFCom + + + + + Código Situação Tributária do IBS/CBS + + + + + + + + + Grupo de informações da Tributação da NF3e + + + + + Código Situação Tributária do IBS/CBS + + + + + + + + + Grupo de informações da Tributação do CTe + + + + + Código Situação Tributária do IBS/CBS + + + + + + + + + Grupo de informações da Tributação do BPe + + + + + Código Situação Tributária do IBS/CBS + + + + + + + + + Grupo de informações da Tributação da NFCe + + + + + Código Situação Tributária do IBS/CBS + + + + + + + + + + + + Grupo de informações da Tributação da NFe + + + + + Código Situação Tributária do IBS/CBS + + + + + + + + Informar essa opção da Choice para Monofasia + + + + + Informar essa opção da Choice para o CST 800 + + + + + + Classificação de acordo com o art. 450, § 1º, da LC 214/25 para o cálculo do crédito presumido na ZFM + + + + + + + Grupo de informações do Imposto Seletivo + + + + + Código Situação Tributária do Imposto Seletivo + + + + + + + Valor do BC + + + + + Alíquota do Imposto Seletivo (percentual) + + + + + Alíquota do Imposto Seletivo (por valor) + + + + + + Unidade de medida apropriada especificada em Lei Ordinaria para fins de apuração do Imposto Seletivo + + + + + + + + + + + Quantidade com abse no campo uTrib informado + + + + + + Valor do Imposto Seletivo calculado + + + + + + + + Grupo de informações de totais do Imposto Seletivo + + + + + Valor Total do Imposto Seletivo + + + + + + + Grupo de informações de totais da CBS/IBS + + + + + Total Base de Calculo + + + + + Totalização do IBS + + + + + + Totalização do IBS de competência da UF + + + + + + Total do Diferimento + + + + + Total de devoluções de tributos + + + + + Valor total do IBS Estadual + + + + + + + + Totalização do IBS de competência Municipal + + + + + + Total do Diferimento + + + + + Total de devoluções de tributos + + + + + Valor total do IBS Municipal + + + + + + + + Valor total do IBS + + + + + Total do Crédito Presumido + + + + + Total do Crédito Presumido Condição Suspensiva + + + + + + + + Totalização da CBS + + + + + + Total do Diferimento + + + + + Total de devoluções de tributos + + + + + Valor total da CBS + + + + + Total do Crédito Presumido + + + + + Total do Crédito Presumido Condição Suspensiva + + + + + + + + + + Grupo de informações de totais da CBS/IBS com monofasia + + + + + Total Base de Calculo + + + + + Totalização do IBS + + + + + + Totalização do IBS de competência da UF + + + + + + Total do Diferimento + + + + + Total de devoluções de tributos + + + + + Valor total do IBS Estadual + + + + + + + + Totalização do IBS de competência Municipal + + + + + + Total do Diferimento + + + + + Total de devoluções de tributos + + + + + Valor total do IBS Municipal + + + + + + + + Valor total do IBS + + + + + Total do Crédito Presumido + + + + + Total do Crédito Presumido Condição Suspensiva + + + + + + + + Totalização da CBS + + + + + + Total do Diferimento + + + + + Total de devoluções de tributos + + + + + Valor total da CBS + + + + + Total do Crédito Presumido + + + + + Total do Crédito Presumido Condição Suspensiva + + + + + + + + Totais da Monofasia + Só deverá ser utilizado para DFe modelos 55 e 65 + + + + + + Valor total do IBS monofásico + + + + + Valor total da CBS monofásica + + + + + Valor total do IBS monofásico sujeito a retenção + + + + + Valor total da CBS monofásica sujeita a retenção + + + + + Valor do IBS monofásico retido anteriormente + + + + + Valor da CBS monofásica retida anteriormente + + + + + + + + + + Tipo Monofasia + + + + Monofasia + + + + + Quantidade tributada na monofasia + + + + + Alíquota ad rem do IBS + + + + + Alíquota ad rem da CBS + + + + + Valor do IBS monofásico + + + + + Valor da CBS monofásica + + + + + + + Quantidade tributada sujeita a retenção. + + + + + Alíquota ad rem do IBS sujeito a retenção + + + + + Valor do IBS monofásico sujeito a retenção + + + + + Alíquota ad rem da CBS sujeita a retenção + + + + + Valor da CBS monofásica sujeita a retenção + + + + + + + Quantidade tributada retida anteriormente + + + + + Alíquota ad rem do IBS retido anteriormente + + + + + Valor do IBS retido anteriormente + + + + + Alíquota ad rem da CBS retida anteriormente + + + + + Valor da CBS retida anteriormente + + + + + + + Percentual do diferimento do imposto monofásico + + + + + Valor do IBS monofásico diferido + + + + + Percentual do diferimento do imposto monofásico + + + + + Valor da CBS monofásica diferida + + + + + + Total de IBS monofásico do item + + + + + Total da CBS monofásica do item + + + + + + + Tipo CBS IBS Completo + + + + IBS / CBS + + + + Valor do BC + + + + + Grupo de informações do IBS na UF + + + + + + Aliquota do IBS de competência das UF + + + + + Grupo de campos do Diferimento + + + + + Grupo de Informações da devolução de tributos + + + + + Grupo de campos da redução de aliquota + + + + + Valor do IBS de competência das UF + + + + + + + + Grupo de Informações do IBS no Município + + + + + + Aliquota do IBS Municipal + + + + + Grupo de campos do Diferimento + + + + + Grupo de Informações da devolução de tributos + + + + + Grupo de campos da redução de aliquota + + + + + Valor do IBS Municipal + + + + + + + + Grupo de Tributação da CBS + + + + + + Aliquota da CBS + + + + + Grupo de campos do Diferimento + + + + + Grupo de Informações da devolução de tributos + + + + + Grupo de campos da redução de aliquota + + + + + Valor da CBS + + + + + + + + Grupo de informações da Tributação Regular. Informar como seria a tributação caso não cumprida a condição resolutória/suspensiva. Exemplo 1: Art. 442, §4. Operações com ZFM e ALC. Exemplo 2: Operações com suspensão do tributo. + + + + + Grupo de Informações do Crédito Presumido referente ao IBS, quando aproveitado pelo emitente do documento. + + + + + Grupo de Informações do Crédito Presumido referente a CBS, quando aproveitado pelo emitente do documento. + + + + + Grupo de informações da composição do valor do IBS e da CBS em compras governamental + + + + + + + Tipo Redução Base de Cálculo + + + + + Percentual de redução de aliquota do cClassTrib + + + + + Aliquota Efetiva que será aplicada a Base de Calculo + + + + + + + Tipo Crédito Presumido + + + + + Usar tabela Cred Presumido, para o emitente da nota. + + + + + Percentual do Crédito Presumido + + + + + + Valor do Crédito Presumido + + + + + Valor do Crédito Presumido Condição Suspensiva, preencher apenas para cCredPres que possui indicação de Condição Suspensiva + + + + + + + + Tipo Diferimento + + + + + Percentual do diferimento + + + + + Valor do diferimento + + + + + + + Tipo Devolução Tributo + + + + + Valor do tributo devolvido. No fornecimento de energia elétrica, água, esgoto e +gás natural e em outras hipóteses definidas no regulamento + + + + + + + Tipo Tributação Regular + + + + + Código da Situação Tributária do IBS e CBS + Informar qual seria o CST caso não cumprida a condição resolutória/suspensiva + + + + + Informar qual seria o cClassTrib caso não cumprida a condição resolutória/suspensiva + + + + + Alíquota do IBS da UF + Informar como seria a Alíquota caso não cumprida a condição resolutória/suspensiva + + + + + Valor do IBS da UF + Informar como seria o valor do Tributo caso não cumprida a condição resolutória/suspensiva + + + + + Alíquota do IBS do Município + Informar como seria a Alíquota caso não cumprida a condição resolutória/suspensiva + + + + + Valor do IBS do Município + Informar como seria o valor do Tributo caso não cumprida a condição resolutória/suspensiva + + + + + Alíquota da CBS + Informar como seria a Alíquota caso não cumprida a condição resolutória/suspensiva + + + + + Valor da CBS + Informar como seria o valor do Tributo caso não cumprida a condição resolutória/suspensiva + + + + + + + Tipo Tributação Compra Governamental + + + + + + Valor que seria devido a UF, sem aplicação do Art. 473. da LC 214/2025 + + + + + + Valor que seria devido ao município, sem aplicação do Art. 473. da LC 214/2025 + + + + + + Valor que seria devido a CBS, sem aplicação do Art. 473. da LC 214/2025 + + + + + + + Tipo Compras Governamentais + Cada DFe que utilizar deverá utilizar esses tipo no grupo ide + + + + + Para administração pública direta e suas autarquias e fundações: +1=União +2=Estados +3=Distrito Federal +4=Municípios + + + + + Percentual de redução de aliquota em compra goverrnamental + + + + + + + Tipo Compras Governamentais + Cada DFe que utilizar deverá utilizar esses tipo no grupo ide + + + + + Para administração pública direta e suas autarquias e fundações: +1=União +2=Estados +3=Distrito Federal +4=Municípios + + + + + Percentual de redução de aliquota em compra goverrnamental + + + + + Tipo da operação com ente governamental: +1 - Fornecimento +2 - Recebimento do Pagamento + + + + + + + Tipo Transferência de Crédito + + + + + Valor do IBS a ser transferido + + + + + Valor da CBS a ser transferida + + + + + + + Tipo Informações do crédito presumido de IBS para fornecimentos a partir da ZFM + + + + + Classificação de acordo com o art. 450, § 1º, da LC 214/25 para o cálculo do crédito presumido na ZFM + 0 - Sem crédito presumido; +1 - Bens de consumo final (55%); +2 - Bens de capital (75%); +3 - Bens intermediários (90,25%); +4 - Bens de informática e outros definidos em legislação (100%). +OBS: Percentuais definidos no art. 450, § 1º, da LC 214/25 para o cálculo do crédito presumido + + + + + + Valor do crédito presumido calculado sobre o saldo devedor apurado + + + + + diff --git a/schemas_rt/leiauteNFe_v4.00.xsd b/schemas_rt/leiauteNFe_v4.00.xsd new file mode 100644 index 00000000..4cd671de --- /dev/null +++ b/schemas_rt/leiauteNFe_v4.00.xsd @@ -0,0 +1,7559 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + Tipo Nota Fiscal Eletrônica + + + + + Informações da Nota Fiscal eletrônica + + + + + + identificação da NF-e + + + + + + Código da UF do emitente do Documento Fiscal. Utilizar a Tabela do IBGE. + + + + + Código numérico que compõe a Chave de Acesso. Número aleatório gerado pelo emitente para cada NF-e. + + + + + + + + + + + Descrição da Natureza da Operação + + + + + + + + + + + Código do modelo do Documento Fiscal. 55 = NF-e; 65 = NFC-e. + + + + + Série do Documento Fiscal +série normal 0-889 +Avulsa Fisco 890-899 +SCAN 900-999 + + + + + Número do Documento Fiscal + + + + + Data e Hora de emissão do Documento Fiscal (AAAA-MM-DDThh:mm:ssTZD) ex.: 2012-09-01T13:00:00-03:00 + + + + + Data e Hora da saída ou de entrada da mercadoria / produto (AAAA-MM-DDTHH:mm:ssTZD) + + + + + Tipo do Documento Fiscal (0 - entrada; 1 - saída) + + + + + + + + + + + + Identificador de Local de destino da operação (1-Interna;2-Interestadual;3-Exterior) + + + + + + + + + + + + + Código do Município de Ocorrência do Fato Gerador (utilizar a tabela do IBGE) + + + + + Informar o município de ocorrência do fato gerador do fato gerador do IBS / CBS. +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). + + + + + Formato de impressão do DANFE (0-sem DANFE;1-DANFe Retrato; 2-DANFe Paisagem;3-DANFe Simplificado; + 4-DANFe NFC-e;5-DANFe NFC-e em mensagem eletrônica) + + + + + + + + + + + + + + + + Forma de emissão da NF-e +1 - Normal; +2 - Contingência FS +3 - Regime Especial NFF (NT 2021.002) +4 - Contingência DPEC +5 - Contingência FSDA +6 - Contingência SVC - AN +7 - Contingência SVC - RS +9 - Contingência off-line NFC-e + + + + + + + + + + + + + + + + + + Digito Verificador da Chave de Acesso da NF-e + + + + + + + + + + + Identificação do Ambiente: +1 - Produção +2 - Homologação + + + + + Finalidade da emissão da NF-e: +1 - NFe normal +2 - NFe complementar +3 - NFe de ajuste +4 - Devolução/Retorno +5 - Nota de crédito +6 - Nota de débito + + + + + 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. + + + + + + Tipo de Nota de Crédito + + + + + Indica operação com consumidor final (0-Não;1-Consumidor Final) + + + + + + + + + + + + Indicador de presença do comprador no estabelecimento comercial no momento da oepração + (0-Não se aplica (ex.: Nota Fiscal complementar ou de ajuste;1-Operação presencial;2-Não presencial, internet;3-Não presencial, teleatendimento;4-NFC-e entrega em domicílio;5-Operação presencial, fora do estabelecimento;9-Não presencial, outros) + + + + + + + + + + + + + + + + + Indicador de intermediador/marketplace + 0=Operação sem intermediador (em site ou plataforma própria) + 1=Operação em site ou plataforma de terceiros (intermediadores/marketplace) + + + + + + + + + + + + Processo de emissão utilizado com a seguinte codificação: +0 - emissão de NF-e com aplicativo do contribuinte; +1 - emissão de NF-e avulsa pelo Fisco; +2 - emissão de NF-e avulsa, pelo contribuinte com seu certificado digital, através do site +do Fisco; +3- emissão de NF-e pelo contribuinte com aplicativo fornecido pelo Fisco. + + + + + versão do aplicativo utilizado no processo de +emissão + + + + + + + + + + + Informar apenas +para tpEmis diferente de 1 + + + + Informar a data e hora de entrada em contingência contingência no formato (AAAA-MM-DDThh:mm:ssTZD) ex.: 2012-09-01T13:00:00-03:00. + + + + + Informar a Justificativa da entrada + + + + + + + + + + + + Grupo de infromações da NF referenciada + + + + + + Chave de acesso das NF-e referenciadas. Chave de acesso compostas por Código da UF (tabela do IBGE) + AAMM da emissão + CNPJ do Emitente + modelo, série e número da NF-e Referenciada + Código Numérico + DV. + + + + + Referencia uma NF-e (modelo 55) emitida anteriormente pela sua Chave de Acesso com código numérico zerado, permitindo manter o sigilo da NF-e referenciada. + + + + + Dados da NF modelo 1/1A referenciada ou NF modelo 2 referenciada + + + + + + Código da UF do emitente do Documento Fiscal. Utilizar a Tabela do IBGE. + + + + + AAMM da emissão + + + + + + + + + + + CNPJ do emitente do documento fiscal referenciado + + + + + Código do modelo do Documento Fiscal. Utilizar 01 para NF modelo 1/1A e 02 para NF modelo 02 + + + + + + + + + + + + Série do Documento Fiscal, informar zero se inexistente + + + + + Número do Documento Fiscal + + + + + + + + Grupo com as informações NF de produtor referenciada + + + + + + Código da UF do emitente do Documento FiscalUtilizar a Tabela do IBGE (Anexo IV - Tabela de UF, Município e País) + + + + + AAMM da emissão da NF de produtor + + + + + + + + + + + + CNPJ do emitente da NF de produtor + + + + + CPF do emitente da NF de produtor + + + + + + IE do emitente da NF de Produtor + + + + + Código do modelo do Documento Fiscal - utilizar 04 para NF de produtor ou 01 para NF Avulsa + + + + + + + + + + + + Série do Documento Fiscal, informar zero se inexistentesérie + + + + + Número do Documento Fiscal - 1 – 999999999 + + + + + + + + Utilizar esta TAG para referenciar um CT-e emitido anteriormente, vinculada a NF-e atual + + + + + Grupo do Cupom Fiscal vinculado à NF-e + + + + + + Código do modelo do Documento Fiscal +Preencher com "2B", quando se tratar de Cupom Fiscal emitido por máquina registradora (não ECF), com "2C", quando se tratar de Cupom Fiscal PDV, ou "2D", quando se tratar de Cupom Fiscal (emitido por ECF) + + + + + + + + + + + + + Informar o número de ordem seqüencial do ECF que emitiu o Cupom Fiscal vinculado à NF-e + + + + + + + + + + + Informar o Número do Contador de Ordem de Operação - COO vinculado à NF-e + + + + + + + + + + + + + + + + + Grupo de Compras Governamentais + + + + + Informado para abater as parcelas de antecipação de pagamento, conforme Art. 10. § 4º + + + + + + Chave de acesso da NF-e de antecipação de pagamento + + + + + + + + + + + Identificação do emitente + + + + + + + Número do CNPJ do emitente + + + + + Número do CPF do emitente + + + + + + Razão Social ou Nome do emitente + + + + + + + + + + + Nome fantasia + + + + + + + + + + + Endereço do emitente + + + + + Inscrição Estadual do Emitente + + + + + Inscricao Estadual do Substituto Tributário + + + + + Grupo de informações de interesse da Prefeitura + + + + Inscrição Municipal + + + + + + + + + + + CNAE Fiscal + + + + + + + + + + + + Código de Regime Tributário. +Este campo será obrigatoriamente preenchido com: +1 – Simples Nacional; +2 – Simples Nacional – excesso de sublimite de receita bruta; +3 – Regime Normal. +4 - Simples Nacional - Microempreendedor individual - MEI + + + + + + + + + + + + + + + + + Emissão de avulsa, informar os dados do Fisco emitente + + + + + + CNPJ do Órgão emissor + + + + + Órgão emitente + + + + + + + + + + + Matrícula do agente + + + + + + + + + + + Nome do agente + + + + + + + + + + + Telefone + + + + + + + + + + + Sigla da Unidade da Federação + + + + + Número do Documento de Arrecadação de Receita + + + + + + + + + + + Data de emissão do DAR (AAAA-MM-DD) + + + + + Valor Total constante no DAR + + + + + Repartição Fiscal emitente + + + + + + + + + + + Data de pagamento do DAR (AAAA-MM-DD) + + + + + + + + Identificação do Destinatário + + + + + + + Número do CNPJ + + + + + Número do CPF + + + + + Identificador do destinatário, em caso de comprador estrangeiro + + + + + + + + + + + + Razão Social ou nome do destinatário + + + + + + + + + + + Dados do endereço + + + + + Indicador da IE do destinatário: +1 – Contribuinte ICMSpagamento à vista; +2 – Contribuinte isento de inscrição; +9 – Não Contribuinte + + + + + + + + + + + + + Inscrição Estadual (obrigatório nas operações com contribuintes do ICMS) + + + + + Inscrição na SUFRAMA (Obrigatório nas operações com as áreas com benefícios de incentivos fiscais sob controle da SUFRAMA) PL_005d - 11/08/09 - alterado para aceitar 8 ou 9 dígitos + + + + + + + + + + + Inscrição Municipal do tomador do serviço + + + + + + + + + + + Informar o e-mail do destinatário. O campo pode ser utilizado para informar o e-mail +de recepção da NF-e indicada pelo destinatário + + + + + + + + + + + + + + + Identificação do Local de Retirada (informar apenas quando for diferente do endereço do remetente) + + + + + Identificação do Local de Entrega (informar apenas quando for diferente do endereço do destinatário) + + + + + Pessoas autorizadas para o download do XML da NF-e + + + + + + CNPJ Autorizado + + + + + CPF Autorizado + + + + + + + + Dados dos detalhes da NF-e + + + + + + Dados dos produtos e serviços da NF-e + + + + + + Código do produto ou serviço. Preencher com CFOP caso se trate de itens não relacionados com mercadorias/produto e que o contribuinte não possua codificação própria +Formato ”CFOP9999”. + + + + + + + + + + + GTIN (Global Trade Item Number) do produto, antigo código EAN ou código de barras + + + + + + + + + + + Codigo de barras diferente do padrão GTIN + + + + + + + + + + + Descrição do produto ou serviço + + + + + + + + + + + Código NCM (8 posições), será permitida a informação do gênero (posição do capítulo do NCM) quando a operação não for de comércio exterior (importação/exportação) ou o produto não seja tributado pelo IPI. Em caso de item de serviço ou item que não tenham produto (Ex. transferência de crédito, crédito do ativo imobilizado, etc.), informar o código 00 (zeros) (v2.0) + + + + + + + + + + + Nomenclatura de Valor aduaneio e Estatístico + + + + + + + + + + + + Codigo especificador da Substuicao Tributaria - CEST, que identifica a mercadoria sujeita aos regimes de substituicao tributária e de antecipação do recolhimento do imposto + + + + + + + + + + + + + + + + + + + CNPJ do Fabricante da Mercadoria, obrigatório para produto em escala NÃO relevante. + + + + + + + + + + + + + + Grupo de informações sobre o CréditoPresumido + + + + + + Código de Benefício Fiscal de Crédito Presumido na UF aplicado ao item + + + + + + + + + + + Percentual do Crédito Presumido + + + + + Valor do Crédito Presumido + + + + + + + + Código EX TIPI (3 posições) + + + + + + + + + + + Cfop + + + + + + + + + + + Unidade comercial + + + + + + + + + + + Quantidade Comercial do produto, alterado para aceitar de 0 a 4 casas decimais e 11 inteiros. + + + + + Valor unitário de comercialização - alterado para aceitar 0 a 10 casas decimais e 11 inteiros + + + + + Valor bruto do produto ou serviço. + + + + + GTIN (Global Trade Item Number) da unidade tributável, antigo código EAN ou código de barras + + + + + + + + + + + Código de barras da unidade tributável diferente do padrão GTIN + + + + + + + + + + + Unidade Tributável + + + + + + + + + + + Quantidade Tributável - alterado para aceitar de 0 a 4 casas decimais e 11 inteiros + + + + + Valor unitário de tributação - alterado para aceitar 0 a 10 casas decimais e 11 inteiros + + + + + Valor Total do Frete + + + + + Valor Total do Seguro + + + + + Valor do Desconto + + + + + Outras despesas acessórias + + + + + Este campo deverá ser preenchido com: + 0 – o valor do item (vProd) não compõe o valor total da NF-e (vProd) + 1 – o valor do item (vProd) compõe o valor total da NF-e (vProd) + + + + + + + + + + + + Indicador de fornecimento de bem móvel usado: 1-Bem Móvel Usado + + + + + + + + + + + Declaração de Importação (NT 2011/004) + + + + + + Número do Documento de Importação (DI, DSI, DIRE, DUImp) (NT2011/004) + + + + + + + + + + + Data de registro da DI/DSI/DA (AAAA-MM-DD) + + + + + Local do desembaraço aduaneiro + + + + + + + + + + + UF onde ocorreu o desembaraço aduaneiro + + + + + Data do desembaraço aduaneiro (AAAA-MM-DD) + + + + + Via de transporte internacional informada na DI ou na Declaração Única de Importação (DUImp): + 1-Maritima;2-Fluvial;3-Lacustre;4-Aerea;5-Postal;6-Ferroviaria;7-Rodoviaria;8-Conduto;9-Meios Proprios;10-Entrada/Saida Ficta; + 11-Courier;12-Em maos;13-Por reboque. + + + + + + + + + + + + + + + + + + + + + + + Valor Adicional ao frete para renovação de marinha mercante + + + + + Forma de Importação quanto a intermediação + 1-por conta propria;2-por conta e ordem;3-encomenda + + + + + + + + + + + + + + CNPJ do adquirente ou do encomendante + + + + + CPF do adquirente ou do encomendante + + + + + + Sigla da UF do adquirente ou do encomendante + + + + + Código do exportador (usado nos sistemas internos de informação do emitente da NF-e) + + + + + + + + + + + Adições (NT 2011/004) + + + + + + Número da Adição + + + + + + + + + + + Número seqüencial do item + + + + + + + + + + + Código do fabricante estrangeiro (usado nos sistemas internos de informação do emitente da NF-e) + + + + + + + + + + + Valor do desconto do item + + + + + Número do ato concessório de Drawback + + + + + + + + + + + + + + + + + Detalhe da exportação + + + + + + Número do ato concessório de Drawback + + + + + + + + + + + Exportação indireta + + + + + + Registro de exportação + + + + + + + + + + + Chave de acesso da NF-e recebida para exportação + + + + + Quantidade do item efetivamente exportado + + + + + + + + + + + pedido de compra - Informação de interesse do emissor para controle do B2B. + + + + + + + + + + + Número do Item do Pedido de Compra - Identificação do número do item do pedido de Compra + + + + + + + + + + + Número de controle da FCI - Ficha de Conteúdo de Importação. + + + + + + + + Número do lote do produto. + + + + + + + + + + + Quantidade de produto no lote. + + + + + Data de fabricação/produção. Formato "AAAA-MM-DD". + + + + + Data de validade. Informar o último dia do mês caso a validade não especifique o dia. Formato "AAAA-MM-DD". + + + + + + + + + + + + + + + + Informações mais detalhadas do produto (usada na NFF) + + + + + + Código Fiscal do Produto + + + + + + + + + + Código da operação selecionada na NFF e relacionada ao item + + + + + + + + + + + + + + Informações mais detalhadas do produto (usada na NFF) + + + + + + Embalagem do produto + + + + + + + + + + + Volume do produto na embalagem + + + + + Unidade de Medida da Embalagem + + + + + + + + + + + + + + Informações específicas de produtos e serviços + + + + Veículos novos + + + + + + Tipo da Operação (1 - Venda concessionária; 2 - Faturamento direto; 3 - Venda direta; 0 - Outros) + + + + + + + + + + + + + + Chassi do veículo - VIN (código-identificação-veículo) + + + + + + + + + + + + Cor do veículo (código de cada montadora) + + + + + + + + + + + Descrição da cor + + + + + + + + + + + Potência máxima do motor do veículo em cavalo vapor (CV). (potência-veículo) + + + + + + + + + + + Capacidade voluntária do motor expressa em centímetros cúbicos (CC). (cilindradas) + + + + + + + + + + + Peso líquido + + + + + + + + + + + Peso bruto + + + + + + + + + + + Serial (série) + + + + + + + + + + + Tipo de combustível-Tabela RENAVAM: 01-Álcool; 02-Gasolina; 03-Diesel; 16-Álcool/Gas.; 17-Gas./Álcool/GNV; 18-Gasolina/Elétrico + + + + + + + + + + + Número do motor + + + + + + + + + + + CMT-Capacidade Máxima de Tração - em Toneladas 4 casas decimais + + + + + + + + + + + Distância entre eixos + + + + + + + + + + + Ano Modelo de Fabricação + + + + + + + + + + + Ano de Fabricação + + + + + + + + + + + Tipo de pintura + + + + + + + + + + Tipo de veículo (utilizar tabela RENAVAM) + + + + + + + + + + + Espécie de veículo (utilizar tabela RENAVAM) + + + + + + + + + + + Informa-se o veículo tem VIN (chassi) remarcado. +R-Remarcado +N-NormalVIN + + + + + + + + + + + + Condição do veículo (1 - acabado; 2 - inacabado; 3 - semi-acabado) + + + + + + + + + + + + + Código Marca Modelo (utilizar tabela RENAVAM) + + + + + + + + + + + Código da Cor Segundo as regras de pré-cadastro do DENATRAN: 01-AMARELO;02-AZUL;03-BEGE;04-BRANCA;05-CINZA;06-DOURADA;07-GRENA +08-LARANJA;09-MARROM;10-PRATA;11-PRETA;12-ROSA;13-ROXA;14-VERDE;15-VERMELHA;16-FANTASIA + + + + + + + + + + + + + Quantidade máxima de permitida de passageiros sentados, inclusive motorista. + + + + + + + + + + + + + Restrição +0 - Não há; +1 - Alienação Fiduciária; +2 - Arrendamento Mercantil; +3 - Reserva de Domínio; +4 - Penhor de Veículos; +9 - outras. + + + + + + + + + + + + + + + + + + + grupo do detalhamento de Medicamentos e de matérias-primas farmacêuticas + + + + + + Utilizar o número do registro ANVISA ou preencher com o literal “ISENTO”, no caso de medicamento isento de registro na ANVISA. + + + + + + + + + + Obs.: Para medicamento isento de registro na ANVISA, informar o número da decisão que o isenta, como por exemplo o número da Resolução da Diretoria Colegiada da ANVISA (RDC). + + + + + + + + + + + Preço Máximo ao Consumidor. + + + + + + + + Armamentos + + + + + + Indicador do tipo de arma de fogo (0 - Uso permitido; 1 - Uso restrito) + + + + + + + + + + + + Número de série da arma + + + + + + + + + + + Número de série do cano + + + + + + + + + + + Descrição completa da arma, compreendendo: calibre, marca, capacidade, tipo de funcionamento, comprimento e demais elementos que permitam a sua perfeita identificação. + + + + + + + + + + + + + + Informar apenas para operações com combustíveis líquidos + + + + + + Código de produto da ANP. codificação de produtos do SIMP (http://www.anp.gov.br) + + + + + + + + + + + Descrição do Produto conforme ANP. Utilizar a descrição de produtos do Sistema de Informações de Movimentação de Produtos - SIMP (http://www.anp.gov.br/simp/). + + + + + + + + + + + Percentual do GLP derivado do petróleo no produto GLP (cProdANP=210203001). Informar em número decimal o percentual do GLP derivado de petróleo no produto GLP. Valores 0 a 100. + + + + + Percentual de gás natural nacional - GLGNn para o produto GLP (cProdANP=210203001). Informar em número decimal o percentual do Gás Natural Nacional - GLGNn para o produto GLP. Valores de 0 a 100. + + + + + Percentual de gás natural importado GLGNi para o produto GLP (cProdANP=210203001). Informar em número deciaml o percentual do Gás Natural Importado - GLGNi para o produto GLP. Valores de 0 a 100. + + + + + Valor de partida (cProdANP=210203001). Deve ser informado neste campo o valor por quilograma sem ICMS. + + + + + Código de autorização / registro do CODIF. Informar apenas quando a UF utilizar o CODIF (Sistema de Controle do Diferimento do Imposto nas Operações com AEAC - Álcool Etílico Anidro Combustível). + + + + + + + + + + + Quantidade de combustível +faturada à temperatura ambiente. +Informar quando a quantidade +faturada informada no campo +qCom (I10) tiver sido ajustada para +uma temperatura diferente da +ambiente. + + + + + Sigla da UF de Consumo + + + + + CIDE Combustíveis + + + + + + BC do CIDE ( Quantidade comercializada) + + + + + Alíquota do CIDE (em reais) + + + + + Valor do CIDE + + + + + + + + Informações do grupo de "encerrante" + + + + + + Numero de identificação do Bico utilizado no abastecimento + + + + + + + + + + + Numero de identificação da bomba ao qual o bico está interligado + + + + + + + + + + + Numero de identificação do tanque ao qual o bico está interligado + + + + + + + + + + + Valor do Encerrante no ínicio do abastecimento + + + + + Valor do Encerrante no final do abastecimento + + + + + + + + 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 + + + + + + + + + + + Número do RECOPI + + + + + + + + + + + + + + + + Tributos incidentes nos produtos ou serviços da NF-e + + + + + + Valor estimado total de impostos federais, estaduais e municipais + + + + + + + Dados do ICMS Normal e ST + + + + + + Tributação pelo ICMS +00 - Tributada integralmente + + + + + + origem da mercadoria: 0 - Nacional +1 - Estrangeira - Importação direta +2 - Estrangeira - Adquirida no mercado interno + + + + + Tributção pelo ICMS +00 - Tributada integralmente + + + + + + + + + + + Modalidade de determinação da BC do ICMS: +0 - Margem Valor Agregado (%); +1 - Pauta (valor); +2 - Preço Tabelado Máximo (valor); +3 - Valor da Operação. + + + + + + + + + + + + + + Valor da BC do ICMS + + + + + Alíquota do ICMS + + + + + Valor do ICMS + + + + + + Percentual de ICMS relativo ao Fundo de Combate à Pobreza (FCP). + + + + + Valor do ICMS relativo ao Fundo de Combate à Pobreza (FCP). + + + + + + + + + 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 +10 - Tributada e com cobrança do ICMS por substituição tributária + + + + + + origem da mercadoria: 0 - Nacional +1 - Estrangeira - Importação direta +2 - Estrangeira - Adquirida no mercado interno + + + + + 10 - Tributada e com cobrança do ICMS por substituição tributária + + + + + + + + + + + Modalidade de determinação da BC do ICMS: +0 - Margem Valor Agregado (%); +1 - Pauta (valor); +2 - Preço Tabelado Máximo (valor); +3 - Valor da Operação. + + + + + + + + + + + + + + Valor da BC do ICMS + + + + + Alíquota do ICMS + + + + + Valor do ICMS + + + + + + Valor da Base de cálculo do FCP. + + + + + Percentual de ICMS relativo ao Fundo de Combate à Pobreza (FCP). + + + + + Valor do ICMS relativo ao Fundo de Combate à Pobreza (FCP). + + + + + + Modalidade de determinação da BC do ICMS ST: +0 – Preço tabelado ou máximo sugerido; +1 - Lista Negativa (valor); +2 - Lista Positiva (valor); +3 - Lista Neutra (valor); +4 - Margem Valor Agregado (%); +5 - Pauta (valor) +6-Valor da Operação; + + + + + + + + + + + + + + + + + Percentual da Margem de Valor Adicionado ICMS ST + + + + + Percentual de redução da BC ICMS ST + + + + + Valor da BC do ICMS ST + + + + + Alíquota do ICMS ST + + + + + Valor do ICMS ST + + + + + + Valor da Base de cálculo do FCP retido por substituicao tributaria. + + + + + Percentual de FCP retido por substituição tributária. + + + + + Valor do FCP retido por substituição tributária. + + + + + + + Valor do ICMS-ST desonerado. + + + + + Motivo da desoneração do ICMS-ST: 3-Uso na agropecuária; 9-Outros; 12-Fomento agropecuário. + + + + + + + + + + + + + + + + + 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 +20 - Com redução de base de cálculo + + + + + + origem da mercadoria: 0 - Nacional +1 - Estrangeira - Importação direta +2 - Estrangeira - Adquirida no mercado interno + + + + + Tributção pelo ICMS +20 - Com redução de base de cálculo + + + + + + + + + + + Modalidade de determinação da BC do ICMS: +0 - Margem Valor Agregado (%); +1 - Pauta (valor); +2 - Preço Tabelado Máximo (valor); +3 - Valor da Operação. + + + + + + + + + + + + + + Percentual de redução da BC + + + + + Valor da BC do ICMS + + + + + Alíquota do ICMS + + + + + Valor do ICMS + + + + + + Valor da Base de cálculo do FCP. + + + + + Percentual de ICMS relativo ao Fundo de Combate à Pobreza (FCP). + + + + + Valor do ICMS relativo ao Fundo de Combate à Pobreza (FCP). + + + + + + Grupo desoneração + + + + Valor do ICMS de desoneração + + + + + Motivo da desoneração do ICMS:3-Uso na agropecuária;9-Outros;12-Fomento agropecuário + + + + + + + + + + + + + Indica se o valor do ICMS desonerado (vICMSDeson) deduz do valor do item (vProd): +0=Valor do ICMS desonerado (vICMSDeson) não deduz do valor do item (vProd) / total da NF-e; +1=Valor do ICMS desonerado (vICMSDeson) deduz do valor do item (vProd) / total da NF-e. + + + + + + + + + + + + + + + + Tributação pelo ICMS +30 - Isenta ou não tributada e com cobrança do ICMS por substituição tributária + + + + + + origem da mercadoria: 0 - Nacional +1 - Estrangeira - Importação direta +2 - Estrangeira - Adquirida no mercado interno + + + + + Tributção pelo ICMS +30 - Isenta ou não tributada e com cobrança do ICMS por substituição tributária + + + + + + + + + + + Modalidade de determinação da BC do ICMS ST: +0 – Preço tabelado ou máximo sugerido; +1 - Lista Negativa (valor); +2 - Lista Positiva (valor); +3 - Lista Neutra (valor); +4 - Margem Valor Agregado (%); +5 - Pauta (valor). +6 - Valor da Operação + + + + + + + + + + + + + + + + + Percentual da Margem de Valor Adicionado ICMS ST + + + + + Percentual de redução da BC ICMS ST + + + + + Valor da BC do ICMS ST + + + + + Alíquota do ICMS ST + + + + + Valor do ICMS ST + + + + + + Valor da Base de cálculo do FCP. + + + + + Percentual de FCP retido por substituição tributária. + + + + + Valor do FCP retido por substituição tributária. + + + + + + Grupo desoneração + + + + Valor do ICMS de desoneração + + + + + Motivo da desoneração do ICMS:6-Utilitários Motocicleta AÁrea Livre;7-SUFRAMA;9-Outros + + + + + + + + + + + + + Indica se o valor do ICMS desonerado (vICMSDeson) deduz do valor do item (vProd): +0=Valor do ICMS desonerado (vICMSDeson) não deduz do valor do item (vProd) / total da NF-e; +1=Valor do ICMS desonerado (vICMSDeson) deduz do valor do item (vProd) / total da NF-e. + + + + + + + + + + + + + + + + Tributação pelo ICMS +40 - Isenta +41 - Não tributada +50 - Suspensão + + + + + + origem da mercadoria: 0 - Nacional +1 - Estrangeira - Importação direta +2 - Estrangeira - Adquirida no mercado interno + + + + + Tributação pelo ICMS +40 - Isenta +41 - Não tributada +50 - Suspensão +51 - Diferimento + + + + + + + + + + + + + + O valor do ICMS será informado apenas nas operações com veículos beneficiados com a desoneração condicional do ICMS. + + + + + Este campo será preenchido quando o campo anterior estiver preenchido. +Informar o motivo da desoneração: +1 – Táxi; +3 – Produtor Agropecuário; +4 – Frotista/Locadora; +5 – Diplomático/Consular; +6 – Utilitários e Motocicletas da Amazônia Ocidental e Áreas de Livre Comércio (Resolução 714/88 e 790/94 – CONTRAN e suas alterações); +7 – SUFRAMA; +8 - Venda a órgão Público; +9 – Outros +10- Deficiente Condutor +11- Deficiente não condutor +16 - Olimpíadas Rio 2016 +90 - Solicitado pelo Fisco + + + + + + + + + + + + + + + + + + + + + + Indica se o valor do ICMS desonerado (vICMSDeson) deduz do valor do item (vProd): +0=Valor do ICMS desonerado (vICMSDeson) não deduz do valor do item (vProd) / total da NF-e; +1=Valor do ICMS desonerado (vICMSDeson) deduz do valor do item (vProd) / total da NF-e. + + + + + + + + + + + + + + + + Tributção pelo ICMS 51 - Diferimento. A exigência do preenchimento das informações do ICMS diferido fica à critério de cada UF. + + + + + + origem da mercadoria: 0 - Nacional + 1 - Estrangeira - Importação direta + 2 - Estrangeira - Adquirida no mercado interno + + + + + Tributação pelo ICMS 51 - Tributação com Diferimento + + + + + + + + + + + Modalidade de determinação da BC do ICMS: + 0 - Margem Valor Agregado (%); + 1 - Pauta (valor); + 2 - Preço Tabelado Máximo (valor); + 3 - Valor da Operação. + + + + + + + + + + + + + + Percentual de redução da BC + + + + + Código de Benefício Fiscal na UF aplicado ao item quando houver RBC. + + + + + + + + + + + Valor da BC do ICMS + + + + + Alíquota do imposto + + + + + Valor do ICMS da Operação + + + + + Percentual do diferemento + + + + + Valor do ICMS da diferido + + + + + Valor do ICMS + + + + + + Valor da Base de cálculo do FCP. + + + + + Percentual de ICMS relativo ao Fundo de Combate à Pobreza (FCP). + + + + + Valor do ICMS relativo ao Fundo de Combate à Pobreza (FCP). + + + + + + + Percentual do diferimento do ICMS relativo ao Fundo de Combate à Pobreza (FCP). + + + + + Valor do ICMS relativo ao Fundo de Combate à Pobreza (FCP) diferido. + + + + + Valor efetivo do ICMS relativo ao Fundo de Combate à Pobreza (FCP). + + + + + + + + + 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 +60 - ICMS cobrado anteriormente por substituição tributária + + + + + + origem da mercadoria: 0 - Nacional +1 - Estrangeira - Importação direta +2 - Estrangeira - Adquirida no mercado interno + + + + + Tributação pelo ICMS +60 - ICMS cobrado anteriormente por substituição tributária + + + + + + + + + + + NT2010/004 + + + + Valor da BC do ICMS ST retido anteriormente + + + + + Aliquota suportada pelo consumidor final. + + + + + Valor do ICMS Próprio do Substituto cobrado em operação anterior + + + + + Valor do ICMS ST retido anteriormente + + + + + + + Valor da Base de cálculo do FCP retido anteriormente por ST. + + + + + Percentual de FCP retido anteriormente por substituição tributária. + + + + + Valor do FCP retido por substituição tributária. + + + + + + + Percentual de redução da base de cálculo efetiva. + + + + + Valor da base de cálculo efetiva. + + + + + Alíquota do ICMS efetiva. + + + + + Valor do ICMS efetivo. + + + + + + + + + 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 +70 - Com redução de base de cálculo e cobrança do ICMS por substituição tributária + + + + + + origem da mercadoria: 0 - Nacional +1 - Estrangeira - Importação direta +2 - Estrangeira - Adquirida no mercado interno + + + + + Tributção pelo ICMS +70 - Com redução de base de cálculo e cobrança do ICMS por substituição tributária + + + + + + + + + + + Modalidade de determinação da BC do ICMS: +0 - Margem Valor Agregado (%); +1 - Pauta (valor); +2 - Preço Tabelado Máximo (valor); +3 - Valor da Operação. + + + + + + + + + + + + + + Percentual de redução da BC + + + + + Valor da BC do ICMS + + + + + Alíquota do ICMS + + + + + Valor do ICMS + + + + + + Valor da Base de cálculo do FCP. + + + + + Percentual de ICMS relativo ao Fundo de Combate à Pobreza (FCP). + + + + + Valor do ICMS relativo ao Fundo de Combate à Pobreza (FCP). + + + + + + Modalidade de determinação da BC do ICMS ST: +0 – Preço tabelado ou máximo sugerido; +1 - Lista Negativa (valor); +2 - Lista Positiva (valor); +3 - Lista Neutra (valor); +4 - Margem Valor Agregado (%); +5 - Pauta (valor); +6 - Valor da Operação. + + + + + + + + + + + + + + + + + Percentual da Margem de Valor Adicionado ICMS ST + + + + + Percentual de redução da BC ICMS ST + + + + + Valor da BC do ICMS ST + + + + + Alíquota do ICMS ST + + + + + Valor do ICMS ST + + + + + + Valor da Base de cálculo do FCP retido por substituição tributária. + + + + + Percentual de FCP retido por substituição tributária. + + + + + Valor do FCP retido por substituição tributária. + + + + + + Grupo desoneração + + + + Valor do ICMS de desoneração + + + + + Motivo da desoneração do ICMS:3-Uso na agropecuária;9-Outros;12-Fomento agropecuário + + + + + + + + + + + + + Indica se o valor do ICMS desonerado (vICMSDeson) deduz do valor do item (vProd): +0=Valor do ICMS desonerado (vICMSDeson) não deduz do valor do item (vProd) / total da NF-e; +1=Valor do ICMS desonerado (vICMSDeson) deduz do valor do item (vProd) / total da NF-e. + + + + + + + + + + + + + + Valor do ICMS-ST desonerado. + + + + + Motivo da desoneração do ICMS-ST: 3-Uso na agropecuária; 9-Outros; 12-Fomento agropecuário. + + + + + + + + + + + + + + + + + Tributação pelo ICMS +90 - Outras + + + + + + origem da mercadoria: 0 - Nacional +1 - Estrangeira - Importação direta +2 - Estrangeira - Adquirida no mercado interno + + + + + Tributção pelo ICMS +90 - Outras + + + + + + + + + + + + Modalidade de determinação da BC do ICMS: +0 - Margem Valor Agregado (%); +1 - Pauta (valor); +2 - Preço Tabelado Máximo (valor); +3 - Valor da Operação. + + + + + + + + + + + + + + Valor da BC do ICMS + + + + + Percentual de redução da BC + + + + + Alíquota do ICMS + + + + + Valor do ICMS + + + + + + Valor da Base de cálculo do FCP. + + + + + Percentual de ICMS relativo ao Fundo de Combate à Pobreza (FCP). + + + + + Valor do ICMS relativo ao Fundo de Combate à Pobreza (FCP). + + + + + + + + Modalidade de determinação da BC do ICMS ST: +0 – Preço tabelado ou máximo sugerido; +1 - Lista Negativa (valor); +2 - Lista Positiva (valor); +3 - Lista Neutra (valor); +4 - Margem Valor Agregado (%); +5 - Pauta (valor); +6 - Valor da Operação. + + + + + + + + + + + + + + + + + Percentual da Margem de Valor Adicionado ICMS ST + + + + + Percentual de redução da BC ICMS ST + + + + + Valor da BC do ICMS ST + + + + + Alíquota do ICMS ST + + + + + Valor do ICMS ST + + + + + + Valor da Base de cálculo do FCP. + + + + + Percentual de FCP retido por substituição tributária. + + + + + Valor do FCP retido por substituição tributária. + + + + + + + Grupo desoneração + + + + Valor do ICMS de desoneração + + + + + Motivo da desoneração do ICMS:3-Uso na agropecuária;9-Outros;12-Fomento agropecuário + + + + + + + + + + + + + Indica se o valor do ICMS desonerado (vICMSDeson) deduz do valor do item (vProd): +0=Valor do ICMS desonerado (vICMSDeson) não deduz do valor do item (vProd) / total da NF-e; +1=Valor do ICMS desonerado (vICMSDeson) deduz do valor do item (vProd) / total da NF-e. + + + + + + + + + + + + + + Valor do ICMS-ST desonerado. + + + + + Motivo da desoneração do ICMS-ST: 3-Uso na agropecuária; 9-Outros; 12-Fomento agropecuário. + + + + + + + + + + + + + + + + + Partilha do ICMS entre a UF de origem e UF de destino ou a UF definida na legislação +Operação interestadual para consumidor final com partilha do ICMS devido na operação entre a UF de origem e a UF do destinatário ou ou a UF definida na legislação. (Ex. UF da concessionária de entrega do veículos) + + + + + + origem da mercadoria: 0 - Nacional +1 - Estrangeira - Importação direta +2 - Estrangeira - Adquirida no mercado interno + + + + + Tributação pelo ICMS +10 - Tributada e com cobrança do ICMS por substituição tributária; +90 – Outros. + + + + + + + + + + + + Modalidade de determinação da BC do ICMS: +0 - Margem Valor Agregado (%); +1 - Pauta (valor); +2 - Preço Tabelado Máximo (valor); +3 - Valor da Operação. + + + + + + + + + + + + + + Valor da BC do ICMS + + + + + Percentual de redução da BC + + + + + Alíquota do ICMS + + + + + Valor do ICMS + + + + + Modalidade de determinação da BC do ICMS ST: +0 – Preço tabelado ou máximo sugerido; +1 - Lista Negativa (valor); +2 - Lista Positiva (valor); +3 - Lista Neutra (valor); +4 - Margem Valor Agregado (%); +5 - Pauta (valor). +6 - Valor da Operação + + + + + + + + + + + + + + + + + Percentual da Margem de Valor Adicionado ICMS ST + + + + + Percentual de redução da BC ICMS ST + + + + + Valor da BC do ICMS ST + + + + + Alíquota do ICMS ST + + + + + Valor do ICMS ST + + + + + + Valor da Base de cálculo do FCP retido por substituicao tributaria. + + + + + Percentual de FCP retido por substituição tributária. + + + + + Valor do FCP retido por substituição tributária. + + + + + + Percentual para determinação do valor da Base de Cálculo da operação própria. + + + + + Sigla da UF para qual é devido o ICMS ST da operação. + + + + + + + + Grupo de informação do ICMSST devido para a UF de destino, nas operações interestaduais de produtos que tiveram retenção antecipada de ICMS por ST na UF do remetente. Repasse via Substituto Tributário. + + + + + + origem da mercadoria: 0 - Nacional +1 - Estrangeira - Importação direta +2 - Estrangeira - Adquirida no mercado interno + + + + + Tributção pelo ICMS +41-Não Tributado. +60-Cobrado anteriormente por substituição tributária. + + + + + + + + + + + + Informar o valor da BC do ICMS ST retido na UF remetente + + + + + Aliquota suportada pelo consumidor final. + + + + + Valor do ICMS Próprio do Substituto cobrado em operação anterior + + + + + Informar o valor do ICMS ST retido na UF remetente (iv2.0)) + + + + + + Informar o valor da Base de Cálculo do FCP retido anteriormente por ST. + + + + + Percentual relativo ao Fundo de Combate à Pobreza (FCP) retido por substituição tributária. + + + + + Valor do ICMS relativo ao Fundo de Combate à Pobreza (FCP) retido por substituição tributária. + + + + + + Informar o valor da BC do ICMS ST da UF destino + + + + + Informar o valor da BC do ICMS ST da UF destino (v2.0) + + + + + + Percentual de redução da base de cálculo efetiva. + + + + + Valor da base de cálculo efetiva. + + + + + Alíquota do ICMS efetivo. + + + + + Valor do ICMS efetivo. + + + + + + + + + Tributação do ICMS pelo SIMPLES NACIONAL e CSOSN=101 (v.2.0) + + + + + + origem da mercadoria: 0 - Nacional +1 - Estrangeira - Importação direta +2 - Estrangeira - Adquirida no mercado interno +(v2.0) + + + + + 101- Tributada pelo Simples Nacional com permissão de crédito. (v.2.0) + + + + + + + + + + + Alíquota aplicável de cálculo do crédito (Simples Nacional). (v2.0) + + + + + Valor crédito do ICMS que pode ser aproveitado nos termos do art. 23 da LC 123 (Simples Nacional) (v2.0) + + + + + + + + Tributação do ICMS pelo SIMPLES NACIONAL e CSOSN=102, 103, 300 ou 400 (v.2.0)) + + + + + + origem da mercadoria: 0 - Nacional +1 - Estrangeira - Importação direta +2 - Estrangeira - Adquirida no mercado interno +(v2.0) + + + + + 102- Tributada pelo Simples Nacional sem permissão de crédito. +103 – Isenção do ICMS no Simples Nacional para faixa de receita bruta. +300 – Imune. +400 – Não tributda pelo Simples Nacional (v.2.0) (v.2.0) + + + + + + + + + + + + + + + + + Tributação do ICMS pelo SIMPLES NACIONAL e CSOSN=201 (v.2.0) + + + + + + Origem da mercadoria: +0 – Nacional; +1 – Estrangeira – Importação direta; +2 – Estrangeira – Adquirida no mercado interno. (v2.0) + + + + + 201- Tributada pelo Simples Nacional com permissão de crédito e com cobrança do ICMS por Substituição Tributária (v.2.0) + + + + + + + + + + + Modalidade de determinação da BC do ICMS ST: +0 – Preço tabelado ou máximo sugerido; +1 - Lista Negativa (valor); +2 - Lista Positiva (valor); +3 - Lista Neutra (valor); +4 - Margem Valor Agregado (%); +5 - Pauta (valor). (v2.0) +6 - Valor da Operação + + + + + + + + + + + + + + + + + Percentual da Margem de Valor Adicionado ICMS ST (v2.0) + + + + + Percentual de redução da BC ICMS ST (v2.0) + + + + + Valor da BC do ICMS ST (v2.0) + + + + + Alíquota do ICMS ST (v2.0) + + + + + Valor do ICMS ST (v2.0) + + + + + + Valor da Base de cálculo do FCP. + + + + + Percentual de FCP retido por substituição tributária. + + + + + Valor do FCP retido por substituição tributária. + + + + + + Alíquota aplicável de cálculo do crédito (Simples Nacional). (v2.0) + + + + + Valor crédito do ICMS que pode ser aproveitado nos termos do art. 23 da LC 123 (Simples Nacional) (v2.0) + + + + + + + + Tributação do ICMS pelo SIMPLES NACIONAL e CSOSN=202 ou 203 (v.2.0) + + + + + + Origem da mercadoria: +0 – Nacional; +1 – Estrangeira – Importação direta; +2 – Estrangeira – Adquirida no mercado interno. (v2.0) + + + + + 202- Tributada pelo Simples Nacional sem permissão de crédito e com cobrança do ICMS por Substituição Tributária; +203- Isenção do ICMS nos Simples Nacional para faixa de receita bruta e com cobrança do ICMS por Substituição Tributária (v.2.0) + + + + + + + + + + + + Modalidade de determinação da BC do ICMS ST: +0 – Preço tabelado ou máximo sugerido; +1 - Lista Negativa (valor); +2 - Lista Positiva (valor); +3 - Lista Neutra (valor); +4 - Margem Valor Agregado (%); +5 - Pauta (valor). (v2.0) +6 - Valor da Operação + + + + + + + + + + + + + + + + + Percentual da Margem de Valor Adicionado ICMS ST (v2.0) + + + + + Percentual de redução da BC ICMS ST (v2.0) + + + + + Valor da BC do ICMS ST (v2.0) + + + + + Alíquota do ICMS ST (v2.0) + + + + + Valor do ICMS ST (v2.0) + + + + + + Valor da Base de cálculo do FCP. + + + + + Percentual de FCP retido por substituição tributária. + + + + + Valor do FCP retido por substituição tributária. + + + + + + + + + Tributação do ICMS pelo SIMPLES NACIONAL,CRT=1 – Simples Nacional e CSOSN=500 (v.2.0) + + + + + + origem da mercadoria: 0 - Nacional +1 - Estrangeira - Importação direta +2 - Estrangeira - Adquirida no mercado interno + + + + + 500 – ICMS cobrado anterirmente por substituição tributária (substituído) ou por antecipação +(v.2.0) + + + + + + + + + + + + Valor da BC do ICMS ST retido anteriormente (v2.0) + + + + + Aliquota suportada pelo consumidor final. + + + + + Valor do ICMS próprio do substituto + + + + + Valor do ICMS ST retido anteriormente (v2.0) + + + + + + + Valor da Base de cálculo do FCP retido anteriormente. + + + + + Percentual de FCP retido anteriormente por substituição tributária. + + + + + Valor do FCP retido por substituição tributária. + + + + + + + Percentual de redução da base de cálculo efetiva. + + + + + Valor da base de cálculo efetiva. + + + + + Alíquota do ICMS efetiva. + + + + + Valor do ICMS efetivo. + + + + + + + + + Tributação do ICMS pelo SIMPLES NACIONAL, CRT=1 – Simples Nacional, CRT=4 - MEI e CSOSN=900 (v2.0) + + + + + + origem da mercadoria: 0 - Nacional +1 - Estrangeira - Importação direta +2 - Estrangeira - Adquirida no mercado interno + + + + + Tributação pelo ICMS 900 - Outros(v2.0) + + + + + + + + + + + + Modalidade de determinação da BC do ICMS: +0 - Margem Valor Agregado (%); +1 - Pauta (valor); +2 - Preço Tabelado Máximo (valor); +3 - Valor da Operação. + + + + + + + + + + + + + + Valor da BC do ICMS + + + + + Percentual de redução da BC + + + + + Alíquota do ICMS + + + + + Valor do ICMS + + + + + + + Modalidade de determinação da BC do ICMS ST: +0 – Preço tabelado ou máximo sugerido; +1 - Lista Negativa (valor); +2 - Lista Positiva (valor); +3 - Lista Neutra (valor); +4 - Margem Valor Agregado (%); +5 - Pauta (valor). +6 - Valor da Operação + + + + + + + + + + + + + + + + + Percentual da Margem de Valor Adicionado ICMS ST + + + + + Percentual de redução da BC ICMS ST + + + + + Valor da BC do ICMS ST + + + + + Alíquota do ICMS ST + + + + + Valor do ICMS ST + + + + + + Valor da Base de cálculo do FCP. + + + + + Percentual de FCP retido por substituição tributária. + + + + + Valor do FCP retido por substituição tributária. + + + + + + + + Alíquota aplicável de cálculo do crédito (Simples Nacional). (v2.0) + + + + + Valor crédito do ICMS que pode ser aproveitado nos termos do art. 23 da LC 123 (Simples Nacional) (v2.0) + + + + + + + + + + + + + Dados do Imposto de Importação + + + + + + Base da BC do Imposto de Importação + + + + + Valor das despesas aduaneiras + + + + + Valor do Imposto de Importação + + + + + Valor do Imposto sobre Operações Financeiras + + + + + + + + + + + ISSQN + + + + + + Valor da BC do ISSQN + + + + + Alíquota do ISSQN + + + + + Valor da do ISSQN + + + + + Informar o município de ocorrência do fato gerador do ISSQN. Utilizar a Tabela do IBGE (Anexo VII - Tabela de UF, Município e País). “Atenção, não vincular com os campos B12, C10 ou E10” v2.0 + + + + + Informar o Item da lista de serviços da LC 116/03 em que se classifica o serviço. + + + + + Valor dedução para redução da base de cálculo + + + + + Valor outras retenções + + + + + Valor desconto incondicionado + + + + + Valor desconto condicionado + + + + + Valor Retenção ISS + + + + + Exibilidade do ISS:1-Exigível;2-Não incidente;3-Isenção;4-Exportação;5-Imunidade;6-Exig.Susp. Judicial;7-Exig.Susp. ADM + + + + + + + + + + + + + + + + + Código do serviço prestado dentro do município + + + + + + + + + + + + Código do Município de Incidência do Imposto + + + + + Código de Pais + + + + + + + + + + + Número do Processo administrativo ou judicial de suspenção do processo + + + + + + + + + + + + Indicador de Incentivo Fiscal. 1=Sim; 2=Não + + + + + + + + + + + + + + + + + Dados do PIS + + + + + + Código de Situação Tributária do PIS. + 01 – Operação Tributável - Base de Cálculo = Valor da Operação Alíquota Normal (Cumulativo/Não Cumulativo); +02 - Operação Tributável - Base de Calculo = Valor da Operação (Alíquota Diferenciada); + + + + + + Código de Situação Tributária do PIS. + 01 – Operação Tributável - Base de Cálculo = Valor da Operação Alíquota Normal (Cumulativo/Não Cumulativo); +02 - Operação Tributável - Base de Calculo = Valor da Operação (Alíquota Diferenciada); + + + + + + + + + + + + Valor da BC do PIS + + + + + Alíquota do PIS (em percentual) + + + + + Valor do PIS + + + + + + + + Código de Situação Tributária do PIS. +03 - Operação Tributável - Base de Calculo = Quantidade Vendida x Alíquota por Unidade de Produto; + + + + + + Código de Situação Tributária do PIS. +03 - Operação Tributável - Base de Calculo = Quantidade Vendida x Alíquota por Unidade de Produto; + + + + + + + + + + + Quantidade Vendida (NT2011/004) + + + + + Alíquota do PIS (em reais) (NT2011/004) + + + + + Valor do PIS + + + + + + + + Código de Situação Tributária do PIS. +04 - Operação Tributável - Tributação Monofásica - (Alíquota Zero); +06 - Operação Tributável - Alíquota Zero; +07 - Operação Isenta da contribuição; +08 - Operação Sem Incidência da contribuição; +09 - Operação com suspensão da contribuição; + + + + + + Código de Situação Tributária do PIS. +04 - Operação Tributável - Tributação Monofásica - (Alíquota Zero); +05 - Operação Tributável (ST); +06 - Operação Tributável - Alíquota Zero; +07 - Operação Isenta da contribuição; +08 - Operação Sem Incidência da contribuição; +09 - Operação com suspensão da contribuição; + + + + + + + + + + + + + + + + + + + Código de Situação Tributária do PIS. +99 - Outras Operações. + + + + + + Código de Situação Tributária do PIS. +99 - Outras Operações. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Valor da BC do PIS + + + + + Alíquota do PIS (em percentual) + + + + + + + Quantidade Vendida (NT2011/004) + + + + + Alíquota do PIS (em reais) (NT2011/004) + + + + + + + Valor do PIS + + + + + + + + + + + Dados do PIS Substituição Tributária + + + + + + + + Valor da BC do PIS ST + + + + + Alíquota do PIS ST (em percentual) + + + + + + + Quantidade Vendida + + + + + Alíquota do PIS ST (em reais) + + + + + + + Valor do PIS ST + + + + + Indica se o valor do PISST compõe o valor total da NF-e + + + + + + + + + + + + + + + Dados do COFINS + + + + + + Código de Situação Tributária do COFINS. + 01 – Operação Tributável - Base de Cálculo = Valor da Operação Alíquota Normal (Cumulativo/Não Cumulativo); +02 - Operação Tributável - Base de Calculo = Valor da Operação (Alíquota Diferenciada); + + + + + + Código de Situação Tributária do COFINS. + 01 – Operação Tributável - Base de Cálculo = Valor da Operação Alíquota Normal (Cumulativo/Não Cumulativo); +02 - Operação Tributável - Base de Calculo = Valor da Operação (Alíquota Diferenciada); + + + + + + + + + + + + Valor da BC do COFINS + + + + + Alíquota do COFINS (em percentual) + + + + + Valor do COFINS + + + + + + + + Código de Situação Tributária do COFINS. +03 - Operação Tributável - Base de Calculo = Quantidade Vendida x Alíquota por Unidade de Produto; + + + + + + Código de Situação Tributária do COFINS. +03 - Operação Tributável - Base de Calculo = Quantidade Vendida x Alíquota por Unidade de Produto; + + + + + + + + + + Quantidade Vendida (NT2011/004) + + + + + Alíquota do COFINS (em reais) (NT2011/004) + + + + + Valor do COFINS + + + + + + + + Código de Situação Tributária do COFINS: +04 - Operação Tributável - Tributação Monofásica - (Alíquota Zero); +06 - Operação Tributável - Alíquota Zero; +07 - Operação Isenta da contribuição; +08 - Operação Sem Incidência da contribuição; +09 - Operação com suspensão da contribuição; + + + + + + Código de Situação Tributária do COFINS: +04 - Operação Tributável - Tributação Monofásica - (Alíquota Zero); +05 - Operação Tributável (ST); +06 - Operação Tributável - Alíquota Zero; +07 - Operação Isenta da contribuição; +08 - Operação Sem Incidência da contribuição; +09 - Operação com suspensão da contribuição; + + + + + + + + + + + + + + + + + + + Código de Situação Tributária do COFINS: +49 - Outras Operações de Saída +50 - Operação com Direito a Crédito - Vinculada Exclusivamente a Receita Tributada no Mercado Interno +51 - Operação com Direito a Crédito – Vinculada Exclusivamente a Receita Não Tributada no Mercado Interno +52 - Operação com Direito a Crédito - Vinculada Exclusivamente a Receita de Exportação +53 - Operação com Direito a Crédito - Vinculada a Receitas Tributadas e Não-Tributadas no Mercado Interno +54 - Operação com Direito a Crédito - Vinculada a Receitas Tributadas no Mercado Interno e de Exportação +55 - Operação com Direito a Crédito - Vinculada a Receitas Não-Tributadas no Mercado Interno e de Exportação +56 - Operação com Direito a Crédito - Vinculada a Receitas Tributadas e Não-Tributadas no Mercado Interno, e de Exportação +60 - Crédito Presumido - Operação de Aquisição Vinculada Exclusivamente a Receita Tributada no Mercado Interno +61 - Crédito Presumido - Operação de Aquisição Vinculada Exclusivamente a Receita Não-Tributada no Mercado Interno +62 - Crédito Presumido - Operação de Aquisição Vinculada Exclusivamente a Receita de Exportação +63 - Crédito Presumido - Operação de Aquisição Vinculada a Receitas Tributadas e Não-Tributadas no Mercado Interno +64 - Crédito Presumido - Operação de Aquisição Vinculada a Receitas Tributadas no Mercado Interno e de Exportação +65 - Crédito Presumido - Operação de Aquisição Vinculada a Receitas Não-Tributadas no Mercado Interno e de Exportação +66 - Crédito Presumido - Operação de Aquisição Vinculada a Receitas Tributadas e Não-Tributadas no Mercado Interno, e de Exportação +67 - Crédito Presumido - Outras Operações +70 - Operação de Aquisição sem Direito a Crédito +71 - Operação de Aquisição com Isenção +72 - Operação de Aquisição com Suspensão +73 - Operação de Aquisição a Alíquota Zero +74 - Operação de Aquisição sem Incidência da Contribuição +75 - Operação de Aquisição por Substituição Tributária +98 - Outras Operações de Entrada +99 - Outras Operações. + + + + + + Código de Situação Tributária do COFINS: +49 - Outras Operações de Saída +50 - Operação com Direito a Crédito - Vinculada Exclusivamente a Receita Tributada no Mercado Interno +51 - Operação com Direito a Crédito – Vinculada Exclusivamente a Receita Não Tributada no Mercado Interno +52 - Operação com Direito a Crédito - Vinculada Exclusivamente a Receita de Exportação +53 - Operação com Direito a Crédito - Vinculada a Receitas Tributadas e Não-Tributadas no Mercado Interno +54 - Operação com Direito a Crédito - Vinculada a Receitas Tributadas no Mercado Interno e de Exportação +55 - Operação com Direito a Crédito - Vinculada a Receitas Não-Tributadas no Mercado Interno e de Exportação +56 - Operação com Direito a Crédito - Vinculada a Receitas Tributadas e Não-Tributadas no Mercado Interno, e de Exportação +60 - Crédito Presumido - Operação de Aquisição Vinculada Exclusivamente a Receita Tributada no Mercado Interno +61 - Crédito Presumido - Operação de Aquisição Vinculada Exclusivamente a Receita Não-Tributada no Mercado Interno +62 - Crédito Presumido - Operação de Aquisição Vinculada Exclusivamente a Receita de Exportação +63 - Crédito Presumido - Operação de Aquisição Vinculada a Receitas Tributadas e Não-Tributadas no Mercado Interno +64 - Crédito Presumido - Operação de Aquisição Vinculada a Receitas Tributadas no Mercado Interno e de Exportação +65 - Crédito Presumido - Operação de Aquisição Vinculada a Receitas Não-Tributadas no Mercado Interno e de Exportação +66 - Crédito Presumido - Operação de Aquisição Vinculada a Receitas Tributadas e Não-Tributadas no Mercado Interno, e de Exportação +67 - Crédito Presumido - Outras Operações +70 - Operação de Aquisição sem Direito a Crédito +71 - Operação de Aquisição com Isenção +72 - Operação de Aquisição com Suspensão +73 - Operação de Aquisição a Alíquota Zero +74 - Operação de Aquisição sem Incidência da Contribuição +75 - Operação de Aquisição por Substituição Tributária +98 - Outras Operações de Entrada +99 - Outras Operações. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Valor da BC do COFINS + + + + + Alíquota do COFINS (em percentual) + + + + + + + Quantidade Vendida (NT2011/004) + + + + + Alíquota do COFINS (em reais) (NT2011/004) + + + + + + + Valor do COFINS + + + + + + + + + + + Dados do COFINS da +Substituição Tributaria; + + + + + + + + Valor da BC do COFINS ST + + + + + Alíquota do COFINS ST(em percentual) + + + + + + + Quantidade Vendida + + + + + Alíquota do COFINS ST(em reais) + + + + + + + Valor do COFINS ST + + + + + Indica se o valor da COFINS ST compõe o valor total da NFe + + + + + + + + + + + + + + + Grupo a ser informado nas vendas interestarduais para consumidor final, não contribuinte de ICMS + + + + + + Valor da Base de Cálculo do ICMS na UF do destinatário. + + + + + Valor da Base de Cálculo do FCP na UF do destinatário. + + + + + Percentual adicional inserido na alíquota interna da UF de destino, relativo ao Fundo de Combate à Pobreza (FCP) naquela UF. + + + + + Alíquota adotada nas operações internas na UF do destinatário para o produto / mercadoria. + + + + + Alíquota interestadual das UF envolvidas: - 4% alíquota interestadual para produtos importados; - 7% para os Estados de origem do Sul e Sudeste (exceto ES), destinado para os Estados do Norte e Nordeste ou ES; - 12% para os demais casos. + + + + + + + + + + + + + Percentual de partilha para a UF do destinatário: - 40% em 2016; - 60% em 2017; - 80% em 2018; - 100% a partir de 2019. + + + + + Valor do ICMS relativo ao Fundo de Combate à Pobreza (FCP) da UF de destino. + + + + + Valor do ICMS de partilha para a UF do destinatário. + + + + + Valor do ICMS de partilha para a UF do remetente. Nota: A partir de 2019, este valor será zero. + + + + + + + + Grupo de informações do Imposto Seletivo + + + + + Grupo de informações dos tributos IBS, CBS e Imposto Seletivo + + + + + + + + + + + Percentual de mercadoria devolvida + + + + + Informação de IPI devolvido + + + + + + Valor do IPI devolvido + + + + + + + + + + + Informações adicionais do produto (norma referenciada, informações complementares, etc) + + + + + + + + + + + Grupo de observações de uso livre (para o item da NF-e) + + + + + + Grupo de observações de uso livre (para o item da NF-e) + + + + + + + + + + + + + + + + + + + + + + + + + Grupo de observações de uso livre (para o item da NF-e) + + + + + + + + + + + + + + + + + + + + + + + + + + + + Valor total do Item, correspondente à sua participação no total da nota. A soma dos itens deverá corresponder ao total da nota. + + + + + Referenciamento de item de outros DFe + + + + + + Chave de Acesso do DFe referenciado + + + + + Número do item do documento referenciado. Corresponde ao atributo nItem do elemento det do documento original. + + + + + + + + + + + + + + + Número do item do NF + + + + + + + + + + + + + Dados dos totais da NF-e + + + + + + Totais referentes ao ICMS + + + + + + BC do ICMS + + + + + Valor Total do ICMS + + + + + Valor Total do ICMS desonerado + + + + + Valor total do ICMS relativo ao Fundo de Combate à Pobreza (FCP) para a UF de destino. + + + + + Valor total do ICMS de partilha para a UF do destinatário + + + + + Valor total do ICMS de partilha para a UF do remetente + + + + + Valor Total do FCP (Fundo de Combate à Pobreza). + + + + + BC do ICMS ST + + + + + Valor Total do ICMS ST + + + + + Valor Total do FCP (Fundo de Combate à Pobreza) retido por substituição tributária. + + + + + 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 + + + + + Valor Total do Frete + + + + + Valor Total do Seguro + + + + + Valor Total do Desconto + + + + + Valor Total do II + + + + + Valor Total do IPI + + + + + Valor Total do IPI devolvido. Deve ser informado quando preenchido o Grupo Tributos Devolvidos na emissão de nota finNFe=4 (devolução) nas operações com não contribuintes do IPI. Corresponde ao total da soma dos campos id: UA04. + + + + + Valor do PIS + + + + + Valor do COFINS + + + + + Outras Despesas acessórias + + + + + Valor Total da NF-e + + + + + Valor estimado total de impostos federais, estaduais e municipais + + + + + + + + Totais referentes ao ISSQN + + + + + + Valor Total dos Serviços sob não-incidência ou não tributados pelo ICMS + + + + + Base de Cálculo do ISS + + + + + Valor Total do ISS + + + + + Valor do PIS sobre serviços + + + + + Valor do COFINS sobre serviços + + + + + Data da prestação do serviço (AAAA-MM-DD) + + + + + Valor dedução para redução da base de cálculo + + + + + Valor outras retenções + + + + + Valor desconto incondicionado + + + + + Valor desconto condicionado + + + + + Valor Total Retenção ISS + + + + + Código do regime especial de tributação + + + + + + + + + + + + + + + + + + + Retenção de Tributos Federais + + + + + + Valor Retido de PIS + + + + + Valor Retido de COFINS + + + + + Valor Retido de CSLL + + + + + Base de Cálculo do IRRF + + + + + Valor Retido de IRRF + + + + + Base de Cálculo da Retenção da Previdêncica Social + + + + + Valor da Retenção da Previdêncica Social + + + + + + + + Valores totais da NF com Imposto Seletivo + + + + + Valores totais da NF com IBS / CBS + + + + + Valor Total da NF considerando os impostos por fora IBS, CBS e IS + + + + + + + + Dados dos transportes da NF-e + + + + + + Modalidade do frete +0- Contratação do Frete por conta do Remetente (CIF); +1- Contratação do Frete por conta do destinatário/remetente (FOB); +2- Contratação do Frete por conta de terceiros; +3- Transporte próprio por conta do remetente; +4- Transporte próprio por conta do destinatário; +9- Sem Ocorrência de transporte. + + + + + + + + + + + + + + + + Dados do transportador + + + + + + + CNPJ do transportador + + + + + CPF do transportador + + + + + + Razão Social ou nome do transportador + + + + + + + + + + + Inscrição Estadual (v2.0) + + + + + Endereço completo + + + + + + + + + + + Nome do munícipio + + + + + + + + + + + Sigla da UF + + + + + + + + Dados da retenção ICMS do Transporte + + + + + + Valor do Serviço + + + + + BC da Retenção do ICMS + + + + + Alíquota da Retenção + + + + + Valor do ICMS Retido + + + + + Código Fiscal de Operações e Prestações + + + + + + + + + + + Código do Município de Ocorrência do Fato Gerador (utilizar a tabela do IBGE) + + + + + + + + + + Dados do veículo + + + + + Dados do reboque/Dolly (v2.0) + + + + + + Identificação do vagão (v2.0) + + + + + + + + + + + Identificação da balsa (v2.0) + + + + + + + + + + + + Dados dos volumes + + + + + + Quantidade de volumes transportados + + + + + + + + + + + Espécie dos volumes transportados + + + + + + + + + + + Marca dos volumes transportados + + + + + + + + + + + Numeração dos volumes transportados + + + + + + + + + + + Peso líquido (em kg) + + + + + Peso bruto (em kg) + + + + + + + + Número dos Lacres + + + + + + + + + + + + + + + + + + + + Dados da cobrança da NF-e + + + + + + Dados da fatura + + + + + + Número da fatura + + + + + + + + + + + Valor original da fatura + + + + + Valor do desconto da fatura + + + + + Valor líquido da fatura + + + + + + + + Dados das duplicatas NT 2011/004 + + + + + + Número da duplicata + + + + + + + + + + + Data de vencimento da duplicata (AAAA-MM-DD) + + + + + Valor da duplicata + + + + + + + + + + + Dados de Pagamento. Obrigatório apenas para (NFC-e) NT 2012/004 + + + + + + Grupo de detalhamento da forma de pagamento. + + + + + + Indicador da Forma de Pagamento:0-Pagamento à Vista;1-Pagamento à Prazo; + + + + + + + + + + + + Forma de Pagamento: + + + + + + + + + + + Descrição do Meio de Pagamento + + + + + + + + + + + Valor do Pagamento. Esta tag poderá ser omitida quando a tag tPag=90 (Sem Pagamento), caso contrário deverá ser preenchida. + + + + + Data do Pagamento + + + + + + CNPJ transacional do pagamento - Preencher informando o CNPJ do estabelecimento onde o pagamento foi processado/transacionado/recebido quando a emissão do documento fiscal ocorrer em estabelecimento distinto + + + + + UF do CNPJ do estabelecimento onde o pagamento foi processado/transacionado/recebido. + + + + + + Grupo de Cartões, PIX, Boletos e outros Pagamentos Eletrônicos + + + + + + Tipo de Integração do processo de pagamento com o sistema de automação da empresa: +1 - Pagamento integrado com o sistema de automação da empresa (Ex.: equipamento TEF, Comércio Eletrônico, POS Integrado); +2 - Pagamento não integrado com o sistema de automação da empresa (Ex.: equipamento POS Simples). + + + + + + + + + + + + CNPJ da instituição de pagamento + + + + + Bandeira da operadora de cartão + + + + + + + + + + + Número de autorização da operação com cartões, PIX, boletos e outros pagamentos eletrônicos + + + + + + + + + + + CNPJ do beneficiário do pagamento + + + + + Identificador do terminal de pagamento + + + + + + + + + + + + + + + + + Valor do Troco. + + + + + + + + Grupo de Informações do Intermediador da Transação + + + + + + CNPJ do Intermediador da Transação (agenciador, plataforma de delivery, marketplace e similar) de serviços e de negócios. + + + + + Identificador cadastrado no intermediador + + + + + + + + + + + + + + Informações adicionais da NF-e + + + + + + Informações adicionais de interesse do Fisco (v2.0) + + + + + + + + + + + Informações complementares de interesse do Contribuinte + + + + + + + + + + + Campo de uso livre do contribuinte +informar o nome do campo no atributo xCampo +e o conteúdo do campo no xTexto + + + + + + + + + + + + + + + + + + + + + + + + + Campo de uso exclusivo do Fisco +informar o nome do campo no atributo xCampo +e o conteúdo do campo no xTexto + + + + + + + + + + + + + + + + + + + + + + + + + Grupo de informações do processo referenciado + + + + + + Indentificador do processo ou ato +concessório + + + + + + + + + + + Origem do processo, informar com: +0 - SEFAZ; +1 - Justiça Federal; +2 - Justiça Estadual; +3 - Secex/RFB; +4 - CONFAZ; +9 - Outros. + + + + + + + + + + + + + + + + Tipo do ato concessório + Para origem do Processo na SEFAZ (indProc=0), informar o +tipo de ato concessório: +08 - Termo de Acordo; +10 - Regime Especial; +12 - Autorização específica; +14 - Ajuste SINIEF; +15 - Convênio ICMS. + + + + + + + + + + + + + + + + + + + + + Informações de exportação + + + + + + Sigla da UF de Embarque ou de transposição de fronteira + + + + + Local de Embarque ou de transposição de fronteira + + + + + + + + + + + Descrição do local de despacho + + + + + + + + + + + + + + Informações de compras (Nota de Empenho, Pedido e Contrato) + + + + + + Informação da Nota de Empenho de compras públicas (NT2011/004) + + + + + + + + + + + Informação do pedido + + + + + + + + + + + Informação do contrato + + + + + + + + + + + + + + Informações de registro aquisições de cana + + + + + + Identificação da safra + + + + + + + + + + + Mês e Ano de Referência, formato: MM/AAAA + + + + + + + + + + + Fornecimentos diários + + + + + + Quantidade em quilogramas - peso líquido + + + + + + Número do dia + + + + + + + + + + + + + + + + + Total do mês + + + + + Total Anterior + + + + + Total Geral + + + + + Deduções - Taxas e Contribuições + + + + + + Descrição da Dedução + + + + + + + + + + + valor da dedução + + + + + + + + Valor dos fornecimentos + + + + + Valor Total das Deduções + + + + + Valor Líquido dos fornecimentos + + + + + + + + Informações do Responsável Técnico pela emissão do DF-e + + + + + Grupo para informações da solicitação da NFF + + + + + + Solicitação do pedido de emissão da NFF + + + + + + + + + + + + + + Produtos Agropecurários Animais, Vegetais e Florestais + + + + + + Defensivo Agrícola / Agrotóxico + + + + + + Número do Receituário ou Receita do Defensivo / Agrotóxico + + + + + + + + + + + CPF do Responsável Técnico pelo receituário + + + + + + + + Guias De Trânsito de produtos agropecurários animais, vegetais e de origem florestal. + + + + + + Tipo da Guia: 1 - GTA; 2 - TTA; 3 - DTA; 4 - ATV; 5 - PTV; 6 - GTV; 7 - Guia Florestal (DOF, SisFlora - PA e MT, SIAM - MG) + + + + + + + + + + + + + + + + + + Série da Guia + + + + + + + + + + + Número da Guia + + + + + + + + + + + + + + + + + Versão do leiaute (v4.00) + + + + + PL_005d - 11/08/09 - validação do Id + + + + + + + + + + + + + + + + Informações suplementares Nota Fiscal + + + + + + Texto com o QR-Code impresso no DANFE NFC-e + + + + + + + + + + + + + + + + + + + + + + Informar a URL da "Consulta por chave de acesso da NFC-e". A mesma URL que deve estar informada no DANFE NFC-e para consulta por chave de acesso. + + + + + + + + + + + + + + + + + Tipo Protocolo de status resultado do processamento da NF-e + + + + + Dados do protocolo de status + + + + + + Identificação do Ambiente: +1 - Produção +2 - Homologação + + + + + Versão do Aplicativo que processou a NF-e + + + + + Chaves de acesso da NF-e, compostas por: UF do emitente, AAMM da emissão da NFe, CNPJ do emitente, modelo, série e número da NF-e e código numérico+DV. + + + + + Data e hora de processamento, no formato AAAA-MM-DDTHH:MM:SSTZD. Deve ser preenchida com data e hora da gravação no Banco em caso de Confirmação. Em caso de Rejeição, com data e hora do recebimento do Lote de NF-e enviado. + + + + + Número do Protocolo de Status da NF-e. 1 posição (1 – Secretaria de Fazenda Estadual 2 – Receita Federal); 2 - códiga da UF - 2 posições ano; 10 seqüencial no ano. + + + + + Digest Value da NF-e processada. Utilizado para conferir a integridade da NF-e original. + + + + + Código do status da mensagem enviada. + + + + + Descrição literal do status do serviço solicitado. + + + + + + Código da Mensagem. + + + + + + + + + + + Mensagem da SEFAZ para o emissor. + + + + + + + + + + + + + + + + + + + + Tipo Pedido de Concessão de Autorização da Nota Fiscal Eletrônica + + + + + + Indicador de processamento síncrono. 0=NÃO; 1=SIM=Síncrono + + + + + + + + + + + + + + + + Tipo Retorno do Pedido de Autorização da Nota Fiscal Eletrônica + + + + + Identificação do Ambiente: +1 - Produção +2 - Homologação + + + + + Versão do Aplicativo que recebeu o Lote. + + + + + Código do status da mensagem enviada. + + + + + Descrição literal do status do serviço solicitado. + + + + + código da UF de atendimento + + + + + Data e hora do recebimento, no formato AAAA-MM-DDTHH:MM:SSTZD + + + + + + Dados do Recibo do Lote + + + + + + Número do Recibo + + + + + Tempo médio de resposta do serviço (em segundos) dos últimos 5 minutos + + + + + + + + Protocolo de status resultado do processamento sincrono da NFC-e + + + + + + + + + Tipo Pedido de Consulta do Recido do Lote de Notas Fiscais Eletrônicas + + + + + Identificação do Ambiente: +1 - Produção +2 - Homologação + + + + + Número do Recibo + + + + + + + + Tipo Retorno do Pedido de Consulta do Recido do Lote de Notas Fiscais Eletrônicas + + + + + Identificação do Ambiente: +1 - Produção +2 - Homologação + + + + + Versão do Aplicativo que processou a NF-e + + + + + Número do Recibo Consultado + + + + + Código do status da mensagem enviada. + + + + + Descrição literal do status do serviço solicitado. + + + + + código da UF de atendimento + + + + + Data e hora de processamento, no formato AAAA-MM-DDTHH:MM:SSTZD. Em caso de Rejeição, com data e hora do recebimento do Lote de NF-e enviado. + + + + + + Código da Mensagem (v2.0) +alterado para tamanho variavel 1-4. (NT2011/004) + + + + + + + + + + + Mensagem da SEFAZ para o emissor. (v2.0) + + + + + + + + + + + + Protocolo de status resultado do processamento da NF-e + + + + + + + + Tipo da NF-e processada + + + + + + + + + + Tipo Dados do Endereço // 24/10/08 - tamanho mínimo + + + + + Logradouro + + + + + + + + + + + Número + + + + + + + + + + + Complemento + + + + + + + + + + + Bairro + + + + + + + + + + + Código do município (utilizar a tabela do IBGE), informar 9999999 para operações com o exterior. + + + + + Nome do município, informar EXTERIOR para operações com o exterior. + + + + + + + + + + + Sigla da UF, informar EX para operações com o exterior. + + + + + CEP + + + + + + + + + + + Código de Pais + + + + + + + + + + + Nome do país + + + + + + + + + + + Telefone, preencher com Código DDD + número do telefone , nas operações com exterior é permtido informar o código do país + código da localidade + número do telefone + + + + + + + + + + + + + Tipo Dados do Endereço do Emitente // 24/10/08 - desmembrado / tamanho mínimo + + + + + Logradouro + + + + + + + + + + + Número + + + + + + + + + + + Complemento + + + + + + + + + + + Bairro + + + + + + + + + + + Código do município + + + + + Nome do município + + + + + + + + + + + Sigla da UF + + + + + CEP - NT 2011/004 + + + + + + + + + + + Código do país + + + + + + + + + + Nome do país + + + + + + + + + + + Preencher com Código DDD + número do telefone (v.2.0) + + + + + + + + + + + + + Tipo Dados do Local de Retirada ou Entrega // 24/10/08 - tamanho mínimo // v2.0 + + + + + + CNPJ + + + + + CPF (v2.0) + + + + + + Razão Social ou Nome do Expedidor/Recebedor + + + + + + + + + + + Logradouro + + + + + + + + + + + Número + + + + + + + + + + + Complemento + + + + + + + + + + + Bairro + + + + + + + + + + + Código do município (utilizar a tabela do IBGE) + + + + + Nome do município + + + + + + + + + + + Sigla da UF + + + + + CEP + + + + + + + + + + + Código de Pais + + + + + + + + + + + Nome do país + + + + + + + + + + + Telefone, preencher com Código DDD + número do telefone , nas operações com exterior é permtido informar o código do país + código da localidade + número do telefone + + + + + + + + + + + Informar o e-mail do expedidor/Recebedor. O campo pode ser utilizado para informar o e-mail de recepção da NF-e indicada pelo expedidor + + + + + + + + + + + + Inscrição Estadual (v2.0) + + + + + + + Grupo de informações do responsável técnico pelo sistema de emissão de DF-e + + + + + CNPJ + + + + + Informar o nome da pessoa a ser contatada na empresa desenvolvedora do sistema utilizado na emissão do documento fiscal eletrônico. + + + + + + + + + + + Informar o e-mail da pessoa a ser contatada na empresa desenvolvedora do sistema. + + + + + + + + + + + + Informar o telefone da pessoa a ser contatada na empresa desenvolvedora do sistema. Preencher com o Código DDD + número do telefone. + + + + + + + + + + + + Identificador do CSRT utilizado para montar o hash do CSRT + + + + + + + + + + + O hashCSRT é o resultado da função hash (SHA-1 – Base64) do CSRT fornecido pelo fisco mais a Chave de Acesso da NFe. + + + + + + + + + + + + + Tipo Dados do Veículo + + + + + Placa do veículo (NT2011/004) + + + + + + + + + + + Sigla da UF + + + + + Registro Nacional de Transportador de Carga (ANTT) + + + + + + + + + + + + + Tipo Origem da mercadoria CST ICMS origem da mercadoria: 0-Nacional exceto as indicadas nos códigos 3, 4, 5 e 8;1-Estrangeira - Importação direta; 2-Estrangeira - Adquirida no mercado interno; 3-Nacional, conteudo superior 40% e inferior ou igual a 70%; 4-Nacional, processos produtivos básicos; 5-Nacional, conteudo inferior 40%; 6-Estrangeira - Importação direta, com similar nacional, lista CAMEX; 7-Estrangeira - mercado interno, sem simular,lista CAMEX;8-Nacional, Conteúdo de Importação superior a 70%. + + + + + + + + + + + + + + + + + Tipo Finalidade da NF-e (1=Normal; 2=Complementar; 3=Ajuste; 4=Devolução/Retorno) + + + + + + + + + + + + + + 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 + + + + + + + + + + + + + + + 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) + + + + + + + + + + Tipo processo de emissão da NF-e + + + + + + + + + + + + Tipo Código da Lista de Serviços LC 116/2003 + + + + + + + + + Tipo Identificação de Lote + + + + + + + + + Tipo Versão da NF-e - 4.00 + + + + + + + + + Identificador único (Globally Unique Identifier) + + + + + + + + + Tipo: Dados do IPI + + + + + CNPJ do produtor da mercadoria, quando diferente do emitente. Somente para os casos de exportação direta ou indireta. + + + + + Código do selo de controle do IPI + + + + + + + + + + + Quantidade de selo de controle do IPI + + + + + + + + + + + Código de Enquadramento Legal do IPI (tabela a ser criada pela RFB) + + + + + + + + + + + + + + + Código da Situação Tributária do IPI: +00-Entrada com recuperação de crédito +49 - Outras entradas +50-Saída tributada +99-Outras saídas + + + + + + + + + + + + + + + + Valor da BC do IPI + + + + + Alíquota do IPI + + + + + + + Quantidade total na unidade padrão para tributação + + + + + Valor por Unidade Tributável. Informar o valor do imposto Pauta por unidade de medida. + + + + + + + Valor do IPI + + + + + + + + + + + Código da Situação Tributária do IPI: +01-Entrada tributada com alíquota zero +02-Entrada isenta +03-Entrada não-tributada +04-Entrada imune +05-Entrada com suspensão +51-Saída tributada com alíquota zero +52-Saída isenta +53-Saída não-tributada +54-Saída imune +55-Saída com suspensão + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemas_rt/nfe_v4.00.xsd b/schemas_rt/nfe_v4.00.xsd new file mode 100644 index 00000000..c934ca2b --- /dev/null +++ b/schemas_rt/nfe_v4.00.xsd @@ -0,0 +1,12 @@ + + + + + + + Nota Fiscal Eletrônica + + + diff --git a/schemas_rt/tiposBasico_v4.00.xsd b/schemas_rt/tiposBasico_v4.00.xsd new file mode 100644 index 00000000..0ddf6ef7 --- /dev/null +++ b/schemas_rt/tiposBasico_v4.00.xsd @@ -0,0 +1,598 @@ + + + + + + Tipo Código da UF da tabela do IBGE + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Tipo Código do Município da tabela do IBGE + + + + + + + + + Tipo Chave da Nota Fiscal Eletrônica + + + + + + + + + + Tipo Número do Protocolo de Status + + + + + + + + + + Tipo Número do Recibo do envio de lote de NF-e + + + + + + + + + + Tipo Código da Mensagem enviada + + + + + + + + + + Tipo Número do CNPJ + + + + + + + + + + Tipo Número do CNPJ tmanho varíavel (3-14) + + + + + + + + + + Tipo Número do CNPJ Opcional + + + + + + + + + + Tipo Número do CPF + + + + + + + + + + Tipo Número do CPF de tamanho variável (3-11) + + + + + + + + + + Tipo Decimal com até 1 dígitos inteiros, podendo ter de 1 até 4 decimais + + + + + + + + + Tipo Decimal com até 2 dígitos inteiros, podendo ter de 1 até 4 decimais + + + + + + + + + Tipo Decimal com até 3 dígitos inteiros, podendo ter de 2 até 4 decimais + + + + + + + + + Tipo Decimal com até 3 dígitos inteiros e 2 até 4 decimais. Utilizados em TAGs opcionais, não aceita valor zero. + + + + + + + + + Tipo Decimal com 3 inteiros (no máximo 100), com 2 decimais + + + + + + + + + Tipo Decimal com 3 inteiros (no máximo 100), com 4 decimais + + + + + + + + + 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 + + + + + + + + + Tipo Decimal com 8 inteiros, podendo ter de 1 até 3 decimais + + + + + + + + + Tipo Decimal com 11 inteiros, podendo ter 4 decimais + + + + + + + + + Tipo Decimal com 11 inteiros, podendo ter de 1 até 4 decimais + + + + + + + + + Tipo Decimal com 11 inteiros, podendo ter 4 decimais (utilizado em tags opcionais) + + + + + + + + + Tipo Decimal com 11 inteiros, podendo ter de 1 até 10 decimais + + + + + + + + + Tipo Decimal com 12 inteiros, podendo ter 3 decimais + + + + + + + + + Tipo Decimal com 12 inteiros e 4 decimais + + + + + + + + + Tipo Decimal com 12 inteiros de 1 até 4 decimais + + + + + + + + + Tipo Decimal com 12 inteiros com 1 até 4 decimais + + + + + + + + + Tipo Decimal com 12 inteiros, 1 a 4 decimais + + + + + + + + + Tipo Decimal com 15 dígitos, sendo 13 de corpo e 2 decimais + + + + + + + + + Tipo Decimal com 15 dígitos, sendo 13 de corpo e 2 decimais, utilizado em tags opcionais + + + + + + + + + Tipo Inscrição Estadual do Destinatário // alterado para aceitar vazio ou ISENTO - maio/2010 v2.0 + + + + + + + + + + Tipo Inscrição Estadual do Destinatário // alterado para aceitar vazio ou ISENTO - maio/2010 v2.0 + + + + + + + + + + Tipo Inscrição Estadual do ST // acrescentado EM 24/10/08 + + + + + + + + + + Tipo Inscrição Estadual do Emitente // alterado EM 24/10/08 para aceitar ISENTO + + + + + + + + + + Tipo Modelo Documento Fiscal + + + + + + + + + + Tipo Número do Documento Fiscal + + + + + + + + + Tipo Série do Documento Fiscal + + + + + + + + + Tipo Sigla da UF + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Tipo Sigla da UF de emissor // acrescentado em 24/10/08 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Tipo Ambiente + + + + + + + + + + Tipo Versão do Aplicativo + + + + + + + + + Tipo Motivo + + + + + + + + + Tipo Justificativa + + + + + + + + + Tipo Serviço solicitado + + + + + + Tipo ano + + + + + + + + + Tipo temp médio em segundos + + + + + + + + + Tipo string genérico + + + + + + + + + Tipo data AAAA-MM-DD + + + + + + + + + Tipo hora HH:MM:SS // tipo acrescentado na v2.0 + + + + + + + + + Data e Hora, formato UTC (AAAA-MM-DDThh:mm:ssTZD, onde TZD = +hh:mm ou -hh:mm) + + + + + + + + + + + + + + + Tipo Código de orgão (UF da tabela do IBGE + 90 RFB) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/schemas_rt/xmldsig-core-schema_v1.01.xsd b/schemas_rt/xmldsig-core-schema_v1.01.xsd new file mode 100644 index 00000000..65daee9a --- /dev/null +++ b/schemas_rt/xmldsig-core-schema_v1.01.xsd @@ -0,0 +1,98 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/java/br/com/swconsultoria/nfe/ConsultaReciboRT.java b/src/main/java/br/com/swconsultoria/nfe/ConsultaReciboRT.java new file mode 100644 index 00000000..df7478ea --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/ConsultaReciboRT.java @@ -0,0 +1,83 @@ +package br.com.swconsultoria.nfe; + +import br.com.swconsultoria.certificado.exception.CertificadoException; +import br.com.swconsultoria.nfe.dom.ConfiguracoesNfe; +import br.com.swconsultoria.nfe.dom.enuns.DocumentoEnum; +import br.com.swconsultoria.nfe.dom.enuns.ServicosEnum; +import br.com.swconsultoria.nfe.exception.NfeException; +import br.com.swconsultoria.nfe.schema_rt.nfe.TConsReciNFe; +import br.com.swconsultoria.nfe.schema_rt.nfe.TRetConsReciNFe; +import br.com.swconsultoria.nfe.util.*; +import br.com.swconsultoria.nfe.wsdl.NFeRetAutorizacao.NFeRetAutorizacao4Stub; +import lombok.extern.java.Log; +import org.apache.axiom.om.OMElement; +import org.apache.axiom.om.util.AXIOMUtil; +import org.apache.axis2.transport.http.HTTPConstants; + +import javax.xml.bind.JAXBException; +import javax.xml.stream.XMLStreamException; +import java.rmi.RemoteException; + +/** + * Classe Responsavel Por pegar o Retorno da NFE, apos o Envio. + * + * @author Samuel Oliveira + */ +@Log +class ConsultaReciboRT { + + private ConsultaReciboRT() { + } + + /** + * Metodo Responsavel Por Pegar o Xml De Retorno. + * + * @param config Configuracoes + * @param recibo Número Do Recibo para Consulta + * @param tipoDocumento Informe {@link DocumentoEnum} + * @return + * @throws NfeException + */ + static TRetConsReciNFe reciboNfe(ConfiguracoesNfe config, String recibo, DocumentoEnum tipoDocumento) throws NfeException { + + try { + + /** + * Informaçoes do Certificado Digital. + */ + + TConsReciNFe consReciNFe = new TConsReciNFe(); + consReciNFe.setVersao(ConstantesUtil.VERSAO.NFE); + consReciNFe.setTpAmb(config.getAmbiente().getCodigo()); + consReciNFe.setNRec(recibo); + + String xml = XmlNfeUtil.objectToXml(consReciNFe, config.getEncode()); + + log.info("[XML-ENVIO]: " + xml); + + OMElement ome = AXIOMUtil.stringToOM(xml); + NFeRetAutorizacao4Stub.NfeDadosMsg dadosMsg = new NFeRetAutorizacao4Stub.NfeDadosMsg(); + dadosMsg.setExtraElement(ome); + + String url = WebServiceUtil.getUrl(config, tipoDocumento, ServicosEnum.CONSULTA_RECIBO); + NFeRetAutorizacao4Stub stub = new NFeRetAutorizacao4Stub(url); + + StubUtil.configuraHttpClient(stub, config, url); + + // Timeout + if (ObjetoUtil.verifica(config.getTimeout()).isPresent()) { + stub._getServiceClient().getOptions().setProperty(HTTPConstants.SO_TIMEOUT, config.getTimeout()); + stub._getServiceClient().getOptions().setProperty(HTTPConstants.CONNECTION_TIMEOUT, + config.getTimeout()); + } + NFeRetAutorizacao4Stub.NfeResultMsg result = stub.nfeRetAutorizacaoLote(dadosMsg); + + log.info("[XML-RETORNO]: " + result.getExtraElement().toString()); + return XmlNfeUtil.xmlToObject(result.getExtraElement().toString(), TRetConsReciNFe.class); + + } catch (RemoteException | XMLStreamException | JAXBException | CertificadoException e) { + throw new NfeException(e.getMessage(), e); + } + + } +} diff --git a/src/main/java/br/com/swconsultoria/nfe/EnviarRT.java b/src/main/java/br/com/swconsultoria/nfe/EnviarRT.java new file mode 100644 index 00000000..d7e12035 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/EnviarRT.java @@ -0,0 +1,151 @@ +package br.com.swconsultoria.nfe; + +import br.com.swconsultoria.certificado.exception.CertificadoException; +import br.com.swconsultoria.nfe.dom.ConfiguracoesNfe; +import br.com.swconsultoria.nfe.dom.enuns.AssinaturaEnum; +import br.com.swconsultoria.nfe.dom.enuns.DocumentoEnum; +import br.com.swconsultoria.nfe.dom.enuns.EstadosEnum; +import br.com.swconsultoria.nfe.dom.enuns.ServicosEnum; +import br.com.swconsultoria.nfe.exception.NfeException; +import br.com.swconsultoria.nfe.schema_rt.nfe.TEnviNFe; +import br.com.swconsultoria.nfe.schema_rt.nfe.TRetEnviNFe; +import br.com.swconsultoria.nfe.util.ObjetoUtil; +import br.com.swconsultoria.nfe.util.StubUtil; +import br.com.swconsultoria.nfe.util.WebServiceUtil; +import br.com.swconsultoria.nfe.util.XmlNfeUtil; +import br.com.swconsultoria.nfe.ws.RetryParameter; +import br.com.swconsultoria.nfe.wsdl.NFeAutorizacao.NFeAutorizacao4Stub; +import lombok.extern.java.Log; +import org.apache.axiom.om.OMAbstractFactory; +import org.apache.axiom.om.OMElement; +import org.apache.axiom.om.OMFactory; +import org.apache.axiom.om.util.AXIOMUtil; +import org.apache.axiom.om.util.StAXParserConfiguration; +import org.apache.axis2.transport.http.HTTPConstants; +import org.xml.sax.InputSource; + +import javax.xml.bind.JAXBException; +import javax.xml.stream.XMLStreamException; +import java.io.StringReader; +import java.rmi.RemoteException; +import java.util.Iterator; + +/** + * Classe Responsavel por Enviar o XML. + * + * @author Samuel Oliveira - samuel@swconsultoria.com.br - www.swconsultoria.com.br + */ +@Log +class EnviarRT { + + private EnviarRT() { + } + + /** + * Metodo para Montar a NFE + * + * @param enviNFe + * @param valida + * @return + * @throws NfeException + */ + static TEnviNFe montaNfe(ConfiguracoesNfe config, TEnviNFe enviNFe, boolean valida) throws NfeException { + + try { + + /** + * Cria o xml + */ + String xml = XmlNfeUtil.objectToXml(enviNFe, config.getEncode()); + + /** + * Assina o Xml + */ + xml = Assinar.assinaNfe(config, xml, AssinaturaEnum.NFE); + + //Retira Quebra de Linha + xml = xml.replaceAll(System.lineSeparator(), ""); + + log.info("[XML-ASSINADO]: " + xml); + + /** + * Valida o Xml caso sejá selecionado True + */ + if (valida) { + new Validar().validaXml(config, xml, ServicosEnum.ENVIO); + } + + return XmlNfeUtil.xmlToObject(xml, TEnviNFe.class); + + } catch (Exception e) { + throw new NfeException(e.getMessage(), e); + } + + } + + /** + * Metodo para Enviar a NFE. + * + * @param enviNFe + * @param tipoDocumento + * @return + * @throws NfeException + */ + static TRetEnviNFe enviaNfe(ConfiguracoesNfe config, TEnviNFe enviNFe, DocumentoEnum tipoDocumento) throws NfeException { + + try { + + String xml = XmlNfeUtil.objectToXml(enviNFe, config.getEncode()); + + OMElement ome; + if (tipoDocumento.equals(DocumentoEnum.NFE)) { + ome = AXIOMUtil.stringToOM(xml); + } else { + OMFactory factory = OMAbstractFactory.getOMFactory(); + ome = factory.getMetaFactory().createOMBuilder(factory, StAXParserConfiguration.NON_COALESCING, new InputSource(new StringReader(xml))).getDocumentElement(); + } + + Iterator children = ome.getChildrenWithLocalName("NFe"); + while (children.hasNext()) { + OMElement omElementNFe = (OMElement) children.next(); + if ((omElementNFe != null) && ("NFe".equals(omElementNFe.getLocalName()))) { + omElementNFe.addAttribute("xmlns", "http://www.portalfiscal.inf.br/nfe", null); + } + } + + log.info("[XML-ENVIO]: " + xml); + + NFeAutorizacao4Stub.NfeDadosMsg dadosMsg = new NFeAutorizacao4Stub.NfeDadosMsg(); + dadosMsg.setExtraElement(ome); + + String url = WebServiceUtil.getUrl(config, tipoDocumento, ServicosEnum.ENVIO); + NFeAutorizacao4Stub stub = new NFeAutorizacao4Stub(url); + + StubUtil.configuraHttpClient(stub, config, url); + + // Timeout + if (ObjetoUtil.verifica(config.getTimeout()).isPresent()) { + stub._getServiceClient().getOptions().setProperty(HTTPConstants.SO_TIMEOUT, config.getTimeout()); + stub._getServiceClient().getOptions().setProperty(HTTPConstants.CONNECTION_TIMEOUT, config.getTimeout()); + } + + //Erro 411 MG + if (tipoDocumento.equals(DocumentoEnum.NFCE) && config.getEstado().equals(EstadosEnum.MG)) { + stub._getServiceClient().getOptions().setProperty(HTTPConstants.CHUNKED, false); + } + + if (ObjetoUtil.verifica(config.getRetry()).isPresent()) { + RetryParameter.populateRetry(stub, config.getRetry()); + } + + NFeAutorizacao4Stub.NfeResultMsg result = stub.nfeAutorizacaoLote(dadosMsg); + log.info("[XML-RETORNO]: " + result.getExtraElement().toString()); + return XmlNfeUtil.xmlToObject(result.getExtraElement().toString(), TRetEnviNFe.class); + + } catch (RemoteException | XMLStreamException | JAXBException | CertificadoException e) { + throw new NfeException(e.getMessage(), e); + } + + } + +} \ No newline at end of file diff --git a/src/main/java/br/com/swconsultoria/nfe/NfeRT.java b/src/main/java/br/com/swconsultoria/nfe/NfeRT.java new file mode 100644 index 00000000..d877cd92 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/NfeRT.java @@ -0,0 +1,64 @@ +package br.com.swconsultoria.nfe; + +import br.com.swconsultoria.nfe.dom.ConfiguracoesNfe; +import br.com.swconsultoria.nfe.dom.enuns.DocumentoEnum; +import br.com.swconsultoria.nfe.exception.NfeException; +import br.com.swconsultoria.nfe.schema_rt.nfe.TEnviNFe; +import br.com.swconsultoria.nfe.schema_rt.nfe.TRetConsReciNFe; +import br.com.swconsultoria.nfe.schema_rt.nfe.TRetEnviNFe; +import br.com.swconsultoria.nfe.util.ConfiguracoesUtil; + +/** + * @author Samuel Oliveira - samuel@swconsultoria.com.br - www.swconsultoria.com.br + */ +public class NfeRT { + + /** + * Construtor privado + */ + private NfeRT() { + } + + /** + * Classe Reponsavel Por Consultar o retorno da NFE na SEFAZ No tipo Informar + * + * @param recibo + * @param tipoDocumento USAR DocumentoEnum.NFE ou DocumentoEnum.NFCE + * @return + * @throws NfeException + */ + public static TRetConsReciNFe consultaRecibo(ConfiguracoesNfe configuracoesNfe, String recibo, DocumentoEnum tipoDocumento) throws NfeException { + return ConsultaReciboRT.reciboNfe(ConfiguracoesUtil.iniciaConfiguracoes(configuracoesNfe), recibo, tipoDocumento); + } + + /** + * Metodo para Montar a NFE + * + * @param enviNFe + * @param valida + * @return + * @throws NfeException + */ + public static TEnviNFe montaNfe(ConfiguracoesNfe configuracoesNfe, TEnviNFe enviNFe, boolean valida) throws NfeException { + + return EnviarRT.montaNfe(ConfiguracoesUtil.iniciaConfiguracoes(configuracoesNfe, enviNFe.getNFe().get(0).getInfNFe().getEmit().getCNPJ()), enviNFe, + valida); + + } + + /** + * Metodo para Enviar a NFE + * + * @param enviNFe + * @param tipoDocumento No tipo Informar DocumentoEnum.NFE ou DocumentoEnum.NFCE + * @return + * @throws NfeException + */ + public static TRetEnviNFe enviarNfe(ConfiguracoesNfe configuracoesNfe, TEnviNFe enviNFe, DocumentoEnum tipoDocumento) throws NfeException { + + return EnviarRT.enviaNfe(ConfiguracoesUtil.iniciaConfiguracoes(configuracoesNfe, enviNFe.getNFe().get(0).getInfNFe().getEmit().getCNPJ()), enviNFe, + tipoDocumento); + + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/dom/ConfiguracoesNfe.java b/src/main/java/br/com/swconsultoria/nfe/dom/ConfiguracoesNfe.java index 79fe7a65..c7219c05 100644 --- a/src/main/java/br/com/swconsultoria/nfe/dom/ConfiguracoesNfe.java +++ b/src/main/java/br/com/swconsultoria/nfe/dom/ConfiguracoesNfe.java @@ -109,8 +109,8 @@ public static ConfiguracoesNfe criarConfiguracoes(EstadosEnum estado, AmbienteEn log.info(String.format("JAVA-NFE | Samuel Oliveira | samuel@swconsultoria.com.br " + "| VERSAO=%s | DATA_VERSAO=%s | PASTA_SCHEMAS=%s | AMBIENTE=%s | ESTADO=%s", - "4.00.37", - "05/04/2025", + "4.00.40", + "06/07/2025", pastaSchemas, ambiente, estado.getNome().toUpperCase())); diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/KeyInfoType.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/KeyInfoType.java new file mode 100644 index 00000000..10df36c6 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/KeyInfoType.java @@ -0,0 +1,91 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + *

Classe Java de KeyInfoType complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="KeyInfoType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="X509Data" type="{http://www.w3.org/2000/09/xmldsig#}X509DataType"/>
+ *       </sequence>
+ *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "KeyInfoType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "x509Data" +}) +public class KeyInfoType { + + @XmlElement(name = "X509Data", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected X509DataType x509Data; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Obtém o valor da propriedade x509Data. + * + * @return + * possible object is + * {@link X509DataType } + * + */ + public X509DataType getX509Data() { + return x509Data; + } + + /** + * Define o valor da propriedade x509Data. + * + * @param value + * allowed object is + * {@link X509DataType } + * + */ + public void setX509Data(X509DataType value) { + this.x509Data = value; + } + + /** + * Obtém o valor da propriedade id. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Define o valor da propriedade id. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/ObjectFactory.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/ObjectFactory.java new file mode 100644 index 00000000..3c84f291 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/ObjectFactory.java @@ -0,0 +1,1487 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the br.com.swconsultoria.nfe.schema_rt.enviNFe package. + *

An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _Signature_QNAME = new QName("http://www.w3.org/2000/09/xmldsig#", "Signature"); + private final static QName _EnviNFe_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "enviNFe"); + private final static QName _TNFeInfNFeDetImpostoICMS_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "ICMS"); + private final static QName _TNFeInfNFeDetImpostoPISST_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "PISST"); + private final static QName _TNFeInfNFeDetImpostoCOFINSST_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "COFINSST"); + private final static QName _TNFeInfNFeDetImpostoIPI_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "IPI"); + private final static QName _TNFeInfNFeDetImpostoICMSUFDest_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "ICMSUFDest"); + private final static QName _TNFeInfNFeDetImpostoVTotTrib_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "vTotTrib"); + private final static QName _TNFeInfNFeDetImpostoII_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "II"); + private final static QName _TNFeInfNFeDetImpostoIBSCBS_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "IBSCBS"); + private final static QName _TNFeInfNFeDetImpostoISSQN_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "ISSQN"); + private final static QName _TNFeInfNFeDetImpostoCOFINS_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "COFINS"); + private final static QName _TNFeInfNFeDetImpostoIS_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "IS"); + private final static QName _TNFeInfNFeDetImpostoPIS_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "PIS"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: br.com.swconsultoria.nfe.schema_rt.enviNFe + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link ReferenceType } + * + */ + public ReferenceType createReferenceType() { + return new ReferenceType(); + } + + /** + * Create an instance of {@link SignedInfoType } + * + */ + public SignedInfoType createSignedInfoType() { + return new SignedInfoType(); + } + + /** + * Create an instance of {@link TNFe } + * + */ + public TNFe createTNFe() { + return new TNFe(); + } + + /** + * Create an instance of {@link TNFe.InfNFe } + * + */ + public TNFe.InfNFe createTNFeInfNFe() { + return new TNFe.InfNFe(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Agropecuario } + * + */ + public TNFe.InfNFe.Agropecuario createTNFeInfNFeAgropecuario() { + return new TNFe.InfNFe.Agropecuario(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Cana } + * + */ + public TNFe.InfNFe.Cana createTNFeInfNFeCana() { + return new TNFe.InfNFe.Cana(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.InfAdic } + * + */ + public TNFe.InfNFe.InfAdic createTNFeInfNFeInfAdic() { + return new TNFe.InfNFe.InfAdic(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Pag } + * + */ + public TNFe.InfNFe.Pag createTNFeInfNFePag() { + return new TNFe.InfNFe.Pag(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Pag.DetPag } + * + */ + public TNFe.InfNFe.Pag.DetPag createTNFeInfNFePagDetPag() { + return new TNFe.InfNFe.Pag.DetPag(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Cobr } + * + */ + public TNFe.InfNFe.Cobr createTNFeInfNFeCobr() { + return new TNFe.InfNFe.Cobr(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Transp } + * + */ + public TNFe.InfNFe.Transp createTNFeInfNFeTransp() { + return new TNFe.InfNFe.Transp(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Transp.Vol } + * + */ + public TNFe.InfNFe.Transp.Vol createTNFeInfNFeTranspVol() { + return new TNFe.InfNFe.Transp.Vol(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Total } + * + */ + public TNFe.InfNFe.Total createTNFeInfNFeTotal() { + return new TNFe.InfNFe.Total(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det } + * + */ + public TNFe.InfNFe.Det createTNFeInfNFeDet() { + return new TNFe.InfNFe.Det(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.ObsItem } + * + */ + public TNFe.InfNFe.Det.ObsItem createTNFeInfNFeDetObsItem() { + return new TNFe.InfNFe.Det.ObsItem(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.ImpostoDevol } + * + */ + public TNFe.InfNFe.Det.ImpostoDevol createTNFeInfNFeDetImpostoDevol() { + return new TNFe.InfNFe.Det.ImpostoDevol(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto } + * + */ + public TNFe.InfNFe.Det.Imposto createTNFeInfNFeDetImposto() { + return new TNFe.InfNFe.Det.Imposto(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.COFINS } + * + */ + public TNFe.InfNFe.Det.Imposto.COFINS createTNFeInfNFeDetImpostoCOFINS() { + return new TNFe.InfNFe.Det.Imposto.COFINS(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.PIS } + * + */ + public TNFe.InfNFe.Det.Imposto.PIS createTNFeInfNFeDetImpostoPIS() { + return new TNFe.InfNFe.Det.Imposto.PIS(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.ICMS } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS createTNFeInfNFeDetImpostoICMS() { + return new TNFe.InfNFe.Det.Imposto.ICMS(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Prod } + * + */ + public TNFe.InfNFe.Det.Prod createTNFeInfNFeDetProd() { + return new TNFe.InfNFe.Det.Prod(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Prod.Comb } + * + */ + public TNFe.InfNFe.Det.Prod.Comb createTNFeInfNFeDetProdComb() { + return new TNFe.InfNFe.Det.Prod.Comb(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Prod.DetExport } + * + */ + public TNFe.InfNFe.Det.Prod.DetExport createTNFeInfNFeDetProdDetExport() { + return new TNFe.InfNFe.Det.Prod.DetExport(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Prod.DI } + * + */ + public TNFe.InfNFe.Det.Prod.DI createTNFeInfNFeDetProdDI() { + return new TNFe.InfNFe.Det.Prod.DI(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Ide } + * + */ + public TNFe.InfNFe.Ide createTNFeInfNFeIde() { + return new TNFe.InfNFe.Ide(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Ide.NFref } + * + */ + public TNFe.InfNFe.Ide.NFref createTNFeInfNFeIdeNFref() { + return new TNFe.InfNFe.Ide.NFref(); + } + + /** + * Create an instance of {@link TIBSCBSMonoTot } + * + */ + public TIBSCBSMonoTot createTIBSCBSMonoTot() { + return new TIBSCBSMonoTot(); + } + + /** + * Create an instance of {@link TIBSCBSMonoTot.GIBS } + * + */ + public TIBSCBSMonoTot.GIBS createTIBSCBSMonoTotGIBS() { + return new TIBSCBSMonoTot.GIBS(); + } + + /** + * Create an instance of {@link TRetEnviNFe } + * + */ + public TRetEnviNFe createTRetEnviNFe() { + return new TRetEnviNFe(); + } + + /** + * Create an instance of {@link TIBSCBSTot } + * + */ + public TIBSCBSTot createTIBSCBSTot() { + return new TIBSCBSTot(); + } + + /** + * Create an instance of {@link TIBSCBSTot.GIBS } + * + */ + public TIBSCBSTot.GIBS createTIBSCBSTotGIBS() { + return new TIBSCBSTot.GIBS(); + } + + /** + * Create an instance of {@link TProtNFe } + * + */ + public TProtNFe createTProtNFe() { + return new TProtNFe(); + } + + /** + * Create an instance of {@link TCIBS } + * + */ + public TCIBS createTCIBS() { + return new TCIBS(); + } + + /** + * Create an instance of {@link TIpi } + * + */ + public TIpi createTIpi() { + return new TIpi(); + } + + /** + * Create an instance of {@link TEnviNFe } + * + */ + public TEnviNFe createTEnviNFe() { + return new TEnviNFe(); + } + + /** + * Create an instance of {@link TCompraGov } + * + */ + public TCompraGov createTCompraGov() { + return new TCompraGov(); + } + + /** + * Create an instance of {@link TTribCompraGov } + * + */ + public TTribCompraGov createTTribCompraGov() { + return new TTribCompraGov(); + } + + /** + * Create an instance of {@link TTribNFCom } + * + */ + public TTribNFCom createTTribNFCom() { + return new TTribNFCom(); + } + + /** + * Create an instance of {@link TEnderEmi } + * + */ + public TEnderEmi createTEnderEmi() { + return new TEnderEmi(); + } + + /** + * Create an instance of {@link TEndereco } + * + */ + public TEndereco createTEndereco() { + return new TEndereco(); + } + + /** + * Create an instance of {@link TTribCTe } + * + */ + public TTribCTe createTTribCTe() { + return new TTribCTe(); + } + + /** + * Create an instance of {@link TCredPresIBSZFM } + * + */ + public TCredPresIBSZFM createTCredPresIBSZFM() { + return new TCredPresIBSZFM(); + } + + /** + * Create an instance of {@link TMonofasia } + * + */ + public TMonofasia createTMonofasia() { + return new TMonofasia(); + } + + /** + * Create an instance of {@link TNfeProc } + * + */ + public TNfeProc createTNfeProc() { + return new TNfeProc(); + } + + /** + * Create an instance of {@link TTransfCred } + * + */ + public TTransfCred createTTransfCred() { + return new TTransfCred(); + } + + /** + * Create an instance of {@link TISTot } + * + */ + public TISTot createTISTot() { + return new TISTot(); + } + + /** + * Create an instance of {@link TIS } + * + */ + public TIS createTIS() { + return new TIS(); + } + + /** + * Create an instance of {@link TTribBPe } + * + */ + public TTribBPe createTTribBPe() { + return new TTribBPe(); + } + + /** + * Create an instance of {@link TConsReciNFe } + * + */ + public TConsReciNFe createTConsReciNFe() { + return new TConsReciNFe(); + } + + /** + * Create an instance of {@link TVeiculo } + * + */ + public TVeiculo createTVeiculo() { + return new TVeiculo(); + } + + /** + * Create an instance of {@link TCompraGovReduzido } + * + */ + public TCompraGovReduzido createTCompraGovReduzido() { + return new TCompraGovReduzido(); + } + + /** + * Create an instance of {@link TTribNFe } + * + */ + public TTribNFe createTTribNFe() { + return new TTribNFe(); + } + + /** + * Create an instance of {@link TDif } + * + */ + public TDif createTDif() { + return new TDif(); + } + + /** + * Create an instance of {@link TRed } + * + */ + public TRed createTRed() { + return new TRed(); + } + + /** + * Create an instance of {@link TTribNF3E } + * + */ + public TTribNF3E createTTribNF3E() { + return new TTribNF3E(); + } + + /** + * Create an instance of {@link TInfRespTec } + * + */ + public TInfRespTec createTInfRespTec() { + return new TInfRespTec(); + } + + /** + * Create an instance of {@link TLocal } + * + */ + public TLocal createTLocal() { + return new TLocal(); + } + + /** + * Create an instance of {@link TDevTrib } + * + */ + public TDevTrib createTDevTrib() { + return new TDevTrib(); + } + + /** + * Create an instance of {@link TTribNFCe } + * + */ + public TTribNFCe createTTribNFCe() { + return new TTribNFCe(); + } + + /** + * Create an instance of {@link TTribRegular } + * + */ + public TTribRegular createTTribRegular() { + return new TTribRegular(); + } + + /** + * Create an instance of {@link TRetConsReciNFe } + * + */ + public TRetConsReciNFe createTRetConsReciNFe() { + return new TRetConsReciNFe(); + } + + /** + * Create an instance of {@link TCredPres } + * + */ + public TCredPres createTCredPres() { + return new TCredPres(); + } + + /** + * Create an instance of {@link SignatureType } + * + */ + public SignatureType createSignatureType() { + return new SignatureType(); + } + + /** + * Create an instance of {@link X509DataType } + * + */ + public X509DataType createX509DataType() { + return new X509DataType(); + } + + /** + * Create an instance of {@link SignatureValueType } + * + */ + public SignatureValueType createSignatureValueType() { + return new SignatureValueType(); + } + + /** + * Create an instance of {@link TransformsType } + * + */ + public TransformsType createTransformsType() { + return new TransformsType(); + } + + /** + * Create an instance of {@link TransformType } + * + */ + public TransformType createTransformType() { + return new TransformType(); + } + + /** + * Create an instance of {@link KeyInfoType } + * + */ + public KeyInfoType createKeyInfoType() { + return new KeyInfoType(); + } + + /** + * Create an instance of {@link ReferenceType.DigestMethod } + * + */ + public ReferenceType.DigestMethod createReferenceTypeDigestMethod() { + return new ReferenceType.DigestMethod(); + } + + /** + * Create an instance of {@link SignedInfoType.CanonicalizationMethod } + * + */ + public SignedInfoType.CanonicalizationMethod createSignedInfoTypeCanonicalizationMethod() { + return new SignedInfoType.CanonicalizationMethod(); + } + + /** + * Create an instance of {@link SignedInfoType.SignatureMethod } + * + */ + public SignedInfoType.SignatureMethod createSignedInfoTypeSignatureMethod() { + return new SignedInfoType.SignatureMethod(); + } + + /** + * Create an instance of {@link TNFe.InfNFeSupl } + * + */ + public TNFe.InfNFeSupl createTNFeInfNFeSupl() { + return new TNFe.InfNFeSupl(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Emit } + * + */ + public TNFe.InfNFe.Emit createTNFeInfNFeEmit() { + return new TNFe.InfNFe.Emit(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Avulsa } + * + */ + public TNFe.InfNFe.Avulsa createTNFeInfNFeAvulsa() { + return new TNFe.InfNFe.Avulsa(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Dest } + * + */ + public TNFe.InfNFe.Dest createTNFeInfNFeDest() { + return new TNFe.InfNFe.Dest(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.AutXML } + * + */ + public TNFe.InfNFe.AutXML createTNFeInfNFeAutXML() { + return new TNFe.InfNFe.AutXML(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.InfIntermed } + * + */ + public TNFe.InfNFe.InfIntermed createTNFeInfNFeInfIntermed() { + return new TNFe.InfNFe.InfIntermed(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Exporta } + * + */ + public TNFe.InfNFe.Exporta createTNFeInfNFeExporta() { + return new TNFe.InfNFe.Exporta(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Compra } + * + */ + public TNFe.InfNFe.Compra createTNFeInfNFeCompra() { + return new TNFe.InfNFe.Compra(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.InfSolicNFF } + * + */ + public TNFe.InfNFe.InfSolicNFF createTNFeInfNFeInfSolicNFF() { + return new TNFe.InfNFe.InfSolicNFF(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Agropecuario.Defensivo } + * + */ + public TNFe.InfNFe.Agropecuario.Defensivo createTNFeInfNFeAgropecuarioDefensivo() { + return new TNFe.InfNFe.Agropecuario.Defensivo(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Agropecuario.GuiaTransito } + * + */ + public TNFe.InfNFe.Agropecuario.GuiaTransito createTNFeInfNFeAgropecuarioGuiaTransito() { + return new TNFe.InfNFe.Agropecuario.GuiaTransito(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Cana.ForDia } + * + */ + public TNFe.InfNFe.Cana.ForDia createTNFeInfNFeCanaForDia() { + return new TNFe.InfNFe.Cana.ForDia(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Cana.Deduc } + * + */ + public TNFe.InfNFe.Cana.Deduc createTNFeInfNFeCanaDeduc() { + return new TNFe.InfNFe.Cana.Deduc(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.InfAdic.ObsCont } + * + */ + public TNFe.InfNFe.InfAdic.ObsCont createTNFeInfNFeInfAdicObsCont() { + return new TNFe.InfNFe.InfAdic.ObsCont(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.InfAdic.ObsFisco } + * + */ + public TNFe.InfNFe.InfAdic.ObsFisco createTNFeInfNFeInfAdicObsFisco() { + return new TNFe.InfNFe.InfAdic.ObsFisco(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.InfAdic.ProcRef } + * + */ + public TNFe.InfNFe.InfAdic.ProcRef createTNFeInfNFeInfAdicProcRef() { + return new TNFe.InfNFe.InfAdic.ProcRef(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Pag.DetPag.Card } + * + */ + public TNFe.InfNFe.Pag.DetPag.Card createTNFeInfNFePagDetPagCard() { + return new TNFe.InfNFe.Pag.DetPag.Card(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Cobr.Fat } + * + */ + public TNFe.InfNFe.Cobr.Fat createTNFeInfNFeCobrFat() { + return new TNFe.InfNFe.Cobr.Fat(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Cobr.Dup } + * + */ + public TNFe.InfNFe.Cobr.Dup createTNFeInfNFeCobrDup() { + return new TNFe.InfNFe.Cobr.Dup(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Transp.Transporta } + * + */ + public TNFe.InfNFe.Transp.Transporta createTNFeInfNFeTranspTransporta() { + return new TNFe.InfNFe.Transp.Transporta(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Transp.RetTransp } + * + */ + public TNFe.InfNFe.Transp.RetTransp createTNFeInfNFeTranspRetTransp() { + return new TNFe.InfNFe.Transp.RetTransp(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Transp.Vol.Lacres } + * + */ + public TNFe.InfNFe.Transp.Vol.Lacres createTNFeInfNFeTranspVolLacres() { + return new TNFe.InfNFe.Transp.Vol.Lacres(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Total.ICMSTot } + * + */ + public TNFe.InfNFe.Total.ICMSTot createTNFeInfNFeTotalICMSTot() { + return new TNFe.InfNFe.Total.ICMSTot(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Total.ISSQNtot } + * + */ + public TNFe.InfNFe.Total.ISSQNtot createTNFeInfNFeTotalISSQNtot() { + return new TNFe.InfNFe.Total.ISSQNtot(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Total.RetTrib } + * + */ + public TNFe.InfNFe.Total.RetTrib createTNFeInfNFeTotalRetTrib() { + return new TNFe.InfNFe.Total.RetTrib(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.DFeReferenciado } + * + */ + public TNFe.InfNFe.Det.DFeReferenciado createTNFeInfNFeDetDFeReferenciado() { + return new TNFe.InfNFe.Det.DFeReferenciado(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.ObsItem.ObsCont } + * + */ + public TNFe.InfNFe.Det.ObsItem.ObsCont createTNFeInfNFeDetObsItemObsCont() { + return new TNFe.InfNFe.Det.ObsItem.ObsCont(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.ObsItem.ObsFisco } + * + */ + public TNFe.InfNFe.Det.ObsItem.ObsFisco createTNFeInfNFeDetObsItemObsFisco() { + return new TNFe.InfNFe.Det.ObsItem.ObsFisco(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.ImpostoDevol.IPI } + * + */ + public TNFe.InfNFe.Det.ImpostoDevol.IPI createTNFeInfNFeDetImpostoDevolIPI() { + return new TNFe.InfNFe.Det.ImpostoDevol.IPI(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.II } + * + */ + public TNFe.InfNFe.Det.Imposto.II createTNFeInfNFeDetImpostoII() { + return new TNFe.InfNFe.Det.Imposto.II(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.ISSQN } + * + */ + public TNFe.InfNFe.Det.Imposto.ISSQN createTNFeInfNFeDetImpostoISSQN() { + return new TNFe.InfNFe.Det.Imposto.ISSQN(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.PISST } + * + */ + public TNFe.InfNFe.Det.Imposto.PISST createTNFeInfNFeDetImpostoPISST() { + return new TNFe.InfNFe.Det.Imposto.PISST(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.COFINSST } + * + */ + public TNFe.InfNFe.Det.Imposto.COFINSST createTNFeInfNFeDetImpostoCOFINSST() { + return new TNFe.InfNFe.Det.Imposto.COFINSST(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.ICMSUFDest } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMSUFDest createTNFeInfNFeDetImpostoICMSUFDest() { + return new TNFe.InfNFe.Det.Imposto.ICMSUFDest(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.COFINS.COFINSAliq } + * + */ + public TNFe.InfNFe.Det.Imposto.COFINS.COFINSAliq createTNFeInfNFeDetImpostoCOFINSCOFINSAliq() { + return new TNFe.InfNFe.Det.Imposto.COFINS.COFINSAliq(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.COFINS.COFINSQtde } + * + */ + public TNFe.InfNFe.Det.Imposto.COFINS.COFINSQtde createTNFeInfNFeDetImpostoCOFINSCOFINSQtde() { + return new TNFe.InfNFe.Det.Imposto.COFINS.COFINSQtde(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.COFINS.COFINSNT } + * + */ + public TNFe.InfNFe.Det.Imposto.COFINS.COFINSNT createTNFeInfNFeDetImpostoCOFINSCOFINSNT() { + return new TNFe.InfNFe.Det.Imposto.COFINS.COFINSNT(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.COFINS.COFINSOutr } + * + */ + public TNFe.InfNFe.Det.Imposto.COFINS.COFINSOutr createTNFeInfNFeDetImpostoCOFINSCOFINSOutr() { + return new TNFe.InfNFe.Det.Imposto.COFINS.COFINSOutr(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.PIS.PISAliq } + * + */ + public TNFe.InfNFe.Det.Imposto.PIS.PISAliq createTNFeInfNFeDetImpostoPISPISAliq() { + return new TNFe.InfNFe.Det.Imposto.PIS.PISAliq(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.PIS.PISQtde } + * + */ + public TNFe.InfNFe.Det.Imposto.PIS.PISQtde createTNFeInfNFeDetImpostoPISPISQtde() { + return new TNFe.InfNFe.Det.Imposto.PIS.PISQtde(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.PIS.PISNT } + * + */ + public TNFe.InfNFe.Det.Imposto.PIS.PISNT createTNFeInfNFeDetImpostoPISPISNT() { + return new TNFe.InfNFe.Det.Imposto.PIS.PISNT(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.PIS.PISOutr } + * + */ + public TNFe.InfNFe.Det.Imposto.PIS.PISOutr createTNFeInfNFeDetImpostoPISPISOutr() { + return new TNFe.InfNFe.Det.Imposto.PIS.PISOutr(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS00 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMS00 createTNFeInfNFeDetImpostoICMSICMS00() { + return new TNFe.InfNFe.Det.Imposto.ICMS.ICMS00(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS02 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMS02 createTNFeInfNFeDetImpostoICMSICMS02() { + return new TNFe.InfNFe.Det.Imposto.ICMS.ICMS02(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS10 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMS10 createTNFeInfNFeDetImpostoICMSICMS10() { + return new TNFe.InfNFe.Det.Imposto.ICMS.ICMS10(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS15 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMS15 createTNFeInfNFeDetImpostoICMSICMS15() { + return new TNFe.InfNFe.Det.Imposto.ICMS.ICMS15(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS20 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMS20 createTNFeInfNFeDetImpostoICMSICMS20() { + return new TNFe.InfNFe.Det.Imposto.ICMS.ICMS20(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS30 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMS30 createTNFeInfNFeDetImpostoICMSICMS30() { + return new TNFe.InfNFe.Det.Imposto.ICMS.ICMS30(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS40 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMS40 createTNFeInfNFeDetImpostoICMSICMS40() { + return new TNFe.InfNFe.Det.Imposto.ICMS.ICMS40(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS51 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMS51 createTNFeInfNFeDetImpostoICMSICMS51() { + return new TNFe.InfNFe.Det.Imposto.ICMS.ICMS51(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS53 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMS53 createTNFeInfNFeDetImpostoICMSICMS53() { + return new TNFe.InfNFe.Det.Imposto.ICMS.ICMS53(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS60 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMS60 createTNFeInfNFeDetImpostoICMSICMS60() { + return new TNFe.InfNFe.Det.Imposto.ICMS.ICMS60(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS61 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMS61 createTNFeInfNFeDetImpostoICMSICMS61() { + return new TNFe.InfNFe.Det.Imposto.ICMS.ICMS61(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS70 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMS70 createTNFeInfNFeDetImpostoICMSICMS70() { + return new TNFe.InfNFe.Det.Imposto.ICMS.ICMS70(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS90 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMS90 createTNFeInfNFeDetImpostoICMSICMS90() { + return new TNFe.InfNFe.Det.Imposto.ICMS.ICMS90(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMSPart } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMSPart createTNFeInfNFeDetImpostoICMSICMSPart() { + return new TNFe.InfNFe.Det.Imposto.ICMS.ICMSPart(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMSST } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMSST createTNFeInfNFeDetImpostoICMSICMSST() { + return new TNFe.InfNFe.Det.Imposto.ICMS.ICMSST(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN101 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN101 createTNFeInfNFeDetImpostoICMSICMSSN101() { + return new TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN101(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN102 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN102 createTNFeInfNFeDetImpostoICMSICMSSN102() { + return new TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN102(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN201 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN201 createTNFeInfNFeDetImpostoICMSICMSSN201() { + return new TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN201(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN202 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN202 createTNFeInfNFeDetImpostoICMSICMSSN202() { + return new TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN202(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN500 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN500 createTNFeInfNFeDetImpostoICMSICMSSN500() { + return new TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN500(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN900 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN900 createTNFeInfNFeDetImpostoICMSICMSSN900() { + return new TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN900(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Prod.GCred } + * + */ + public TNFe.InfNFe.Det.Prod.GCred createTNFeInfNFeDetProdGCred() { + return new TNFe.InfNFe.Det.Prod.GCred(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Prod.Rastro } + * + */ + public TNFe.InfNFe.Det.Prod.Rastro createTNFeInfNFeDetProdRastro() { + return new TNFe.InfNFe.Det.Prod.Rastro(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Prod.InfProdNFF } + * + */ + public TNFe.InfNFe.Det.Prod.InfProdNFF createTNFeInfNFeDetProdInfProdNFF() { + return new TNFe.InfNFe.Det.Prod.InfProdNFF(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Prod.InfProdEmb } + * + */ + public TNFe.InfNFe.Det.Prod.InfProdEmb createTNFeInfNFeDetProdInfProdEmb() { + return new TNFe.InfNFe.Det.Prod.InfProdEmb(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Prod.VeicProd } + * + */ + public TNFe.InfNFe.Det.Prod.VeicProd createTNFeInfNFeDetProdVeicProd() { + return new TNFe.InfNFe.Det.Prod.VeicProd(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Prod.Med } + * + */ + public TNFe.InfNFe.Det.Prod.Med createTNFeInfNFeDetProdMed() { + return new TNFe.InfNFe.Det.Prod.Med(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Prod.Arma } + * + */ + public TNFe.InfNFe.Det.Prod.Arma createTNFeInfNFeDetProdArma() { + return new TNFe.InfNFe.Det.Prod.Arma(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Prod.Comb.CIDE } + * + */ + public TNFe.InfNFe.Det.Prod.Comb.CIDE createTNFeInfNFeDetProdCombCIDE() { + return new TNFe.InfNFe.Det.Prod.Comb.CIDE(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Prod.Comb.Encerrante } + * + */ + public TNFe.InfNFe.Det.Prod.Comb.Encerrante createTNFeInfNFeDetProdCombEncerrante() { + return new TNFe.InfNFe.Det.Prod.Comb.Encerrante(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Prod.Comb.OrigComb } + * + */ + public TNFe.InfNFe.Det.Prod.Comb.OrigComb createTNFeInfNFeDetProdCombOrigComb() { + return new TNFe.InfNFe.Det.Prod.Comb.OrigComb(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Prod.DetExport.ExportInd } + * + */ + public TNFe.InfNFe.Det.Prod.DetExport.ExportInd createTNFeInfNFeDetProdDetExportExportInd() { + return new TNFe.InfNFe.Det.Prod.DetExport.ExportInd(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Det.Prod.DI.Adi } + * + */ + public TNFe.InfNFe.Det.Prod.DI.Adi createTNFeInfNFeDetProdDIAdi() { + return new TNFe.InfNFe.Det.Prod.DI.Adi(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Ide.GPagAntecipado } + * + */ + public TNFe.InfNFe.Ide.GPagAntecipado createTNFeInfNFeIdeGPagAntecipado() { + return new TNFe.InfNFe.Ide.GPagAntecipado(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Ide.NFref.RefNF } + * + */ + public TNFe.InfNFe.Ide.NFref.RefNF createTNFeInfNFeIdeNFrefRefNF() { + return new TNFe.InfNFe.Ide.NFref.RefNF(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Ide.NFref.RefNFP } + * + */ + public TNFe.InfNFe.Ide.NFref.RefNFP createTNFeInfNFeIdeNFrefRefNFP() { + return new TNFe.InfNFe.Ide.NFref.RefNFP(); + } + + /** + * Create an instance of {@link TNFe.InfNFe.Ide.NFref.RefECF } + * + */ + public TNFe.InfNFe.Ide.NFref.RefECF createTNFeInfNFeIdeNFrefRefECF() { + return new TNFe.InfNFe.Ide.NFref.RefECF(); + } + + /** + * Create an instance of {@link TIBSCBSMonoTot.GCBS } + * + */ + public TIBSCBSMonoTot.GCBS createTIBSCBSMonoTotGCBS() { + return new TIBSCBSMonoTot.GCBS(); + } + + /** + * Create an instance of {@link TIBSCBSMonoTot.GMono } + * + */ + public TIBSCBSMonoTot.GMono createTIBSCBSMonoTotGMono() { + return new TIBSCBSMonoTot.GMono(); + } + + /** + * Create an instance of {@link TIBSCBSMonoTot.GIBS.GIBSUF } + * + */ + public TIBSCBSMonoTot.GIBS.GIBSUF createTIBSCBSMonoTotGIBSGIBSUF() { + return new TIBSCBSMonoTot.GIBS.GIBSUF(); + } + + /** + * Create an instance of {@link TIBSCBSMonoTot.GIBS.GIBSMun } + * + */ + public TIBSCBSMonoTot.GIBS.GIBSMun createTIBSCBSMonoTotGIBSGIBSMun() { + return new TIBSCBSMonoTot.GIBS.GIBSMun(); + } + + /** + * Create an instance of {@link TRetEnviNFe.InfRec } + * + */ + public TRetEnviNFe.InfRec createTRetEnviNFeInfRec() { + return new TRetEnviNFe.InfRec(); + } + + /** + * Create an instance of {@link TIBSCBSTot.GCBS } + * + */ + public TIBSCBSTot.GCBS createTIBSCBSTotGCBS() { + return new TIBSCBSTot.GCBS(); + } + + /** + * Create an instance of {@link TIBSCBSTot.GIBS.GIBSUF } + * + */ + public TIBSCBSTot.GIBS.GIBSUF createTIBSCBSTotGIBSGIBSUF() { + return new TIBSCBSTot.GIBS.GIBSUF(); + } + + /** + * Create an instance of {@link TIBSCBSTot.GIBS.GIBSMun } + * + */ + public TIBSCBSTot.GIBS.GIBSMun createTIBSCBSTotGIBSGIBSMun() { + return new TIBSCBSTot.GIBS.GIBSMun(); + } + + /** + * Create an instance of {@link TProtNFe.InfProt } + * + */ + public TProtNFe.InfProt createTProtNFeInfProt() { + return new TProtNFe.InfProt(); + } + + /** + * Create an instance of {@link TCIBS.GIBSUF } + * + */ + public TCIBS.GIBSUF createTCIBSGIBSUF() { + return new TCIBS.GIBSUF(); + } + + /** + * Create an instance of {@link TCIBS.GIBSMun } + * + */ + public TCIBS.GIBSMun createTCIBSGIBSMun() { + return new TCIBS.GIBSMun(); + } + + /** + * Create an instance of {@link TCIBS.GCBS } + * + */ + public TCIBS.GCBS createTCIBSGCBS() { + return new TCIBS.GCBS(); + } + + /** + * Create an instance of {@link TIpi.IPITrib } + * + */ + public TIpi.IPITrib createTIpiIPITrib() { + return new TIpi.IPITrib(); + } + + /** + * Create an instance of {@link TIpi.IPINT } + * + */ + public TIpi.IPINT createTIpiIPINT() { + return new TIpi.IPINT(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link SignatureType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.w3.org/2000/09/xmldsig#", name = "Signature") + public JAXBElement createSignature(SignatureType value) { + return new JAXBElement(_Signature_QNAME, SignatureType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TEnviNFe }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "enviNFe") + public JAXBElement createEnviNFe(TEnviNFe value) { + return new JAXBElement(_EnviNFe_QNAME, TEnviNFe.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TNFe.InfNFe.Det.Imposto.ICMS }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "ICMS", scope = TNFe.InfNFe.Det.Imposto.class) + public JAXBElement createTNFeInfNFeDetImpostoICMS(TNFe.InfNFe.Det.Imposto.ICMS value) { + return new JAXBElement(_TNFeInfNFeDetImpostoICMS_QNAME, TNFe.InfNFe.Det.Imposto.ICMS.class, TNFe.InfNFe.Det.Imposto.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TNFe.InfNFe.Det.Imposto.PISST }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "PISST", scope = TNFe.InfNFe.Det.Imposto.class) + public JAXBElement createTNFeInfNFeDetImpostoPISST(TNFe.InfNFe.Det.Imposto.PISST value) { + return new JAXBElement(_TNFeInfNFeDetImpostoPISST_QNAME, TNFe.InfNFe.Det.Imposto.PISST.class, TNFe.InfNFe.Det.Imposto.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TNFe.InfNFe.Det.Imposto.COFINSST }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "COFINSST", scope = TNFe.InfNFe.Det.Imposto.class) + public JAXBElement createTNFeInfNFeDetImpostoCOFINSST(TNFe.InfNFe.Det.Imposto.COFINSST value) { + return new JAXBElement(_TNFeInfNFeDetImpostoCOFINSST_QNAME, TNFe.InfNFe.Det.Imposto.COFINSST.class, TNFe.InfNFe.Det.Imposto.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TIpi }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "IPI", scope = TNFe.InfNFe.Det.Imposto.class) + public JAXBElement createTNFeInfNFeDetImpostoIPI(TIpi value) { + return new JAXBElement(_TNFeInfNFeDetImpostoIPI_QNAME, TIpi.class, TNFe.InfNFe.Det.Imposto.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TNFe.InfNFe.Det.Imposto.ICMSUFDest }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "ICMSUFDest", scope = TNFe.InfNFe.Det.Imposto.class) + public JAXBElement createTNFeInfNFeDetImpostoICMSUFDest(TNFe.InfNFe.Det.Imposto.ICMSUFDest value) { + return new JAXBElement(_TNFeInfNFeDetImpostoICMSUFDest_QNAME, TNFe.InfNFe.Det.Imposto.ICMSUFDest.class, TNFe.InfNFe.Det.Imposto.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "vTotTrib", scope = TNFe.InfNFe.Det.Imposto.class) + public JAXBElement createTNFeInfNFeDetImpostoVTotTrib(String value) { + return new JAXBElement(_TNFeInfNFeDetImpostoVTotTrib_QNAME, String.class, TNFe.InfNFe.Det.Imposto.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TNFe.InfNFe.Det.Imposto.II }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "II", scope = TNFe.InfNFe.Det.Imposto.class) + public JAXBElement createTNFeInfNFeDetImpostoII(TNFe.InfNFe.Det.Imposto.II value) { + return new JAXBElement(_TNFeInfNFeDetImpostoII_QNAME, TNFe.InfNFe.Det.Imposto.II.class, TNFe.InfNFe.Det.Imposto.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TTribNFe }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "IBSCBS", scope = TNFe.InfNFe.Det.Imposto.class) + public JAXBElement createTNFeInfNFeDetImpostoIBSCBS(TTribNFe value) { + return new JAXBElement(_TNFeInfNFeDetImpostoIBSCBS_QNAME, TTribNFe.class, TNFe.InfNFe.Det.Imposto.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TNFe.InfNFe.Det.Imposto.ISSQN }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "ISSQN", scope = TNFe.InfNFe.Det.Imposto.class) + public JAXBElement createTNFeInfNFeDetImpostoISSQN(TNFe.InfNFe.Det.Imposto.ISSQN value) { + return new JAXBElement(_TNFeInfNFeDetImpostoISSQN_QNAME, TNFe.InfNFe.Det.Imposto.ISSQN.class, TNFe.InfNFe.Det.Imposto.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TNFe.InfNFe.Det.Imposto.COFINS }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "COFINS", scope = TNFe.InfNFe.Det.Imposto.class) + public JAXBElement createTNFeInfNFeDetImpostoCOFINS(TNFe.InfNFe.Det.Imposto.COFINS value) { + return new JAXBElement(_TNFeInfNFeDetImpostoCOFINS_QNAME, TNFe.InfNFe.Det.Imposto.COFINS.class, TNFe.InfNFe.Det.Imposto.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TIS }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "IS", scope = TNFe.InfNFe.Det.Imposto.class) + public JAXBElement createTNFeInfNFeDetImpostoIS(TIS value) { + return new JAXBElement(_TNFeInfNFeDetImpostoIS_QNAME, TIS.class, TNFe.InfNFe.Det.Imposto.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TNFe.InfNFe.Det.Imposto.PIS }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "PIS", scope = TNFe.InfNFe.Det.Imposto.class) + public JAXBElement createTNFeInfNFeDetImpostoPIS(TNFe.InfNFe.Det.Imposto.PIS value) { + return new JAXBElement(_TNFeInfNFeDetImpostoPIS_QNAME, TNFe.InfNFe.Det.Imposto.PIS.class, TNFe.InfNFe.Det.Imposto.class, value); + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/ReferenceType.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/ReferenceType.java new file mode 100644 index 00000000..fc223ac4 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/ReferenceType.java @@ -0,0 +1,270 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + *

Classe Java de ReferenceType complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="ReferenceType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="Transforms" type="{http://www.w3.org/2000/09/xmldsig#}TransformsType"/>
+ *         <element name="DigestMethod">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/2000/09/xmldsig#sha1" />
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="DigestValue" type="{http://www.w3.org/2000/09/xmldsig#}DigestValueType"/>
+ *       </sequence>
+ *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *       <attribute name="URI" use="required">
+ *         <simpleType>
+ *           <restriction base="{http://www.w3.org/2001/XMLSchema}anyURI">
+ *             <minLength value="2"/>
+ *           </restriction>
+ *         </simpleType>
+ *       </attribute>
+ *       <attribute name="Type" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "ReferenceType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "transforms", + "digestMethod", + "digestValue" +}) +public class ReferenceType { + + @XmlElement(name = "Transforms", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected TransformsType transforms; + @XmlElement(name = "DigestMethod", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected ReferenceType.DigestMethod digestMethod; + @XmlElement(name = "DigestValue", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected byte[] digestValue; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + @XmlAttribute(name = "URI", required = true) + protected String uri; + @XmlAttribute(name = "Type") + @XmlSchemaType(name = "anyURI") + protected String type; + + /** + * Obtém o valor da propriedade transforms. + * + * @return + * possible object is + * {@link TransformsType } + * + */ + public TransformsType getTransforms() { + return transforms; + } + + /** + * Define o valor da propriedade transforms. + * + * @param value + * allowed object is + * {@link TransformsType } + * + */ + public void setTransforms(TransformsType value) { + this.transforms = value; + } + + /** + * Obtém o valor da propriedade digestMethod. + * + * @return + * possible object is + * {@link ReferenceType.DigestMethod } + * + */ + public ReferenceType.DigestMethod getDigestMethod() { + return digestMethod; + } + + /** + * Define o valor da propriedade digestMethod. + * + * @param value + * allowed object is + * {@link ReferenceType.DigestMethod } + * + */ + public void setDigestMethod(ReferenceType.DigestMethod value) { + this.digestMethod = value; + } + + /** + * Obtém o valor da propriedade digestValue. + * + * @return + * possible object is + * byte[] + */ + public byte[] getDigestValue() { + return digestValue; + } + + /** + * Define o valor da propriedade digestValue. + * + * @param value + * allowed object is + * byte[] + */ + public void setDigestValue(byte[] value) { + this.digestValue = value; + } + + /** + * Obtém o valor da propriedade id. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Define o valor da propriedade id. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + /** + * Obtém o valor da propriedade uri. + * + * @return + * possible object is + * {@link String } + * + */ + public String getURI() { + return uri; + } + + /** + * Define o valor da propriedade uri. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setURI(String value) { + this.uri = value; + } + + /** + * Obtém o valor da propriedade type. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Define o valor da propriedade type. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + + + /** + *

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">
+     *       <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/2000/09/xmldsig#sha1" />
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class DigestMethod { + + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Obtém o valor da propriedade algorithm. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + if (algorithm == null) { + return "http://www.w3.org/2000/09/xmldsig#sha1"; + } else { + return algorithm; + } + } + + /** + * Define o valor da propriedade algorithm. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/SignatureType.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/SignatureType.java new file mode 100644 index 00000000..ca070291 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/SignatureType.java @@ -0,0 +1,147 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + *

Classe Java de SignatureType complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="SignatureType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="SignedInfo" type="{http://www.w3.org/2000/09/xmldsig#}SignedInfoType"/>
+ *         <element name="SignatureValue" type="{http://www.w3.org/2000/09/xmldsig#}SignatureValueType"/>
+ *         <element name="KeyInfo" type="{http://www.w3.org/2000/09/xmldsig#}KeyInfoType"/>
+ *       </sequence>
+ *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignatureType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "signedInfo", + "signatureValue", + "keyInfo" +}) +public class SignatureType { + + @XmlElement(name = "SignedInfo", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected SignedInfoType signedInfo; + @XmlElement(name = "SignatureValue", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected SignatureValueType signatureValue; + @XmlElement(name = "KeyInfo", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected KeyInfoType keyInfo; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Obtém o valor da propriedade signedInfo. + * + * @return + * possible object is + * {@link SignedInfoType } + * + */ + public SignedInfoType getSignedInfo() { + return signedInfo; + } + + /** + * Define o valor da propriedade signedInfo. + * + * @param value + * allowed object is + * {@link SignedInfoType } + * + */ + public void setSignedInfo(SignedInfoType value) { + this.signedInfo = value; + } + + /** + * Obtém o valor da propriedade signatureValue. + * + * @return + * possible object is + * {@link SignatureValueType } + * + */ + public SignatureValueType getSignatureValue() { + return signatureValue; + } + + /** + * Define o valor da propriedade signatureValue. + * + * @param value + * allowed object is + * {@link SignatureValueType } + * + */ + public void setSignatureValue(SignatureValueType value) { + this.signatureValue = value; + } + + /** + * Obtém o valor da propriedade keyInfo. + * + * @return + * possible object is + * {@link KeyInfoType } + * + */ + public KeyInfoType getKeyInfo() { + return keyInfo; + } + + /** + * Define o valor da propriedade keyInfo. + * + * @param value + * allowed object is + * {@link KeyInfoType } + * + */ + public void setKeyInfo(KeyInfoType value) { + this.keyInfo = value; + } + + /** + * Obtém o valor da propriedade id. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Define o valor da propriedade id. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/SignatureValueType.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/SignatureValueType.java new file mode 100644 index 00000000..a915e070 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/SignatureValueType.java @@ -0,0 +1,86 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + *

Classe Java de SignatureValueType complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="SignatureValueType">
+ *   <simpleContent>
+ *     <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary">
+ *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *     </extension>
+ *   </simpleContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignatureValueType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "value" +}) +public class SignatureValueType { + + @XmlValue + protected byte[] value; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Obtém o valor da propriedade value. + * + * @return + * possible object is + * byte[] + */ + public byte[] getValue() { + return value; + } + + /** + * Define o valor da propriedade value. + * + * @param value + * allowed object is + * byte[] + */ + public void setValue(byte[] value) { + this.value = value; + } + + /** + * Obtém o valor da propriedade id. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Define o valor da propriedade id. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/SignedInfoType.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/SignedInfoType.java new file mode 100644 index 00000000..0a92e972 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/SignedInfoType.java @@ -0,0 +1,275 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + *

Classe Java de SignedInfoType complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="SignedInfoType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="CanonicalizationMethod">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="SignatureMethod">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="Reference" type="{http://www.w3.org/2000/09/xmldsig#}ReferenceType"/>
+ *       </sequence>
+ *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "SignedInfoType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "canonicalizationMethod", + "signatureMethod", + "reference" +}) +public class SignedInfoType { + + @XmlElement(name = "CanonicalizationMethod", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected SignedInfoType.CanonicalizationMethod canonicalizationMethod; + @XmlElement(name = "SignatureMethod", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected SignedInfoType.SignatureMethod signatureMethod; + @XmlElement(name = "Reference", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected ReferenceType reference; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Obtém o valor da propriedade canonicalizationMethod. + * + * @return + * possible object is + * {@link SignedInfoType.CanonicalizationMethod } + * + */ + public SignedInfoType.CanonicalizationMethod getCanonicalizationMethod() { + return canonicalizationMethod; + } + + /** + * Define o valor da propriedade canonicalizationMethod. + * + * @param value + * allowed object is + * {@link SignedInfoType.CanonicalizationMethod } + * + */ + public void setCanonicalizationMethod(SignedInfoType.CanonicalizationMethod value) { + this.canonicalizationMethod = value; + } + + /** + * Obtém o valor da propriedade signatureMethod. + * + * @return + * possible object is + * {@link SignedInfoType.SignatureMethod } + * + */ + public SignedInfoType.SignatureMethod getSignatureMethod() { + return signatureMethod; + } + + /** + * Define o valor da propriedade signatureMethod. + * + * @param value + * allowed object is + * {@link SignedInfoType.SignatureMethod } + * + */ + public void setSignatureMethod(SignedInfoType.SignatureMethod value) { + this.signatureMethod = value; + } + + /** + * Obtém o valor da propriedade reference. + * + * @return + * possible object is + * {@link ReferenceType } + * + */ + public ReferenceType getReference() { + return reference; + } + + /** + * Define o valor da propriedade reference. + * + * @param value + * allowed object is + * {@link ReferenceType } + * + */ + public void setReference(ReferenceType value) { + this.reference = value; + } + + /** + * Obtém o valor da propriedade id. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Define o valor da propriedade id. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + + /** + *

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">
+     *       <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class CanonicalizationMethod { + + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Obtém o valor da propriedade algorithm. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + if (algorithm == null) { + return "http://www.w3.org/TR/2001/REC-xml-c14n-20010315"; + } else { + return algorithm; + } + } + + /** + * Define o valor da propriedade algorithm. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + + } + + + /** + *

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">
+     *       <attribute name="Algorithm" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" fixed="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "") + public static class SignatureMethod { + + @XmlAttribute(name = "Algorithm", required = true) + @XmlSchemaType(name = "anyURI") + protected String algorithm; + + /** + * Obtém o valor da propriedade algorithm. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + if (algorithm == null) { + return "http://www.w3.org/2000/09/xmldsig#rsa-sha1"; + } else { + return algorithm; + } + } + + /** + * Define o valor da propriedade algorithm. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TCIBS.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TCIBS.java new file mode 100644 index 00000000..2d539342 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TCIBS.java @@ -0,0 +1,803 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Tipo CBS IBS Completo + * + *

Classe Java de TCIBS complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TCIBS">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *         <element name="gIBSUF">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="pIBSUF" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04"/>
+ *                   <element name="gDif" type="{http://www.portalfiscal.inf.br/nfe}TDif" minOccurs="0"/>
+ *                   <element name="gDevTrib" type="{http://www.portalfiscal.inf.br/nfe}TDevTrib" minOccurs="0"/>
+ *                   <element name="gRed" type="{http://www.portalfiscal.inf.br/nfe}TRed" minOccurs="0"/>
+ *                   <element name="vIBSUF" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="gIBSMun">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="pIBSMun" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04"/>
+ *                   <element name="gDif" type="{http://www.portalfiscal.inf.br/nfe}TDif" minOccurs="0"/>
+ *                   <element name="gDevTrib" type="{http://www.portalfiscal.inf.br/nfe}TDevTrib" minOccurs="0"/>
+ *                   <element name="gRed" type="{http://www.portalfiscal.inf.br/nfe}TRed" minOccurs="0"/>
+ *                   <element name="vIBSMun" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="gCBS">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="pCBS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04"/>
+ *                   <element name="gDif" type="{http://www.portalfiscal.inf.br/nfe}TDif" minOccurs="0"/>
+ *                   <element name="gDevTrib" type="{http://www.portalfiscal.inf.br/nfe}TDevTrib" minOccurs="0"/>
+ *                   <element name="gRed" type="{http://www.portalfiscal.inf.br/nfe}TRed" minOccurs="0"/>
+ *                   <element name="vCBS" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="gTribRegular" type="{http://www.portalfiscal.inf.br/nfe}TTribRegular" minOccurs="0"/>
+ *         <element name="gIBSCredPres" type="{http://www.portalfiscal.inf.br/nfe}TCredPres" minOccurs="0"/>
+ *         <element name="gCBSCredPres" type="{http://www.portalfiscal.inf.br/nfe}TCredPres" minOccurs="0"/>
+ *         <element name="gTribCompraGov" type="{http://www.portalfiscal.inf.br/nfe}TTribCompraGov" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TCIBS", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "vbc", + "gibsuf", + "gibsMun", + "gcbs", + "gTribRegular", + "gibsCredPres", + "gcbsCredPres", + "gTribCompraGov" +}) +public class TCIBS { + + @XmlElement(name = "vBC", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vbc; + @XmlElement(name = "gIBSUF", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected TCIBS.GIBSUF gibsuf; + @XmlElement(name = "gIBSMun", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected TCIBS.GIBSMun gibsMun; + @XmlElement(name = "gCBS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected TCIBS.GCBS gcbs; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TTribRegular gTribRegular; + @XmlElement(name = "gIBSCredPres", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TCredPres gibsCredPres; + @XmlElement(name = "gCBSCredPres", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TCredPres gcbsCredPres; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TTribCompraGov gTribCompraGov; + + /** + * Obtém o valor da propriedade vbc. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Define o valor da propriedade vbc. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Obtém o valor da propriedade gibsuf. + * + * @return + * possible object is + * {@link TCIBS.GIBSUF } + * + */ + public TCIBS.GIBSUF getGIBSUF() { + return gibsuf; + } + + /** + * Define o valor da propriedade gibsuf. + * + * @param value + * allowed object is + * {@link TCIBS.GIBSUF } + * + */ + public void setGIBSUF(TCIBS.GIBSUF value) { + this.gibsuf = value; + } + + /** + * Obtém o valor da propriedade gibsMun. + * + * @return + * possible object is + * {@link TCIBS.GIBSMun } + * + */ + public TCIBS.GIBSMun getGIBSMun() { + return gibsMun; + } + + /** + * Define o valor da propriedade gibsMun. + * + * @param value + * allowed object is + * {@link TCIBS.GIBSMun } + * + */ + public void setGIBSMun(TCIBS.GIBSMun value) { + this.gibsMun = value; + } + + /** + * Obtém o valor da propriedade gcbs. + * + * @return + * possible object is + * {@link TCIBS.GCBS } + * + */ + public TCIBS.GCBS getGCBS() { + return gcbs; + } + + /** + * Define o valor da propriedade gcbs. + * + * @param value + * allowed object is + * {@link TCIBS.GCBS } + * + */ + public void setGCBS(TCIBS.GCBS value) { + this.gcbs = value; + } + + /** + * Obtém o valor da propriedade gTribRegular. + * + * @return + * possible object is + * {@link TTribRegular } + * + */ + public TTribRegular getGTribRegular() { + return gTribRegular; + } + + /** + * Define o valor da propriedade gTribRegular. + * + * @param value + * allowed object is + * {@link TTribRegular } + * + */ + public void setGTribRegular(TTribRegular value) { + this.gTribRegular = value; + } + + /** + * Obtém o valor da propriedade gibsCredPres. + * + * @return + * possible object is + * {@link TCredPres } + * + */ + public TCredPres getGIBSCredPres() { + return gibsCredPres; + } + + /** + * Define o valor da propriedade gibsCredPres. + * + * @param value + * allowed object is + * {@link TCredPres } + * + */ + public void setGIBSCredPres(TCredPres value) { + this.gibsCredPres = value; + } + + /** + * Obtém o valor da propriedade gcbsCredPres. + * + * @return + * possible object is + * {@link TCredPres } + * + */ + public TCredPres getGCBSCredPres() { + return gcbsCredPres; + } + + /** + * Define o valor da propriedade gcbsCredPres. + * + * @param value + * allowed object is + * {@link TCredPres } + * + */ + public void setGCBSCredPres(TCredPres value) { + this.gcbsCredPres = value; + } + + /** + * Obtém o valor da propriedade gTribCompraGov. + * + * @return + * possible object is + * {@link TTribCompraGov } + * + */ + public TTribCompraGov getGTribCompraGov() { + return gTribCompraGov; + } + + /** + * Define o valor da propriedade gTribCompraGov. + * + * @param value + * allowed object is + * {@link TTribCompraGov } + * + */ + public void setGTribCompraGov(TTribCompraGov value) { + this.gTribCompraGov = value; + } + + + /** + *

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="pCBS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04"/>
+     *         <element name="gDif" type="{http://www.portalfiscal.inf.br/nfe}TDif" minOccurs="0"/>
+     *         <element name="gDevTrib" type="{http://www.portalfiscal.inf.br/nfe}TDevTrib" minOccurs="0"/>
+     *         <element name="gRed" type="{http://www.portalfiscal.inf.br/nfe}TRed" minOccurs="0"/>
+     *         <element name="vCBS" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "pcbs", + "gDif", + "gDevTrib", + "gRed", + "vcbs" + }) + public static class GCBS { + + @XmlElement(name = "pCBS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String pcbs; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TDif gDif; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TDevTrib gDevTrib; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TRed gRed; + @XmlElement(name = "vCBS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vcbs; + + /** + * Obtém o valor da propriedade pcbs. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPCBS() { + return pcbs; + } + + /** + * Define o valor da propriedade pcbs. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPCBS(String value) { + this.pcbs = value; + } + + /** + * Obtém o valor da propriedade gDif. + * + * @return + * possible object is + * {@link TDif } + * + */ + public TDif getGDif() { + return gDif; + } + + /** + * Define o valor da propriedade gDif. + * + * @param value + * allowed object is + * {@link TDif } + * + */ + public void setGDif(TDif value) { + this.gDif = value; + } + + /** + * Obtém o valor da propriedade gDevTrib. + * + * @return + * possible object is + * {@link TDevTrib } + * + */ + public TDevTrib getGDevTrib() { + return gDevTrib; + } + + /** + * Define o valor da propriedade gDevTrib. + * + * @param value + * allowed object is + * {@link TDevTrib } + * + */ + public void setGDevTrib(TDevTrib value) { + this.gDevTrib = value; + } + + /** + * Obtém o valor da propriedade gRed. + * + * @return + * possible object is + * {@link TRed } + * + */ + public TRed getGRed() { + return gRed; + } + + /** + * Define o valor da propriedade gRed. + * + * @param value + * allowed object is + * {@link TRed } + * + */ + public void setGRed(TRed value) { + this.gRed = value; + } + + /** + * Obtém o valor da propriedade vcbs. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCBS() { + return vcbs; + } + + /** + * Define o valor da propriedade vcbs. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCBS(String value) { + this.vcbs = value; + } + + } + + + /** + *

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="pIBSMun" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04"/>
+     *         <element name="gDif" type="{http://www.portalfiscal.inf.br/nfe}TDif" minOccurs="0"/>
+     *         <element name="gDevTrib" type="{http://www.portalfiscal.inf.br/nfe}TDevTrib" minOccurs="0"/>
+     *         <element name="gRed" type="{http://www.portalfiscal.inf.br/nfe}TRed" minOccurs="0"/>
+     *         <element name="vIBSMun" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "pibsMun", + "gDif", + "gDevTrib", + "gRed", + "vibsMun" + }) + public static class GIBSMun { + + @XmlElement(name = "pIBSMun", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String pibsMun; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TDif gDif; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TDevTrib gDevTrib; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TRed gRed; + @XmlElement(name = "vIBSMun", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vibsMun; + + /** + * Obtém o valor da propriedade pibsMun. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPIBSMun() { + return pibsMun; + } + + /** + * Define o valor da propriedade pibsMun. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPIBSMun(String value) { + this.pibsMun = value; + } + + /** + * Obtém o valor da propriedade gDif. + * + * @return + * possible object is + * {@link TDif } + * + */ + public TDif getGDif() { + return gDif; + } + + /** + * Define o valor da propriedade gDif. + * + * @param value + * allowed object is + * {@link TDif } + * + */ + public void setGDif(TDif value) { + this.gDif = value; + } + + /** + * Obtém o valor da propriedade gDevTrib. + * + * @return + * possible object is + * {@link TDevTrib } + * + */ + public TDevTrib getGDevTrib() { + return gDevTrib; + } + + /** + * Define o valor da propriedade gDevTrib. + * + * @param value + * allowed object is + * {@link TDevTrib } + * + */ + public void setGDevTrib(TDevTrib value) { + this.gDevTrib = value; + } + + /** + * Obtém o valor da propriedade gRed. + * + * @return + * possible object is + * {@link TRed } + * + */ + public TRed getGRed() { + return gRed; + } + + /** + * Define o valor da propriedade gRed. + * + * @param value + * allowed object is + * {@link TRed } + * + */ + public void setGRed(TRed value) { + this.gRed = value; + } + + /** + * Obtém o valor da propriedade vibsMun. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVIBSMun() { + return vibsMun; + } + + /** + * Define o valor da propriedade vibsMun. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVIBSMun(String value) { + this.vibsMun = value; + } + + } + + + /** + *

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="pIBSUF" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04"/>
+     *         <element name="gDif" type="{http://www.portalfiscal.inf.br/nfe}TDif" minOccurs="0"/>
+     *         <element name="gDevTrib" type="{http://www.portalfiscal.inf.br/nfe}TDevTrib" minOccurs="0"/>
+     *         <element name="gRed" type="{http://www.portalfiscal.inf.br/nfe}TRed" minOccurs="0"/>
+     *         <element name="vIBSUF" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "pibsuf", + "gDif", + "gDevTrib", + "gRed", + "vibsuf" + }) + public static class GIBSUF { + + @XmlElement(name = "pIBSUF", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String pibsuf; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TDif gDif; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TDevTrib gDevTrib; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TRed gRed; + @XmlElement(name = "vIBSUF", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vibsuf; + + /** + * Obtém o valor da propriedade pibsuf. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPIBSUF() { + return pibsuf; + } + + /** + * Define o valor da propriedade pibsuf. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPIBSUF(String value) { + this.pibsuf = value; + } + + /** + * Obtém o valor da propriedade gDif. + * + * @return + * possible object is + * {@link TDif } + * + */ + public TDif getGDif() { + return gDif; + } + + /** + * Define o valor da propriedade gDif. + * + * @param value + * allowed object is + * {@link TDif } + * + */ + public void setGDif(TDif value) { + this.gDif = value; + } + + /** + * Obtém o valor da propriedade gDevTrib. + * + * @return + * possible object is + * {@link TDevTrib } + * + */ + public TDevTrib getGDevTrib() { + return gDevTrib; + } + + /** + * Define o valor da propriedade gDevTrib. + * + * @param value + * allowed object is + * {@link TDevTrib } + * + */ + public void setGDevTrib(TDevTrib value) { + this.gDevTrib = value; + } + + /** + * Obtém o valor da propriedade gRed. + * + * @return + * possible object is + * {@link TRed } + * + */ + public TRed getGRed() { + return gRed; + } + + /** + * Define o valor da propriedade gRed. + * + * @param value + * allowed object is + * {@link TRed } + * + */ + public void setGRed(TRed value) { + this.gRed = value; + } + + /** + * Obtém o valor da propriedade vibsuf. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVIBSUF() { + return vibsuf; + } + + /** + * Define o valor da propriedade vibsuf. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVIBSUF(String value) { + this.vibsuf = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TCompraGov.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TCompraGov.java new file mode 100644 index 00000000..a5d1b899 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TCompraGov.java @@ -0,0 +1,120 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Cada DFe que utilizar deverá utilizar esses tipo no grupo ide + * + *

Classe Java de TCompraGov complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TCompraGov">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="tpEnteGov" type="{http://www.portalfiscal.inf.br/nfe}TEnteGov"/>
+ *         <element name="pRedutor" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04"/>
+ *         <element name="tpOperGov" type="{http://www.portalfiscal.inf.br/nfe}TOperCompraGov"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TCompraGov", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "tpEnteGov", + "pRedutor", + "tpOperGov" +}) +public class TCompraGov { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpEnteGov; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String pRedutor; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpOperGov; + + /** + * Obtém o valor da propriedade tpEnteGov. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpEnteGov() { + return tpEnteGov; + } + + /** + * Define o valor da propriedade tpEnteGov. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpEnteGov(String value) { + this.tpEnteGov = value; + } + + /** + * Obtém o valor da propriedade pRedutor. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPRedutor() { + return pRedutor; + } + + /** + * Define o valor da propriedade pRedutor. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPRedutor(String value) { + this.pRedutor = value; + } + + /** + * Obtém o valor da propriedade tpOperGov. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpOperGov() { + return tpOperGov; + } + + /** + * Define o valor da propriedade tpOperGov. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpOperGov(String value) { + this.tpOperGov = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TCompraGovReduzido.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TCompraGovReduzido.java new file mode 100644 index 00000000..2341c78c --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TCompraGovReduzido.java @@ -0,0 +1,92 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Cada DFe que utilizar deverá utilizar esses tipo no grupo ide + * + *

Classe Java de TCompraGovReduzido complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TCompraGovReduzido">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="tpEnteGov" type="{http://www.portalfiscal.inf.br/nfe}TEnteGov"/>
+ *         <element name="pRedutor" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TCompraGovReduzido", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "tpEnteGov", + "pRedutor" +}) +public class TCompraGovReduzido { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpEnteGov; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String pRedutor; + + /** + * Obtém o valor da propriedade tpEnteGov. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpEnteGov() { + return tpEnteGov; + } + + /** + * Define o valor da propriedade tpEnteGov. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpEnteGov(String value) { + this.tpEnteGov = value; + } + + /** + * Obtém o valor da propriedade pRedutor. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPRedutor() { + return pRedutor; + } + + /** + * Define o valor da propriedade pRedutor. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPRedutor(String value) { + this.pRedutor = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TConsReciNFe.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TConsReciNFe.java new file mode 100644 index 00000000..6b62aef4 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TConsReciNFe.java @@ -0,0 +1,116 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.*; + + +/** + * Tipo Pedido de Consulta do Recido do Lote de Notas Fiscais Eletrônicas + * + *

Classe Java de TConsReciNFe complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TConsReciNFe">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="tpAmb" type="{http://www.portalfiscal.inf.br/nfe}TAmb"/>
+ *         <element name="nRec" type="{http://www.portalfiscal.inf.br/nfe}TRec"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerNFe" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TConsReciNFe", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "tpAmb", + "nRec" +}) +public class TConsReciNFe { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpAmb; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String nRec; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Obtém o valor da propriedade tpAmb. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpAmb() { + return tpAmb; + } + + /** + * Define o valor da propriedade tpAmb. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpAmb(String value) { + this.tpAmb = value; + } + + /** + * Obtém o valor da propriedade nRec. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNRec() { + return nRec; + } + + /** + * Define o valor da propriedade nRec. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNRec(String value) { + this.nRec = value; + } + + /** + * Obtém o valor da propriedade versao. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Define o valor da propriedade versao. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TCredPres.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TCredPres.java new file mode 100644 index 00000000..bcb2ab45 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TCredPres.java @@ -0,0 +1,150 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Tipo Crédito Presumido + * + *

Classe Java de TCredPres complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TCredPres">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="cCredPres" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
+ *         <element name="pCredPres" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04"/>
+ *         <choice>
+ *           <element name="vCredPres" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *           <element name="vCredPresCondSus" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *         </choice>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TCredPres", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "cCredPres", + "pCredPres", + "vCredPres", + "vCredPresCondSus" +}) +public class TCredPres { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected Object cCredPres; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String pCredPres; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vCredPres; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vCredPresCondSus; + + /** + * Obtém o valor da propriedade cCredPres. + * + * @return + * possible object is + * {@link Object } + * + */ + public Object getCCredPres() { + return cCredPres; + } + + /** + * Define o valor da propriedade cCredPres. + * + * @param value + * allowed object is + * {@link Object } + * + */ + public void setCCredPres(Object value) { + this.cCredPres = value; + } + + /** + * Obtém o valor da propriedade pCredPres. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPCredPres() { + return pCredPres; + } + + /** + * Define o valor da propriedade pCredPres. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPCredPres(String value) { + this.pCredPres = value; + } + + /** + * Obtém o valor da propriedade vCredPres. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCredPres() { + return vCredPres; + } + + /** + * Define o valor da propriedade vCredPres. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCredPres(String value) { + this.vCredPres = value; + } + + /** + * Obtém o valor da propriedade vCredPresCondSus. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCredPresCondSus() { + return vCredPresCondSus; + } + + /** + * Define o valor da propriedade vCredPresCondSus. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCredPresCondSus(String value) { + this.vCredPresCondSus = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TCredPresIBSZFM.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TCredPresIBSZFM.java new file mode 100644 index 00000000..227475f7 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TCredPresIBSZFM.java @@ -0,0 +1,92 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Tipo Informações do crédito presumido de IBS para fornecimentos a partir da ZFM + * + *

Classe Java de TCredPresIBSZFM complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TCredPresIBSZFM">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="tpCredPresIBSZFM" type="{http://www.portalfiscal.inf.br/nfe}TTpCredPresIBSZFM"/>
+ *         <element name="vCredPresIBSZFM" type="{http://www.portalfiscal.inf.br/nfe}TDec1302" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TCredPresIBSZFM", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "tpCredPresIBSZFM", + "vCredPresIBSZFM" +}) +public class TCredPresIBSZFM { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpCredPresIBSZFM; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vCredPresIBSZFM; + + /** + * Obtém o valor da propriedade tpCredPresIBSZFM. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpCredPresIBSZFM() { + return tpCredPresIBSZFM; + } + + /** + * Define o valor da propriedade tpCredPresIBSZFM. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpCredPresIBSZFM(String value) { + this.tpCredPresIBSZFM = value; + } + + /** + * Obtém o valor da propriedade vCredPresIBSZFM. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCredPresIBSZFM() { + return vCredPresIBSZFM; + } + + /** + * Define o valor da propriedade vCredPresIBSZFM. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCredPresIBSZFM(String value) { + this.vCredPresIBSZFM = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TDevTrib.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TDevTrib.java new file mode 100644 index 00000000..77d86760 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TDevTrib.java @@ -0,0 +1,64 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Tipo Devolução Tributo + * + *

Classe Java de TDevTrib complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TDevTrib">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="vDevTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TDevTrib", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "vDevTrib" +}) +public class TDevTrib { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vDevTrib; + + /** + * Obtém o valor da propriedade vDevTrib. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDevTrib() { + return vDevTrib; + } + + /** + * Define o valor da propriedade vDevTrib. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDevTrib(String value) { + this.vDevTrib = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TDif.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TDif.java new file mode 100644 index 00000000..d9381040 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TDif.java @@ -0,0 +1,92 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Tipo Diferimento + * + *

Classe Java de TDif complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TDif">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="pDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04"/>
+ *         <element name="vDif" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TDif", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "pDif", + "vDif" +}) +public class TDif { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String pDif; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vDif; + + /** + * Obtém o valor da propriedade pDif. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPDif() { + return pDif; + } + + /** + * Define o valor da propriedade pDif. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPDif(String value) { + this.pDif = value; + } + + /** + * Obtém o valor da propriedade vDif. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDif() { + return vDif; + } + + /** + * Define o valor da propriedade vDif. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDif(String value) { + this.vDif = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TEnderEmi.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TEnderEmi.java new file mode 100644 index 00000000..84d0a993 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TEnderEmi.java @@ -0,0 +1,404 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.*; + + +/** + * Tipo Dados do Endereço do Emitente // 24/10/08 - desmembrado / tamanho mínimo + * + *

Classe Java de TEnderEmi complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TEnderEmi">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="xLgr">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="2"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="nro">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xCpl" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xBairro">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="2"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="cMun" type="{http://www.portalfiscal.inf.br/nfe}TCodMunIBGE"/>
+ *         <element name="xMun">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="2"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="UF" type="{http://www.portalfiscal.inf.br/nfe}TUfEmi"/>
+ *         <element name="CEP">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <whiteSpace value="preserve"/>
+ *               <pattern value="[0-9]{8}"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="cPais" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *               <enumeration value="1058"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xPais" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *               <enumeration value="Brasil"/>
+ *               <enumeration value="BRASIL"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="fone" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <whiteSpace value="preserve"/>
+ *               <pattern value="[0-9]{6,14}"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TEnderEmi", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "xLgr", + "nro", + "xCpl", + "xBairro", + "cMun", + "xMun", + "uf", + "cep", + "cPais", + "xPais", + "fone" +}) +public class TEnderEmi { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String xLgr; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String nro; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String xCpl; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String xBairro; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cMun; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String xMun; + @XmlElement(name = "UF", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + @XmlSchemaType(name = "string") + protected TUfEmi uf; + @XmlElement(name = "CEP", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cep; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cPais; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String xPais; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String fone; + + /** + * Obtém o valor da propriedade xLgr. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXLgr() { + return xLgr; + } + + /** + * Define o valor da propriedade xLgr. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXLgr(String value) { + this.xLgr = value; + } + + /** + * Obtém o valor da propriedade nro. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNro() { + return nro; + } + + /** + * Define o valor da propriedade nro. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNro(String value) { + this.nro = value; + } + + /** + * Obtém o valor da propriedade xCpl. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCpl() { + return xCpl; + } + + /** + * Define o valor da propriedade xCpl. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCpl(String value) { + this.xCpl = value; + } + + /** + * Obtém o valor da propriedade xBairro. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXBairro() { + return xBairro; + } + + /** + * Define o valor da propriedade xBairro. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXBairro(String value) { + this.xBairro = value; + } + + /** + * Obtém o valor da propriedade cMun. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMun() { + return cMun; + } + + /** + * Define o valor da propriedade cMun. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMun(String value) { + this.cMun = value; + } + + /** + * Obtém o valor da propriedade xMun. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMun() { + return xMun; + } + + /** + * Define o valor da propriedade xMun. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMun(String value) { + this.xMun = value; + } + + /** + * Obtém o valor da propriedade uf. + * + * @return + * possible object is + * {@link TUfEmi } + * + */ + public TUfEmi getUF() { + return uf; + } + + /** + * Define o valor da propriedade uf. + * + * @param value + * allowed object is + * {@link TUfEmi } + * + */ + public void setUF(TUfEmi value) { + this.uf = value; + } + + /** + * Obtém o valor da propriedade cep. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCEP() { + return cep; + } + + /** + * Define o valor da propriedade cep. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCEP(String value) { + this.cep = value; + } + + /** + * Obtém o valor da propriedade cPais. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPais() { + return cPais; + } + + /** + * Define o valor da propriedade cPais. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPais(String value) { + this.cPais = value; + } + + /** + * Obtém o valor da propriedade xPais. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXPais() { + return xPais; + } + + /** + * Define o valor da propriedade xPais. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXPais(String value) { + this.xPais = value; + } + + /** + * Obtém o valor da propriedade fone. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFone() { + return fone; + } + + /** + * Define o valor da propriedade fone. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFone(String value) { + this.fone = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TEndereco.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TEndereco.java new file mode 100644 index 00000000..b4af090c --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TEndereco.java @@ -0,0 +1,405 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.*; + + +/** + * Tipo Dados do Endereço // 24/10/08 - tamanho mínimo + * + *

Classe Java de TEndereco complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TEndereco">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="xLgr">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="2"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="nro">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xCpl" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xBairro">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="2"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="cMun" type="{http://www.portalfiscal.inf.br/nfe}TCodMunIBGE"/>
+ *         <element name="xMun">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="2"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="UF" type="{http://www.portalfiscal.inf.br/nfe}TUf"/>
+ *         <element name="CEP" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <whiteSpace value="preserve"/>
+ *               <pattern value="[0-9]{8}"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="cPais" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <whiteSpace value="preserve"/>
+ *               <pattern value="[0-9]{1,4}"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xPais" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="2"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="fone" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <whiteSpace value="preserve"/>
+ *               <pattern value="[0-9]{6,14}"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TEndereco", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "xLgr", + "nro", + "xCpl", + "xBairro", + "cMun", + "xMun", + "uf", + "cep", + "cPais", + "xPais", + "fone" +}) +public class TEndereco { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String xLgr; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String nro; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String xCpl; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String xBairro; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cMun; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String xMun; + @XmlElement(name = "UF", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + @XmlSchemaType(name = "string") + protected TUf uf; + @XmlElement(name = "CEP", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cep; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cPais; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String xPais; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String fone; + + /** + * Obtém o valor da propriedade xLgr. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXLgr() { + return xLgr; + } + + /** + * Define o valor da propriedade xLgr. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXLgr(String value) { + this.xLgr = value; + } + + /** + * Obtém o valor da propriedade nro. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNro() { + return nro; + } + + /** + * Define o valor da propriedade nro. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNro(String value) { + this.nro = value; + } + + /** + * Obtém o valor da propriedade xCpl. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCpl() { + return xCpl; + } + + /** + * Define o valor da propriedade xCpl. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCpl(String value) { + this.xCpl = value; + } + + /** + * Obtém o valor da propriedade xBairro. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXBairro() { + return xBairro; + } + + /** + * Define o valor da propriedade xBairro. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXBairro(String value) { + this.xBairro = value; + } + + /** + * Obtém o valor da propriedade cMun. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMun() { + return cMun; + } + + /** + * Define o valor da propriedade cMun. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMun(String value) { + this.cMun = value; + } + + /** + * Obtém o valor da propriedade xMun. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMun() { + return xMun; + } + + /** + * Define o valor da propriedade xMun. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMun(String value) { + this.xMun = value; + } + + /** + * Obtém o valor da propriedade uf. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUF() { + return uf; + } + + /** + * Define o valor da propriedade uf. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUF(TUf value) { + this.uf = value; + } + + /** + * Obtém o valor da propriedade cep. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCEP() { + return cep; + } + + /** + * Define o valor da propriedade cep. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCEP(String value) { + this.cep = value; + } + + /** + * Obtém o valor da propriedade cPais. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPais() { + return cPais; + } + + /** + * Define o valor da propriedade cPais. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPais(String value) { + this.cPais = value; + } + + /** + * Obtém o valor da propriedade xPais. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXPais() { + return xPais; + } + + /** + * Define o valor da propriedade xPais. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXPais(String value) { + this.xPais = value; + } + + /** + * Obtém o valor da propriedade fone. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFone() { + return fone; + } + + /** + * Define o valor da propriedade fone. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFone(String value) { + this.fone = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TEnviNFe.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TEnviNFe.java new file mode 100644 index 00000000..414f4c4b --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TEnviNFe.java @@ -0,0 +1,159 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.*; +import java.util.ArrayList; +import java.util.List; + + +/** + * Tipo Pedido de Concessão de Autorização da Nota Fiscal Eletrônica + * + *

Classe Java de TEnviNFe complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TEnviNFe">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="idLote" type="{http://www.portalfiscal.inf.br/nfe}TIdLote"/>
+ *         <element name="indSinc">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <whiteSpace value="preserve"/>
+ *               <enumeration value="0"/>
+ *               <enumeration value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="NFe" type="{http://www.portalfiscal.inf.br/nfe}TNFe" maxOccurs="50"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerNFe" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TEnviNFe", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "idLote", + "indSinc", + "nFe" +}) +public class TEnviNFe { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String idLote; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String indSinc; + @XmlElement(name = "NFe", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected List nFe; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Obtém o valor da propriedade idLote. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIdLote() { + return idLote; + } + + /** + * Define o valor da propriedade idLote. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIdLote(String value) { + this.idLote = value; + } + + /** + * Obtém o valor da propriedade indSinc. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndSinc() { + return indSinc; + } + + /** + * Define o valor da propriedade indSinc. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndSinc(String value) { + this.indSinc = value; + } + + /** + * Gets the value of the nFe property. + * + *

+ * 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 set method for the nFe property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getNFe().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TNFe } + * + * + */ + public List getNFe() { + if (nFe == null) { + nFe = new ArrayList(); + } + return this.nFe; + } + + /** + * Obtém o valor da propriedade versao. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Define o valor da propriedade versao. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TIBSCBSMonoTot.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TIBSCBSMonoTot.java new file mode 100644 index 00000000..120146f0 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TIBSCBSMonoTot.java @@ -0,0 +1,990 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Grupo de informações de totais da CBS/IBS com monofasia + * + *

Classe Java de TIBSCBSMonoTot complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TIBSCBSMonoTot">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="vBCIBSCBS" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *         <element name="gIBS" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="gIBSUF">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="vDif" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                             <element name="vDevTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                             <element name="vIBSUF" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="gIBSMun">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="vDif" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                             <element name="vDevTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                             <element name="vIBSMun" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="vIBS" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                   <element name="vCredPres" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                   <element name="vCredPresCondSus" 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="vDif" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                   <element name="vDevTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                   <element name="vCBS" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                   <element name="vCredPres" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                   <element name="vCredPresCondSus" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="gMono" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="vIBSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                   <element name="vCBSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                   <element name="vIBSMonoReten" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                   <element name="vCBSMonoReten" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                   <element name="vIBSMonoRet" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                   <element name="vCBSMonoRet" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TIBSCBSMonoTot", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "vbcibscbs", + "gibs", + "gcbs", + "gMono" +}) +public class TIBSCBSMonoTot { + + @XmlElement(name = "vBCIBSCBS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vbcibscbs; + @XmlElement(name = "gIBS", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TIBSCBSMonoTot.GIBS gibs; + @XmlElement(name = "gCBS", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TIBSCBSMonoTot.GCBS gcbs; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TIBSCBSMonoTot.GMono gMono; + + /** + * Obtém o valor da propriedade vbcibscbs. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCIBSCBS() { + return vbcibscbs; + } + + /** + * Define o valor da propriedade vbcibscbs. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCIBSCBS(String value) { + this.vbcibscbs = value; + } + + /** + * Obtém o valor da propriedade gibs. + * + * @return + * possible object is + * {@link TIBSCBSMonoTot.GIBS } + * + */ + public TIBSCBSMonoTot.GIBS getGIBS() { + return gibs; + } + + /** + * Define o valor da propriedade gibs. + * + * @param value + * allowed object is + * {@link TIBSCBSMonoTot.GIBS } + * + */ + public void setGIBS(TIBSCBSMonoTot.GIBS value) { + this.gibs = value; + } + + /** + * Obtém o valor da propriedade gcbs. + * + * @return + * possible object is + * {@link TIBSCBSMonoTot.GCBS } + * + */ + public TIBSCBSMonoTot.GCBS getGCBS() { + return gcbs; + } + + /** + * Define o valor da propriedade gcbs. + * + * @param value + * allowed object is + * {@link TIBSCBSMonoTot.GCBS } + * + */ + public void setGCBS(TIBSCBSMonoTot.GCBS value) { + this.gcbs = value; + } + + /** + * Obtém o valor da propriedade gMono. + * + * @return + * possible object is + * {@link TIBSCBSMonoTot.GMono } + * + */ + public TIBSCBSMonoTot.GMono getGMono() { + return gMono; + } + + /** + * Define o valor da propriedade gMono. + * + * @param value + * allowed object is + * {@link TIBSCBSMonoTot.GMono } + * + */ + public void setGMono(TIBSCBSMonoTot.GMono value) { + this.gMono = value; + } + + + /** + *

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="vDif" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *         <element name="vDevTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *         <element name="vCBS" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *         <element name="vCredPres" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *         <element name="vCredPresCondSus" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vDif", + "vDevTrib", + "vcbs", + "vCredPres", + "vCredPresCondSus" + }) + public static class GCBS { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vDif; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vDevTrib; + @XmlElement(name = "vCBS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vcbs; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vCredPres; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vCredPresCondSus; + + /** + * Obtém o valor da propriedade vDif. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDif() { + return vDif; + } + + /** + * Define o valor da propriedade vDif. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDif(String value) { + this.vDif = value; + } + + /** + * Obtém o valor da propriedade vDevTrib. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDevTrib() { + return vDevTrib; + } + + /** + * Define o valor da propriedade vDevTrib. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDevTrib(String value) { + this.vDevTrib = value; + } + + /** + * Obtém o valor da propriedade vcbs. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCBS() { + return vcbs; + } + + /** + * Define o valor da propriedade vcbs. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCBS(String value) { + this.vcbs = value; + } + + /** + * Obtém o valor da propriedade vCredPres. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCredPres() { + return vCredPres; + } + + /** + * Define o valor da propriedade vCredPres. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCredPres(String value) { + this.vCredPres = value; + } + + /** + * Obtém o valor da propriedade vCredPresCondSus. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCredPresCondSus() { + return vCredPresCondSus; + } + + /** + * Define o valor da propriedade vCredPresCondSus. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCredPresCondSus(String value) { + this.vCredPresCondSus = value; + } + + } + + + /** + *

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="gIBSUF">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="vDif" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *                   <element name="vDevTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *                   <element name="vIBSUF" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="gIBSMun">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="vDif" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *                   <element name="vDevTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *                   <element name="vIBSMun" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="vIBS" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *         <element name="vCredPres" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *         <element name="vCredPresCondSus" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "gibsuf", + "gibsMun", + "vibs", + "vCredPres", + "vCredPresCondSus" + }) + public static class GIBS { + + @XmlElement(name = "gIBSUF", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected TIBSCBSMonoTot.GIBS.GIBSUF gibsuf; + @XmlElement(name = "gIBSMun", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected TIBSCBSMonoTot.GIBS.GIBSMun gibsMun; + @XmlElement(name = "vIBS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vibs; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vCredPres; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vCredPresCondSus; + + /** + * Obtém o valor da propriedade gibsuf. + * + * @return + * possible object is + * {@link TIBSCBSMonoTot.GIBS.GIBSUF } + * + */ + public TIBSCBSMonoTot.GIBS.GIBSUF getGIBSUF() { + return gibsuf; + } + + /** + * Define o valor da propriedade gibsuf. + * + * @param value + * allowed object is + * {@link TIBSCBSMonoTot.GIBS.GIBSUF } + * + */ + public void setGIBSUF(TIBSCBSMonoTot.GIBS.GIBSUF value) { + this.gibsuf = value; + } + + /** + * Obtém o valor da propriedade gibsMun. + * + * @return + * possible object is + * {@link TIBSCBSMonoTot.GIBS.GIBSMun } + * + */ + public TIBSCBSMonoTot.GIBS.GIBSMun getGIBSMun() { + return gibsMun; + } + + /** + * Define o valor da propriedade gibsMun. + * + * @param value + * allowed object is + * {@link TIBSCBSMonoTot.GIBS.GIBSMun } + * + */ + public void setGIBSMun(TIBSCBSMonoTot.GIBS.GIBSMun value) { + this.gibsMun = value; + } + + /** + * Obtém o valor da propriedade vibs. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVIBS() { + return vibs; + } + + /** + * Define o valor da propriedade vibs. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVIBS(String value) { + this.vibs = value; + } + + /** + * Obtém o valor da propriedade vCredPres. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCredPres() { + return vCredPres; + } + + /** + * Define o valor da propriedade vCredPres. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCredPres(String value) { + this.vCredPres = value; + } + + /** + * Obtém o valor da propriedade vCredPresCondSus. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCredPresCondSus() { + return vCredPresCondSus; + } + + /** + * Define o valor da propriedade vCredPresCondSus. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCredPresCondSus(String value) { + this.vCredPresCondSus = value; + } + + + /** + *

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="vDif" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+         *         <element name="vDevTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+         *         <element name="vIBSMun" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vDif", + "vDevTrib", + "vibsMun" + }) + public static class GIBSMun { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vDif; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vDevTrib; + @XmlElement(name = "vIBSMun", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vibsMun; + + /** + * Obtém o valor da propriedade vDif. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDif() { + return vDif; + } + + /** + * Define o valor da propriedade vDif. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDif(String value) { + this.vDif = value; + } + + /** + * Obtém o valor da propriedade vDevTrib. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDevTrib() { + return vDevTrib; + } + + /** + * Define o valor da propriedade vDevTrib. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDevTrib(String value) { + this.vDevTrib = value; + } + + /** + * Obtém o valor da propriedade vibsMun. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVIBSMun() { + return vibsMun; + } + + /** + * Define o valor da propriedade vibsMun. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVIBSMun(String value) { + this.vibsMun = value; + } + + } + + + /** + *

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="vDif" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+         *         <element name="vDevTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+         *         <element name="vIBSUF" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vDif", + "vDevTrib", + "vibsuf" + }) + public static class GIBSUF { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vDif; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vDevTrib; + @XmlElement(name = "vIBSUF", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vibsuf; + + /** + * Obtém o valor da propriedade vDif. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDif() { + return vDif; + } + + /** + * Define o valor da propriedade vDif. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDif(String value) { + this.vDif = value; + } + + /** + * Obtém o valor da propriedade vDevTrib. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDevTrib() { + return vDevTrib; + } + + /** + * Define o valor da propriedade vDevTrib. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDevTrib(String value) { + this.vDevTrib = value; + } + + /** + * Obtém o valor da propriedade vibsuf. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVIBSUF() { + return vibsuf; + } + + /** + * Define o valor da propriedade vibsuf. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVIBSUF(String value) { + this.vibsuf = value; + } + + } + + } + + + /** + *

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="vIBSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *         <element name="vCBSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *         <element name="vIBSMonoReten" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *         <element name="vCBSMonoReten" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *         <element name="vIBSMonoRet" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *         <element name="vCBSMonoRet" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vibsMono", + "vcbsMono", + "vibsMonoReten", + "vcbsMonoReten", + "vibsMonoRet", + "vcbsMonoRet" + }) + public static class GMono { + + @XmlElement(name = "vIBSMono", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vibsMono; + @XmlElement(name = "vCBSMono", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vcbsMono; + @XmlElement(name = "vIBSMonoReten", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vibsMonoReten; + @XmlElement(name = "vCBSMonoReten", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vcbsMonoReten; + @XmlElement(name = "vIBSMonoRet", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vibsMonoRet; + @XmlElement(name = "vCBSMonoRet", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vcbsMonoRet; + + /** + * Obtém o valor da propriedade vibsMono. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVIBSMono() { + return vibsMono; + } + + /** + * Define o valor da propriedade vibsMono. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVIBSMono(String value) { + this.vibsMono = value; + } + + /** + * Obtém o valor da propriedade vcbsMono. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCBSMono() { + return vcbsMono; + } + + /** + * Define o valor da propriedade vcbsMono. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCBSMono(String value) { + this.vcbsMono = value; + } + + /** + * Obtém o valor da propriedade vibsMonoReten. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVIBSMonoReten() { + return vibsMonoReten; + } + + /** + * Define o valor da propriedade vibsMonoReten. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVIBSMonoReten(String value) { + this.vibsMonoReten = value; + } + + /** + * Obtém o valor da propriedade vcbsMonoReten. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCBSMonoReten() { + return vcbsMonoReten; + } + + /** + * Define o valor da propriedade vcbsMonoReten. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCBSMonoReten(String value) { + this.vcbsMonoReten = value; + } + + /** + * Obtém o valor da propriedade vibsMonoRet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVIBSMonoRet() { + return vibsMonoRet; + } + + /** + * Define o valor da propriedade vibsMonoRet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVIBSMonoRet(String value) { + this.vibsMonoRet = value; + } + + /** + * Obtém o valor da propriedade vcbsMonoRet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCBSMonoRet() { + return vcbsMonoRet; + } + + /** + * Define o valor da propriedade vcbsMonoRet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCBSMonoRet(String value) { + this.vcbsMonoRet = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TIBSCBSTot.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TIBSCBSTot.java new file mode 100644 index 00000000..f1520018 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TIBSCBSTot.java @@ -0,0 +1,752 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Grupo de informações de totais da CBS/IBS + * + *

Classe Java de TIBSCBSTot complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TIBSCBSTot">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="vBCIBSCBS" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *         <element name="gIBS">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="gIBSUF">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="vDif" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                             <element name="vDevTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                             <element name="vIBSUF" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="gIBSMun">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="vDif" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                             <element name="vDevTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                             <element name="vIBSMun" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="vIBS" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                   <element name="vCredPres" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                   <element name="vCredPresCondSus" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="gCBS">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="vDif" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                   <element name="vDevTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                   <element name="vCBS" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                   <element name="vCredPres" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                   <element name="vCredPresCondSus" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TIBSCBSTot", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "vbcibscbs", + "gibs", + "gcbs" +}) +public class TIBSCBSTot { + + @XmlElement(name = "vBCIBSCBS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vbcibscbs; + @XmlElement(name = "gIBS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected TIBSCBSTot.GIBS gibs; + @XmlElement(name = "gCBS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected TIBSCBSTot.GCBS gcbs; + + /** + * Obtém o valor da propriedade vbcibscbs. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCIBSCBS() { + return vbcibscbs; + } + + /** + * Define o valor da propriedade vbcibscbs. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCIBSCBS(String value) { + this.vbcibscbs = value; + } + + /** + * Obtém o valor da propriedade gibs. + * + * @return + * possible object is + * {@link TIBSCBSTot.GIBS } + * + */ + public TIBSCBSTot.GIBS getGIBS() { + return gibs; + } + + /** + * Define o valor da propriedade gibs. + * + * @param value + * allowed object is + * {@link TIBSCBSTot.GIBS } + * + */ + public void setGIBS(TIBSCBSTot.GIBS value) { + this.gibs = value; + } + + /** + * Obtém o valor da propriedade gcbs. + * + * @return + * possible object is + * {@link TIBSCBSTot.GCBS } + * + */ + public TIBSCBSTot.GCBS getGCBS() { + return gcbs; + } + + /** + * Define o valor da propriedade gcbs. + * + * @param value + * allowed object is + * {@link TIBSCBSTot.GCBS } + * + */ + public void setGCBS(TIBSCBSTot.GCBS value) { + this.gcbs = value; + } + + + /** + *

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="vDif" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *         <element name="vDevTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *         <element name="vCBS" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *         <element name="vCredPres" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *         <element name="vCredPresCondSus" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vDif", + "vDevTrib", + "vcbs", + "vCredPres", + "vCredPresCondSus" + }) + public static class GCBS { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vDif; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vDevTrib; + @XmlElement(name = "vCBS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vcbs; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vCredPres; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vCredPresCondSus; + + /** + * Obtém o valor da propriedade vDif. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDif() { + return vDif; + } + + /** + * Define o valor da propriedade vDif. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDif(String value) { + this.vDif = value; + } + + /** + * Obtém o valor da propriedade vDevTrib. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDevTrib() { + return vDevTrib; + } + + /** + * Define o valor da propriedade vDevTrib. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDevTrib(String value) { + this.vDevTrib = value; + } + + /** + * Obtém o valor da propriedade vcbs. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCBS() { + return vcbs; + } + + /** + * Define o valor da propriedade vcbs. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCBS(String value) { + this.vcbs = value; + } + + /** + * Obtém o valor da propriedade vCredPres. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCredPres() { + return vCredPres; + } + + /** + * Define o valor da propriedade vCredPres. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCredPres(String value) { + this.vCredPres = value; + } + + /** + * Obtém o valor da propriedade vCredPresCondSus. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCredPresCondSus() { + return vCredPresCondSus; + } + + /** + * Define o valor da propriedade vCredPresCondSus. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCredPresCondSus(String value) { + this.vCredPresCondSus = value; + } + + } + + + /** + *

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="gIBSUF">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="vDif" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *                   <element name="vDevTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *                   <element name="vIBSUF" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="gIBSMun">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="vDif" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *                   <element name="vDevTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *                   <element name="vIBSMun" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="vIBS" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *         <element name="vCredPres" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *         <element name="vCredPresCondSus" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "gibsuf", + "gibsMun", + "vibs", + "vCredPres", + "vCredPresCondSus" + }) + public static class GIBS { + + @XmlElement(name = "gIBSUF", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected TIBSCBSTot.GIBS.GIBSUF gibsuf; + @XmlElement(name = "gIBSMun", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected TIBSCBSTot.GIBS.GIBSMun gibsMun; + @XmlElement(name = "vIBS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vibs; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vCredPres; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vCredPresCondSus; + + /** + * Obtém o valor da propriedade gibsuf. + * + * @return + * possible object is + * {@link TIBSCBSTot.GIBS.GIBSUF } + * + */ + public TIBSCBSTot.GIBS.GIBSUF getGIBSUF() { + return gibsuf; + } + + /** + * Define o valor da propriedade gibsuf. + * + * @param value + * allowed object is + * {@link TIBSCBSTot.GIBS.GIBSUF } + * + */ + public void setGIBSUF(TIBSCBSTot.GIBS.GIBSUF value) { + this.gibsuf = value; + } + + /** + * Obtém o valor da propriedade gibsMun. + * + * @return + * possible object is + * {@link TIBSCBSTot.GIBS.GIBSMun } + * + */ + public TIBSCBSTot.GIBS.GIBSMun getGIBSMun() { + return gibsMun; + } + + /** + * Define o valor da propriedade gibsMun. + * + * @param value + * allowed object is + * {@link TIBSCBSTot.GIBS.GIBSMun } + * + */ + public void setGIBSMun(TIBSCBSTot.GIBS.GIBSMun value) { + this.gibsMun = value; + } + + /** + * Obtém o valor da propriedade vibs. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVIBS() { + return vibs; + } + + /** + * Define o valor da propriedade vibs. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVIBS(String value) { + this.vibs = value; + } + + /** + * Obtém o valor da propriedade vCredPres. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCredPres() { + return vCredPres; + } + + /** + * Define o valor da propriedade vCredPres. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCredPres(String value) { + this.vCredPres = value; + } + + /** + * Obtém o valor da propriedade vCredPresCondSus. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCredPresCondSus() { + return vCredPresCondSus; + } + + /** + * Define o valor da propriedade vCredPresCondSus. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCredPresCondSus(String value) { + this.vCredPresCondSus = value; + } + + + /** + *

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="vDif" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+         *         <element name="vDevTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+         *         <element name="vIBSMun" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vDif", + "vDevTrib", + "vibsMun" + }) + public static class GIBSMun { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vDif; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vDevTrib; + @XmlElement(name = "vIBSMun", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vibsMun; + + /** + * Obtém o valor da propriedade vDif. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDif() { + return vDif; + } + + /** + * Define o valor da propriedade vDif. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDif(String value) { + this.vDif = value; + } + + /** + * Obtém o valor da propriedade vDevTrib. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDevTrib() { + return vDevTrib; + } + + /** + * Define o valor da propriedade vDevTrib. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDevTrib(String value) { + this.vDevTrib = value; + } + + /** + * Obtém o valor da propriedade vibsMun. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVIBSMun() { + return vibsMun; + } + + /** + * Define o valor da propriedade vibsMun. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVIBSMun(String value) { + this.vibsMun = value; + } + + } + + + /** + *

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="vDif" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+         *         <element name="vDevTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+         *         <element name="vIBSUF" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vDif", + "vDevTrib", + "vibsuf" + }) + public static class GIBSUF { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vDif; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vDevTrib; + @XmlElement(name = "vIBSUF", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vibsuf; + + /** + * Obtém o valor da propriedade vDif. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDif() { + return vDif; + } + + /** + * Define o valor da propriedade vDif. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDif(String value) { + this.vDif = value; + } + + /** + * Obtém o valor da propriedade vDevTrib. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDevTrib() { + return vDevTrib; + } + + /** + * Define o valor da propriedade vDevTrib. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDevTrib(String value) { + this.vDevTrib = value; + } + + /** + * Obtém o valor da propriedade vibsuf. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVIBSUF() { + return vibsuf; + } + + /** + * Define o valor da propriedade vibsuf. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVIBSUF(String value) { + this.vibsuf = value; + } + + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TIS.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TIS.java new file mode 100644 index 00000000..db7de5d0 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TIS.java @@ -0,0 +1,271 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Grupo de informações do Imposto Seletivo + * + *

Classe Java de TIS complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TIS">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="CSTIS" type="{http://www.portalfiscal.inf.br/nfe}TCST"/>
+ *         <element name="cClassTribIS" type="{http://www.portalfiscal.inf.br/nfe}TcClassTrib"/>
+ *         <sequence minOccurs="0">
+ *           <element name="vBCIS" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *           <element name="pIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04"/>
+ *           <element name="pISEspec" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04" minOccurs="0"/>
+ *           <sequence minOccurs="0">
+ *             <element name="uTrib">
+ *               <simpleType>
+ *                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TStringRTC">
+ *                   <minLength value="1"/>
+ *                   <maxLength value="6"/>
+ *                 </restriction>
+ *               </simpleType>
+ *             </element>
+ *             <element name="qTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104Op"/>
+ *           </sequence>
+ *           <element name="vIS" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *         </sequence>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TIS", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "cstis", + "cClassTribIS", + "vbcis", + "pis", + "pisEspec", + "uTrib", + "qTrib", + "vis" +}) +public class TIS { + + @XmlElement(name = "CSTIS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cstis; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cClassTribIS; + @XmlElement(name = "vBCIS", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbcis; + @XmlElement(name = "pIS", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pis; + @XmlElement(name = "pISEspec", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pisEspec; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String uTrib; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String qTrib; + @XmlElement(name = "vIS", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vis; + + /** + * Obtém o valor da propriedade cstis. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCSTIS() { + return cstis; + } + + /** + * Define o valor da propriedade cstis. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCSTIS(String value) { + this.cstis = value; + } + + /** + * Obtém o valor da propriedade cClassTribIS. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCClassTribIS() { + return cClassTribIS; + } + + /** + * Define o valor da propriedade cClassTribIS. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCClassTribIS(String value) { + this.cClassTribIS = value; + } + + /** + * Obtém o valor da propriedade vbcis. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCIS() { + return vbcis; + } + + /** + * Define o valor da propriedade vbcis. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCIS(String value) { + this.vbcis = value; + } + + /** + * Obtém o valor da propriedade pis. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPIS() { + return pis; + } + + /** + * Define o valor da propriedade pis. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPIS(String value) { + this.pis = value; + } + + /** + * Obtém o valor da propriedade pisEspec. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPISEspec() { + return pisEspec; + } + + /** + * Define o valor da propriedade pisEspec. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPISEspec(String value) { + this.pisEspec = value; + } + + /** + * Obtém o valor da propriedade uTrib. + * + * @return + * possible object is + * {@link String } + * + */ + public String getUTrib() { + return uTrib; + } + + /** + * Define o valor da propriedade uTrib. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setUTrib(String value) { + this.uTrib = value; + } + + /** + * Obtém o valor da propriedade qTrib. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQTrib() { + return qTrib; + } + + /** + * Define o valor da propriedade qTrib. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQTrib(String value) { + this.qTrib = value; + } + + /** + * Obtém o valor da propriedade vis. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVIS() { + return vis; + } + + /** + * Define o valor da propriedade vis. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVIS(String value) { + this.vis = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TISTot.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TISTot.java new file mode 100644 index 00000000..1bcf9f71 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TISTot.java @@ -0,0 +1,64 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Grupo de informações de totais do Imposto Seletivo + * + *

Classe Java de TISTot complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TISTot">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="vIS" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TISTot", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "vis" +}) +public class TISTot { + + @XmlElement(name = "vIS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vis; + + /** + * Obtém o valor da propriedade vis. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVIS() { + return vis; + } + + /** + * Define o valor da propriedade vis. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVIS(String value) { + this.vis = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TInfRespTec.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TInfRespTec.java new file mode 100644 index 00000000..f69b2310 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TInfRespTec.java @@ -0,0 +1,239 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Grupo de informações do responsável técnico pelo sistema de emissão de DF-e + * + *

Classe Java de TInfRespTec complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TInfRespTec">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpjOpc"/>
+ *         <element name="xContato">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="2"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="email">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *               <whiteSpace value="preserve"/>
+ *               <minLength value="6"/>
+ *               <maxLength value="60"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="fone">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <whiteSpace value="preserve"/>
+ *               <pattern value="[0-9]{6,14}"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <sequence minOccurs="0">
+ *           <element name="idCSRT">
+ *             <simpleType>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                 <whiteSpace value="preserve"/>
+ *                 <pattern value="[0-9]{2}"/>
+ *               </restriction>
+ *             </simpleType>
+ *           </element>
+ *           <element name="hashCSRT">
+ *             <simpleType>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}base64Binary">
+ *                 <length value="20"/>
+ *               </restriction>
+ *             </simpleType>
+ *           </element>
+ *         </sequence>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TInfRespTec", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "cnpj", + "xContato", + "email", + "fone", + "idCSRT", + "hashCSRT" +}) +public class TInfRespTec { + + @XmlElement(name = "CNPJ", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cnpj; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String xContato; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String email; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String fone; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String idCSRT; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected byte[] hashCSRT; + + /** + * Obtém o valor da propriedade cnpj. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Define o valor da propriedade cnpj. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Obtém o valor da propriedade xContato. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXContato() { + return xContato; + } + + /** + * Define o valor da propriedade xContato. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXContato(String value) { + this.xContato = value; + } + + /** + * Obtém o valor da propriedade email. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEmail() { + return email; + } + + /** + * Define o valor da propriedade email. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEmail(String value) { + this.email = value; + } + + /** + * Obtém o valor da propriedade fone. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFone() { + return fone; + } + + /** + * Define o valor da propriedade fone. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFone(String value) { + this.fone = value; + } + + /** + * Obtém o valor da propriedade idCSRT. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIdCSRT() { + return idCSRT; + } + + /** + * Define o valor da propriedade idCSRT. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIdCSRT(String value) { + this.idCSRT = value; + } + + /** + * Obtém o valor da propriedade hashCSRT. + * + * @return + * possible object is + * byte[] + */ + public byte[] getHashCSRT() { + return hashCSRT; + } + + /** + * Define o valor da propriedade hashCSRT. + * + * @param value + * allowed object is + * byte[] + */ + public void setHashCSRT(byte[] value) { + this.hashCSRT = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TIpi.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TIpi.java new file mode 100644 index 00000000..978f076a --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TIpi.java @@ -0,0 +1,566 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Tipo: Dados do IPI + * + *

Classe Java de TIpi complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TIpi">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="CNPJProd" type="{http://www.portalfiscal.inf.br/nfe}TCnpj" minOccurs="0"/>
+ *         <element name="cSelo" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *               <minLength value="1"/>
+ *               <maxLength value="60"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="qSelo" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <whiteSpace value="preserve"/>
+ *               <pattern value="[0-9]{1,12}"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="cEnq">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *               <minLength value="1"/>
+ *               <maxLength value="3"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <choice>
+ *           <element name="IPITrib">
+ *             <complexType>
+ *               <complexContent>
+ *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                   <sequence>
+ *                     <element name="CST">
+ *                       <simpleType>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                           <whiteSpace value="preserve"/>
+ *                           <enumeration value="00"/>
+ *                           <enumeration value="49"/>
+ *                           <enumeration value="50"/>
+ *                           <enumeration value="99"/>
+ *                         </restriction>
+ *                       </simpleType>
+ *                     </element>
+ *                     <choice>
+ *                       <sequence>
+ *                         <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                         <element name="pIPI" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                       </sequence>
+ *                       <sequence>
+ *                         <element name="qUnid" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
+ *                         <element name="vUnid" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104"/>
+ *                       </sequence>
+ *                     </choice>
+ *                     <element name="vIPI" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                   </sequence>
+ *                 </restriction>
+ *               </complexContent>
+ *             </complexType>
+ *           </element>
+ *           <element name="IPINT">
+ *             <complexType>
+ *               <complexContent>
+ *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                   <sequence>
+ *                     <element name="CST">
+ *                       <simpleType>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                           <whiteSpace value="preserve"/>
+ *                           <enumeration value="01"/>
+ *                           <enumeration value="02"/>
+ *                           <enumeration value="03"/>
+ *                           <enumeration value="04"/>
+ *                           <enumeration value="05"/>
+ *                           <enumeration value="51"/>
+ *                           <enumeration value="52"/>
+ *                           <enumeration value="53"/>
+ *                           <enumeration value="54"/>
+ *                           <enumeration value="55"/>
+ *                         </restriction>
+ *                       </simpleType>
+ *                     </element>
+ *                   </sequence>
+ *                 </restriction>
+ *               </complexContent>
+ *             </complexType>
+ *           </element>
+ *         </choice>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TIpi", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "cnpjProd", + "cSelo", + "qSelo", + "cEnq", + "ipiTrib", + "ipint" +}) +public class TIpi { + + @XmlElement(name = "CNPJProd", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cnpjProd; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cSelo; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String qSelo; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cEnq; + @XmlElement(name = "IPITrib", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TIpi.IPITrib ipiTrib; + @XmlElement(name = "IPINT", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TIpi.IPINT ipint; + + /** + * Obtém o valor da propriedade cnpjProd. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJProd() { + return cnpjProd; + } + + /** + * Define o valor da propriedade cnpjProd. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJProd(String value) { + this.cnpjProd = value; + } + + /** + * Obtém o valor da propriedade cSelo. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCSelo() { + return cSelo; + } + + /** + * Define o valor da propriedade cSelo. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCSelo(String value) { + this.cSelo = value; + } + + /** + * Obtém o valor da propriedade qSelo. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQSelo() { + return qSelo; + } + + /** + * Define o valor da propriedade qSelo. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQSelo(String value) { + this.qSelo = value; + } + + /** + * Obtém o valor da propriedade cEnq. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCEnq() { + return cEnq; + } + + /** + * Define o valor da propriedade cEnq. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCEnq(String value) { + this.cEnq = value; + } + + /** + * Obtém o valor da propriedade ipiTrib. + * + * @return + * possible object is + * {@link TIpi.IPITrib } + * + */ + public TIpi.IPITrib getIPITrib() { + return ipiTrib; + } + + /** + * Define o valor da propriedade ipiTrib. + * + * @param value + * allowed object is + * {@link TIpi.IPITrib } + * + */ + public void setIPITrib(TIpi.IPITrib value) { + this.ipiTrib = value; + } + + /** + * Obtém o valor da propriedade ipint. + * + * @return + * possible object is + * {@link TIpi.IPINT } + * + */ + public TIpi.IPINT getIPINT() { + return ipint; + } + + /** + * Define o valor da propriedade ipint. + * + * @param value + * allowed object is + * {@link TIpi.IPINT } + * + */ + public void setIPINT(TIpi.IPINT value) { + this.ipint = value; + } + + + /** + *

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="CST">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="01"/>
+     *               <enumeration value="02"/>
+     *               <enumeration value="03"/>
+     *               <enumeration value="04"/>
+     *               <enumeration value="05"/>
+     *               <enumeration value="51"/>
+     *               <enumeration value="52"/>
+     *               <enumeration value="53"/>
+     *               <enumeration value="54"/>
+     *               <enumeration value="55"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst" + }) + public static class IPINT { + + @XmlElement(name = "CST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cst; + + /** + * Obtém o valor da propriedade cst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Define o valor da propriedade cst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + } + + + /** + *

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="CST">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <enumeration value="00"/>
+     *               <enumeration value="49"/>
+     *               <enumeration value="50"/>
+     *               <enumeration value="99"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <choice>
+     *           <sequence>
+     *             <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *             <element name="pIPI" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *           </sequence>
+     *           <sequence>
+     *             <element name="qUnid" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
+     *             <element name="vUnid" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104"/>
+     *           </sequence>
+     *         </choice>
+     *         <element name="vIPI" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst", + "vbc", + "pipi", + "qUnid", + "vUnid", + "vipi" + }) + public static class IPITrib { + + @XmlElement(name = "CST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cst; + @XmlElement(name = "vBC", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbc; + @XmlElement(name = "pIPI", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pipi; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String qUnid; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vUnid; + @XmlElement(name = "vIPI", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vipi; + + /** + * Obtém o valor da propriedade cst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Define o valor da propriedade cst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Obtém o valor da propriedade vbc. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Define o valor da propriedade vbc. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Obtém o valor da propriedade pipi. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPIPI() { + return pipi; + } + + /** + * Define o valor da propriedade pipi. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPIPI(String value) { + this.pipi = value; + } + + /** + * Obtém o valor da propriedade qUnid. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQUnid() { + return qUnid; + } + + /** + * Define o valor da propriedade qUnid. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQUnid(String value) { + this.qUnid = value; + } + + /** + * Obtém o valor da propriedade vUnid. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVUnid() { + return vUnid; + } + + /** + * Define o valor da propriedade vUnid. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVUnid(String value) { + this.vUnid = value; + } + + /** + * Obtém o valor da propriedade vipi. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVIPI() { + return vipi; + } + + /** + * Define o valor da propriedade vipi. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVIPI(String value) { + this.vipi = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TLocal.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TLocal.java new file mode 100644 index 00000000..f20ca8fb --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TLocal.java @@ -0,0 +1,562 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.*; + + +/** + * Tipo Dados do Local de Retirada ou Entrega // 24/10/08 - tamanho mínimo // v2.0 + * + *

Classe Java de TLocal complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TLocal">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <choice>
+ *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpjOpc"/>
+ *           <element name="CPF" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/>
+ *         </choice>
+ *         <element name="xNome" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="2"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xLgr">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="2"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="nro">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xCpl" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="1"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xBairro">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="2"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="cMun" type="{http://www.portalfiscal.inf.br/nfe}TCodMunIBGE"/>
+ *         <element name="xMun">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="2"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="UF" type="{http://www.portalfiscal.inf.br/nfe}TUf"/>
+ *         <element name="CEP" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <whiteSpace value="preserve"/>
+ *               <pattern value="[0-9]{8}"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="cPais" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <whiteSpace value="preserve"/>
+ *               <pattern value="[0-9]{1,4}"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="xPais" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *               <maxLength value="60"/>
+ *               <minLength value="2"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="fone" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <whiteSpace value="preserve"/>
+ *               <pattern value="[0-9]{6,14}"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="email" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *               <whiteSpace value="preserve"/>
+ *               <minLength value="1"/>
+ *               <maxLength value="60"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="IE" type="{http://www.portalfiscal.inf.br/nfe}TIe" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TLocal", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "cnpj", + "cpf", + "xNome", + "xLgr", + "nro", + "xCpl", + "xBairro", + "cMun", + "xMun", + "uf", + "cep", + "cPais", + "xPais", + "fone", + "email", + "ie" +}) +public class TLocal { + + @XmlElement(name = "CNPJ", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cnpj; + @XmlElement(name = "CPF", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cpf; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String xNome; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String xLgr; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String nro; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String xCpl; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String xBairro; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cMun; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String xMun; + @XmlElement(name = "UF", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + @XmlSchemaType(name = "string") + protected TUf uf; + @XmlElement(name = "CEP", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cep; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cPais; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String xPais; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String fone; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String email; + @XmlElement(name = "IE", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String ie; + + /** + * Obtém o valor da propriedade cnpj. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Define o valor da propriedade cnpj. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Obtém o valor da propriedade cpf. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Define o valor da propriedade cpf. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Obtém o valor da propriedade xNome. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Define o valor da propriedade xNome. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Obtém o valor da propriedade xLgr. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXLgr() { + return xLgr; + } + + /** + * Define o valor da propriedade xLgr. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXLgr(String value) { + this.xLgr = value; + } + + /** + * Obtém o valor da propriedade nro. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNro() { + return nro; + } + + /** + * Define o valor da propriedade nro. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNro(String value) { + this.nro = value; + } + + /** + * Obtém o valor da propriedade xCpl. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCpl() { + return xCpl; + } + + /** + * Define o valor da propriedade xCpl. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCpl(String value) { + this.xCpl = value; + } + + /** + * Obtém o valor da propriedade xBairro. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXBairro() { + return xBairro; + } + + /** + * Define o valor da propriedade xBairro. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXBairro(String value) { + this.xBairro = value; + } + + /** + * Obtém o valor da propriedade cMun. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMun() { + return cMun; + } + + /** + * Define o valor da propriedade cMun. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMun(String value) { + this.cMun = value; + } + + /** + * Obtém o valor da propriedade xMun. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMun() { + return xMun; + } + + /** + * Define o valor da propriedade xMun. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMun(String value) { + this.xMun = value; + } + + /** + * Obtém o valor da propriedade uf. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUF() { + return uf; + } + + /** + * Define o valor da propriedade uf. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUF(TUf value) { + this.uf = value; + } + + /** + * Obtém o valor da propriedade cep. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCEP() { + return cep; + } + + /** + * Define o valor da propriedade cep. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCEP(String value) { + this.cep = value; + } + + /** + * Obtém o valor da propriedade cPais. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPais() { + return cPais; + } + + /** + * Define o valor da propriedade cPais. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPais(String value) { + this.cPais = value; + } + + /** + * Obtém o valor da propriedade xPais. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXPais() { + return xPais; + } + + /** + * Define o valor da propriedade xPais. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXPais(String value) { + this.xPais = value; + } + + /** + * Obtém o valor da propriedade fone. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFone() { + return fone; + } + + /** + * Define o valor da propriedade fone. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFone(String value) { + this.fone = value; + } + + /** + * Obtém o valor da propriedade email. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEmail() { + return email; + } + + /** + * Define o valor da propriedade email. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEmail(String value) { + this.email = value; + } + + /** + * Obtém o valor da propriedade ie. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIE() { + return ie; + } + + /** + * Define o valor da propriedade ie. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIE(String value) { + this.ie = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TMonofasia.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TMonofasia.java new file mode 100644 index 00000000..bc4c31aa --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TMonofasia.java @@ -0,0 +1,632 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Tipo Monofasia + * + *

Classe Java de TMonofasia complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TMonofasia">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <sequence minOccurs="0">
+ *           <element name="qBCMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104Op"/>
+ *           <element name="adRemIBS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04"/>
+ *           <element name="adRemCBS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04"/>
+ *           <element name="vIBSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *           <element name="vCBSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *         </sequence>
+ *         <sequence minOccurs="0">
+ *           <element name="qBCMonoReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104Op"/>
+ *           <element name="adRemIBSReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04"/>
+ *           <element name="vIBSMonoReten" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *           <element name="adRemCBSReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04"/>
+ *           <element name="vCBSMonoReten" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *         </sequence>
+ *         <sequence minOccurs="0">
+ *           <element name="qBCMonoRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104Op"/>
+ *           <element name="adRemIBSRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04"/>
+ *           <element name="vIBSMonoRet" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *           <element name="adRemCBSRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04"/>
+ *           <element name="vCBSMonoRet" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *         </sequence>
+ *         <sequence minOccurs="0">
+ *           <element name="pDifIBS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04"/>
+ *           <element name="vIBSMonoDif" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *           <element name="pDifCBS" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *           <element name="vCBSMonoDif" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *         </sequence>
+ *         <element name="vTotIBSMonoItem" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *         <element name="vTotCBSMonoItem" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TMonofasia", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "qbcMono", + "adRemIBS", + "adRemCBS", + "vibsMono", + "vcbsMono", + "qbcMonoReten", + "adRemIBSReten", + "vibsMonoReten", + "adRemCBSReten", + "vcbsMonoReten", + "qbcMonoRet", + "adRemIBSRet", + "vibsMonoRet", + "adRemCBSRet", + "vcbsMonoRet", + "pDifIBS", + "vibsMonoDif", + "pDifCBS", + "vcbsMonoDif", + "vTotIBSMonoItem", + "vTotCBSMonoItem" +}) +public class TMonofasia { + + @XmlElement(name = "qBCMono", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String qbcMono; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String adRemIBS; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String adRemCBS; + @XmlElement(name = "vIBSMono", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vibsMono; + @XmlElement(name = "vCBSMono", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vcbsMono; + @XmlElement(name = "qBCMonoReten", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String qbcMonoReten; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String adRemIBSReten; + @XmlElement(name = "vIBSMonoReten", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vibsMonoReten; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String adRemCBSReten; + @XmlElement(name = "vCBSMonoReten", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vcbsMonoReten; + @XmlElement(name = "qBCMonoRet", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String qbcMonoRet; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String adRemIBSRet; + @XmlElement(name = "vIBSMonoRet", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vibsMonoRet; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String adRemCBSRet; + @XmlElement(name = "vCBSMonoRet", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vcbsMonoRet; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pDifIBS; + @XmlElement(name = "vIBSMonoDif", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vibsMonoDif; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pDifCBS; + @XmlElement(name = "vCBSMonoDif", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vcbsMonoDif; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vTotIBSMonoItem; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vTotCBSMonoItem; + + /** + * Obtém o valor da propriedade qbcMono. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQBCMono() { + return qbcMono; + } + + /** + * Define o valor da propriedade qbcMono. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQBCMono(String value) { + this.qbcMono = value; + } + + /** + * Obtém o valor da propriedade adRemIBS. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAdRemIBS() { + return adRemIBS; + } + + /** + * Define o valor da propriedade adRemIBS. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAdRemIBS(String value) { + this.adRemIBS = value; + } + + /** + * Obtém o valor da propriedade adRemCBS. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAdRemCBS() { + return adRemCBS; + } + + /** + * Define o valor da propriedade adRemCBS. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAdRemCBS(String value) { + this.adRemCBS = value; + } + + /** + * Obtém o valor da propriedade vibsMono. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVIBSMono() { + return vibsMono; + } + + /** + * Define o valor da propriedade vibsMono. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVIBSMono(String value) { + this.vibsMono = value; + } + + /** + * Obtém o valor da propriedade vcbsMono. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCBSMono() { + return vcbsMono; + } + + /** + * Define o valor da propriedade vcbsMono. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCBSMono(String value) { + this.vcbsMono = value; + } + + /** + * Obtém o valor da propriedade qbcMonoReten. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQBCMonoReten() { + return qbcMonoReten; + } + + /** + * Define o valor da propriedade qbcMonoReten. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQBCMonoReten(String value) { + this.qbcMonoReten = value; + } + + /** + * Obtém o valor da propriedade adRemIBSReten. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAdRemIBSReten() { + return adRemIBSReten; + } + + /** + * Define o valor da propriedade adRemIBSReten. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAdRemIBSReten(String value) { + this.adRemIBSReten = value; + } + + /** + * Obtém o valor da propriedade vibsMonoReten. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVIBSMonoReten() { + return vibsMonoReten; + } + + /** + * Define o valor da propriedade vibsMonoReten. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVIBSMonoReten(String value) { + this.vibsMonoReten = value; + } + + /** + * Obtém o valor da propriedade adRemCBSReten. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAdRemCBSReten() { + return adRemCBSReten; + } + + /** + * Define o valor da propriedade adRemCBSReten. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAdRemCBSReten(String value) { + this.adRemCBSReten = value; + } + + /** + * Obtém o valor da propriedade vcbsMonoReten. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCBSMonoReten() { + return vcbsMonoReten; + } + + /** + * Define o valor da propriedade vcbsMonoReten. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCBSMonoReten(String value) { + this.vcbsMonoReten = value; + } + + /** + * Obtém o valor da propriedade qbcMonoRet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQBCMonoRet() { + return qbcMonoRet; + } + + /** + * Define o valor da propriedade qbcMonoRet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQBCMonoRet(String value) { + this.qbcMonoRet = value; + } + + /** + * Obtém o valor da propriedade adRemIBSRet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAdRemIBSRet() { + return adRemIBSRet; + } + + /** + * Define o valor da propriedade adRemIBSRet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAdRemIBSRet(String value) { + this.adRemIBSRet = value; + } + + /** + * Obtém o valor da propriedade vibsMonoRet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVIBSMonoRet() { + return vibsMonoRet; + } + + /** + * Define o valor da propriedade vibsMonoRet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVIBSMonoRet(String value) { + this.vibsMonoRet = value; + } + + /** + * Obtém o valor da propriedade adRemCBSRet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAdRemCBSRet() { + return adRemCBSRet; + } + + /** + * Define o valor da propriedade adRemCBSRet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAdRemCBSRet(String value) { + this.adRemCBSRet = value; + } + + /** + * Obtém o valor da propriedade vcbsMonoRet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCBSMonoRet() { + return vcbsMonoRet; + } + + /** + * Define o valor da propriedade vcbsMonoRet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCBSMonoRet(String value) { + this.vcbsMonoRet = value; + } + + /** + * Obtém o valor da propriedade pDifIBS. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPDifIBS() { + return pDifIBS; + } + + /** + * Define o valor da propriedade pDifIBS. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPDifIBS(String value) { + this.pDifIBS = value; + } + + /** + * Obtém o valor da propriedade vibsMonoDif. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVIBSMonoDif() { + return vibsMonoDif; + } + + /** + * Define o valor da propriedade vibsMonoDif. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVIBSMonoDif(String value) { + this.vibsMonoDif = value; + } + + /** + * Obtém o valor da propriedade pDifCBS. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPDifCBS() { + return pDifCBS; + } + + /** + * Define o valor da propriedade pDifCBS. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPDifCBS(String value) { + this.pDifCBS = value; + } + + /** + * Obtém o valor da propriedade vcbsMonoDif. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCBSMonoDif() { + return vcbsMonoDif; + } + + /** + * Define o valor da propriedade vcbsMonoDif. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCBSMonoDif(String value) { + this.vcbsMonoDif = value; + } + + /** + * Obtém o valor da propriedade vTotIBSMonoItem. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVTotIBSMonoItem() { + return vTotIBSMonoItem; + } + + /** + * Define o valor da propriedade vTotIBSMonoItem. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVTotIBSMonoItem(String value) { + this.vTotIBSMonoItem = value; + } + + /** + * Obtém o valor da propriedade vTotCBSMonoItem. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVTotCBSMonoItem() { + return vTotCBSMonoItem; + } + + /** + * Define o valor da propriedade vTotCBSMonoItem. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVTotCBSMonoItem(String value) { + this.vTotCBSMonoItem = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TNFe.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TNFe.java new file mode 100644 index 00000000..d2a5f5cb --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TNFe.java @@ -0,0 +1,40959 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import java.util.ArrayList; +import java.util.List; + + +/** + * Tipo Nota Fiscal Eletrônica + * + *

Classe Java de TNFe complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TNFe">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="infNFe">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="ide">
+ *                     <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="cNF">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <pattern value="[0-9]{8}"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="natOp">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="mod" type="{http://www.portalfiscal.inf.br/nfe}TMod"/>
+ *                             <element name="serie" type="{http://www.portalfiscal.inf.br/nfe}TSerie"/>
+ *                             <element name="nNF" type="{http://www.portalfiscal.inf.br/nfe}TNF"/>
+ *                             <element name="dhEmi" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/>
+ *                             <element name="dhSaiEnt" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC" minOccurs="0"/>
+ *                             <element name="tpNF">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="0"/>
+ *                                   <enumeration value="1"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="idDest">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="2"/>
+ *                                   <enumeration value="3"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="cMunFG" type="{http://www.portalfiscal.inf.br/nfe}TCodMunIBGE"/>
+ *                             <element name="cMunFGIBS" type="{http://www.portalfiscal.inf.br/nfe}TCodMunIBGE" minOccurs="0"/>
+ *                             <element name="tpImp">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="0"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="2"/>
+ *                                   <enumeration value="3"/>
+ *                                   <enumeration value="4"/>
+ *                                   <enumeration value="5"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="tpEmis">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="2"/>
+ *                                   <enumeration value="3"/>
+ *                                   <enumeration value="4"/>
+ *                                   <enumeration value="5"/>
+ *                                   <enumeration value="6"/>
+ *                                   <enumeration value="7"/>
+ *                                   <enumeration value="9"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="cDV">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <pattern value="[0-9]{1}"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="tpAmb" type="{http://www.portalfiscal.inf.br/nfe}TAmb"/>
+ *                             <element name="finNFe" type="{http://www.portalfiscal.inf.br/nfe}TFinNFe"/>
+ *                             <element name="tpNFDebito" type="{http://www.portalfiscal.inf.br/nfe}TTpNFDebito" minOccurs="0"/>
+ *                             <element name="tpNFCredito" type="{http://www.portalfiscal.inf.br/nfe}TTpNFCredito" minOccurs="0"/>
+ *                             <element name="indFinal">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="0"/>
+ *                                   <enumeration value="1"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="indPres">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="0"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="2"/>
+ *                                   <enumeration value="3"/>
+ *                                   <enumeration value="4"/>
+ *                                   <enumeration value="5"/>
+ *                                   <enumeration value="9"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="indIntermed" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="0"/>
+ *                                   <enumeration value="1"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="procEmi" type="{http://www.portalfiscal.inf.br/nfe}TProcEmi"/>
+ *                             <element name="verProc">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="20"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <sequence minOccurs="0">
+ *                               <element name="dhCont" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/>
+ *                               <element name="xJust">
+ *                                 <simpleType>
+ *                                   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                     <minLength value="15"/>
+ *                                     <maxLength value="256"/>
+ *                                   </restriction>
+ *                                 </simpleType>
+ *                               </element>
+ *                             </sequence>
+ *                             <element name="NFref" maxOccurs="999" minOccurs="0">
+ *                               <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>
+ *                             </element>
+ *                             <element name="gCompraGov" type="{http://www.portalfiscal.inf.br/nfe}TCompraGov" minOccurs="0"/>
+ *                             <element name="gPagAntecipado" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="refNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe" maxOccurs="99"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="emit">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <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="xNome">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xFant" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="1"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="enderEmit" type="{http://www.portalfiscal.inf.br/nfe}TEnderEmi"/>
+ *                             <element name="IE" type="{http://www.portalfiscal.inf.br/nfe}TIe"/>
+ *                             <element name="IEST" type="{http://www.portalfiscal.inf.br/nfe}TIeST" minOccurs="0"/>
+ *                             <sequence minOccurs="0">
+ *                               <element name="IM">
+ *                                 <simpleType>
+ *                                   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                     <minLength value="1"/>
+ *                                     <maxLength value="15"/>
+ *                                   </restriction>
+ *                                 </simpleType>
+ *                               </element>
+ *                               <element name="CNAE" minOccurs="0">
+ *                                 <simpleType>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                     <whiteSpace value="preserve"/>
+ *                                     <pattern value="[0-9]{7}"/>
+ *                                   </restriction>
+ *                                 </simpleType>
+ *                               </element>
+ *                             </sequence>
+ *                             <element name="CRT">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="2"/>
+ *                                   <enumeration value="3"/>
+ *                                   <enumeration value="4"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="avulsa" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/>
+ *                             <element name="xOrgao">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="1"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="matr">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xAgente">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="1"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="fone" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <pattern value="[0-9]{6,14}"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="UF" type="{http://www.portalfiscal.inf.br/nfe}TUfEmi"/>
+ *                             <element name="nDAR" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="dEmi" type="{http://www.portalfiscal.inf.br/nfe}TData" minOccurs="0"/>
+ *                             <element name="vDAR" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+ *                             <element name="repEmi">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="dPag" type="{http://www.portalfiscal.inf.br/nfe}TData" minOccurs="0"/>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="dest" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <choice>
+ *                               <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/>
+ *                               <element name="CPF" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/>
+ *                               <element name="idEstrangeiro">
+ *                                 <simpleType>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                     <whiteSpace value="preserve"/>
+ *                                     <pattern value="([!-ÿ]{0}|[!-ÿ]{5,20})?"/>
+ *                                   </restriction>
+ *                                 </simpleType>
+ *                               </element>
+ *                             </choice>
+ *                             <element name="xNome" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                   <maxLength value="60"/>
+ *                                   <minLength value="2"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="enderDest" type="{http://www.portalfiscal.inf.br/nfe}TEndereco" minOccurs="0"/>
+ *                             <element name="indIEDest">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="2"/>
+ *                                   <enumeration value="9"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="IE" type="{http://www.portalfiscal.inf.br/nfe}TIeDestNaoIsento" minOccurs="0"/>
+ *                             <element name="ISUF" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <pattern value="[0-9]{8,9}"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="IM" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="15"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="email" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="retirada" type="{http://www.portalfiscal.inf.br/nfe}TLocal" minOccurs="0"/>
+ *                   <element name="entrega" type="{http://www.portalfiscal.inf.br/nfe}TLocal" minOccurs="0"/>
+ *                   <element name="autXML" maxOccurs="10" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <choice>
+ *                             <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/>
+ *                             <element name="CPF" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/>
+ *                           </choice>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="det" maxOccurs="990">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="prod">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="cProd">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                             <maxLength value="60"/>
+ *                                             <minLength value="1"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="cEAN">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                             <whiteSpace value="preserve"/>
+ *                                             <pattern value="SEM GTIN|[0-9]{0}|[0-9]{8}|[0-9]{12,14}"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="cBarra" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                             <maxLength value="30"/>
+ *                                             <minLength value="3"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="xProd">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                             <maxLength value="120"/>
+ *                                             <minLength value="1"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="NCM">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                             <whiteSpace value="preserve"/>
+ *                                             <pattern value="[0-9]{2}|[0-9]{8}"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="NVE" maxOccurs="8" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                             <whiteSpace value="preserve"/>
+ *                                             <pattern value="[A-Z]{2}[0-9]{4}"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <sequence minOccurs="0">
+ *                                         <element name="CEST">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                               <whiteSpace value="preserve"/>
+ *                                               <pattern value="[0-9]{7}"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="indEscala" minOccurs="0">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                               <enumeration value="S"/>
+ *                                               <enumeration value="N"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                         <element name="CNPJFab" type="{http://www.portalfiscal.inf.br/nfe}TCnpj" minOccurs="0"/>
+ *                                       </sequence>
+ *                                       <element name="cBenef" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                             <whiteSpace value="preserve"/>
+ *                                             <pattern value="([!-ÿ]{8}|[!-ÿ]{10}|SEM CBENEF)?"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="gCred" maxOccurs="4" minOccurs="0">
+ *                                         <complexType>
+ *                                           <complexContent>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                               <sequence>
+ *                                                 <element name="cCredPresumido">
+ *                                                   <simpleType>
+ *                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                       <whiteSpace value="preserve"/>
+ *                                                       <pattern value="[!-ÿ]{8}|[!-ÿ]{10}"/>
+ *                                                     </restriction>
+ *                                                   </simpleType>
+ *                                                 </element>
+ *                                                 <element name="pCredPresumido" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                 <element name="vCredPresumido" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                               </sequence>
+ *                                             </restriction>
+ *                                           </complexContent>
+ *                                         </complexType>
+ *                                       </element>
+ *                                       <element name="EXTIPI" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                             <whiteSpace value="preserve"/>
+ *                                             <pattern value="[0-9]{2,3}"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="CFOP">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                             <whiteSpace value="preserve"/>
+ *                                             <pattern value="[1,2,3,5,6,7]{1}[0-9]{3}"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="uCom">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                             <maxLength value="6"/>
+ *                                             <minLength value="1"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="qCom" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+ *                                       <element name="vUnCom" type="{http://www.portalfiscal.inf.br/nfe}TDec_1110v"/>
+ *                                       <element name="vProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                       <element name="cEANTrib">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                             <whiteSpace value="preserve"/>
+ *                                             <pattern value="SEM GTIN|[0-9]{0}|[0-9]{8}|[0-9]{12,14}"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="cBarraTrib" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                             <maxLength value="30"/>
+ *                                             <minLength value="3"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="uTrib">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                             <maxLength value="6"/>
+ *                                             <minLength value="1"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="qTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+ *                                       <element name="vUnTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec_1110v"/>
+ *                                       <element name="vFrete" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+ *                                       <element name="vSeg" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+ *                                       <element name="vDesc" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+ *                                       <element name="vOutro" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+ *                                       <element name="indTot">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                             <whiteSpace value="preserve"/>
+ *                                             <enumeration value="0"/>
+ *                                             <enumeration value="1"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="indBemMovelUsado" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                             <whiteSpace value="preserve"/>
+ *                                             <enumeration value="1"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="DI" maxOccurs="100" minOccurs="0">
+ *                                         <complexType>
+ *                                           <complexContent>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                               <sequence>
+ *                                                 <element name="nDI">
+ *                                                   <simpleType>
+ *                                                     <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                       <minLength value="1"/>
+ *                                                       <maxLength value="15"/>
+ *                                                     </restriction>
+ *                                                   </simpleType>
+ *                                                 </element>
+ *                                                 <element name="dDI" type="{http://www.portalfiscal.inf.br/nfe}TData"/>
+ *                                                 <element name="xLocDesemb">
+ *                                                   <simpleType>
+ *                                                     <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                       <minLength value="1"/>
+ *                                                       <maxLength value="60"/>
+ *                                                     </restriction>
+ *                                                   </simpleType>
+ *                                                 </element>
+ *                                                 <element name="UFDesemb" type="{http://www.portalfiscal.inf.br/nfe}TUfEmi"/>
+ *                                                 <element name="dDesemb" type="{http://www.portalfiscal.inf.br/nfe}TData"/>
+ *                                                 <element name="tpViaTransp">
+ *                                                   <simpleType>
+ *                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                       <whiteSpace value="preserve"/>
+ *                                                       <enumeration value="1"/>
+ *                                                       <enumeration value="2"/>
+ *                                                       <enumeration value="3"/>
+ *                                                       <enumeration value="4"/>
+ *                                                       <enumeration value="5"/>
+ *                                                       <enumeration value="6"/>
+ *                                                       <enumeration value="7"/>
+ *                                                       <enumeration value="8"/>
+ *                                                       <enumeration value="9"/>
+ *                                                       <enumeration value="10"/>
+ *                                                       <enumeration value="11"/>
+ *                                                       <enumeration value="12"/>
+ *                                                       <enumeration value="13"/>
+ *                                                     </restriction>
+ *                                                   </simpleType>
+ *                                                 </element>
+ *                                                 <element name="vAFRMM" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+ *                                                 <element name="tpIntermedio">
+ *                                                   <simpleType>
+ *                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                       <whiteSpace value="preserve"/>
+ *                                                       <enumeration value="1"/>
+ *                                                       <enumeration value="2"/>
+ *                                                       <enumeration value="3"/>
+ *                                                     </restriction>
+ *                                                   </simpleType>
+ *                                                 </element>
+ *                                                 <choice minOccurs="0">
+ *                                                   <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="UFTerceiro" type="{http://www.portalfiscal.inf.br/nfe}TUfEmi" minOccurs="0"/>
+ *                                                 <element name="cExportador">
+ *                                                   <simpleType>
+ *                                                     <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                       <minLength value="1"/>
+ *                                                       <maxLength value="60"/>
+ *                                                     </restriction>
+ *                                                   </simpleType>
+ *                                                 </element>
+ *                                                 <element name="adi" maxOccurs="999">
+ *                                                   <complexType>
+ *                                                     <complexContent>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                         <sequence>
+ *                                                           <element name="nAdicao" minOccurs="0">
+ *                                                             <simpleType>
+ *                                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                 <whiteSpace value="preserve"/>
+ *                                                                 <pattern value="[1-9]{1}[0-9]{0,2}"/>
+ *                                                               </restriction>
+ *                                                             </simpleType>
+ *                                                           </element>
+ *                                                           <element name="nSeqAdic">
+ *                                                             <simpleType>
+ *                                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                 <whiteSpace value="preserve"/>
+ *                                                                 <pattern value="[1-9]{1}[0-9]{0,4}"/>
+ *                                                               </restriction>
+ *                                                             </simpleType>
+ *                                                           </element>
+ *                                                           <element name="cFabricante">
+ *                                                             <simpleType>
+ *                                                               <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                                 <minLength value="1"/>
+ *                                                                 <maxLength value="60"/>
+ *                                                               </restriction>
+ *                                                             </simpleType>
+ *                                                           </element>
+ *                                                           <element name="vDescDI" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+ *                                                           <element name="nDraw" minOccurs="0">
+ *                                                             <simpleType>
+ *                                                               <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                                 <minLength value="1"/>
+ *                                                                 <maxLength value="20"/>
+ *                                                               </restriction>
+ *                                                             </simpleType>
+ *                                                           </element>
+ *                                                         </sequence>
+ *                                                       </restriction>
+ *                                                     </complexContent>
+ *                                                   </complexType>
+ *                                                 </element>
+ *                                               </sequence>
+ *                                             </restriction>
+ *                                           </complexContent>
+ *                                         </complexType>
+ *                                       </element>
+ *                                       <element name="detExport" maxOccurs="500" minOccurs="0">
+ *                                         <complexType>
+ *                                           <complexContent>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                               <sequence>
+ *                                                 <element name="nDraw" minOccurs="0">
+ *                                                   <simpleType>
+ *                                                     <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                       <minLength value="1"/>
+ *                                                       <maxLength value="20"/>
+ *                                                     </restriction>
+ *                                                   </simpleType>
+ *                                                 </element>
+ *                                                 <element name="exportInd" minOccurs="0">
+ *                                                   <complexType>
+ *                                                     <complexContent>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                         <sequence>
+ *                                                           <element name="nRE">
+ *                                                             <simpleType>
+ *                                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                 <whiteSpace value="preserve"/>
+ *                                                                 <pattern value="[0-9]{0,12}"/>
+ *                                                               </restriction>
+ *                                                             </simpleType>
+ *                                                           </element>
+ *                                                           <element name="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/>
+ *                                                           <element name="qExport" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+ *                                                         </sequence>
+ *                                                       </restriction>
+ *                                                     </complexContent>
+ *                                                   </complexType>
+ *                                                 </element>
+ *                                               </sequence>
+ *                                             </restriction>
+ *                                           </complexContent>
+ *                                         </complexType>
+ *                                       </element>
+ *                                       <element name="xPed" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="15"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="nItemPed" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                             <whiteSpace value="preserve"/>
+ *                                             <pattern value="[0-9]{1,6}"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="nFCI" type="{http://www.portalfiscal.inf.br/nfe}TGuid" minOccurs="0"/>
+ *                                       <element name="rastro" maxOccurs="500" minOccurs="0">
+ *                                         <complexType>
+ *                                           <complexContent>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                               <sequence>
+ *                                                 <element name="nLote">
+ *                                                   <simpleType>
+ *                                                     <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                       <minLength value="1"/>
+ *                                                       <maxLength value="20"/>
+ *                                                     </restriction>
+ *                                                   </simpleType>
+ *                                                 </element>
+ *                                                 <element name="qLote" type="{http://www.portalfiscal.inf.br/nfe}TDec_0803v"/>
+ *                                                 <element name="dFab" type="{http://www.portalfiscal.inf.br/nfe}TData"/>
+ *                                                 <element name="dVal" type="{http://www.portalfiscal.inf.br/nfe}TData"/>
+ *                                                 <element name="cAgreg" minOccurs="0">
+ *                                                   <simpleType>
+ *                                                     <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                       <minLength value="1"/>
+ *                                                       <maxLength value="20"/>
+ *                                                     </restriction>
+ *                                                   </simpleType>
+ *                                                 </element>
+ *                                               </sequence>
+ *                                             </restriction>
+ *                                           </complexContent>
+ *                                         </complexType>
+ *                                       </element>
+ *                                       <element name="infProdNFF" minOccurs="0">
+ *                                         <complexType>
+ *                                           <complexContent>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                               <sequence>
+ *                                                 <element name="cProdFisco">
+ *                                                   <simpleType>
+ *                                                     <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                       <length value="14"/>
+ *                                                     </restriction>
+ *                                                   </simpleType>
+ *                                                 </element>
+ *                                                 <element name="cOperNFF">
+ *                                                   <simpleType>
+ *                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                       <whiteSpace value="preserve"/>
+ *                                                       <pattern value="[0-9]{1,5}"/>
+ *                                                     </restriction>
+ *                                                   </simpleType>
+ *                                                 </element>
+ *                                               </sequence>
+ *                                             </restriction>
+ *                                           </complexContent>
+ *                                         </complexType>
+ *                                       </element>
+ *                                       <element name="infProdEmb" minOccurs="0">
+ *                                         <complexType>
+ *                                           <complexContent>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                               <sequence>
+ *                                                 <element name="xEmb">
+ *                                                   <simpleType>
+ *                                                     <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                       <maxLength value="8"/>
+ *                                                       <minLength value="1"/>
+ *                                                     </restriction>
+ *                                                   </simpleType>
+ *                                                 </element>
+ *                                                 <element name="qVolEmb" type="{http://www.portalfiscal.inf.br/nfe}TDec_0803v"/>
+ *                                                 <element name="uEmb">
+ *                                                   <simpleType>
+ *                                                     <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                       <maxLength value="8"/>
+ *                                                       <minLength value="1"/>
+ *                                                     </restriction>
+ *                                                   </simpleType>
+ *                                                 </element>
+ *                                               </sequence>
+ *                                             </restriction>
+ *                                           </complexContent>
+ *                                         </complexType>
+ *                                       </element>
+ *                                       <choice minOccurs="0">
+ *                                         <element name="veicProd">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="tpOp">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                         <whiteSpace value="preserve"/>
+ *                                                         <enumeration value="0"/>
+ *                                                         <enumeration value="1"/>
+ *                                                         <enumeration value="2"/>
+ *                                                         <enumeration value="3"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="chassi">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                         <length value="17"/>
+ *                                                         <whiteSpace value="preserve"/>
+ *                                                         <pattern value="[A-Z0-9]+"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="cCor">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                         <minLength value="1"/>
+ *                                                         <maxLength value="4"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="xCor">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                         <minLength value="1"/>
+ *                                                         <maxLength value="40"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="pot">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                         <minLength value="1"/>
+ *                                                         <maxLength value="4"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="cilin">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                         <minLength value="1"/>
+ *                                                         <maxLength value="4"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="pesoL">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                         <minLength value="1"/>
+ *                                                         <maxLength value="9"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="pesoB">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                         <minLength value="1"/>
+ *                                                         <maxLength value="9"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="nSerie">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                         <minLength value="1"/>
+ *                                                         <maxLength value="9"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="tpComb">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                         <minLength value="1"/>
+ *                                                         <maxLength value="2"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="nMotor">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                         <minLength value="1"/>
+ *                                                         <maxLength value="21"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="CMT">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                         <minLength value="1"/>
+ *                                                         <maxLength value="9"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="dist">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                         <minLength value="1"/>
+ *                                                         <maxLength value="4"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="anoMod">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                         <whiteSpace value="preserve"/>
+ *                                                         <pattern value="[0-9]{4}"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="anoFab">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                         <whiteSpace value="preserve"/>
+ *                                                         <pattern value="[0-9]{4}"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="tpPint">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                         <length value="1"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="tpVeic">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                         <whiteSpace value="preserve"/>
+ *                                                         <pattern value="[0-9]{1,2}"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="espVeic">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                         <whiteSpace value="preserve"/>
+ *                                                         <pattern value="[0-9]{1}"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="VIN">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                         <length value="1"/>
+ *                                                         <enumeration value="R"/>
+ *                                                         <enumeration value="N"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="condVeic">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                         <whiteSpace value="preserve"/>
+ *                                                         <enumeration value="1"/>
+ *                                                         <enumeration value="2"/>
+ *                                                         <enumeration value="3"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="cMod">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                         <whiteSpace value="preserve"/>
+ *                                                         <pattern value="[0-9]{1,6}"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="cCorDENATRAN">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                         <whiteSpace value="preserve"/>
+ *                                                         <minLength value="1"/>
+ *                                                         <maxLength value="2"/>
+ *                                                         <pattern value="[0-9]{1,2}"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="lota">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                         <minLength value="1"/>
+ *                                                         <maxLength value="3"/>
+ *                                                         <whiteSpace value="preserve"/>
+ *                                                         <pattern value="[0-9]{1,3}"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="tpRest">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                         <whiteSpace value="preserve"/>
+ *                                                         <enumeration value="0"/>
+ *                                                         <enumeration value="1"/>
+ *                                                         <enumeration value="2"/>
+ *                                                         <enumeration value="3"/>
+ *                                                         <enumeration value="4"/>
+ *                                                         <enumeration value="9"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                         <element name="med">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="cProdANVISA">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                         <pattern value="[0-9]{11}|[0-9]{13}|ISENTO"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="xMotivoIsencao" minOccurs="0">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                         <minLength value="1"/>
+ *                                                         <maxLength value="255"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="vPMC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                         <element name="arma" maxOccurs="500">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="tpArma">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                         <whiteSpace value="preserve"/>
+ *                                                         <enumeration value="0"/>
+ *                                                         <enumeration value="1"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="nSerie">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                         <minLength value="1"/>
+ *                                                         <maxLength value="15"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="nCano">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                         <minLength value="1"/>
+ *                                                         <maxLength value="15"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="descr">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                         <minLength value="1"/>
+ *                                                         <maxLength value="256"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                         <element name="comb">
+ *                                           <complexType>
+ *                                             <complexContent>
+ *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                 <sequence>
+ *                                                   <element name="cProdANP">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                         <whiteSpace value="preserve"/>
+ *                                                         <pattern value="[0-9]{9}"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="descANP">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                         <minLength value="2"/>
+ *                                                         <maxLength value="95"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="pGLP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
+ *                                                   <element name="pGNn" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
+ *                                                   <element name="pGNi" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
+ *                                                   <element name="vPart" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+ *                                                   <element name="CODIF" minOccurs="0">
+ *                                                     <simpleType>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                         <whiteSpace value="preserve"/>
+ *                                                         <pattern value="[0-9]{1,21}"/>
+ *                                                       </restriction>
+ *                                                     </simpleType>
+ *                                                   </element>
+ *                                                   <element name="qTemp" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204temperatura" minOccurs="0"/>
+ *                                                   <element name="UFCons" type="{http://www.portalfiscal.inf.br/nfe}TUf"/>
+ *                                                   <element name="CIDE" minOccurs="0">
+ *                                                     <complexType>
+ *                                                       <complexContent>
+ *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                           <sequence>
+ *                                                             <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
+ *                                                             <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104"/>
+ *                                                             <element name="vCIDE" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                           </sequence>
+ *                                                         </restriction>
+ *                                                       </complexContent>
+ *                                                     </complexType>
+ *                                                   </element>
+ *                                                   <element name="encerrante" minOccurs="0">
+ *                                                     <complexType>
+ *                                                       <complexContent>
+ *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                           <sequence>
+ *                                                             <element name="nBico">
+ *                                                               <simpleType>
+ *                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                   <whiteSpace value="preserve"/>
+ *                                                                   <pattern value="[0-9]{1,3}"/>
+ *                                                                 </restriction>
+ *                                                               </simpleType>
+ *                                                             </element>
+ *                                                             <element name="nBomba" minOccurs="0">
+ *                                                               <simpleType>
+ *                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                   <whiteSpace value="preserve"/>
+ *                                                                   <pattern value="[0-9]{1,3}"/>
+ *                                                                 </restriction>
+ *                                                               </simpleType>
+ *                                                             </element>
+ *                                                             <element name="nTanque">
+ *                                                               <simpleType>
+ *                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                   <whiteSpace value="preserve"/>
+ *                                                                   <pattern value="[0-9]{1,3}"/>
+ *                                                                 </restriction>
+ *                                                               </simpleType>
+ *                                                             </element>
+ *                                                             <element name="vEncIni" type="{http://www.portalfiscal.inf.br/nfe}TDec_1203"/>
+ *                                                             <element name="vEncFin" type="{http://www.portalfiscal.inf.br/nfe}TDec_1203"/>
+ *                                                           </sequence>
+ *                                                         </restriction>
+ *                                                       </complexContent>
+ *                                                     </complexType>
+ *                                                   </element>
+ *                                                   <element name="pBio" type="{http://www.portalfiscal.inf.br/nfe}TDec_03v00a04Max100Opc" minOccurs="0"/>
+ *                                                   <element name="origComb" maxOccurs="30" minOccurs="0">
+ *                                                     <complexType>
+ *                                                       <complexContent>
+ *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                           <sequence>
+ *                                                             <element name="indImport">
+ *                                                               <simpleType>
+ *                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                   <whiteSpace value="preserve"/>
+ *                                                                   <enumeration value="0"/>
+ *                                                                   <enumeration value="1"/>
+ *                                                                 </restriction>
+ *                                                               </simpleType>
+ *                                                             </element>
+ *                                                             <element name="cUFOrig" type="{http://www.portalfiscal.inf.br/nfe}TCodUfIBGE"/>
+ *                                                             <element name="pOrig" type="{http://www.portalfiscal.inf.br/nfe}TDec_03v00a04Max100Opc"/>
+ *                                                           </sequence>
+ *                                                         </restriction>
+ *                                                       </complexContent>
+ *                                                     </complexType>
+ *                                                   </element>
+ *                                                 </sequence>
+ *                                               </restriction>
+ *                                             </complexContent>
+ *                                           </complexType>
+ *                                         </element>
+ *                                         <element name="nRECOPI">
+ *                                           <simpleType>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                               <whiteSpace value="preserve"/>
+ *                                               <maxLength value="20"/>
+ *                                               <pattern value="[0-9]{20}"/>
+ *                                             </restriction>
+ *                                           </simpleType>
+ *                                         </element>
+ *                                       </choice>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="imposto">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="vTotTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+ *                                       <choice minOccurs="0">
+ *                                         <sequence>
+ *                                           <element name="ICMS">
+ *                                             <complexType>
+ *                                               <complexContent>
+ *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                   <choice>
+ *                                                     <element name="ICMS00">
+ *                                                       <complexType>
+ *                                                         <complexContent>
+ *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                             <sequence>
+ *                                                               <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+ *                                                               <element name="CST">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <enumeration value="00"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                               <element name="modBC">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <enumeration value="0"/>
+ *                                                                     <enumeration value="1"/>
+ *                                                                     <enumeration value="2"/>
+ *                                                                     <enumeration value="3"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                               <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                               <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+ *                                                                 <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               </sequence>
+ *                                                             </sequence>
+ *                                                           </restriction>
+ *                                                         </complexContent>
+ *                                                       </complexType>
+ *                                                     </element>
+ *                                                     <element name="ICMS02">
+ *                                                       <complexType>
+ *                                                         <complexContent>
+ *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                             <sequence>
+ *                                                               <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+ *                                                               <element name="CST">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <enumeration value="02"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                               <element name="qBCMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+ *                                                               <element name="adRemICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                               <element name="vICMSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                             </sequence>
+ *                                                           </restriction>
+ *                                                         </complexContent>
+ *                                                       </complexType>
+ *                                                     </element>
+ *                                                     <element name="ICMS10">
+ *                                                       <complexType>
+ *                                                         <complexContent>
+ *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                             <sequence>
+ *                                                               <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+ *                                                               <element name="CST">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <enumeration value="10"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                               <element name="modBC">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <enumeration value="0"/>
+ *                                                                     <enumeration value="1"/>
+ *                                                                     <enumeration value="2"/>
+ *                                                                     <enumeration value="3"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                               <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                               <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+ *                                                                 <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               </sequence>
+ *                                                               <element name="modBCST">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <enumeration value="0"/>
+ *                                                                     <enumeration value="1"/>
+ *                                                                     <enumeration value="2"/>
+ *                                                                     <enumeration value="3"/>
+ *                                                                     <enumeration value="4"/>
+ *                                                                     <enumeration value="5"/>
+ *                                                                     <enumeration value="6"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                               <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+ *                                                               <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+ *                                                               <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                               <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+ *                                                                 <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               </sequence>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="vICMSSTDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <element name="motDesICMSST">
+ *                                                                   <simpleType>
+ *                                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                       <whiteSpace value="preserve"/>
+ *                                                                       <enumeration value="3"/>
+ *                                                                       <enumeration value="9"/>
+ *                                                                       <enumeration value="12"/>
+ *                                                                     </restriction>
+ *                                                                   </simpleType>
+ *                                                                 </element>
+ *                                                               </sequence>
+ *                                                             </sequence>
+ *                                                           </restriction>
+ *                                                         </complexContent>
+ *                                                       </complexType>
+ *                                                     </element>
+ *                                                     <element name="ICMS15">
+ *                                                       <complexType>
+ *                                                         <complexContent>
+ *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                             <sequence>
+ *                                                               <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+ *                                                               <element name="CST">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <enumeration value="15"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                               <element name="qBCMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+ *                                                               <element name="adRemICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                               <element name="vICMSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               <element name="qBCMonoReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+ *                                                               <element name="adRemICMSReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                               <element name="vICMSMonoReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="pRedAdRem" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302Max100"/>
+ *                                                                 <element name="motRedAdRem">
+ *                                                                   <simpleType>
+ *                                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                       <whiteSpace value="preserve"/>
+ *                                                                       <enumeration value="1"/>
+ *                                                                       <enumeration value="9"/>
+ *                                                                     </restriction>
+ *                                                                   </simpleType>
+ *                                                                 </element>
+ *                                                               </sequence>
+ *                                                             </sequence>
+ *                                                           </restriction>
+ *                                                         </complexContent>
+ *                                                       </complexType>
+ *                                                     </element>
+ *                                                     <element name="ICMS20">
+ *                                                       <complexType>
+ *                                                         <complexContent>
+ *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                             <sequence>
+ *                                                               <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+ *                                                               <element name="CST">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <enumeration value="20"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                               <element name="modBC">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <enumeration value="0"/>
+ *                                                                     <enumeration value="1"/>
+ *                                                                     <enumeration value="2"/>
+ *                                                                     <enumeration value="3"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                               <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                               <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                               <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+ *                                                                 <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               </sequence>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <element name="motDesICMS">
+ *                                                                   <simpleType>
+ *                                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                       <whiteSpace value="preserve"/>
+ *                                                                       <enumeration value="3"/>
+ *                                                                       <enumeration value="9"/>
+ *                                                                       <enumeration value="12"/>
+ *                                                                     </restriction>
+ *                                                                   </simpleType>
+ *                                                                 </element>
+ *                                                                 <element name="indDeduzDeson" minOccurs="0">
+ *                                                                   <simpleType>
+ *                                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                       <whiteSpace value="preserve"/>
+ *                                                                       <enumeration value="0"/>
+ *                                                                       <enumeration value="1"/>
+ *                                                                     </restriction>
+ *                                                                   </simpleType>
+ *                                                                 </element>
+ *                                                               </sequence>
+ *                                                             </sequence>
+ *                                                           </restriction>
+ *                                                         </complexContent>
+ *                                                       </complexType>
+ *                                                     </element>
+ *                                                     <element name="ICMS30">
+ *                                                       <complexType>
+ *                                                         <complexContent>
+ *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                             <sequence>
+ *                                                               <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+ *                                                               <element name="CST">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <enumeration value="30"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                               <element name="modBCST">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <enumeration value="0"/>
+ *                                                                     <enumeration value="1"/>
+ *                                                                     <enumeration value="2"/>
+ *                                                                     <enumeration value="3"/>
+ *                                                                     <enumeration value="4"/>
+ *                                                                     <enumeration value="5"/>
+ *                                                                     <enumeration value="6"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                               <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+ *                                                               <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+ *                                                               <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                               <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+ *                                                                 <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               </sequence>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <element name="motDesICMS">
+ *                                                                   <simpleType>
+ *                                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                       <whiteSpace value="preserve"/>
+ *                                                                       <enumeration value="6"/>
+ *                                                                       <enumeration value="7"/>
+ *                                                                       <enumeration value="9"/>
+ *                                                                     </restriction>
+ *                                                                   </simpleType>
+ *                                                                 </element>
+ *                                                                 <element name="indDeduzDeson" minOccurs="0">
+ *                                                                   <simpleType>
+ *                                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                       <whiteSpace value="preserve"/>
+ *                                                                       <enumeration value="0"/>
+ *                                                                       <enumeration value="1"/>
+ *                                                                     </restriction>
+ *                                                                   </simpleType>
+ *                                                                 </element>
+ *                                                               </sequence>
+ *                                                             </sequence>
+ *                                                           </restriction>
+ *                                                         </complexContent>
+ *                                                       </complexType>
+ *                                                     </element>
+ *                                                     <element name="ICMS40">
+ *                                                       <complexType>
+ *                                                         <complexContent>
+ *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                             <sequence>
+ *                                                               <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+ *                                                               <element name="CST">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <enumeration value="40"/>
+ *                                                                     <enumeration value="41"/>
+ *                                                                     <enumeration value="50"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <element name="motDesICMS">
+ *                                                                   <simpleType>
+ *                                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                       <whiteSpace value="preserve"/>
+ *                                                                       <enumeration value="1"/>
+ *                                                                       <enumeration value="3"/>
+ *                                                                       <enumeration value="4"/>
+ *                                                                       <enumeration value="5"/>
+ *                                                                       <enumeration value="6"/>
+ *                                                                       <enumeration value="7"/>
+ *                                                                       <enumeration value="8"/>
+ *                                                                       <enumeration value="9"/>
+ *                                                                       <enumeration value="10"/>
+ *                                                                       <enumeration value="11"/>
+ *                                                                       <enumeration value="16"/>
+ *                                                                       <enumeration value="90"/>
+ *                                                                     </restriction>
+ *                                                                   </simpleType>
+ *                                                                 </element>
+ *                                                                 <element name="indDeduzDeson" minOccurs="0">
+ *                                                                   <simpleType>
+ *                                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                       <whiteSpace value="preserve"/>
+ *                                                                       <enumeration value="0"/>
+ *                                                                       <enumeration value="1"/>
+ *                                                                     </restriction>
+ *                                                                   </simpleType>
+ *                                                                 </element>
+ *                                                               </sequence>
+ *                                                             </sequence>
+ *                                                           </restriction>
+ *                                                         </complexContent>
+ *                                                       </complexType>
+ *                                                     </element>
+ *                                                     <element name="ICMS51">
+ *                                                       <complexType>
+ *                                                         <complexContent>
+ *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                             <sequence>
+ *                                                               <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+ *                                                               <element name="CST">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <enumeration value="51"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                               <element name="modBC" minOccurs="0">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <enumeration value="0"/>
+ *                                                                     <enumeration value="1"/>
+ *                                                                     <enumeration value="2"/>
+ *                                                                     <enumeration value="3"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                               <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
+ *                                                               <element name="cBenefRBC" minOccurs="0">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <pattern value="[!-ÿ]{8}|[!-ÿ]{10}"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                               <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+ *                                                               <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
+ *                                                               <element name="vICMSOp" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+ *                                                               <element name="pDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
+ *                                                               <element name="vICMSDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+ *                                                               <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+ *                                                                 <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               </sequence>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="pFCPDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+ *                                                                 <element name="vFCPDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <element name="vFCPEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+ *                                                               </sequence>
+ *                                                             </sequence>
+ *                                                           </restriction>
+ *                                                         </complexContent>
+ *                                                       </complexType>
+ *                                                     </element>
+ *                                                     <element name="ICMS53">
+ *                                                       <complexType>
+ *                                                         <complexContent>
+ *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                             <sequence>
+ *                                                               <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+ *                                                               <element name="CST">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <enumeration value="53"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                               <element name="qBCMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+ *                                                               <element name="adRemICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
+ *                                                               <element name="vICMSMonoOp" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+ *                                                               <element name="pDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
+ *                                                               <element name="vICMSMonoDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+ *                                                               <element name="vICMSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+ *                                                               <element name="qBCMonoDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+ *                                                               <element name="adRemICMSDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
+ *                                                             </sequence>
+ *                                                           </restriction>
+ *                                                         </complexContent>
+ *                                                       </complexType>
+ *                                                     </element>
+ *                                                     <element name="ICMS60">
+ *                                                       <complexType>
+ *                                                         <complexContent>
+ *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                             <sequence>
+ *                                                               <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+ *                                                               <element name="CST">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <enumeration value="60"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="vBCSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <element name="pST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+ *                                                                 <element name="vICMSSubstituto" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+ *                                                                 <element name="vICMSSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               </sequence>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="vBCFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <element name="pFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+ *                                                                 <element name="vFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               </sequence>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="pRedBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+ *                                                                 <element name="vBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <element name="pICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+ *                                                                 <element name="vICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               </sequence>
+ *                                                             </sequence>
+ *                                                           </restriction>
+ *                                                         </complexContent>
+ *                                                       </complexType>
+ *                                                     </element>
+ *                                                     <element name="ICMS61">
+ *                                                       <complexType>
+ *                                                         <complexContent>
+ *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                             <sequence>
+ *                                                               <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+ *                                                               <element name="CST">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <enumeration value="61"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                               <element name="qBCMonoRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+ *                                                               <element name="adRemICMSRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                               <element name="vICMSMonoRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                             </sequence>
+ *                                                           </restriction>
+ *                                                         </complexContent>
+ *                                                       </complexType>
+ *                                                     </element>
+ *                                                     <element name="ICMS70">
+ *                                                       <complexType>
+ *                                                         <complexContent>
+ *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                             <sequence>
+ *                                                               <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+ *                                                               <element name="CST">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <enumeration value="70"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                               <element name="modBC">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <enumeration value="0"/>
+ *                                                                     <enumeration value="1"/>
+ *                                                                     <enumeration value="2"/>
+ *                                                                     <enumeration value="3"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                               <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                               <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                               <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+ *                                                                 <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               </sequence>
+ *                                                               <element name="modBCST">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <enumeration value="0"/>
+ *                                                                     <enumeration value="1"/>
+ *                                                                     <enumeration value="2"/>
+ *                                                                     <enumeration value="3"/>
+ *                                                                     <enumeration value="4"/>
+ *                                                                     <enumeration value="5"/>
+ *                                                                     <enumeration value="6"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                               <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+ *                                                               <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+ *                                                               <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                               <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+ *                                                                 <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               </sequence>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <element name="motDesICMS">
+ *                                                                   <simpleType>
+ *                                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                       <whiteSpace value="preserve"/>
+ *                                                                       <enumeration value="3"/>
+ *                                                                       <enumeration value="9"/>
+ *                                                                       <enumeration value="12"/>
+ *                                                                     </restriction>
+ *                                                                   </simpleType>
+ *                                                                 </element>
+ *                                                                 <element name="indDeduzDeson" minOccurs="0">
+ *                                                                   <simpleType>
+ *                                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                       <whiteSpace value="preserve"/>
+ *                                                                       <enumeration value="0"/>
+ *                                                                       <enumeration value="1"/>
+ *                                                                     </restriction>
+ *                                                                   </simpleType>
+ *                                                                 </element>
+ *                                                               </sequence>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="vICMSSTDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <element name="motDesICMSST">
+ *                                                                   <simpleType>
+ *                                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                       <whiteSpace value="preserve"/>
+ *                                                                       <enumeration value="3"/>
+ *                                                                       <enumeration value="9"/>
+ *                                                                       <enumeration value="12"/>
+ *                                                                     </restriction>
+ *                                                                   </simpleType>
+ *                                                                 </element>
+ *                                                               </sequence>
+ *                                                             </sequence>
+ *                                                           </restriction>
+ *                                                         </complexContent>
+ *                                                       </complexType>
+ *                                                     </element>
+ *                                                     <element name="ICMS90">
+ *                                                       <complexType>
+ *                                                         <complexContent>
+ *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                             <sequence>
+ *                                                               <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+ *                                                               <element name="CST">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <enumeration value="90"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="modBC">
+ *                                                                   <simpleType>
+ *                                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                       <whiteSpace value="preserve"/>
+ *                                                                       <enumeration value="0"/>
+ *                                                                       <enumeration value="1"/>
+ *                                                                       <enumeration value="2"/>
+ *                                                                       <enumeration value="3"/>
+ *                                                                     </restriction>
+ *                                                                   </simpleType>
+ *                                                                 </element>
+ *                                                                 <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+ *                                                                 <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                                 <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <sequence minOccurs="0">
+ *                                                                   <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                   <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+ *                                                                   <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 </sequence>
+ *                                                               </sequence>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="modBCST">
+ *                                                                   <simpleType>
+ *                                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                       <whiteSpace value="preserve"/>
+ *                                                                       <enumeration value="0"/>
+ *                                                                       <enumeration value="1"/>
+ *                                                                       <enumeration value="2"/>
+ *                                                                       <enumeration value="3"/>
+ *                                                                       <enumeration value="4"/>
+ *                                                                       <enumeration value="5"/>
+ *                                                                       <enumeration value="6"/>
+ *                                                                     </restriction>
+ *                                                                   </simpleType>
+ *                                                                 </element>
+ *                                                                 <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+ *                                                                 <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+ *                                                                 <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                                 <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <sequence minOccurs="0">
+ *                                                                   <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                   <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+ *                                                                   <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 </sequence>
+ *                                                               </sequence>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <element name="motDesICMS">
+ *                                                                   <simpleType>
+ *                                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                       <whiteSpace value="preserve"/>
+ *                                                                       <enumeration value="3"/>
+ *                                                                       <enumeration value="9"/>
+ *                                                                       <enumeration value="12"/>
+ *                                                                     </restriction>
+ *                                                                   </simpleType>
+ *                                                                 </element>
+ *                                                                 <element name="indDeduzDeson" minOccurs="0">
+ *                                                                   <simpleType>
+ *                                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                       <whiteSpace value="preserve"/>
+ *                                                                       <enumeration value="0"/>
+ *                                                                       <enumeration value="1"/>
+ *                                                                     </restriction>
+ *                                                                   </simpleType>
+ *                                                                 </element>
+ *                                                               </sequence>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="vICMSSTDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <element name="motDesICMSST">
+ *                                                                   <simpleType>
+ *                                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                       <whiteSpace value="preserve"/>
+ *                                                                       <enumeration value="3"/>
+ *                                                                       <enumeration value="9"/>
+ *                                                                       <enumeration value="12"/>
+ *                                                                     </restriction>
+ *                                                                   </simpleType>
+ *                                                                 </element>
+ *                                                               </sequence>
+ *                                                             </sequence>
+ *                                                           </restriction>
+ *                                                         </complexContent>
+ *                                                       </complexType>
+ *                                                     </element>
+ *                                                     <element name="ICMSPart">
+ *                                                       <complexType>
+ *                                                         <complexContent>
+ *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                             <sequence>
+ *                                                               <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+ *                                                               <element name="CST">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <enumeration value="10"/>
+ *                                                                     <enumeration value="90"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                               <element name="modBC">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <enumeration value="0"/>
+ *                                                                     <enumeration value="1"/>
+ *                                                                     <enumeration value="2"/>
+ *                                                                     <enumeration value="3"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                               <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+ *                                                               <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                               <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               <element name="modBCST">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <enumeration value="0"/>
+ *                                                                     <enumeration value="1"/>
+ *                                                                     <enumeration value="2"/>
+ *                                                                     <enumeration value="3"/>
+ *                                                                     <enumeration value="4"/>
+ *                                                                     <enumeration value="5"/>
+ *                                                                     <enumeration value="6"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                               <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+ *                                                               <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+ *                                                               <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                               <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+ *                                                                 <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               </sequence>
+ *                                                               <element name="pBCOp" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+ *                                                               <element name="UFST" type="{http://www.portalfiscal.inf.br/nfe}TUf"/>
+ *                                                             </sequence>
+ *                                                           </restriction>
+ *                                                         </complexContent>
+ *                                                       </complexType>
+ *                                                     </element>
+ *                                                     <element name="ICMSST">
+ *                                                       <complexType>
+ *                                                         <complexContent>
+ *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                             <sequence>
+ *                                                               <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+ *                                                               <element name="CST">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <enumeration value="41"/>
+ *                                                                     <enumeration value="60"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                               <element name="vBCSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               <element name="pST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+ *                                                               <element name="vICMSSubstituto" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+ *                                                               <element name="vICMSSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="vBCFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <element name="pFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+ *                                                                 <element name="vFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               </sequence>
+ *                                                               <element name="vBCSTDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               <element name="vICMSSTDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="pRedBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+ *                                                                 <element name="vBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <element name="pICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+ *                                                                 <element name="vICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               </sequence>
+ *                                                             </sequence>
+ *                                                           </restriction>
+ *                                                         </complexContent>
+ *                                                       </complexType>
+ *                                                     </element>
+ *                                                     <element name="ICMSSN101">
+ *                                                       <complexType>
+ *                                                         <complexContent>
+ *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                             <sequence>
+ *                                                               <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+ *                                                               <element name="CSOSN">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <enumeration value="101"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                               <element name="pCredSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                               <element name="vCredICMSSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                             </sequence>
+ *                                                           </restriction>
+ *                                                         </complexContent>
+ *                                                       </complexType>
+ *                                                     </element>
+ *                                                     <element name="ICMSSN102">
+ *                                                       <complexType>
+ *                                                         <complexContent>
+ *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                             <sequence>
+ *                                                               <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig" minOccurs="0"/>
+ *                                                               <element name="CSOSN">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <enumeration value="102"/>
+ *                                                                     <enumeration value="103"/>
+ *                                                                     <enumeration value="300"/>
+ *                                                                     <enumeration value="400"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                             </sequence>
+ *                                                           </restriction>
+ *                                                         </complexContent>
+ *                                                       </complexType>
+ *                                                     </element>
+ *                                                     <element name="ICMSSN201">
+ *                                                       <complexType>
+ *                                                         <complexContent>
+ *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                             <sequence>
+ *                                                               <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+ *                                                               <element name="CSOSN">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <enumeration value="201"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                               <element name="modBCST">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <enumeration value="0"/>
+ *                                                                     <enumeration value="1"/>
+ *                                                                     <enumeration value="2"/>
+ *                                                                     <enumeration value="3"/>
+ *                                                                     <enumeration value="4"/>
+ *                                                                     <enumeration value="5"/>
+ *                                                                     <enumeration value="6"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                               <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+ *                                                               <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+ *                                                               <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                               <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+ *                                                                 <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               </sequence>
+ *                                                               <element name="pCredSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                               <element name="vCredICMSSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                             </sequence>
+ *                                                           </restriction>
+ *                                                         </complexContent>
+ *                                                       </complexType>
+ *                                                     </element>
+ *                                                     <element name="ICMSSN202">
+ *                                                       <complexType>
+ *                                                         <complexContent>
+ *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                             <sequence>
+ *                                                               <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+ *                                                               <element name="CSOSN">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <enumeration value="202"/>
+ *                                                                     <enumeration value="203"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                               <element name="modBCST">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <enumeration value="0"/>
+ *                                                                     <enumeration value="1"/>
+ *                                                                     <enumeration value="2"/>
+ *                                                                     <enumeration value="3"/>
+ *                                                                     <enumeration value="4"/>
+ *                                                                     <enumeration value="5"/>
+ *                                                                     <enumeration value="6"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                               <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+ *                                                               <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+ *                                                               <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                               <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+ *                                                                 <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               </sequence>
+ *                                                             </sequence>
+ *                                                           </restriction>
+ *                                                         </complexContent>
+ *                                                       </complexType>
+ *                                                     </element>
+ *                                                     <element name="ICMSSN500">
+ *                                                       <complexType>
+ *                                                         <complexContent>
+ *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                             <sequence>
+ *                                                               <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+ *                                                               <element name="CSOSN">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <enumeration value="500"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="vBCSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <element name="pST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+ *                                                                 <element name="vICMSSubstituto" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+ *                                                                 <element name="vICMSSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               </sequence>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="vBCFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <element name="pFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+ *                                                                 <element name="vFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               </sequence>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="pRedBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+ *                                                                 <element name="vBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <element name="pICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+ *                                                                 <element name="vICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               </sequence>
+ *                                                             </sequence>
+ *                                                           </restriction>
+ *                                                         </complexContent>
+ *                                                       </complexType>
+ *                                                     </element>
+ *                                                     <element name="ICMSSN900">
+ *                                                       <complexType>
+ *                                                         <complexContent>
+ *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                             <sequence>
+ *                                                               <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig" minOccurs="0"/>
+ *                                                               <element name="CSOSN">
+ *                                                                 <simpleType>
+ *                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                     <whiteSpace value="preserve"/>
+ *                                                                     <enumeration value="900"/>
+ *                                                                   </restriction>
+ *                                                                 </simpleType>
+ *                                                               </element>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="modBC">
+ *                                                                   <simpleType>
+ *                                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                       <whiteSpace value="preserve"/>
+ *                                                                       <enumeration value="0"/>
+ *                                                                       <enumeration value="1"/>
+ *                                                                       <enumeration value="2"/>
+ *                                                                       <enumeration value="3"/>
+ *                                                                     </restriction>
+ *                                                                   </simpleType>
+ *                                                                 </element>
+ *                                                                 <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+ *                                                                 <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                                 <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               </sequence>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="modBCST">
+ *                                                                   <simpleType>
+ *                                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                       <whiteSpace value="preserve"/>
+ *                                                                       <enumeration value="0"/>
+ *                                                                       <enumeration value="1"/>
+ *                                                                       <enumeration value="2"/>
+ *                                                                       <enumeration value="3"/>
+ *                                                                       <enumeration value="4"/>
+ *                                                                       <enumeration value="5"/>
+ *                                                                       <enumeration value="6"/>
+ *                                                                     </restriction>
+ *                                                                   </simpleType>
+ *                                                                 </element>
+ *                                                                 <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+ *                                                                 <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+ *                                                                 <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                                 <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 <sequence minOccurs="0">
+ *                                                                   <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                   <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+ *                                                                   <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                                 </sequence>
+ *                                                               </sequence>
+ *                                                               <sequence minOccurs="0">
+ *                                                                 <element name="pCredSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                                 <element name="vCredICMSSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               </sequence>
+ *                                                             </sequence>
+ *                                                           </restriction>
+ *                                                         </complexContent>
+ *                                                       </complexType>
+ *                                                     </element>
+ *                                                   </choice>
+ *                                                 </restriction>
+ *                                               </complexContent>
+ *                                             </complexType>
+ *                                           </element>
+ *                                           <element name="IPI" type="{http://www.portalfiscal.inf.br/nfe}TIpi" minOccurs="0"/>
+ *                                           <element name="II" minOccurs="0">
+ *                                             <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="vDespAdu" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                     <element name="vII" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                     <element name="vIOF" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                   </sequence>
+ *                                                 </restriction>
+ *                                               </complexContent>
+ *                                             </complexType>
+ *                                           </element>
+ *                                         </sequence>
+ *                                         <sequence>
+ *                                           <element name="IPI" type="{http://www.portalfiscal.inf.br/nfe}TIpi" minOccurs="0"/>
+ *                                           <element name="ISSQN">
+ *                                             <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="vAliq" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                     <element name="vISSQN" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                     <element name="cMunFG" type="{http://www.portalfiscal.inf.br/nfe}TCodMunIBGE"/>
+ *                                                     <element name="cListServ" type="{http://www.portalfiscal.inf.br/nfe}TCListServ"/>
+ *                                                     <element name="vDeducao" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+ *                                                     <element name="vOutro" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+ *                                                     <element name="vDescIncond" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+ *                                                     <element name="vDescCond" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+ *                                                     <element name="vISSRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+ *                                                     <element name="indISS">
+ *                                                       <simpleType>
+ *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                           <whiteSpace value="preserve"/>
+ *                                                           <enumeration value="1"/>
+ *                                                           <enumeration value="2"/>
+ *                                                           <enumeration value="3"/>
+ *                                                           <enumeration value="4"/>
+ *                                                           <enumeration value="5"/>
+ *                                                           <enumeration value="6"/>
+ *                                                           <enumeration value="7"/>
+ *                                                         </restriction>
+ *                                                       </simpleType>
+ *                                                     </element>
+ *                                                     <element name="cServico" minOccurs="0">
+ *                                                       <simpleType>
+ *                                                         <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                           <whiteSpace value="preserve"/>
+ *                                                           <minLength value="1"/>
+ *                                                           <maxLength value="20"/>
+ *                                                         </restriction>
+ *                                                       </simpleType>
+ *                                                     </element>
+ *                                                     <element name="cMun" type="{http://www.portalfiscal.inf.br/nfe}TCodMunIBGE" minOccurs="0"/>
+ *                                                     <element name="cPais" minOccurs="0">
+ *                                                       <simpleType>
+ *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                           <whiteSpace value="preserve"/>
+ *                                                           <pattern value="[0-9]{1,4}"/>
+ *                                                         </restriction>
+ *                                                       </simpleType>
+ *                                                     </element>
+ *                                                     <element name="nProcesso" minOccurs="0">
+ *                                                       <simpleType>
+ *                                                         <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                           <whiteSpace value="preserve"/>
+ *                                                           <minLength value="1"/>
+ *                                                           <maxLength value="30"/>
+ *                                                         </restriction>
+ *                                                       </simpleType>
+ *                                                     </element>
+ *                                                     <element name="indIncentivo">
+ *                                                       <simpleType>
+ *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                           <whiteSpace value="preserve"/>
+ *                                                           <enumeration value="1"/>
+ *                                                           <enumeration value="2"/>
+ *                                                         </restriction>
+ *                                                       </simpleType>
+ *                                                     </element>
+ *                                                   </sequence>
+ *                                                 </restriction>
+ *                                               </complexContent>
+ *                                             </complexType>
+ *                                           </element>
+ *                                         </sequence>
+ *                                       </choice>
+ *                                       <element name="PIS" minOccurs="0">
+ *                                         <complexType>
+ *                                           <complexContent>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                               <choice>
+ *                                                 <element name="PISAliq">
+ *                                                   <complexType>
+ *                                                     <complexContent>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                         <sequence>
+ *                                                           <element name="CST">
+ *                                                             <simpleType>
+ *                                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                 <whiteSpace value="preserve"/>
+ *                                                                 <enumeration value="01"/>
+ *                                                                 <enumeration value="02"/>
+ *                                                               </restriction>
+ *                                                             </simpleType>
+ *                                                           </element>
+ *                                                           <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                           <element name="pPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                           <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                         </sequence>
+ *                                                       </restriction>
+ *                                                     </complexContent>
+ *                                                   </complexType>
+ *                                                 </element>
+ *                                                 <element name="PISQtde">
+ *                                                   <complexType>
+ *                                                     <complexContent>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                         <sequence>
+ *                                                           <element name="CST">
+ *                                                             <simpleType>
+ *                                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                 <whiteSpace value="preserve"/>
+ *                                                                 <enumeration value="03"/>
+ *                                                               </restriction>
+ *                                                             </simpleType>
+ *                                                           </element>
+ *                                                           <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
+ *                                                           <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+ *                                                           <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                         </sequence>
+ *                                                       </restriction>
+ *                                                     </complexContent>
+ *                                                   </complexType>
+ *                                                 </element>
+ *                                                 <element name="PISNT">
+ *                                                   <complexType>
+ *                                                     <complexContent>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                         <sequence>
+ *                                                           <element name="CST">
+ *                                                             <simpleType>
+ *                                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                 <whiteSpace value="preserve"/>
+ *                                                                 <enumeration value="04"/>
+ *                                                                 <enumeration value="05"/>
+ *                                                                 <enumeration value="06"/>
+ *                                                                 <enumeration value="07"/>
+ *                                                                 <enumeration value="08"/>
+ *                                                                 <enumeration value="09"/>
+ *                                                               </restriction>
+ *                                                             </simpleType>
+ *                                                           </element>
+ *                                                         </sequence>
+ *                                                       </restriction>
+ *                                                     </complexContent>
+ *                                                   </complexType>
+ *                                                 </element>
+ *                                                 <element name="PISOutr">
+ *                                                   <complexType>
+ *                                                     <complexContent>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                         <sequence>
+ *                                                           <element name="CST">
+ *                                                             <simpleType>
+ *                                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                 <whiteSpace value="preserve"/>
+ *                                                                 <enumeration value="49"/>
+ *                                                                 <enumeration value="50"/>
+ *                                                                 <enumeration value="51"/>
+ *                                                                 <enumeration value="52"/>
+ *                                                                 <enumeration value="53"/>
+ *                                                                 <enumeration value="54"/>
+ *                                                                 <enumeration value="55"/>
+ *                                                                 <enumeration value="56"/>
+ *                                                                 <enumeration value="60"/>
+ *                                                                 <enumeration value="61"/>
+ *                                                                 <enumeration value="62"/>
+ *                                                                 <enumeration value="63"/>
+ *                                                                 <enumeration value="64"/>
+ *                                                                 <enumeration value="65"/>
+ *                                                                 <enumeration value="66"/>
+ *                                                                 <enumeration value="67"/>
+ *                                                                 <enumeration value="70"/>
+ *                                                                 <enumeration value="71"/>
+ *                                                                 <enumeration value="72"/>
+ *                                                                 <enumeration value="73"/>
+ *                                                                 <enumeration value="74"/>
+ *                                                                 <enumeration value="75"/>
+ *                                                                 <enumeration value="98"/>
+ *                                                                 <enumeration value="99"/>
+ *                                                               </restriction>
+ *                                                             </simpleType>
+ *                                                           </element>
+ *                                                           <choice>
+ *                                                             <sequence>
+ *                                                               <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               <element name="pPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                             </sequence>
+ *                                                             <sequence>
+ *                                                               <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
+ *                                                               <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+ *                                                             </sequence>
+ *                                                           </choice>
+ *                                                           <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                         </sequence>
+ *                                                       </restriction>
+ *                                                     </complexContent>
+ *                                                   </complexType>
+ *                                                 </element>
+ *                                               </choice>
+ *                                             </restriction>
+ *                                           </complexContent>
+ *                                         </complexType>
+ *                                       </element>
+ *                                       <element name="PISST" minOccurs="0">
+ *                                         <complexType>
+ *                                           <complexContent>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                               <sequence>
+ *                                                 <choice>
+ *                                                   <sequence>
+ *                                                     <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc"/>
+ *                                                     <element name="pPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                   </sequence>
+ *                                                   <sequence>
+ *                                                     <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204"/>
+ *                                                     <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104"/>
+ *                                                   </sequence>
+ *                                                 </choice>
+ *                                                 <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                 <element name="indSomaPISST" minOccurs="0">
+ *                                                   <simpleType>
+ *                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                       <whiteSpace value="preserve"/>
+ *                                                       <enumeration value="0"/>
+ *                                                       <enumeration value="1"/>
+ *                                                     </restriction>
+ *                                                   </simpleType>
+ *                                                 </element>
+ *                                               </sequence>
+ *                                             </restriction>
+ *                                           </complexContent>
+ *                                         </complexType>
+ *                                       </element>
+ *                                       <element name="COFINS" minOccurs="0">
+ *                                         <complexType>
+ *                                           <complexContent>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                               <choice>
+ *                                                 <element name="COFINSAliq">
+ *                                                   <complexType>
+ *                                                     <complexContent>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                         <sequence>
+ *                                                           <element name="CST">
+ *                                                             <simpleType>
+ *                                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                 <whiteSpace value="preserve"/>
+ *                                                                 <enumeration value="01"/>
+ *                                                                 <enumeration value="02"/>
+ *                                                               </restriction>
+ *                                                             </simpleType>
+ *                                                           </element>
+ *                                                           <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                           <element name="pCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                           <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                         </sequence>
+ *                                                       </restriction>
+ *                                                     </complexContent>
+ *                                                   </complexType>
+ *                                                 </element>
+ *                                                 <element name="COFINSQtde">
+ *                                                   <complexType>
+ *                                                     <complexContent>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                         <sequence>
+ *                                                           <element name="CST">
+ *                                                             <simpleType>
+ *                                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                 <enumeration value="03"/>
+ *                                                               </restriction>
+ *                                                             </simpleType>
+ *                                                           </element>
+ *                                                           <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
+ *                                                           <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+ *                                                           <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                         </sequence>
+ *                                                       </restriction>
+ *                                                     </complexContent>
+ *                                                   </complexType>
+ *                                                 </element>
+ *                                                 <element name="COFINSNT">
+ *                                                   <complexType>
+ *                                                     <complexContent>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                         <sequence>
+ *                                                           <element name="CST">
+ *                                                             <simpleType>
+ *                                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                 <whiteSpace value="preserve"/>
+ *                                                                 <enumeration value="04"/>
+ *                                                                 <enumeration value="05"/>
+ *                                                                 <enumeration value="06"/>
+ *                                                                 <enumeration value="07"/>
+ *                                                                 <enumeration value="08"/>
+ *                                                                 <enumeration value="09"/>
+ *                                                               </restriction>
+ *                                                             </simpleType>
+ *                                                           </element>
+ *                                                         </sequence>
+ *                                                       </restriction>
+ *                                                     </complexContent>
+ *                                                   </complexType>
+ *                                                 </element>
+ *                                                 <element name="COFINSOutr">
+ *                                                   <complexType>
+ *                                                     <complexContent>
+ *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                                         <sequence>
+ *                                                           <element name="CST">
+ *                                                             <simpleType>
+ *                                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                                 <whiteSpace value="preserve"/>
+ *                                                                 <enumeration value="49"/>
+ *                                                                 <enumeration value="50"/>
+ *                                                                 <enumeration value="51"/>
+ *                                                                 <enumeration value="52"/>
+ *                                                                 <enumeration value="53"/>
+ *                                                                 <enumeration value="54"/>
+ *                                                                 <enumeration value="55"/>
+ *                                                                 <enumeration value="56"/>
+ *                                                                 <enumeration value="60"/>
+ *                                                                 <enumeration value="61"/>
+ *                                                                 <enumeration value="62"/>
+ *                                                                 <enumeration value="63"/>
+ *                                                                 <enumeration value="64"/>
+ *                                                                 <enumeration value="65"/>
+ *                                                                 <enumeration value="66"/>
+ *                                                                 <enumeration value="67"/>
+ *                                                                 <enumeration value="70"/>
+ *                                                                 <enumeration value="71"/>
+ *                                                                 <enumeration value="72"/>
+ *                                                                 <enumeration value="73"/>
+ *                                                                 <enumeration value="74"/>
+ *                                                                 <enumeration value="75"/>
+ *                                                                 <enumeration value="98"/>
+ *                                                                 <enumeration value="99"/>
+ *                                                               </restriction>
+ *                                                             </simpleType>
+ *                                                           </element>
+ *                                                           <choice>
+ *                                                             <sequence>
+ *                                                               <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                               <element name="pCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                             </sequence>
+ *                                                             <sequence>
+ *                                                               <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
+ *                                                               <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+ *                                                             </sequence>
+ *                                                           </choice>
+ *                                                           <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                         </sequence>
+ *                                                       </restriction>
+ *                                                     </complexContent>
+ *                                                   </complexType>
+ *                                                 </element>
+ *                                               </choice>
+ *                                             </restriction>
+ *                                           </complexContent>
+ *                                         </complexType>
+ *                                       </element>
+ *                                       <element name="COFINSST" minOccurs="0">
+ *                                         <complexType>
+ *                                           <complexContent>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                               <sequence>
+ *                                                 <choice>
+ *                                                   <sequence>
+ *                                                     <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                     <element name="pCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                   </sequence>
+ *                                                   <sequence>
+ *                                                     <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204"/>
+ *                                                     <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104"/>
+ *                                                   </sequence>
+ *                                                 </choice>
+ *                                                 <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                 <element name="indSomaCOFINSST" minOccurs="0">
+ *                                                   <simpleType>
+ *                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                       <whiteSpace value="preserve"/>
+ *                                                       <enumeration value="0"/>
+ *                                                       <enumeration value="1"/>
+ *                                                     </restriction>
+ *                                                   </simpleType>
+ *                                                 </element>
+ *                                               </sequence>
+ *                                             </restriction>
+ *                                           </complexContent>
+ *                                         </complexType>
+ *                                       </element>
+ *                                       <element name="ICMSUFDest" minOccurs="0">
+ *                                         <complexType>
+ *                                           <complexContent>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                               <sequence>
+ *                                                 <element name="vBCUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                 <element name="vBCFCPUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+ *                                                 <element name="pFCPUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
+ *                                                 <element name="pICMSUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                 <element name="pICMSInter">
+ *                                                   <simpleType>
+ *                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                       <whiteSpace value="preserve"/>
+ *                                                       <enumeration value="4.00"/>
+ *                                                       <enumeration value="7.00"/>
+ *                                                       <enumeration value="12.00"/>
+ *                                                     </restriction>
+ *                                                   </simpleType>
+ *                                                 </element>
+ *                                                 <element name="pICMSInterPart" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                                 <element name="vFCPUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+ *                                                 <element name="vICMSUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                                 <element name="vICMSUFRemet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                               </sequence>
+ *                                             </restriction>
+ *                                           </complexContent>
+ *                                         </complexType>
+ *                                       </element>
+ *                                       <element name="IS" type="{http://www.portalfiscal.inf.br/nfe}TIS" minOccurs="0"/>
+ *                                       <element name="IBSCBS" type="{http://www.portalfiscal.inf.br/nfe}TTribNFe" minOccurs="0"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="impostoDevol" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="pDevol" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302Max100"/>
+ *                                       <element name="IPI">
+ *                                         <complexType>
+ *                                           <complexContent>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                               <sequence>
+ *                                                 <element name="vIPIDevol" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                               </sequence>
+ *                                             </restriction>
+ *                                           </complexContent>
+ *                                         </complexType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="infAdProd" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="500"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="obsItem" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="obsCont" minOccurs="0">
+ *                                         <complexType>
+ *                                           <complexContent>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                               <sequence>
+ *                                                 <element name="xTexto">
+ *                                                   <simpleType>
+ *                                                     <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                       <minLength value="1"/>
+ *                                                       <maxLength value="60"/>
+ *                                                     </restriction>
+ *                                                   </simpleType>
+ *                                                 </element>
+ *                                               </sequence>
+ *                                               <attribute name="xCampo" use="required">
+ *                                                 <simpleType>
+ *                                                   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                     <minLength value="1"/>
+ *                                                     <maxLength value="20"/>
+ *                                                   </restriction>
+ *                                                 </simpleType>
+ *                                               </attribute>
+ *                                             </restriction>
+ *                                           </complexContent>
+ *                                         </complexType>
+ *                                       </element>
+ *                                       <element name="obsFisco" minOccurs="0">
+ *                                         <complexType>
+ *                                           <complexContent>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                               <sequence>
+ *                                                 <element name="xTexto">
+ *                                                   <simpleType>
+ *                                                     <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                       <minLength value="1"/>
+ *                                                       <maxLength value="60"/>
+ *                                                     </restriction>
+ *                                                   </simpleType>
+ *                                                 </element>
+ *                                               </sequence>
+ *                                               <attribute name="xCampo" use="required">
+ *                                                 <simpleType>
+ *                                                   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                     <minLength value="1"/>
+ *                                                     <maxLength value="20"/>
+ *                                                   </restriction>
+ *                                                 </simpleType>
+ *                                               </attribute>
+ *                                             </restriction>
+ *                                           </complexContent>
+ *                                         </complexType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="vItem" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+ *                             <element name="DFeReferenciado" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="chaveAcesso" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/>
+ *                                       <element name="nItem" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                             <whiteSpace value="preserve"/>
+ *                                             <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}"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                           </sequence>
+ *                           <attribute name="nItem" use="required">
+ *                             <simpleType>
+ *                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                 <whiteSpace value="preserve"/>
+ *                                 <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}"/>
+ *                               </restriction>
+ *                             </simpleType>
+ *                           </attribute>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="total">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="ICMSTot">
+ *                               <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="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                       <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                       <element name="vFCPUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+ *                                       <element name="vICMSUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+ *                                       <element name="vICMSUFRemet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+ *                                       <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                       <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                       <element name="vST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                       <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                       <element name="vFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                       <element name="qBCMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+ *                                       <element name="vICMSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+ *                                       <element name="qBCMonoReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+ *                                       <element name="vICMSMonoReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+ *                                       <element name="qBCMonoRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+ *                                       <element name="vICMSMonoRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+ *                                       <element name="vProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                       <element name="vFrete" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                       <element name="vSeg" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                       <element name="vDesc" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                       <element name="vII" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                       <element name="vIPI" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                       <element name="vIPIDevol" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                       <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                       <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                       <element name="vOutro" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                       <element name="vNF" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                       <element name="vTotTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="ISSQNtot" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="vServ" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+ *                                       <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+ *                                       <element name="vISS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+ *                                       <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+ *                                       <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+ *                                       <element name="dCompet" type="{http://www.portalfiscal.inf.br/nfe}TData"/>
+ *                                       <element name="vDeducao" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+ *                                       <element name="vOutro" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+ *                                       <element name="vDescIncond" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+ *                                       <element name="vDescCond" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+ *                                       <element name="vISSRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+ *                                       <element name="cRegTrib" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                             <whiteSpace value="preserve"/>
+ *                                             <enumeration value="1"/>
+ *                                             <enumeration value="2"/>
+ *                                             <enumeration value="3"/>
+ *                                             <enumeration value="4"/>
+ *                                             <enumeration value="5"/>
+ *                                             <enumeration value="6"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="retTrib" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="vRetPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+ *                                       <element name="vRetCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+ *                                       <element name="vRetCSLL" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+ *                                       <element name="vBCIRRF" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+ *                                       <element name="vIRRF" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+ *                                       <element name="vBCRetPrev" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+ *                                       <element name="vRetPrev" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="ISTot" type="{http://www.portalfiscal.inf.br/nfe}TISTot" minOccurs="0"/>
+ *                             <element name="IBSCBSTot" type="{http://www.portalfiscal.inf.br/nfe}TIBSCBSMonoTot" minOccurs="0"/>
+ *                             <element name="vNFTot" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="transp">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="modFrete">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <enumeration value="0"/>
+ *                                   <enumeration value="1"/>
+ *                                   <enumeration value="2"/>
+ *                                   <enumeration value="3"/>
+ *                                   <enumeration value="4"/>
+ *                                   <enumeration value="9"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="transporta" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <choice minOccurs="0">
+ *                                         <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="xNome" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                             <maxLength value="60"/>
+ *                                             <minLength value="2"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="IE" type="{http://www.portalfiscal.inf.br/nfe}TIeDest" minOccurs="0"/>
+ *                                       <element name="xEnder" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="60"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="xMun" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                             <maxLength value="60"/>
+ *                                             <minLength value="1"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="UF" type="{http://www.portalfiscal.inf.br/nfe}TUf" minOccurs="0"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="retTransp" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="vServ" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                       <element name="vBCRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                       <element name="pICMSRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+ *                                       <element name="vICMSRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                       <element name="CFOP">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                             <whiteSpace value="preserve"/>
+ *                                             <pattern value="[1,2,3,5,6,7]{1}[0-9]{3}"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="cMunFG" type="{http://www.portalfiscal.inf.br/nfe}TCodMunIBGE"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <choice>
+ *                               <sequence minOccurs="0">
+ *                                 <element name="veicTransp" type="{http://www.portalfiscal.inf.br/nfe}TVeiculo" minOccurs="0"/>
+ *                                 <element name="reboque" type="{http://www.portalfiscal.inf.br/nfe}TVeiculo" maxOccurs="5" minOccurs="0"/>
+ *                               </sequence>
+ *                               <element name="vagao" minOccurs="0">
+ *                                 <simpleType>
+ *                                   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                     <minLength value="1"/>
+ *                                     <maxLength value="20"/>
+ *                                   </restriction>
+ *                                 </simpleType>
+ *                               </element>
+ *                               <element name="balsa" minOccurs="0">
+ *                                 <simpleType>
+ *                                   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                     <minLength value="1"/>
+ *                                     <maxLength value="20"/>
+ *                                   </restriction>
+ *                                 </simpleType>
+ *                               </element>
+ *                             </choice>
+ *                             <element name="vol" maxOccurs="5000" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="qVol" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                             <whiteSpace value="preserve"/>
+ *                                             <pattern value="[0-9]{1,15}"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="esp" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="60"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="marca" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="60"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="nVol" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="60"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="pesoL" type="{http://www.portalfiscal.inf.br/nfe}TDec_1203" minOccurs="0"/>
+ *                                       <element name="pesoB" type="{http://www.portalfiscal.inf.br/nfe}TDec_1203" minOccurs="0"/>
+ *                                       <element name="lacres" maxOccurs="5000" minOccurs="0">
+ *                                         <complexType>
+ *                                           <complexContent>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                               <sequence>
+ *                                                 <element name="nLacre">
+ *                                                   <simpleType>
+ *                                                     <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                       <minLength value="1"/>
+ *                                                       <maxLength value="60"/>
+ *                                                     </restriction>
+ *                                                   </simpleType>
+ *                                                 </element>
+ *                                               </sequence>
+ *                                             </restriction>
+ *                                           </complexContent>
+ *                                         </complexType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="cobr" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="fat" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="nFat" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="60"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="vOrig" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+ *                                       <element name="vDesc" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+ *                                       <element name="vLiq" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="dup" maxOccurs="120" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="nDup" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                             <maxLength value="60"/>
+ *                                             <minLength value="1"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="dVenc" type="{http://www.portalfiscal.inf.br/nfe}TData" minOccurs="0"/>
+ *                                       <element name="vDup" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="pag">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="detPag" maxOccurs="100">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="indPag" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                             <whiteSpace value="preserve"/>
+ *                                             <enumeration value="0"/>
+ *                                             <enumeration value="1"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="tPag">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                             <whiteSpace value="preserve"/>
+ *                                             <pattern value="[0-9]{2}"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="xPag" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                             <minLength value="2"/>
+ *                                             <maxLength value="60"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="vPag" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                       <element name="dPag" type="{http://www.portalfiscal.inf.br/nfe}TData" minOccurs="0"/>
+ *                                       <sequence minOccurs="0">
+ *                                         <element name="CNPJPag" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/>
+ *                                         <element name="UFPag" type="{http://www.portalfiscal.inf.br/nfe}TUfEmi"/>
+ *                                       </sequence>
+ *                                       <element name="card" minOccurs="0">
+ *                                         <complexType>
+ *                                           <complexContent>
+ *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                               <sequence>
+ *                                                 <element name="tpIntegra">
+ *                                                   <simpleType>
+ *                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                       <whiteSpace value="preserve"/>
+ *                                                       <enumeration value="1"/>
+ *                                                       <enumeration value="2"/>
+ *                                                     </restriction>
+ *                                                   </simpleType>
+ *                                                 </element>
+ *                                                 <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj" minOccurs="0"/>
+ *                                                 <element name="tBand" minOccurs="0">
+ *                                                   <simpleType>
+ *                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                                       <whiteSpace value="preserve"/>
+ *                                                       <pattern value="[0-9]{2}"/>
+ *                                                     </restriction>
+ *                                                   </simpleType>
+ *                                                 </element>
+ *                                                 <element name="cAut" minOccurs="0">
+ *                                                   <simpleType>
+ *                                                     <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                       <minLength value="1"/>
+ *                                                       <maxLength value="128"/>
+ *                                                     </restriction>
+ *                                                   </simpleType>
+ *                                                 </element>
+ *                                                 <element name="CNPJReceb" type="{http://www.portalfiscal.inf.br/nfe}TCnpj" minOccurs="0"/>
+ *                                                 <element name="idTermPag" minOccurs="0">
+ *                                                   <simpleType>
+ *                                                     <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                                       <minLength value="1"/>
+ *                                                       <maxLength value="40"/>
+ *                                                     </restriction>
+ *                                                   </simpleType>
+ *                                                 </element>
+ *                                               </sequence>
+ *                                             </restriction>
+ *                                           </complexContent>
+ *                                         </complexType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="vTroco" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="infIntermed" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/>
+ *                             <element name="idCadIntTran">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                   <minLength value="2"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="infAdic" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="infAdFisco" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                   <maxLength value="2000"/>
+ *                                   <minLength value="1"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="infCpl" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                   <maxLength value="5000"/>
+ *                                   <minLength value="1"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="obsCont" maxOccurs="10" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="xTexto">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="60"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                     <attribute name="xCampo" use="required">
+ *                                       <simpleType>
+ *                                         <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                           <minLength value="1"/>
+ *                                           <maxLength value="20"/>
+ *                                         </restriction>
+ *                                       </simpleType>
+ *                                     </attribute>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="obsFisco" maxOccurs="10" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="xTexto">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="60"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                     <attribute name="xCampo" use="required">
+ *                                       <simpleType>
+ *                                         <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                           <minLength value="1"/>
+ *                                           <maxLength value="20"/>
+ *                                         </restriction>
+ *                                       </simpleType>
+ *                                     </attribute>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="procRef" maxOccurs="100" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="nProc">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="60"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="indProc">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                             <whiteSpace value="preserve"/>
+ *                                             <enumeration value="0"/>
+ *                                             <enumeration value="1"/>
+ *                                             <enumeration value="2"/>
+ *                                             <enumeration value="3"/>
+ *                                             <enumeration value="4"/>
+ *                                             <enumeration value="9"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="tpAto" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                             <whiteSpace value="preserve"/>
+ *                                             <enumeration value="08"/>
+ *                                             <enumeration value="10"/>
+ *                                             <enumeration value="12"/>
+ *                                             <enumeration value="14"/>
+ *                                             <enumeration value="15"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="exporta" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="UFSaidaPais" type="{http://www.portalfiscal.inf.br/nfe}TUfEmi"/>
+ *                             <element name="xLocExporta">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xLocDespacho" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="compra" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="xNEmp" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="22"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xPed" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="xCont" minOccurs="0">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                   <minLength value="1"/>
+ *                                   <maxLength value="60"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="cana" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="safra">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                   <minLength value="4"/>
+ *                                   <maxLength value="9"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="ref">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                   <whiteSpace value="preserve"/>
+ *                                   <pattern value="(0[1-9]|1[0-2])([/][2][0-9][0-9][0-9])"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                             <element name="forDia" maxOccurs="31">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="qtde" type="{http://www.portalfiscal.inf.br/nfe}TDec_1110v"/>
+ *                                     </sequence>
+ *                                     <attribute name="dia" use="required">
+ *                                       <simpleType>
+ *                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                           <whiteSpace value="preserve"/>
+ *                                           <pattern value="[1-9]|[1][0-9]|[2][0-9]|[3][0-1]"/>
+ *                                         </restriction>
+ *                                       </simpleType>
+ *                                     </attribute>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="qTotMes" type="{http://www.portalfiscal.inf.br/nfe}TDec_1110v"/>
+ *                             <element name="qTotAnt" type="{http://www.portalfiscal.inf.br/nfe}TDec_1110v"/>
+ *                             <element name="qTotGer" type="{http://www.portalfiscal.inf.br/nfe}TDec_1110v"/>
+ *                             <element name="deduc" maxOccurs="10" minOccurs="0">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="xDed">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="60"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="vDed" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="vFor" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                             <element name="vTotDed" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                             <element name="vLiqFor" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="infRespTec" type="{http://www.portalfiscal.inf.br/nfe}TInfRespTec" minOccurs="0"/>
+ *                   <element name="infSolicNFF" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <sequence>
+ *                             <element name="xSolic">
+ *                               <simpleType>
+ *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                   <minLength value="2"/>
+ *                                   <maxLength value="5000"/>
+ *                                 </restriction>
+ *                               </simpleType>
+ *                             </element>
+ *                           </sequence>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                   <element name="agropecuario" minOccurs="0">
+ *                     <complexType>
+ *                       <complexContent>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                           <choice>
+ *                             <element name="defensivo" maxOccurs="20">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="nReceituario">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                             <maxLength value="30"/>
+ *                                             <minLength value="1"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="CPFRespTec" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                             <element name="guiaTransito">
+ *                               <complexType>
+ *                                 <complexContent>
+ *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                                     <sequence>
+ *                                       <element name="tpGuia">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                             <whiteSpace value="preserve"/>
+ *                                             <enumeration value="1"/>
+ *                                             <enumeration value="2"/>
+ *                                             <enumeration value="3"/>
+ *                                             <enumeration value="4"/>
+ *                                             <enumeration value="5"/>
+ *                                             <enumeration value="6"/>
+ *                                             <enumeration value="7"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="UFGuia" type="{http://www.portalfiscal.inf.br/nfe}TUfEmi"/>
+ *                                       <element name="serieGuia" minOccurs="0">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                                             <minLength value="1"/>
+ *                                             <maxLength value="9"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                       <element name="nGuia">
+ *                                         <simpleType>
+ *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                                             <pattern value="[0-9]{1,9}"/>
+ *                                           </restriction>
+ *                                         </simpleType>
+ *                                       </element>
+ *                                     </sequence>
+ *                                   </restriction>
+ *                                 </complexContent>
+ *                               </complexType>
+ *                             </element>
+ *                           </choice>
+ *                         </restriction>
+ *                       </complexContent>
+ *                     </complexType>
+ *                   </element>
+ *                 </sequence>
+ *                 <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerNFe" />
+ *                 <attribute name="Id" use="required">
+ *                   <simpleType>
+ *                     <restriction base="{http://www.w3.org/2001/XMLSchema}ID">
+ *                       <pattern value="NFe[0-9]{44}"/>
+ *                     </restriction>
+ *                   </simpleType>
+ *                 </attribute>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element name="infNFeSupl" minOccurs="0">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="qrCode">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                         <whiteSpace value="preserve"/>
+ *                         <minLength value="60"/>
+ *                         <maxLength value="1000"/>
+ *                         <pattern value="((HTTPS?|https?)://.*\?chNFe=[0-9]{44}&nVersao=100&tpAmb=[1-2](&cDest=([A-Za-z0-9.:+-/)(]{0}|[A-Za-z0-9.:+-/)(]{5,20})?)?&dhEmi=[A-Fa-f0-9]{50}&vNF=(0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?)&vICMS=(0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?)&digVal=[A-Fa-f0-9]{56}&cIdToken=[0-9]{6}&cHashQRCode=[A-Fa-f0-9]{40})"/>
+ *                         <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})"/>
+ *                         <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})"/>
+ *                         <pattern value="((HTTPS?|https?)://.*\?p=([0-9]{34}(1|3|4)[0-9]{9})\|[3]\|[1-2])"/>
+ *                         <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}))"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                   <element name="urlChave">
+ *                     <simpleType>
+ *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                         <minLength value="21"/>
+ *                         <maxLength value="85"/>
+ *                       </restriction>
+ *                     </simpleType>
+ *                   </element>
+ *                 </sequence>
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TNFe", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "infNFe", + "infNFeSupl", + "signature" +}) +public class TNFe { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected TNFe.InfNFe infNFe; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFeSupl infNFeSupl; + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected SignatureType signature; + + /** + * Obtém o valor da propriedade infNFe. + * + * @return + * possible object is + * {@link TNFe.InfNFe } + * + */ + public TNFe.InfNFe getInfNFe() { + return infNFe; + } + + /** + * Define o valor da propriedade infNFe. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe } + * + */ + public void setInfNFe(TNFe.InfNFe value) { + this.infNFe = value; + } + + /** + * Obtém o valor da propriedade infNFeSupl. + * + * @return + * possible object is + * {@link TNFe.InfNFeSupl } + * + */ + public TNFe.InfNFeSupl getInfNFeSupl() { + return infNFeSupl; + } + + /** + * Define o valor da propriedade infNFeSupl. + * + * @param value + * allowed object is + * {@link TNFe.InfNFeSupl } + * + */ + public void setInfNFeSupl(TNFe.InfNFeSupl value) { + this.infNFeSupl = value; + } + + /** + * Obtém o valor da propriedade signature. + * + * @return + * possible object is + * {@link SignatureType } + * + */ + public SignatureType getSignature() { + return signature; + } + + /** + * Define o valor da propriedade signature. + * + * @param value + * allowed object is + * {@link SignatureType } + * + */ + public void setSignature(SignatureType value) { + this.signature = value; + } + + + /** + *

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="ide">
+     *           <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="cNF">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <pattern value="[0-9]{8}"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="natOp">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="mod" type="{http://www.portalfiscal.inf.br/nfe}TMod"/>
+     *                   <element name="serie" type="{http://www.portalfiscal.inf.br/nfe}TSerie"/>
+     *                   <element name="nNF" type="{http://www.portalfiscal.inf.br/nfe}TNF"/>
+     *                   <element name="dhEmi" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/>
+     *                   <element name="dhSaiEnt" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC" minOccurs="0"/>
+     *                   <element name="tpNF">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="0"/>
+     *                         <enumeration value="1"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="idDest">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="2"/>
+     *                         <enumeration value="3"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="cMunFG" type="{http://www.portalfiscal.inf.br/nfe}TCodMunIBGE"/>
+     *                   <element name="cMunFGIBS" type="{http://www.portalfiscal.inf.br/nfe}TCodMunIBGE" minOccurs="0"/>
+     *                   <element name="tpImp">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="0"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="2"/>
+     *                         <enumeration value="3"/>
+     *                         <enumeration value="4"/>
+     *                         <enumeration value="5"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="tpEmis">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="2"/>
+     *                         <enumeration value="3"/>
+     *                         <enumeration value="4"/>
+     *                         <enumeration value="5"/>
+     *                         <enumeration value="6"/>
+     *                         <enumeration value="7"/>
+     *                         <enumeration value="9"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="cDV">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <pattern value="[0-9]{1}"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="tpAmb" type="{http://www.portalfiscal.inf.br/nfe}TAmb"/>
+     *                   <element name="finNFe" type="{http://www.portalfiscal.inf.br/nfe}TFinNFe"/>
+     *                   <element name="tpNFDebito" type="{http://www.portalfiscal.inf.br/nfe}TTpNFDebito" minOccurs="0"/>
+     *                   <element name="tpNFCredito" type="{http://www.portalfiscal.inf.br/nfe}TTpNFCredito" minOccurs="0"/>
+     *                   <element name="indFinal">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="0"/>
+     *                         <enumeration value="1"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="indPres">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="0"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="2"/>
+     *                         <enumeration value="3"/>
+     *                         <enumeration value="4"/>
+     *                         <enumeration value="5"/>
+     *                         <enumeration value="9"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="indIntermed" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="0"/>
+     *                         <enumeration value="1"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="procEmi" type="{http://www.portalfiscal.inf.br/nfe}TProcEmi"/>
+     *                   <element name="verProc">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="20"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <sequence minOccurs="0">
+     *                     <element name="dhCont" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/>
+     *                     <element name="xJust">
+     *                       <simpleType>
+     *                         <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                           <minLength value="15"/>
+     *                           <maxLength value="256"/>
+     *                         </restriction>
+     *                       </simpleType>
+     *                     </element>
+     *                   </sequence>
+     *                   <element name="NFref" maxOccurs="999" minOccurs="0">
+     *                     <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>
+     *                   </element>
+     *                   <element name="gCompraGov" type="{http://www.portalfiscal.inf.br/nfe}TCompraGov" minOccurs="0"/>
+     *                   <element name="gPagAntecipado" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="refNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe" maxOccurs="99"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="emit">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <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="xNome">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xFant" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="1"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="enderEmit" type="{http://www.portalfiscal.inf.br/nfe}TEnderEmi"/>
+     *                   <element name="IE" type="{http://www.portalfiscal.inf.br/nfe}TIe"/>
+     *                   <element name="IEST" type="{http://www.portalfiscal.inf.br/nfe}TIeST" minOccurs="0"/>
+     *                   <sequence minOccurs="0">
+     *                     <element name="IM">
+     *                       <simpleType>
+     *                         <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                           <minLength value="1"/>
+     *                           <maxLength value="15"/>
+     *                         </restriction>
+     *                       </simpleType>
+     *                     </element>
+     *                     <element name="CNAE" minOccurs="0">
+     *                       <simpleType>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                           <whiteSpace value="preserve"/>
+     *                           <pattern value="[0-9]{7}"/>
+     *                         </restriction>
+     *                       </simpleType>
+     *                     </element>
+     *                   </sequence>
+     *                   <element name="CRT">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="2"/>
+     *                         <enumeration value="3"/>
+     *                         <enumeration value="4"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="avulsa" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/>
+     *                   <element name="xOrgao">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="1"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="matr">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xAgente">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="1"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="fone" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <pattern value="[0-9]{6,14}"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="UF" type="{http://www.portalfiscal.inf.br/nfe}TUfEmi"/>
+     *                   <element name="nDAR" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="dEmi" type="{http://www.portalfiscal.inf.br/nfe}TData" minOccurs="0"/>
+     *                   <element name="vDAR" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+     *                   <element name="repEmi">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="dPag" type="{http://www.portalfiscal.inf.br/nfe}TData" minOccurs="0"/>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="dest" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <choice>
+     *                     <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/>
+     *                     <element name="CPF" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/>
+     *                     <element name="idEstrangeiro">
+     *                       <simpleType>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                           <whiteSpace value="preserve"/>
+     *                           <pattern value="([!-ÿ]{0}|[!-ÿ]{5,20})?"/>
+     *                         </restriction>
+     *                       </simpleType>
+     *                     </element>
+     *                   </choice>
+     *                   <element name="xNome" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                         <maxLength value="60"/>
+     *                         <minLength value="2"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="enderDest" type="{http://www.portalfiscal.inf.br/nfe}TEndereco" minOccurs="0"/>
+     *                   <element name="indIEDest">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="2"/>
+     *                         <enumeration value="9"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="IE" type="{http://www.portalfiscal.inf.br/nfe}TIeDestNaoIsento" minOccurs="0"/>
+     *                   <element name="ISUF" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <pattern value="[0-9]{8,9}"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="IM" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="15"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="email" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                         <whiteSpace value="preserve"/>
+     *                         <minLength value="1"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="retirada" type="{http://www.portalfiscal.inf.br/nfe}TLocal" minOccurs="0"/>
+     *         <element name="entrega" type="{http://www.portalfiscal.inf.br/nfe}TLocal" minOccurs="0"/>
+     *         <element name="autXML" maxOccurs="10" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <choice>
+     *                   <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/>
+     *                   <element name="CPF" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/>
+     *                 </choice>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="det" maxOccurs="990">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="prod">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="cProd">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                   <maxLength value="60"/>
+     *                                   <minLength value="1"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="cEAN">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                   <whiteSpace value="preserve"/>
+     *                                   <pattern value="SEM GTIN|[0-9]{0}|[0-9]{8}|[0-9]{12,14}"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="cBarra" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                   <maxLength value="30"/>
+     *                                   <minLength value="3"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="xProd">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                   <maxLength value="120"/>
+     *                                   <minLength value="1"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="NCM">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                   <whiteSpace value="preserve"/>
+     *                                   <pattern value="[0-9]{2}|[0-9]{8}"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="NVE" maxOccurs="8" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                   <whiteSpace value="preserve"/>
+     *                                   <pattern value="[A-Z]{2}[0-9]{4}"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <sequence minOccurs="0">
+     *                               <element name="CEST">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                     <whiteSpace value="preserve"/>
+     *                                     <pattern value="[0-9]{7}"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="indEscala" minOccurs="0">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                     <enumeration value="S"/>
+     *                                     <enumeration value="N"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                               <element name="CNPJFab" type="{http://www.portalfiscal.inf.br/nfe}TCnpj" minOccurs="0"/>
+     *                             </sequence>
+     *                             <element name="cBenef" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                   <whiteSpace value="preserve"/>
+     *                                   <pattern value="([!-ÿ]{8}|[!-ÿ]{10}|SEM CBENEF)?"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="gCred" maxOccurs="4" minOccurs="0">
+     *                               <complexType>
+     *                                 <complexContent>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                     <sequence>
+     *                                       <element name="cCredPresumido">
+     *                                         <simpleType>
+     *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                             <whiteSpace value="preserve"/>
+     *                                             <pattern value="[!-ÿ]{8}|[!-ÿ]{10}"/>
+     *                                           </restriction>
+     *                                         </simpleType>
+     *                                       </element>
+     *                                       <element name="pCredPresumido" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                       <element name="vCredPresumido" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                     </sequence>
+     *                                   </restriction>
+     *                                 </complexContent>
+     *                               </complexType>
+     *                             </element>
+     *                             <element name="EXTIPI" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                   <whiteSpace value="preserve"/>
+     *                                   <pattern value="[0-9]{2,3}"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="CFOP">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                   <whiteSpace value="preserve"/>
+     *                                   <pattern value="[1,2,3,5,6,7]{1}[0-9]{3}"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="uCom">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                   <maxLength value="6"/>
+     *                                   <minLength value="1"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="qCom" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+     *                             <element name="vUnCom" type="{http://www.portalfiscal.inf.br/nfe}TDec_1110v"/>
+     *                             <element name="vProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                             <element name="cEANTrib">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                   <whiteSpace value="preserve"/>
+     *                                   <pattern value="SEM GTIN|[0-9]{0}|[0-9]{8}|[0-9]{12,14}"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="cBarraTrib" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                   <maxLength value="30"/>
+     *                                   <minLength value="3"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="uTrib">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                   <maxLength value="6"/>
+     *                                   <minLength value="1"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="qTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+     *                             <element name="vUnTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec_1110v"/>
+     *                             <element name="vFrete" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+     *                             <element name="vSeg" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+     *                             <element name="vDesc" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+     *                             <element name="vOutro" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+     *                             <element name="indTot">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                   <whiteSpace value="preserve"/>
+     *                                   <enumeration value="0"/>
+     *                                   <enumeration value="1"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="indBemMovelUsado" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                   <whiteSpace value="preserve"/>
+     *                                   <enumeration value="1"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="DI" maxOccurs="100" minOccurs="0">
+     *                               <complexType>
+     *                                 <complexContent>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                     <sequence>
+     *                                       <element name="nDI">
+     *                                         <simpleType>
+     *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                             <minLength value="1"/>
+     *                                             <maxLength value="15"/>
+     *                                           </restriction>
+     *                                         </simpleType>
+     *                                       </element>
+     *                                       <element name="dDI" type="{http://www.portalfiscal.inf.br/nfe}TData"/>
+     *                                       <element name="xLocDesemb">
+     *                                         <simpleType>
+     *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                             <minLength value="1"/>
+     *                                             <maxLength value="60"/>
+     *                                           </restriction>
+     *                                         </simpleType>
+     *                                       </element>
+     *                                       <element name="UFDesemb" type="{http://www.portalfiscal.inf.br/nfe}TUfEmi"/>
+     *                                       <element name="dDesemb" type="{http://www.portalfiscal.inf.br/nfe}TData"/>
+     *                                       <element name="tpViaTransp">
+     *                                         <simpleType>
+     *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                             <whiteSpace value="preserve"/>
+     *                                             <enumeration value="1"/>
+     *                                             <enumeration value="2"/>
+     *                                             <enumeration value="3"/>
+     *                                             <enumeration value="4"/>
+     *                                             <enumeration value="5"/>
+     *                                             <enumeration value="6"/>
+     *                                             <enumeration value="7"/>
+     *                                             <enumeration value="8"/>
+     *                                             <enumeration value="9"/>
+     *                                             <enumeration value="10"/>
+     *                                             <enumeration value="11"/>
+     *                                             <enumeration value="12"/>
+     *                                             <enumeration value="13"/>
+     *                                           </restriction>
+     *                                         </simpleType>
+     *                                       </element>
+     *                                       <element name="vAFRMM" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+     *                                       <element name="tpIntermedio">
+     *                                         <simpleType>
+     *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                             <whiteSpace value="preserve"/>
+     *                                             <enumeration value="1"/>
+     *                                             <enumeration value="2"/>
+     *                                             <enumeration value="3"/>
+     *                                           </restriction>
+     *                                         </simpleType>
+     *                                       </element>
+     *                                       <choice minOccurs="0">
+     *                                         <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="UFTerceiro" type="{http://www.portalfiscal.inf.br/nfe}TUfEmi" minOccurs="0"/>
+     *                                       <element name="cExportador">
+     *                                         <simpleType>
+     *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                             <minLength value="1"/>
+     *                                             <maxLength value="60"/>
+     *                                           </restriction>
+     *                                         </simpleType>
+     *                                       </element>
+     *                                       <element name="adi" maxOccurs="999">
+     *                                         <complexType>
+     *                                           <complexContent>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                               <sequence>
+     *                                                 <element name="nAdicao" minOccurs="0">
+     *                                                   <simpleType>
+     *                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                       <whiteSpace value="preserve"/>
+     *                                                       <pattern value="[1-9]{1}[0-9]{0,2}"/>
+     *                                                     </restriction>
+     *                                                   </simpleType>
+     *                                                 </element>
+     *                                                 <element name="nSeqAdic">
+     *                                                   <simpleType>
+     *                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                       <whiteSpace value="preserve"/>
+     *                                                       <pattern value="[1-9]{1}[0-9]{0,4}"/>
+     *                                                     </restriction>
+     *                                                   </simpleType>
+     *                                                 </element>
+     *                                                 <element name="cFabricante">
+     *                                                   <simpleType>
+     *                                                     <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                                       <minLength value="1"/>
+     *                                                       <maxLength value="60"/>
+     *                                                     </restriction>
+     *                                                   </simpleType>
+     *                                                 </element>
+     *                                                 <element name="vDescDI" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+     *                                                 <element name="nDraw" minOccurs="0">
+     *                                                   <simpleType>
+     *                                                     <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                                       <minLength value="1"/>
+     *                                                       <maxLength value="20"/>
+     *                                                     </restriction>
+     *                                                   </simpleType>
+     *                                                 </element>
+     *                                               </sequence>
+     *                                             </restriction>
+     *                                           </complexContent>
+     *                                         </complexType>
+     *                                       </element>
+     *                                     </sequence>
+     *                                   </restriction>
+     *                                 </complexContent>
+     *                               </complexType>
+     *                             </element>
+     *                             <element name="detExport" maxOccurs="500" minOccurs="0">
+     *                               <complexType>
+     *                                 <complexContent>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                     <sequence>
+     *                                       <element name="nDraw" minOccurs="0">
+     *                                         <simpleType>
+     *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                             <minLength value="1"/>
+     *                                             <maxLength value="20"/>
+     *                                           </restriction>
+     *                                         </simpleType>
+     *                                       </element>
+     *                                       <element name="exportInd" minOccurs="0">
+     *                                         <complexType>
+     *                                           <complexContent>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                               <sequence>
+     *                                                 <element name="nRE">
+     *                                                   <simpleType>
+     *                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                       <whiteSpace value="preserve"/>
+     *                                                       <pattern value="[0-9]{0,12}"/>
+     *                                                     </restriction>
+     *                                                   </simpleType>
+     *                                                 </element>
+     *                                                 <element name="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/>
+     *                                                 <element name="qExport" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+     *                                               </sequence>
+     *                                             </restriction>
+     *                                           </complexContent>
+     *                                         </complexType>
+     *                                       </element>
+     *                                     </sequence>
+     *                                   </restriction>
+     *                                 </complexContent>
+     *                               </complexType>
+     *                             </element>
+     *                             <element name="xPed" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="15"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="nItemPed" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                   <whiteSpace value="preserve"/>
+     *                                   <pattern value="[0-9]{1,6}"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="nFCI" type="{http://www.portalfiscal.inf.br/nfe}TGuid" minOccurs="0"/>
+     *                             <element name="rastro" maxOccurs="500" minOccurs="0">
+     *                               <complexType>
+     *                                 <complexContent>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                     <sequence>
+     *                                       <element name="nLote">
+     *                                         <simpleType>
+     *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                             <minLength value="1"/>
+     *                                             <maxLength value="20"/>
+     *                                           </restriction>
+     *                                         </simpleType>
+     *                                       </element>
+     *                                       <element name="qLote" type="{http://www.portalfiscal.inf.br/nfe}TDec_0803v"/>
+     *                                       <element name="dFab" type="{http://www.portalfiscal.inf.br/nfe}TData"/>
+     *                                       <element name="dVal" type="{http://www.portalfiscal.inf.br/nfe}TData"/>
+     *                                       <element name="cAgreg" minOccurs="0">
+     *                                         <simpleType>
+     *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                             <minLength value="1"/>
+     *                                             <maxLength value="20"/>
+     *                                           </restriction>
+     *                                         </simpleType>
+     *                                       </element>
+     *                                     </sequence>
+     *                                   </restriction>
+     *                                 </complexContent>
+     *                               </complexType>
+     *                             </element>
+     *                             <element name="infProdNFF" minOccurs="0">
+     *                               <complexType>
+     *                                 <complexContent>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                     <sequence>
+     *                                       <element name="cProdFisco">
+     *                                         <simpleType>
+     *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                             <length value="14"/>
+     *                                           </restriction>
+     *                                         </simpleType>
+     *                                       </element>
+     *                                       <element name="cOperNFF">
+     *                                         <simpleType>
+     *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                             <whiteSpace value="preserve"/>
+     *                                             <pattern value="[0-9]{1,5}"/>
+     *                                           </restriction>
+     *                                         </simpleType>
+     *                                       </element>
+     *                                     </sequence>
+     *                                   </restriction>
+     *                                 </complexContent>
+     *                               </complexType>
+     *                             </element>
+     *                             <element name="infProdEmb" minOccurs="0">
+     *                               <complexType>
+     *                                 <complexContent>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                     <sequence>
+     *                                       <element name="xEmb">
+     *                                         <simpleType>
+     *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                             <maxLength value="8"/>
+     *                                             <minLength value="1"/>
+     *                                           </restriction>
+     *                                         </simpleType>
+     *                                       </element>
+     *                                       <element name="qVolEmb" type="{http://www.portalfiscal.inf.br/nfe}TDec_0803v"/>
+     *                                       <element name="uEmb">
+     *                                         <simpleType>
+     *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                             <maxLength value="8"/>
+     *                                             <minLength value="1"/>
+     *                                           </restriction>
+     *                                         </simpleType>
+     *                                       </element>
+     *                                     </sequence>
+     *                                   </restriction>
+     *                                 </complexContent>
+     *                               </complexType>
+     *                             </element>
+     *                             <choice minOccurs="0">
+     *                               <element name="veicProd">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="tpOp">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                               <whiteSpace value="preserve"/>
+     *                                               <enumeration value="0"/>
+     *                                               <enumeration value="1"/>
+     *                                               <enumeration value="2"/>
+     *                                               <enumeration value="3"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="chassi">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                               <length value="17"/>
+     *                                               <whiteSpace value="preserve"/>
+     *                                               <pattern value="[A-Z0-9]+"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="cCor">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                               <minLength value="1"/>
+     *                                               <maxLength value="4"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="xCor">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                               <minLength value="1"/>
+     *                                               <maxLength value="40"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="pot">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                               <minLength value="1"/>
+     *                                               <maxLength value="4"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="cilin">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                               <minLength value="1"/>
+     *                                               <maxLength value="4"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="pesoL">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                               <minLength value="1"/>
+     *                                               <maxLength value="9"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="pesoB">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                               <minLength value="1"/>
+     *                                               <maxLength value="9"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="nSerie">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                               <minLength value="1"/>
+     *                                               <maxLength value="9"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="tpComb">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                               <minLength value="1"/>
+     *                                               <maxLength value="2"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="nMotor">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                               <minLength value="1"/>
+     *                                               <maxLength value="21"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="CMT">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                               <minLength value="1"/>
+     *                                               <maxLength value="9"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="dist">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                               <minLength value="1"/>
+     *                                               <maxLength value="4"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="anoMod">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                               <whiteSpace value="preserve"/>
+     *                                               <pattern value="[0-9]{4}"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="anoFab">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                               <whiteSpace value="preserve"/>
+     *                                               <pattern value="[0-9]{4}"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="tpPint">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                               <length value="1"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="tpVeic">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                               <whiteSpace value="preserve"/>
+     *                                               <pattern value="[0-9]{1,2}"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="espVeic">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                               <whiteSpace value="preserve"/>
+     *                                               <pattern value="[0-9]{1}"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="VIN">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                               <length value="1"/>
+     *                                               <enumeration value="R"/>
+     *                                               <enumeration value="N"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="condVeic">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                               <whiteSpace value="preserve"/>
+     *                                               <enumeration value="1"/>
+     *                                               <enumeration value="2"/>
+     *                                               <enumeration value="3"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="cMod">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                               <whiteSpace value="preserve"/>
+     *                                               <pattern value="[0-9]{1,6}"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="cCorDENATRAN">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                               <whiteSpace value="preserve"/>
+     *                                               <minLength value="1"/>
+     *                                               <maxLength value="2"/>
+     *                                               <pattern value="[0-9]{1,2}"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="lota">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                               <minLength value="1"/>
+     *                                               <maxLength value="3"/>
+     *                                               <whiteSpace value="preserve"/>
+     *                                               <pattern value="[0-9]{1,3}"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="tpRest">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                               <whiteSpace value="preserve"/>
+     *                                               <enumeration value="0"/>
+     *                                               <enumeration value="1"/>
+     *                                               <enumeration value="2"/>
+     *                                               <enumeration value="3"/>
+     *                                               <enumeration value="4"/>
+     *                                               <enumeration value="9"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                               <element name="med">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="cProdANVISA">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                               <pattern value="[0-9]{11}|[0-9]{13}|ISENTO"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="xMotivoIsencao" minOccurs="0">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                               <minLength value="1"/>
+     *                                               <maxLength value="255"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="vPMC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                               <element name="arma" maxOccurs="500">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="tpArma">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                               <whiteSpace value="preserve"/>
+     *                                               <enumeration value="0"/>
+     *                                               <enumeration value="1"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="nSerie">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                               <minLength value="1"/>
+     *                                               <maxLength value="15"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="nCano">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                               <minLength value="1"/>
+     *                                               <maxLength value="15"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="descr">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                               <minLength value="1"/>
+     *                                               <maxLength value="256"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                               <element name="comb">
+     *                                 <complexType>
+     *                                   <complexContent>
+     *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                       <sequence>
+     *                                         <element name="cProdANP">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                               <whiteSpace value="preserve"/>
+     *                                               <pattern value="[0-9]{9}"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="descANP">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                               <minLength value="2"/>
+     *                                               <maxLength value="95"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="pGLP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
+     *                                         <element name="pGNn" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
+     *                                         <element name="pGNi" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
+     *                                         <element name="vPart" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+     *                                         <element name="CODIF" minOccurs="0">
+     *                                           <simpleType>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                               <whiteSpace value="preserve"/>
+     *                                               <pattern value="[0-9]{1,21}"/>
+     *                                             </restriction>
+     *                                           </simpleType>
+     *                                         </element>
+     *                                         <element name="qTemp" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204temperatura" minOccurs="0"/>
+     *                                         <element name="UFCons" type="{http://www.portalfiscal.inf.br/nfe}TUf"/>
+     *                                         <element name="CIDE" minOccurs="0">
+     *                                           <complexType>
+     *                                             <complexContent>
+     *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                                 <sequence>
+     *                                                   <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
+     *                                                   <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104"/>
+     *                                                   <element name="vCIDE" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                 </sequence>
+     *                                               </restriction>
+     *                                             </complexContent>
+     *                                           </complexType>
+     *                                         </element>
+     *                                         <element name="encerrante" minOccurs="0">
+     *                                           <complexType>
+     *                                             <complexContent>
+     *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                                 <sequence>
+     *                                                   <element name="nBico">
+     *                                                     <simpleType>
+     *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                         <whiteSpace value="preserve"/>
+     *                                                         <pattern value="[0-9]{1,3}"/>
+     *                                                       </restriction>
+     *                                                     </simpleType>
+     *                                                   </element>
+     *                                                   <element name="nBomba" minOccurs="0">
+     *                                                     <simpleType>
+     *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                         <whiteSpace value="preserve"/>
+     *                                                         <pattern value="[0-9]{1,3}"/>
+     *                                                       </restriction>
+     *                                                     </simpleType>
+     *                                                   </element>
+     *                                                   <element name="nTanque">
+     *                                                     <simpleType>
+     *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                         <whiteSpace value="preserve"/>
+     *                                                         <pattern value="[0-9]{1,3}"/>
+     *                                                       </restriction>
+     *                                                     </simpleType>
+     *                                                   </element>
+     *                                                   <element name="vEncIni" type="{http://www.portalfiscal.inf.br/nfe}TDec_1203"/>
+     *                                                   <element name="vEncFin" type="{http://www.portalfiscal.inf.br/nfe}TDec_1203"/>
+     *                                                 </sequence>
+     *                                               </restriction>
+     *                                             </complexContent>
+     *                                           </complexType>
+     *                                         </element>
+     *                                         <element name="pBio" type="{http://www.portalfiscal.inf.br/nfe}TDec_03v00a04Max100Opc" minOccurs="0"/>
+     *                                         <element name="origComb" maxOccurs="30" minOccurs="0">
+     *                                           <complexType>
+     *                                             <complexContent>
+     *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                                 <sequence>
+     *                                                   <element name="indImport">
+     *                                                     <simpleType>
+     *                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                         <whiteSpace value="preserve"/>
+     *                                                         <enumeration value="0"/>
+     *                                                         <enumeration value="1"/>
+     *                                                       </restriction>
+     *                                                     </simpleType>
+     *                                                   </element>
+     *                                                   <element name="cUFOrig" type="{http://www.portalfiscal.inf.br/nfe}TCodUfIBGE"/>
+     *                                                   <element name="pOrig" type="{http://www.portalfiscal.inf.br/nfe}TDec_03v00a04Max100Opc"/>
+     *                                                 </sequence>
+     *                                               </restriction>
+     *                                             </complexContent>
+     *                                           </complexType>
+     *                                         </element>
+     *                                       </sequence>
+     *                                     </restriction>
+     *                                   </complexContent>
+     *                                 </complexType>
+     *                               </element>
+     *                               <element name="nRECOPI">
+     *                                 <simpleType>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                     <whiteSpace value="preserve"/>
+     *                                     <maxLength value="20"/>
+     *                                     <pattern value="[0-9]{20}"/>
+     *                                   </restriction>
+     *                                 </simpleType>
+     *                               </element>
+     *                             </choice>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="imposto">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="vTotTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+     *                             <choice minOccurs="0">
+     *                               <sequence>
+     *                                 <element name="ICMS">
+     *                                   <complexType>
+     *                                     <complexContent>
+     *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                         <choice>
+     *                                           <element name="ICMS00">
+     *                                             <complexType>
+     *                                               <complexContent>
+     *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                                   <sequence>
+     *                                                     <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+     *                                                     <element name="CST">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <enumeration value="00"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                     <element name="modBC">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <enumeration value="0"/>
+     *                                                           <enumeration value="1"/>
+     *                                                           <enumeration value="2"/>
+     *                                                           <enumeration value="3"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                     <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                                     <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+     *                                                       <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     </sequence>
+     *                                                   </sequence>
+     *                                                 </restriction>
+     *                                               </complexContent>
+     *                                             </complexType>
+     *                                           </element>
+     *                                           <element name="ICMS02">
+     *                                             <complexType>
+     *                                               <complexContent>
+     *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                                   <sequence>
+     *                                                     <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+     *                                                     <element name="CST">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <enumeration value="02"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                     <element name="qBCMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+     *                                                     <element name="adRemICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                                     <element name="vICMSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                   </sequence>
+     *                                                 </restriction>
+     *                                               </complexContent>
+     *                                             </complexType>
+     *                                           </element>
+     *                                           <element name="ICMS10">
+     *                                             <complexType>
+     *                                               <complexContent>
+     *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                                   <sequence>
+     *                                                     <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+     *                                                     <element name="CST">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <enumeration value="10"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                     <element name="modBC">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <enumeration value="0"/>
+     *                                                           <enumeration value="1"/>
+     *                                                           <enumeration value="2"/>
+     *                                                           <enumeration value="3"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                     <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                                     <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+     *                                                       <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     </sequence>
+     *                                                     <element name="modBCST">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <enumeration value="0"/>
+     *                                                           <enumeration value="1"/>
+     *                                                           <enumeration value="2"/>
+     *                                                           <enumeration value="3"/>
+     *                                                           <enumeration value="4"/>
+     *                                                           <enumeration value="5"/>
+     *                                                           <enumeration value="6"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                     <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+     *                                                     <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+     *                                                     <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                                     <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+     *                                                       <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     </sequence>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="vICMSSTDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <element name="motDesICMSST">
+     *                                                         <simpleType>
+     *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                             <whiteSpace value="preserve"/>
+     *                                                             <enumeration value="3"/>
+     *                                                             <enumeration value="9"/>
+     *                                                             <enumeration value="12"/>
+     *                                                           </restriction>
+     *                                                         </simpleType>
+     *                                                       </element>
+     *                                                     </sequence>
+     *                                                   </sequence>
+     *                                                 </restriction>
+     *                                               </complexContent>
+     *                                             </complexType>
+     *                                           </element>
+     *                                           <element name="ICMS15">
+     *                                             <complexType>
+     *                                               <complexContent>
+     *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                                   <sequence>
+     *                                                     <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+     *                                                     <element name="CST">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <enumeration value="15"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                     <element name="qBCMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+     *                                                     <element name="adRemICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                                     <element name="vICMSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     <element name="qBCMonoReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+     *                                                     <element name="adRemICMSReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                                     <element name="vICMSMonoReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="pRedAdRem" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302Max100"/>
+     *                                                       <element name="motRedAdRem">
+     *                                                         <simpleType>
+     *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                             <whiteSpace value="preserve"/>
+     *                                                             <enumeration value="1"/>
+     *                                                             <enumeration value="9"/>
+     *                                                           </restriction>
+     *                                                         </simpleType>
+     *                                                       </element>
+     *                                                     </sequence>
+     *                                                   </sequence>
+     *                                                 </restriction>
+     *                                               </complexContent>
+     *                                             </complexType>
+     *                                           </element>
+     *                                           <element name="ICMS20">
+     *                                             <complexType>
+     *                                               <complexContent>
+     *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                                   <sequence>
+     *                                                     <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+     *                                                     <element name="CST">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <enumeration value="20"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                     <element name="modBC">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <enumeration value="0"/>
+     *                                                           <enumeration value="1"/>
+     *                                                           <enumeration value="2"/>
+     *                                                           <enumeration value="3"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                     <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                                     <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                                     <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+     *                                                       <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     </sequence>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <element name="motDesICMS">
+     *                                                         <simpleType>
+     *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                             <whiteSpace value="preserve"/>
+     *                                                             <enumeration value="3"/>
+     *                                                             <enumeration value="9"/>
+     *                                                             <enumeration value="12"/>
+     *                                                           </restriction>
+     *                                                         </simpleType>
+     *                                                       </element>
+     *                                                       <element name="indDeduzDeson" minOccurs="0">
+     *                                                         <simpleType>
+     *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                             <whiteSpace value="preserve"/>
+     *                                                             <enumeration value="0"/>
+     *                                                             <enumeration value="1"/>
+     *                                                           </restriction>
+     *                                                         </simpleType>
+     *                                                       </element>
+     *                                                     </sequence>
+     *                                                   </sequence>
+     *                                                 </restriction>
+     *                                               </complexContent>
+     *                                             </complexType>
+     *                                           </element>
+     *                                           <element name="ICMS30">
+     *                                             <complexType>
+     *                                               <complexContent>
+     *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                                   <sequence>
+     *                                                     <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+     *                                                     <element name="CST">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <enumeration value="30"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                     <element name="modBCST">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <enumeration value="0"/>
+     *                                                           <enumeration value="1"/>
+     *                                                           <enumeration value="2"/>
+     *                                                           <enumeration value="3"/>
+     *                                                           <enumeration value="4"/>
+     *                                                           <enumeration value="5"/>
+     *                                                           <enumeration value="6"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                     <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+     *                                                     <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+     *                                                     <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                                     <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+     *                                                       <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     </sequence>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <element name="motDesICMS">
+     *                                                         <simpleType>
+     *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                             <whiteSpace value="preserve"/>
+     *                                                             <enumeration value="6"/>
+     *                                                             <enumeration value="7"/>
+     *                                                             <enumeration value="9"/>
+     *                                                           </restriction>
+     *                                                         </simpleType>
+     *                                                       </element>
+     *                                                       <element name="indDeduzDeson" minOccurs="0">
+     *                                                         <simpleType>
+     *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                             <whiteSpace value="preserve"/>
+     *                                                             <enumeration value="0"/>
+     *                                                             <enumeration value="1"/>
+     *                                                           </restriction>
+     *                                                         </simpleType>
+     *                                                       </element>
+     *                                                     </sequence>
+     *                                                   </sequence>
+     *                                                 </restriction>
+     *                                               </complexContent>
+     *                                             </complexType>
+     *                                           </element>
+     *                                           <element name="ICMS40">
+     *                                             <complexType>
+     *                                               <complexContent>
+     *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                                   <sequence>
+     *                                                     <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+     *                                                     <element name="CST">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <enumeration value="40"/>
+     *                                                           <enumeration value="41"/>
+     *                                                           <enumeration value="50"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <element name="motDesICMS">
+     *                                                         <simpleType>
+     *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                             <whiteSpace value="preserve"/>
+     *                                                             <enumeration value="1"/>
+     *                                                             <enumeration value="3"/>
+     *                                                             <enumeration value="4"/>
+     *                                                             <enumeration value="5"/>
+     *                                                             <enumeration value="6"/>
+     *                                                             <enumeration value="7"/>
+     *                                                             <enumeration value="8"/>
+     *                                                             <enumeration value="9"/>
+     *                                                             <enumeration value="10"/>
+     *                                                             <enumeration value="11"/>
+     *                                                             <enumeration value="16"/>
+     *                                                             <enumeration value="90"/>
+     *                                                           </restriction>
+     *                                                         </simpleType>
+     *                                                       </element>
+     *                                                       <element name="indDeduzDeson" minOccurs="0">
+     *                                                         <simpleType>
+     *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                             <whiteSpace value="preserve"/>
+     *                                                             <enumeration value="0"/>
+     *                                                             <enumeration value="1"/>
+     *                                                           </restriction>
+     *                                                         </simpleType>
+     *                                                       </element>
+     *                                                     </sequence>
+     *                                                   </sequence>
+     *                                                 </restriction>
+     *                                               </complexContent>
+     *                                             </complexType>
+     *                                           </element>
+     *                                           <element name="ICMS51">
+     *                                             <complexType>
+     *                                               <complexContent>
+     *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                                   <sequence>
+     *                                                     <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+     *                                                     <element name="CST">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <enumeration value="51"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                     <element name="modBC" minOccurs="0">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <enumeration value="0"/>
+     *                                                           <enumeration value="1"/>
+     *                                                           <enumeration value="2"/>
+     *                                                           <enumeration value="3"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                     <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
+     *                                                     <element name="cBenefRBC" minOccurs="0">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <pattern value="[!-ÿ]{8}|[!-ÿ]{10}"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                     <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+     *                                                     <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
+     *                                                     <element name="vICMSOp" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+     *                                                     <element name="pDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
+     *                                                     <element name="vICMSDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+     *                                                     <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+     *                                                       <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     </sequence>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="pFCPDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+     *                                                       <element name="vFCPDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <element name="vFCPEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+     *                                                     </sequence>
+     *                                                   </sequence>
+     *                                                 </restriction>
+     *                                               </complexContent>
+     *                                             </complexType>
+     *                                           </element>
+     *                                           <element name="ICMS53">
+     *                                             <complexType>
+     *                                               <complexContent>
+     *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                                   <sequence>
+     *                                                     <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+     *                                                     <element name="CST">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <enumeration value="53"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                     <element name="qBCMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+     *                                                     <element name="adRemICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
+     *                                                     <element name="vICMSMonoOp" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+     *                                                     <element name="pDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
+     *                                                     <element name="vICMSMonoDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+     *                                                     <element name="vICMSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+     *                                                     <element name="qBCMonoDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+     *                                                     <element name="adRemICMSDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
+     *                                                   </sequence>
+     *                                                 </restriction>
+     *                                               </complexContent>
+     *                                             </complexType>
+     *                                           </element>
+     *                                           <element name="ICMS60">
+     *                                             <complexType>
+     *                                               <complexContent>
+     *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                                   <sequence>
+     *                                                     <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+     *                                                     <element name="CST">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <enumeration value="60"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="vBCSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <element name="pST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+     *                                                       <element name="vICMSSubstituto" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+     *                                                       <element name="vICMSSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     </sequence>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="vBCFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <element name="pFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+     *                                                       <element name="vFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     </sequence>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="pRedBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+     *                                                       <element name="vBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <element name="pICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+     *                                                       <element name="vICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     </sequence>
+     *                                                   </sequence>
+     *                                                 </restriction>
+     *                                               </complexContent>
+     *                                             </complexType>
+     *                                           </element>
+     *                                           <element name="ICMS61">
+     *                                             <complexType>
+     *                                               <complexContent>
+     *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                                   <sequence>
+     *                                                     <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+     *                                                     <element name="CST">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <enumeration value="61"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                     <element name="qBCMonoRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+     *                                                     <element name="adRemICMSRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                                     <element name="vICMSMonoRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                   </sequence>
+     *                                                 </restriction>
+     *                                               </complexContent>
+     *                                             </complexType>
+     *                                           </element>
+     *                                           <element name="ICMS70">
+     *                                             <complexType>
+     *                                               <complexContent>
+     *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                                   <sequence>
+     *                                                     <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+     *                                                     <element name="CST">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <enumeration value="70"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                     <element name="modBC">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <enumeration value="0"/>
+     *                                                           <enumeration value="1"/>
+     *                                                           <enumeration value="2"/>
+     *                                                           <enumeration value="3"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                     <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                                     <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                                     <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+     *                                                       <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     </sequence>
+     *                                                     <element name="modBCST">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <enumeration value="0"/>
+     *                                                           <enumeration value="1"/>
+     *                                                           <enumeration value="2"/>
+     *                                                           <enumeration value="3"/>
+     *                                                           <enumeration value="4"/>
+     *                                                           <enumeration value="5"/>
+     *                                                           <enumeration value="6"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                     <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+     *                                                     <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+     *                                                     <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                                     <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+     *                                                       <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     </sequence>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <element name="motDesICMS">
+     *                                                         <simpleType>
+     *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                             <whiteSpace value="preserve"/>
+     *                                                             <enumeration value="3"/>
+     *                                                             <enumeration value="9"/>
+     *                                                             <enumeration value="12"/>
+     *                                                           </restriction>
+     *                                                         </simpleType>
+     *                                                       </element>
+     *                                                       <element name="indDeduzDeson" minOccurs="0">
+     *                                                         <simpleType>
+     *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                             <whiteSpace value="preserve"/>
+     *                                                             <enumeration value="0"/>
+     *                                                             <enumeration value="1"/>
+     *                                                           </restriction>
+     *                                                         </simpleType>
+     *                                                       </element>
+     *                                                     </sequence>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="vICMSSTDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <element name="motDesICMSST">
+     *                                                         <simpleType>
+     *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                             <whiteSpace value="preserve"/>
+     *                                                             <enumeration value="3"/>
+     *                                                             <enumeration value="9"/>
+     *                                                             <enumeration value="12"/>
+     *                                                           </restriction>
+     *                                                         </simpleType>
+     *                                                       </element>
+     *                                                     </sequence>
+     *                                                   </sequence>
+     *                                                 </restriction>
+     *                                               </complexContent>
+     *                                             </complexType>
+     *                                           </element>
+     *                                           <element name="ICMS90">
+     *                                             <complexType>
+     *                                               <complexContent>
+     *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                                   <sequence>
+     *                                                     <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+     *                                                     <element name="CST">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <enumeration value="90"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="modBC">
+     *                                                         <simpleType>
+     *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                             <whiteSpace value="preserve"/>
+     *                                                             <enumeration value="0"/>
+     *                                                             <enumeration value="1"/>
+     *                                                             <enumeration value="2"/>
+     *                                                             <enumeration value="3"/>
+     *                                                           </restriction>
+     *                                                         </simpleType>
+     *                                                       </element>
+     *                                                       <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+     *                                                       <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                                       <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <sequence minOccurs="0">
+     *                                                         <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                         <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+     *                                                         <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       </sequence>
+     *                                                     </sequence>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="modBCST">
+     *                                                         <simpleType>
+     *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                             <whiteSpace value="preserve"/>
+     *                                                             <enumeration value="0"/>
+     *                                                             <enumeration value="1"/>
+     *                                                             <enumeration value="2"/>
+     *                                                             <enumeration value="3"/>
+     *                                                             <enumeration value="4"/>
+     *                                                             <enumeration value="5"/>
+     *                                                             <enumeration value="6"/>
+     *                                                           </restriction>
+     *                                                         </simpleType>
+     *                                                       </element>
+     *                                                       <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+     *                                                       <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+     *                                                       <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                                       <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <sequence minOccurs="0">
+     *                                                         <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                         <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+     *                                                         <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       </sequence>
+     *                                                     </sequence>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <element name="motDesICMS">
+     *                                                         <simpleType>
+     *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                             <whiteSpace value="preserve"/>
+     *                                                             <enumeration value="3"/>
+     *                                                             <enumeration value="9"/>
+     *                                                             <enumeration value="12"/>
+     *                                                           </restriction>
+     *                                                         </simpleType>
+     *                                                       </element>
+     *                                                       <element name="indDeduzDeson" minOccurs="0">
+     *                                                         <simpleType>
+     *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                             <whiteSpace value="preserve"/>
+     *                                                             <enumeration value="0"/>
+     *                                                             <enumeration value="1"/>
+     *                                                           </restriction>
+     *                                                         </simpleType>
+     *                                                       </element>
+     *                                                     </sequence>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="vICMSSTDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <element name="motDesICMSST">
+     *                                                         <simpleType>
+     *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                             <whiteSpace value="preserve"/>
+     *                                                             <enumeration value="3"/>
+     *                                                             <enumeration value="9"/>
+     *                                                             <enumeration value="12"/>
+     *                                                           </restriction>
+     *                                                         </simpleType>
+     *                                                       </element>
+     *                                                     </sequence>
+     *                                                   </sequence>
+     *                                                 </restriction>
+     *                                               </complexContent>
+     *                                             </complexType>
+     *                                           </element>
+     *                                           <element name="ICMSPart">
+     *                                             <complexType>
+     *                                               <complexContent>
+     *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                                   <sequence>
+     *                                                     <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+     *                                                     <element name="CST">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <enumeration value="10"/>
+     *                                                           <enumeration value="90"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                     <element name="modBC">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <enumeration value="0"/>
+     *                                                           <enumeration value="1"/>
+     *                                                           <enumeration value="2"/>
+     *                                                           <enumeration value="3"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                     <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+     *                                                     <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                                     <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     <element name="modBCST">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <enumeration value="0"/>
+     *                                                           <enumeration value="1"/>
+     *                                                           <enumeration value="2"/>
+     *                                                           <enumeration value="3"/>
+     *                                                           <enumeration value="4"/>
+     *                                                           <enumeration value="5"/>
+     *                                                           <enumeration value="6"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                     <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+     *                                                     <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+     *                                                     <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                                     <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+     *                                                       <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     </sequence>
+     *                                                     <element name="pBCOp" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+     *                                                     <element name="UFST" type="{http://www.portalfiscal.inf.br/nfe}TUf"/>
+     *                                                   </sequence>
+     *                                                 </restriction>
+     *                                               </complexContent>
+     *                                             </complexType>
+     *                                           </element>
+     *                                           <element name="ICMSST">
+     *                                             <complexType>
+     *                                               <complexContent>
+     *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                                   <sequence>
+     *                                                     <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+     *                                                     <element name="CST">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <enumeration value="41"/>
+     *                                                           <enumeration value="60"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                     <element name="vBCSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     <element name="pST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+     *                                                     <element name="vICMSSubstituto" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+     *                                                     <element name="vICMSSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="vBCFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <element name="pFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+     *                                                       <element name="vFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     </sequence>
+     *                                                     <element name="vBCSTDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     <element name="vICMSSTDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="pRedBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+     *                                                       <element name="vBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <element name="pICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+     *                                                       <element name="vICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     </sequence>
+     *                                                   </sequence>
+     *                                                 </restriction>
+     *                                               </complexContent>
+     *                                             </complexType>
+     *                                           </element>
+     *                                           <element name="ICMSSN101">
+     *                                             <complexType>
+     *                                               <complexContent>
+     *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                                   <sequence>
+     *                                                     <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+     *                                                     <element name="CSOSN">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <enumeration value="101"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                     <element name="pCredSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                                     <element name="vCredICMSSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                   </sequence>
+     *                                                 </restriction>
+     *                                               </complexContent>
+     *                                             </complexType>
+     *                                           </element>
+     *                                           <element name="ICMSSN102">
+     *                                             <complexType>
+     *                                               <complexContent>
+     *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                                   <sequence>
+     *                                                     <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig" minOccurs="0"/>
+     *                                                     <element name="CSOSN">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <enumeration value="102"/>
+     *                                                           <enumeration value="103"/>
+     *                                                           <enumeration value="300"/>
+     *                                                           <enumeration value="400"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                   </sequence>
+     *                                                 </restriction>
+     *                                               </complexContent>
+     *                                             </complexType>
+     *                                           </element>
+     *                                           <element name="ICMSSN201">
+     *                                             <complexType>
+     *                                               <complexContent>
+     *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                                   <sequence>
+     *                                                     <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+     *                                                     <element name="CSOSN">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <enumeration value="201"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                     <element name="modBCST">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <enumeration value="0"/>
+     *                                                           <enumeration value="1"/>
+     *                                                           <enumeration value="2"/>
+     *                                                           <enumeration value="3"/>
+     *                                                           <enumeration value="4"/>
+     *                                                           <enumeration value="5"/>
+     *                                                           <enumeration value="6"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                     <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+     *                                                     <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+     *                                                     <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                                     <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+     *                                                       <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     </sequence>
+     *                                                     <element name="pCredSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                                     <element name="vCredICMSSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                   </sequence>
+     *                                                 </restriction>
+     *                                               </complexContent>
+     *                                             </complexType>
+     *                                           </element>
+     *                                           <element name="ICMSSN202">
+     *                                             <complexType>
+     *                                               <complexContent>
+     *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                                   <sequence>
+     *                                                     <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+     *                                                     <element name="CSOSN">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <enumeration value="202"/>
+     *                                                           <enumeration value="203"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                     <element name="modBCST">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <enumeration value="0"/>
+     *                                                           <enumeration value="1"/>
+     *                                                           <enumeration value="2"/>
+     *                                                           <enumeration value="3"/>
+     *                                                           <enumeration value="4"/>
+     *                                                           <enumeration value="5"/>
+     *                                                           <enumeration value="6"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                     <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+     *                                                     <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+     *                                                     <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                                     <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+     *                                                       <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     </sequence>
+     *                                                   </sequence>
+     *                                                 </restriction>
+     *                                               </complexContent>
+     *                                             </complexType>
+     *                                           </element>
+     *                                           <element name="ICMSSN500">
+     *                                             <complexType>
+     *                                               <complexContent>
+     *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                                   <sequence>
+     *                                                     <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+     *                                                     <element name="CSOSN">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <enumeration value="500"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="vBCSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <element name="pST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+     *                                                       <element name="vICMSSubstituto" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+     *                                                       <element name="vICMSSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     </sequence>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="vBCFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <element name="pFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+     *                                                       <element name="vFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     </sequence>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="pRedBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+     *                                                       <element name="vBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <element name="pICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+     *                                                       <element name="vICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     </sequence>
+     *                                                   </sequence>
+     *                                                 </restriction>
+     *                                               </complexContent>
+     *                                             </complexType>
+     *                                           </element>
+     *                                           <element name="ICMSSN900">
+     *                                             <complexType>
+     *                                               <complexContent>
+     *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                                   <sequence>
+     *                                                     <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig" minOccurs="0"/>
+     *                                                     <element name="CSOSN">
+     *                                                       <simpleType>
+     *                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                           <whiteSpace value="preserve"/>
+     *                                                           <enumeration value="900"/>
+     *                                                         </restriction>
+     *                                                       </simpleType>
+     *                                                     </element>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="modBC">
+     *                                                         <simpleType>
+     *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                             <whiteSpace value="preserve"/>
+     *                                                             <enumeration value="0"/>
+     *                                                             <enumeration value="1"/>
+     *                                                             <enumeration value="2"/>
+     *                                                             <enumeration value="3"/>
+     *                                                           </restriction>
+     *                                                         </simpleType>
+     *                                                       </element>
+     *                                                       <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+     *                                                       <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                                       <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     </sequence>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="modBCST">
+     *                                                         <simpleType>
+     *                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                             <whiteSpace value="preserve"/>
+     *                                                             <enumeration value="0"/>
+     *                                                             <enumeration value="1"/>
+     *                                                             <enumeration value="2"/>
+     *                                                             <enumeration value="3"/>
+     *                                                             <enumeration value="4"/>
+     *                                                             <enumeration value="5"/>
+     *                                                             <enumeration value="6"/>
+     *                                                           </restriction>
+     *                                                         </simpleType>
+     *                                                       </element>
+     *                                                       <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+     *                                                       <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+     *                                                       <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                                       <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       <sequence minOccurs="0">
+     *                                                         <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                         <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+     *                                                         <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                       </sequence>
+     *                                                     </sequence>
+     *                                                     <sequence minOccurs="0">
+     *                                                       <element name="pCredSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                                       <element name="vCredICMSSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     </sequence>
+     *                                                   </sequence>
+     *                                                 </restriction>
+     *                                               </complexContent>
+     *                                             </complexType>
+     *                                           </element>
+     *                                         </choice>
+     *                                       </restriction>
+     *                                     </complexContent>
+     *                                   </complexType>
+     *                                 </element>
+     *                                 <element name="IPI" type="{http://www.portalfiscal.inf.br/nfe}TIpi" minOccurs="0"/>
+     *                                 <element name="II" minOccurs="0">
+     *                                   <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="vDespAdu" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                           <element name="vII" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                           <element name="vIOF" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                         </sequence>
+     *                                       </restriction>
+     *                                     </complexContent>
+     *                                   </complexType>
+     *                                 </element>
+     *                               </sequence>
+     *                               <sequence>
+     *                                 <element name="IPI" type="{http://www.portalfiscal.inf.br/nfe}TIpi" minOccurs="0"/>
+     *                                 <element name="ISSQN">
+     *                                   <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="vAliq" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                           <element name="vISSQN" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                           <element name="cMunFG" type="{http://www.portalfiscal.inf.br/nfe}TCodMunIBGE"/>
+     *                                           <element name="cListServ" type="{http://www.portalfiscal.inf.br/nfe}TCListServ"/>
+     *                                           <element name="vDeducao" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+     *                                           <element name="vOutro" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+     *                                           <element name="vDescIncond" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+     *                                           <element name="vDescCond" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+     *                                           <element name="vISSRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+     *                                           <element name="indISS">
+     *                                             <simpleType>
+     *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                 <whiteSpace value="preserve"/>
+     *                                                 <enumeration value="1"/>
+     *                                                 <enumeration value="2"/>
+     *                                                 <enumeration value="3"/>
+     *                                                 <enumeration value="4"/>
+     *                                                 <enumeration value="5"/>
+     *                                                 <enumeration value="6"/>
+     *                                                 <enumeration value="7"/>
+     *                                               </restriction>
+     *                                             </simpleType>
+     *                                           </element>
+     *                                           <element name="cServico" minOccurs="0">
+     *                                             <simpleType>
+     *                                               <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                                 <whiteSpace value="preserve"/>
+     *                                                 <minLength value="1"/>
+     *                                                 <maxLength value="20"/>
+     *                                               </restriction>
+     *                                             </simpleType>
+     *                                           </element>
+     *                                           <element name="cMun" type="{http://www.portalfiscal.inf.br/nfe}TCodMunIBGE" minOccurs="0"/>
+     *                                           <element name="cPais" minOccurs="0">
+     *                                             <simpleType>
+     *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                 <whiteSpace value="preserve"/>
+     *                                                 <pattern value="[0-9]{1,4}"/>
+     *                                               </restriction>
+     *                                             </simpleType>
+     *                                           </element>
+     *                                           <element name="nProcesso" minOccurs="0">
+     *                                             <simpleType>
+     *                                               <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                                 <whiteSpace value="preserve"/>
+     *                                                 <minLength value="1"/>
+     *                                                 <maxLength value="30"/>
+     *                                               </restriction>
+     *                                             </simpleType>
+     *                                           </element>
+     *                                           <element name="indIncentivo">
+     *                                             <simpleType>
+     *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                 <whiteSpace value="preserve"/>
+     *                                                 <enumeration value="1"/>
+     *                                                 <enumeration value="2"/>
+     *                                               </restriction>
+     *                                             </simpleType>
+     *                                           </element>
+     *                                         </sequence>
+     *                                       </restriction>
+     *                                     </complexContent>
+     *                                   </complexType>
+     *                                 </element>
+     *                               </sequence>
+     *                             </choice>
+     *                             <element name="PIS" minOccurs="0">
+     *                               <complexType>
+     *                                 <complexContent>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                     <choice>
+     *                                       <element name="PISAliq">
+     *                                         <complexType>
+     *                                           <complexContent>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                               <sequence>
+     *                                                 <element name="CST">
+     *                                                   <simpleType>
+     *                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                       <whiteSpace value="preserve"/>
+     *                                                       <enumeration value="01"/>
+     *                                                       <enumeration value="02"/>
+     *                                                     </restriction>
+     *                                                   </simpleType>
+     *                                                 </element>
+     *                                                 <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                 <element name="pPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                                 <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                               </sequence>
+     *                                             </restriction>
+     *                                           </complexContent>
+     *                                         </complexType>
+     *                                       </element>
+     *                                       <element name="PISQtde">
+     *                                         <complexType>
+     *                                           <complexContent>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                               <sequence>
+     *                                                 <element name="CST">
+     *                                                   <simpleType>
+     *                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                       <whiteSpace value="preserve"/>
+     *                                                       <enumeration value="03"/>
+     *                                                     </restriction>
+     *                                                   </simpleType>
+     *                                                 </element>
+     *                                                 <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
+     *                                                 <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+     *                                                 <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                               </sequence>
+     *                                             </restriction>
+     *                                           </complexContent>
+     *                                         </complexType>
+     *                                       </element>
+     *                                       <element name="PISNT">
+     *                                         <complexType>
+     *                                           <complexContent>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                               <sequence>
+     *                                                 <element name="CST">
+     *                                                   <simpleType>
+     *                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                       <whiteSpace value="preserve"/>
+     *                                                       <enumeration value="04"/>
+     *                                                       <enumeration value="05"/>
+     *                                                       <enumeration value="06"/>
+     *                                                       <enumeration value="07"/>
+     *                                                       <enumeration value="08"/>
+     *                                                       <enumeration value="09"/>
+     *                                                     </restriction>
+     *                                                   </simpleType>
+     *                                                 </element>
+     *                                               </sequence>
+     *                                             </restriction>
+     *                                           </complexContent>
+     *                                         </complexType>
+     *                                       </element>
+     *                                       <element name="PISOutr">
+     *                                         <complexType>
+     *                                           <complexContent>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                               <sequence>
+     *                                                 <element name="CST">
+     *                                                   <simpleType>
+     *                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                       <whiteSpace value="preserve"/>
+     *                                                       <enumeration value="49"/>
+     *                                                       <enumeration value="50"/>
+     *                                                       <enumeration value="51"/>
+     *                                                       <enumeration value="52"/>
+     *                                                       <enumeration value="53"/>
+     *                                                       <enumeration value="54"/>
+     *                                                       <enumeration value="55"/>
+     *                                                       <enumeration value="56"/>
+     *                                                       <enumeration value="60"/>
+     *                                                       <enumeration value="61"/>
+     *                                                       <enumeration value="62"/>
+     *                                                       <enumeration value="63"/>
+     *                                                       <enumeration value="64"/>
+     *                                                       <enumeration value="65"/>
+     *                                                       <enumeration value="66"/>
+     *                                                       <enumeration value="67"/>
+     *                                                       <enumeration value="70"/>
+     *                                                       <enumeration value="71"/>
+     *                                                       <enumeration value="72"/>
+     *                                                       <enumeration value="73"/>
+     *                                                       <enumeration value="74"/>
+     *                                                       <enumeration value="75"/>
+     *                                                       <enumeration value="98"/>
+     *                                                       <enumeration value="99"/>
+     *                                                     </restriction>
+     *                                                   </simpleType>
+     *                                                 </element>
+     *                                                 <choice>
+     *                                                   <sequence>
+     *                                                     <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     <element name="pPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                                   </sequence>
+     *                                                   <sequence>
+     *                                                     <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
+     *                                                     <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+     *                                                   </sequence>
+     *                                                 </choice>
+     *                                                 <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                               </sequence>
+     *                                             </restriction>
+     *                                           </complexContent>
+     *                                         </complexType>
+     *                                       </element>
+     *                                     </choice>
+     *                                   </restriction>
+     *                                 </complexContent>
+     *                               </complexType>
+     *                             </element>
+     *                             <element name="PISST" minOccurs="0">
+     *                               <complexType>
+     *                                 <complexContent>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                     <sequence>
+     *                                       <choice>
+     *                                         <sequence>
+     *                                           <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc"/>
+     *                                           <element name="pPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                         </sequence>
+     *                                         <sequence>
+     *                                           <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204"/>
+     *                                           <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104"/>
+     *                                         </sequence>
+     *                                       </choice>
+     *                                       <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                       <element name="indSomaPISST" minOccurs="0">
+     *                                         <simpleType>
+     *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                             <whiteSpace value="preserve"/>
+     *                                             <enumeration value="0"/>
+     *                                             <enumeration value="1"/>
+     *                                           </restriction>
+     *                                         </simpleType>
+     *                                       </element>
+     *                                     </sequence>
+     *                                   </restriction>
+     *                                 </complexContent>
+     *                               </complexType>
+     *                             </element>
+     *                             <element name="COFINS" minOccurs="0">
+     *                               <complexType>
+     *                                 <complexContent>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                     <choice>
+     *                                       <element name="COFINSAliq">
+     *                                         <complexType>
+     *                                           <complexContent>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                               <sequence>
+     *                                                 <element name="CST">
+     *                                                   <simpleType>
+     *                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                       <whiteSpace value="preserve"/>
+     *                                                       <enumeration value="01"/>
+     *                                                       <enumeration value="02"/>
+     *                                                     </restriction>
+     *                                                   </simpleType>
+     *                                                 </element>
+     *                                                 <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                 <element name="pCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                                 <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                               </sequence>
+     *                                             </restriction>
+     *                                           </complexContent>
+     *                                         </complexType>
+     *                                       </element>
+     *                                       <element name="COFINSQtde">
+     *                                         <complexType>
+     *                                           <complexContent>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                               <sequence>
+     *                                                 <element name="CST">
+     *                                                   <simpleType>
+     *                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                       <enumeration value="03"/>
+     *                                                     </restriction>
+     *                                                   </simpleType>
+     *                                                 </element>
+     *                                                 <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
+     *                                                 <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+     *                                                 <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                               </sequence>
+     *                                             </restriction>
+     *                                           </complexContent>
+     *                                         </complexType>
+     *                                       </element>
+     *                                       <element name="COFINSNT">
+     *                                         <complexType>
+     *                                           <complexContent>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                               <sequence>
+     *                                                 <element name="CST">
+     *                                                   <simpleType>
+     *                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                       <whiteSpace value="preserve"/>
+     *                                                       <enumeration value="04"/>
+     *                                                       <enumeration value="05"/>
+     *                                                       <enumeration value="06"/>
+     *                                                       <enumeration value="07"/>
+     *                                                       <enumeration value="08"/>
+     *                                                       <enumeration value="09"/>
+     *                                                     </restriction>
+     *                                                   </simpleType>
+     *                                                 </element>
+     *                                               </sequence>
+     *                                             </restriction>
+     *                                           </complexContent>
+     *                                         </complexType>
+     *                                       </element>
+     *                                       <element name="COFINSOutr">
+     *                                         <complexType>
+     *                                           <complexContent>
+     *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                               <sequence>
+     *                                                 <element name="CST">
+     *                                                   <simpleType>
+     *                                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                                       <whiteSpace value="preserve"/>
+     *                                                       <enumeration value="49"/>
+     *                                                       <enumeration value="50"/>
+     *                                                       <enumeration value="51"/>
+     *                                                       <enumeration value="52"/>
+     *                                                       <enumeration value="53"/>
+     *                                                       <enumeration value="54"/>
+     *                                                       <enumeration value="55"/>
+     *                                                       <enumeration value="56"/>
+     *                                                       <enumeration value="60"/>
+     *                                                       <enumeration value="61"/>
+     *                                                       <enumeration value="62"/>
+     *                                                       <enumeration value="63"/>
+     *                                                       <enumeration value="64"/>
+     *                                                       <enumeration value="65"/>
+     *                                                       <enumeration value="66"/>
+     *                                                       <enumeration value="67"/>
+     *                                                       <enumeration value="70"/>
+     *                                                       <enumeration value="71"/>
+     *                                                       <enumeration value="72"/>
+     *                                                       <enumeration value="73"/>
+     *                                                       <enumeration value="74"/>
+     *                                                       <enumeration value="75"/>
+     *                                                       <enumeration value="98"/>
+     *                                                       <enumeration value="99"/>
+     *                                                     </restriction>
+     *                                                   </simpleType>
+     *                                                 </element>
+     *                                                 <choice>
+     *                                                   <sequence>
+     *                                                     <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                                     <element name="pCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                                   </sequence>
+     *                                                   <sequence>
+     *                                                     <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
+     *                                                     <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+     *                                                   </sequence>
+     *                                                 </choice>
+     *                                                 <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                               </sequence>
+     *                                             </restriction>
+     *                                           </complexContent>
+     *                                         </complexType>
+     *                                       </element>
+     *                                     </choice>
+     *                                   </restriction>
+     *                                 </complexContent>
+     *                               </complexType>
+     *                             </element>
+     *                             <element name="COFINSST" minOccurs="0">
+     *                               <complexType>
+     *                                 <complexContent>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                     <sequence>
+     *                                       <choice>
+     *                                         <sequence>
+     *                                           <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                           <element name="pCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                         </sequence>
+     *                                         <sequence>
+     *                                           <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204"/>
+     *                                           <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104"/>
+     *                                         </sequence>
+     *                                       </choice>
+     *                                       <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                       <element name="indSomaCOFINSST" minOccurs="0">
+     *                                         <simpleType>
+     *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                             <whiteSpace value="preserve"/>
+     *                                             <enumeration value="0"/>
+     *                                             <enumeration value="1"/>
+     *                                           </restriction>
+     *                                         </simpleType>
+     *                                       </element>
+     *                                     </sequence>
+     *                                   </restriction>
+     *                                 </complexContent>
+     *                               </complexType>
+     *                             </element>
+     *                             <element name="ICMSUFDest" minOccurs="0">
+     *                               <complexType>
+     *                                 <complexContent>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                     <sequence>
+     *                                       <element name="vBCUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                       <element name="vBCFCPUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+     *                                       <element name="pFCPUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
+     *                                       <element name="pICMSUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                       <element name="pICMSInter">
+     *                                         <simpleType>
+     *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                             <whiteSpace value="preserve"/>
+     *                                             <enumeration value="4.00"/>
+     *                                             <enumeration value="7.00"/>
+     *                                             <enumeration value="12.00"/>
+     *                                           </restriction>
+     *                                         </simpleType>
+     *                                       </element>
+     *                                       <element name="pICMSInterPart" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                                       <element name="vFCPUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+     *                                       <element name="vICMSUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                       <element name="vICMSUFRemet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                     </sequence>
+     *                                   </restriction>
+     *                                 </complexContent>
+     *                               </complexType>
+     *                             </element>
+     *                             <element name="IS" type="{http://www.portalfiscal.inf.br/nfe}TIS" minOccurs="0"/>
+     *                             <element name="IBSCBS" type="{http://www.portalfiscal.inf.br/nfe}TTribNFe" minOccurs="0"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="impostoDevol" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="pDevol" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302Max100"/>
+     *                             <element name="IPI">
+     *                               <complexType>
+     *                                 <complexContent>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                     <sequence>
+     *                                       <element name="vIPIDevol" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                                     </sequence>
+     *                                   </restriction>
+     *                                 </complexContent>
+     *                               </complexType>
+     *                             </element>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="infAdProd" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="500"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="obsItem" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="obsCont" minOccurs="0">
+     *                               <complexType>
+     *                                 <complexContent>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                     <sequence>
+     *                                       <element name="xTexto">
+     *                                         <simpleType>
+     *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                             <minLength value="1"/>
+     *                                             <maxLength value="60"/>
+     *                                           </restriction>
+     *                                         </simpleType>
+     *                                       </element>
+     *                                     </sequence>
+     *                                     <attribute name="xCampo" use="required">
+     *                                       <simpleType>
+     *                                         <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                           <minLength value="1"/>
+     *                                           <maxLength value="20"/>
+     *                                         </restriction>
+     *                                       </simpleType>
+     *                                     </attribute>
+     *                                   </restriction>
+     *                                 </complexContent>
+     *                               </complexType>
+     *                             </element>
+     *                             <element name="obsFisco" minOccurs="0">
+     *                               <complexType>
+     *                                 <complexContent>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                     <sequence>
+     *                                       <element name="xTexto">
+     *                                         <simpleType>
+     *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                             <minLength value="1"/>
+     *                                             <maxLength value="60"/>
+     *                                           </restriction>
+     *                                         </simpleType>
+     *                                       </element>
+     *                                     </sequence>
+     *                                     <attribute name="xCampo" use="required">
+     *                                       <simpleType>
+     *                                         <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                           <minLength value="1"/>
+     *                                           <maxLength value="20"/>
+     *                                         </restriction>
+     *                                       </simpleType>
+     *                                     </attribute>
+     *                                   </restriction>
+     *                                 </complexContent>
+     *                               </complexType>
+     *                             </element>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="vItem" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+     *                   <element name="DFeReferenciado" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="chaveAcesso" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/>
+     *                             <element name="nItem" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                   <whiteSpace value="preserve"/>
+     *                                   <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}"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                 </sequence>
+     *                 <attribute name="nItem" use="required">
+     *                   <simpleType>
+     *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                       <whiteSpace value="preserve"/>
+     *                       <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}"/>
+     *                     </restriction>
+     *                   </simpleType>
+     *                 </attribute>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="total">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="ICMSTot">
+     *                     <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="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                             <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                             <element name="vFCPUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+     *                             <element name="vICMSUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+     *                             <element name="vICMSUFRemet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+     *                             <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                             <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                             <element name="vST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                             <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                             <element name="vFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                             <element name="qBCMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+     *                             <element name="vICMSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+     *                             <element name="qBCMonoReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+     *                             <element name="vICMSMonoReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+     *                             <element name="qBCMonoRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+     *                             <element name="vICMSMonoRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+     *                             <element name="vProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                             <element name="vFrete" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                             <element name="vSeg" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                             <element name="vDesc" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                             <element name="vII" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                             <element name="vIPI" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                             <element name="vIPIDevol" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                             <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                             <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                             <element name="vOutro" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                             <element name="vNF" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                             <element name="vTotTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="ISSQNtot" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="vServ" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+     *                             <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+     *                             <element name="vISS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+     *                             <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+     *                             <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+     *                             <element name="dCompet" type="{http://www.portalfiscal.inf.br/nfe}TData"/>
+     *                             <element name="vDeducao" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+     *                             <element name="vOutro" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+     *                             <element name="vDescIncond" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+     *                             <element name="vDescCond" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+     *                             <element name="vISSRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+     *                             <element name="cRegTrib" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                   <whiteSpace value="preserve"/>
+     *                                   <enumeration value="1"/>
+     *                                   <enumeration value="2"/>
+     *                                   <enumeration value="3"/>
+     *                                   <enumeration value="4"/>
+     *                                   <enumeration value="5"/>
+     *                                   <enumeration value="6"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="retTrib" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="vRetPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+     *                             <element name="vRetCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+     *                             <element name="vRetCSLL" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+     *                             <element name="vBCIRRF" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+     *                             <element name="vIRRF" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+     *                             <element name="vBCRetPrev" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+     *                             <element name="vRetPrev" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="ISTot" type="{http://www.portalfiscal.inf.br/nfe}TISTot" minOccurs="0"/>
+     *                   <element name="IBSCBSTot" type="{http://www.portalfiscal.inf.br/nfe}TIBSCBSMonoTot" minOccurs="0"/>
+     *                   <element name="vNFTot" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="transp">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="modFrete">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <enumeration value="0"/>
+     *                         <enumeration value="1"/>
+     *                         <enumeration value="2"/>
+     *                         <enumeration value="3"/>
+     *                         <enumeration value="4"/>
+     *                         <enumeration value="9"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="transporta" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <choice minOccurs="0">
+     *                               <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="xNome" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                   <maxLength value="60"/>
+     *                                   <minLength value="2"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="IE" type="{http://www.portalfiscal.inf.br/nfe}TIeDest" minOccurs="0"/>
+     *                             <element name="xEnder" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="60"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="xMun" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                   <maxLength value="60"/>
+     *                                   <minLength value="1"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="UF" type="{http://www.portalfiscal.inf.br/nfe}TUf" minOccurs="0"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="retTransp" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="vServ" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                             <element name="vBCRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                             <element name="pICMSRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+     *                             <element name="vICMSRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                             <element name="CFOP">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                   <whiteSpace value="preserve"/>
+     *                                   <pattern value="[1,2,3,5,6,7]{1}[0-9]{3}"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="cMunFG" type="{http://www.portalfiscal.inf.br/nfe}TCodMunIBGE"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <choice>
+     *                     <sequence minOccurs="0">
+     *                       <element name="veicTransp" type="{http://www.portalfiscal.inf.br/nfe}TVeiculo" minOccurs="0"/>
+     *                       <element name="reboque" type="{http://www.portalfiscal.inf.br/nfe}TVeiculo" maxOccurs="5" minOccurs="0"/>
+     *                     </sequence>
+     *                     <element name="vagao" minOccurs="0">
+     *                       <simpleType>
+     *                         <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                           <minLength value="1"/>
+     *                           <maxLength value="20"/>
+     *                         </restriction>
+     *                       </simpleType>
+     *                     </element>
+     *                     <element name="balsa" minOccurs="0">
+     *                       <simpleType>
+     *                         <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                           <minLength value="1"/>
+     *                           <maxLength value="20"/>
+     *                         </restriction>
+     *                       </simpleType>
+     *                     </element>
+     *                   </choice>
+     *                   <element name="vol" maxOccurs="5000" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="qVol" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                   <whiteSpace value="preserve"/>
+     *                                   <pattern value="[0-9]{1,15}"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="esp" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="60"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="marca" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="60"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="nVol" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="60"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="pesoL" type="{http://www.portalfiscal.inf.br/nfe}TDec_1203" minOccurs="0"/>
+     *                             <element name="pesoB" type="{http://www.portalfiscal.inf.br/nfe}TDec_1203" minOccurs="0"/>
+     *                             <element name="lacres" maxOccurs="5000" minOccurs="0">
+     *                               <complexType>
+     *                                 <complexContent>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                     <sequence>
+     *                                       <element name="nLacre">
+     *                                         <simpleType>
+     *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                             <minLength value="1"/>
+     *                                             <maxLength value="60"/>
+     *                                           </restriction>
+     *                                         </simpleType>
+     *                                       </element>
+     *                                     </sequence>
+     *                                   </restriction>
+     *                                 </complexContent>
+     *                               </complexType>
+     *                             </element>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="cobr" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="fat" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="nFat" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="60"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="vOrig" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+     *                             <element name="vDesc" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+     *                             <element name="vLiq" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="dup" maxOccurs="120" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="nDup" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                   <maxLength value="60"/>
+     *                                   <minLength value="1"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="dVenc" type="{http://www.portalfiscal.inf.br/nfe}TData" minOccurs="0"/>
+     *                             <element name="vDup" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="pag">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="detPag" maxOccurs="100">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="indPag" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                   <whiteSpace value="preserve"/>
+     *                                   <enumeration value="0"/>
+     *                                   <enumeration value="1"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="tPag">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                   <whiteSpace value="preserve"/>
+     *                                   <pattern value="[0-9]{2}"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="xPag" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                   <minLength value="2"/>
+     *                                   <maxLength value="60"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="vPag" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                             <element name="dPag" type="{http://www.portalfiscal.inf.br/nfe}TData" minOccurs="0"/>
+     *                             <sequence minOccurs="0">
+     *                               <element name="CNPJPag" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/>
+     *                               <element name="UFPag" type="{http://www.portalfiscal.inf.br/nfe}TUfEmi"/>
+     *                             </sequence>
+     *                             <element name="card" minOccurs="0">
+     *                               <complexType>
+     *                                 <complexContent>
+     *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                                     <sequence>
+     *                                       <element name="tpIntegra">
+     *                                         <simpleType>
+     *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                             <whiteSpace value="preserve"/>
+     *                                             <enumeration value="1"/>
+     *                                             <enumeration value="2"/>
+     *                                           </restriction>
+     *                                         </simpleType>
+     *                                       </element>
+     *                                       <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj" minOccurs="0"/>
+     *                                       <element name="tBand" minOccurs="0">
+     *                                         <simpleType>
+     *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                             <whiteSpace value="preserve"/>
+     *                                             <pattern value="[0-9]{2}"/>
+     *                                           </restriction>
+     *                                         </simpleType>
+     *                                       </element>
+     *                                       <element name="cAut" minOccurs="0">
+     *                                         <simpleType>
+     *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                             <minLength value="1"/>
+     *                                             <maxLength value="128"/>
+     *                                           </restriction>
+     *                                         </simpleType>
+     *                                       </element>
+     *                                       <element name="CNPJReceb" type="{http://www.portalfiscal.inf.br/nfe}TCnpj" minOccurs="0"/>
+     *                                       <element name="idTermPag" minOccurs="0">
+     *                                         <simpleType>
+     *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                             <minLength value="1"/>
+     *                                             <maxLength value="40"/>
+     *                                           </restriction>
+     *                                         </simpleType>
+     *                                       </element>
+     *                                     </sequence>
+     *                                   </restriction>
+     *                                 </complexContent>
+     *                               </complexType>
+     *                             </element>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="vTroco" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="infIntermed" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/>
+     *                   <element name="idCadIntTran">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                         <minLength value="2"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="infAdic" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="infAdFisco" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                         <maxLength value="2000"/>
+     *                         <minLength value="1"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="infCpl" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                         <maxLength value="5000"/>
+     *                         <minLength value="1"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="obsCont" maxOccurs="10" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="xTexto">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="60"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                           </sequence>
+     *                           <attribute name="xCampo" use="required">
+     *                             <simpleType>
+     *                               <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                 <minLength value="1"/>
+     *                                 <maxLength value="20"/>
+     *                               </restriction>
+     *                             </simpleType>
+     *                           </attribute>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="obsFisco" maxOccurs="10" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="xTexto">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="60"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                           </sequence>
+     *                           <attribute name="xCampo" use="required">
+     *                             <simpleType>
+     *                               <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                 <minLength value="1"/>
+     *                                 <maxLength value="20"/>
+     *                               </restriction>
+     *                             </simpleType>
+     *                           </attribute>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="procRef" maxOccurs="100" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="nProc">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="60"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="indProc">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                   <whiteSpace value="preserve"/>
+     *                                   <enumeration value="0"/>
+     *                                   <enumeration value="1"/>
+     *                                   <enumeration value="2"/>
+     *                                   <enumeration value="3"/>
+     *                                   <enumeration value="4"/>
+     *                                   <enumeration value="9"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="tpAto" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                   <whiteSpace value="preserve"/>
+     *                                   <enumeration value="08"/>
+     *                                   <enumeration value="10"/>
+     *                                   <enumeration value="12"/>
+     *                                   <enumeration value="14"/>
+     *                                   <enumeration value="15"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="exporta" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="UFSaidaPais" type="{http://www.portalfiscal.inf.br/nfe}TUfEmi"/>
+     *                   <element name="xLocExporta">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xLocDespacho" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="compra" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="xNEmp" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="22"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xPed" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="xCont" minOccurs="0">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                         <minLength value="1"/>
+     *                         <maxLength value="60"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="cana" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="safra">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                         <minLength value="4"/>
+     *                         <maxLength value="9"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="ref">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                         <whiteSpace value="preserve"/>
+     *                         <pattern value="(0[1-9]|1[0-2])([/][2][0-9][0-9][0-9])"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                   <element name="forDia" maxOccurs="31">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="qtde" type="{http://www.portalfiscal.inf.br/nfe}TDec_1110v"/>
+     *                           </sequence>
+     *                           <attribute name="dia" use="required">
+     *                             <simpleType>
+     *                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                 <whiteSpace value="preserve"/>
+     *                                 <pattern value="[1-9]|[1][0-9]|[2][0-9]|[3][0-1]"/>
+     *                               </restriction>
+     *                             </simpleType>
+     *                           </attribute>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="qTotMes" type="{http://www.portalfiscal.inf.br/nfe}TDec_1110v"/>
+     *                   <element name="qTotAnt" type="{http://www.portalfiscal.inf.br/nfe}TDec_1110v"/>
+     *                   <element name="qTotGer" type="{http://www.portalfiscal.inf.br/nfe}TDec_1110v"/>
+     *                   <element name="deduc" maxOccurs="10" minOccurs="0">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="xDed">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="60"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="vDed" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="vFor" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                   <element name="vTotDed" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                   <element name="vLiqFor" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="infRespTec" type="{http://www.portalfiscal.inf.br/nfe}TInfRespTec" minOccurs="0"/>
+     *         <element name="infSolicNFF" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <sequence>
+     *                   <element name="xSolic">
+     *                     <simpleType>
+     *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                         <minLength value="2"/>
+     *                         <maxLength value="5000"/>
+     *                       </restriction>
+     *                     </simpleType>
+     *                   </element>
+     *                 </sequence>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *         <element name="agropecuario" minOccurs="0">
+     *           <complexType>
+     *             <complexContent>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                 <choice>
+     *                   <element name="defensivo" maxOccurs="20">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="nReceituario">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                   <maxLength value="30"/>
+     *                                   <minLength value="1"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="CPFRespTec" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                   <element name="guiaTransito">
+     *                     <complexType>
+     *                       <complexContent>
+     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+     *                           <sequence>
+     *                             <element name="tpGuia">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                   <whiteSpace value="preserve"/>
+     *                                   <enumeration value="1"/>
+     *                                   <enumeration value="2"/>
+     *                                   <enumeration value="3"/>
+     *                                   <enumeration value="4"/>
+     *                                   <enumeration value="5"/>
+     *                                   <enumeration value="6"/>
+     *                                   <enumeration value="7"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="UFGuia" type="{http://www.portalfiscal.inf.br/nfe}TUfEmi"/>
+     *                             <element name="serieGuia" minOccurs="0">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                                   <minLength value="1"/>
+     *                                   <maxLength value="9"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                             <element name="nGuia">
+     *                               <simpleType>
+     *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                                   <pattern value="[0-9]{1,9}"/>
+     *                                 </restriction>
+     *                               </simpleType>
+     *                             </element>
+     *                           </sequence>
+     *                         </restriction>
+     *                       </complexContent>
+     *                     </complexType>
+     *                   </element>
+     *                 </choice>
+     *               </restriction>
+     *             </complexContent>
+     *           </complexType>
+     *         </element>
+     *       </sequence>
+     *       <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerNFe" />
+     *       <attribute name="Id" use="required">
+     *         <simpleType>
+     *           <restriction base="{http://www.w3.org/2001/XMLSchema}ID">
+     *             <pattern value="NFe[0-9]{44}"/>
+     *           </restriction>
+     *         </simpleType>
+     *       </attribute>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "ide", + "emit", + "avulsa", + "dest", + "retirada", + "entrega", + "autXML", + "det", + "total", + "transp", + "cobr", + "pag", + "infIntermed", + "infAdic", + "exporta", + "compra", + "cana", + "infRespTec", + "infSolicNFF", + "agropecuario" + }) + public static class InfNFe { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected TNFe.InfNFe.Ide ide; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected TNFe.InfNFe.Emit emit; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Avulsa avulsa; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Dest dest; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TLocal retirada; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TLocal entrega; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected List autXML; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected List det; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected TNFe.InfNFe.Total total; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected TNFe.InfNFe.Transp transp; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Cobr cobr; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected TNFe.InfNFe.Pag pag; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.InfIntermed infIntermed; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.InfAdic infAdic; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Exporta exporta; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Compra compra; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Cana cana; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TInfRespTec infRespTec; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.InfSolicNFF infSolicNFF; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Agropecuario agropecuario; + @XmlAttribute(name = "versao", required = true) + protected String versao; + @XmlAttribute(name = "Id", required = true) + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + protected String id; + + /** + * Obtém o valor da propriedade ide. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Ide } + * + */ + public TNFe.InfNFe.Ide getIde() { + return ide; + } + + /** + * Define o valor da propriedade ide. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Ide } + * + */ + public void setIde(TNFe.InfNFe.Ide value) { + this.ide = value; + } + + /** + * Obtém o valor da propriedade emit. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Emit } + * + */ + public TNFe.InfNFe.Emit getEmit() { + return emit; + } + + /** + * Define o valor da propriedade emit. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Emit } + * + */ + public void setEmit(TNFe.InfNFe.Emit value) { + this.emit = value; + } + + /** + * Obtém o valor da propriedade avulsa. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Avulsa } + * + */ + public TNFe.InfNFe.Avulsa getAvulsa() { + return avulsa; + } + + /** + * Define o valor da propriedade avulsa. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Avulsa } + * + */ + public void setAvulsa(TNFe.InfNFe.Avulsa value) { + this.avulsa = value; + } + + /** + * Obtém o valor da propriedade dest. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Dest } + * + */ + public TNFe.InfNFe.Dest getDest() { + return dest; + } + + /** + * Define o valor da propriedade dest. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Dest } + * + */ + public void setDest(TNFe.InfNFe.Dest value) { + this.dest = value; + } + + /** + * Obtém o valor da propriedade retirada. + * + * @return + * possible object is + * {@link TLocal } + * + */ + public TLocal getRetirada() { + return retirada; + } + + /** + * Define o valor da propriedade retirada. + * + * @param value + * allowed object is + * {@link TLocal } + * + */ + public void setRetirada(TLocal value) { + this.retirada = value; + } + + /** + * Obtém o valor da propriedade entrega. + * + * @return + * possible object is + * {@link TLocal } + * + */ + public TLocal getEntrega() { + return entrega; + } + + /** + * Define o valor da propriedade entrega. + * + * @param value + * allowed object is + * {@link TLocal } + * + */ + public void setEntrega(TLocal value) { + this.entrega = value; + } + + /** + * Gets the value of the autXML property. + * + *

+ * 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 set method for the autXML property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getAutXML().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TNFe.InfNFe.AutXML } + * + * + */ + public List getAutXML() { + if (autXML == null) { + autXML = new ArrayList(); + } + return this.autXML; + } + + /** + * Gets the value of the det property. + * + *

+ * 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 set method for the det property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getDet().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TNFe.InfNFe.Det } + * + * + */ + public List getDet() { + if (det == null) { + det = new ArrayList(); + } + return this.det; + } + + /** + * Obtém o valor da propriedade total. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Total } + * + */ + public TNFe.InfNFe.Total getTotal() { + return total; + } + + /** + * Define o valor da propriedade total. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Total } + * + */ + public void setTotal(TNFe.InfNFe.Total value) { + this.total = value; + } + + /** + * Obtém o valor da propriedade transp. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Transp } + * + */ + public TNFe.InfNFe.Transp getTransp() { + return transp; + } + + /** + * Define o valor da propriedade transp. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Transp } + * + */ + public void setTransp(TNFe.InfNFe.Transp value) { + this.transp = value; + } + + /** + * Obtém o valor da propriedade cobr. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Cobr } + * + */ + public TNFe.InfNFe.Cobr getCobr() { + return cobr; + } + + /** + * Define o valor da propriedade cobr. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Cobr } + * + */ + public void setCobr(TNFe.InfNFe.Cobr value) { + this.cobr = value; + } + + /** + * Obtém o valor da propriedade pag. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Pag } + * + */ + public TNFe.InfNFe.Pag getPag() { + return pag; + } + + /** + * Define o valor da propriedade pag. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Pag } + * + */ + public void setPag(TNFe.InfNFe.Pag value) { + this.pag = value; + } + + /** + * Obtém o valor da propriedade infIntermed. + * + * @return + * possible object is + * {@link TNFe.InfNFe.InfIntermed } + * + */ + public TNFe.InfNFe.InfIntermed getInfIntermed() { + return infIntermed; + } + + /** + * Define o valor da propriedade infIntermed. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.InfIntermed } + * + */ + public void setInfIntermed(TNFe.InfNFe.InfIntermed value) { + this.infIntermed = value; + } + + /** + * Obtém o valor da propriedade infAdic. + * + * @return + * possible object is + * {@link TNFe.InfNFe.InfAdic } + * + */ + public TNFe.InfNFe.InfAdic getInfAdic() { + return infAdic; + } + + /** + * Define o valor da propriedade infAdic. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.InfAdic } + * + */ + public void setInfAdic(TNFe.InfNFe.InfAdic value) { + this.infAdic = value; + } + + /** + * Obtém o valor da propriedade exporta. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Exporta } + * + */ + public TNFe.InfNFe.Exporta getExporta() { + return exporta; + } + + /** + * Define o valor da propriedade exporta. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Exporta } + * + */ + public void setExporta(TNFe.InfNFe.Exporta value) { + this.exporta = value; + } + + /** + * Obtém o valor da propriedade compra. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Compra } + * + */ + public TNFe.InfNFe.Compra getCompra() { + return compra; + } + + /** + * Define o valor da propriedade compra. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Compra } + * + */ + public void setCompra(TNFe.InfNFe.Compra value) { + this.compra = value; + } + + /** + * Obtém o valor da propriedade cana. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Cana } + * + */ + public TNFe.InfNFe.Cana getCana() { + return cana; + } + + /** + * Define o valor da propriedade cana. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Cana } + * + */ + public void setCana(TNFe.InfNFe.Cana value) { + this.cana = value; + } + + /** + * Obtém o valor da propriedade infRespTec. + * + * @return + * possible object is + * {@link TInfRespTec } + * + */ + public TInfRespTec getInfRespTec() { + return infRespTec; + } + + /** + * Define o valor da propriedade infRespTec. + * + * @param value + * allowed object is + * {@link TInfRespTec } + * + */ + public void setInfRespTec(TInfRespTec value) { + this.infRespTec = value; + } + + /** + * Obtém o valor da propriedade infSolicNFF. + * + * @return + * possible object is + * {@link TNFe.InfNFe.InfSolicNFF } + * + */ + public TNFe.InfNFe.InfSolicNFF getInfSolicNFF() { + return infSolicNFF; + } + + /** + * Define o valor da propriedade infSolicNFF. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.InfSolicNFF } + * + */ + public void setInfSolicNFF(TNFe.InfNFe.InfSolicNFF value) { + this.infSolicNFF = value; + } + + /** + * Obtém o valor da propriedade agropecuario. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Agropecuario } + * + */ + public TNFe.InfNFe.Agropecuario getAgropecuario() { + return agropecuario; + } + + /** + * Define o valor da propriedade agropecuario. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Agropecuario } + * + */ + public void setAgropecuario(TNFe.InfNFe.Agropecuario value) { + this.agropecuario = value; + } + + /** + * Obtém o valor da propriedade versao. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Define o valor da propriedade versao. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + + /** + * Obtém o valor da propriedade id. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Define o valor da propriedade id. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + + /** + *

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">
+         *       <choice>
+         *         <element name="defensivo" maxOccurs="20">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="nReceituario">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                         <maxLength value="30"/>
+         *                         <minLength value="1"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="CPFRespTec" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="guiaTransito">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="tpGuia">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <whiteSpace value="preserve"/>
+         *                         <enumeration value="1"/>
+         *                         <enumeration value="2"/>
+         *                         <enumeration value="3"/>
+         *                         <enumeration value="4"/>
+         *                         <enumeration value="5"/>
+         *                         <enumeration value="6"/>
+         *                         <enumeration value="7"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="UFGuia" type="{http://www.portalfiscal.inf.br/nfe}TUfEmi"/>
+         *                   <element name="serieGuia" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="9"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="nGuia">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <pattern value="[0-9]{1,9}"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </choice>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "defensivo", + "guiaTransito" + }) + public static class Agropecuario { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected List defensivo; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Agropecuario.GuiaTransito guiaTransito; + + /** + * Gets the value of the defensivo property. + * + *

+ * 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 set method for the defensivo property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getDefensivo().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TNFe.InfNFe.Agropecuario.Defensivo } + * + * + */ + public List getDefensivo() { + if (defensivo == null) { + defensivo = new ArrayList(); + } + return this.defensivo; + } + + /** + * Obtém o valor da propriedade guiaTransito. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Agropecuario.GuiaTransito } + * + */ + public TNFe.InfNFe.Agropecuario.GuiaTransito getGuiaTransito() { + return guiaTransito; + } + + /** + * Define o valor da propriedade guiaTransito. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Agropecuario.GuiaTransito } + * + */ + public void setGuiaTransito(TNFe.InfNFe.Agropecuario.GuiaTransito value) { + this.guiaTransito = value; + } + + + /** + *

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="nReceituario">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *               <maxLength value="30"/>
+             *               <minLength value="1"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="CPFRespTec" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "nReceituario", + "cpfRespTec" + }) + public static class Defensivo { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String nReceituario; + @XmlElement(name = "CPFRespTec", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cpfRespTec; + + /** + * Obtém o valor da propriedade nReceituario. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNReceituario() { + return nReceituario; + } + + /** + * Define o valor da propriedade nReceituario. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNReceituario(String value) { + this.nReceituario = value; + } + + /** + * Obtém o valor da propriedade cpfRespTec. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPFRespTec() { + return cpfRespTec; + } + + /** + * Define o valor da propriedade cpfRespTec. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPFRespTec(String value) { + this.cpfRespTec = value; + } + + } + + + /** + *

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="tpGuia">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <enumeration value="1"/>
+             *               <enumeration value="2"/>
+             *               <enumeration value="3"/>
+             *               <enumeration value="4"/>
+             *               <enumeration value="5"/>
+             *               <enumeration value="6"/>
+             *               <enumeration value="7"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="UFGuia" type="{http://www.portalfiscal.inf.br/nfe}TUfEmi"/>
+             *         <element name="serieGuia" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="9"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="nGuia">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <pattern value="[0-9]{1,9}"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "tpGuia", + "ufGuia", + "serieGuia", + "nGuia" + }) + public static class GuiaTransito { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpGuia; + @XmlElement(name = "UFGuia", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + @XmlSchemaType(name = "string") + protected TUfEmi ufGuia; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String serieGuia; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String nGuia; + + /** + * Obtém o valor da propriedade tpGuia. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpGuia() { + return tpGuia; + } + + /** + * Define o valor da propriedade tpGuia. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpGuia(String value) { + this.tpGuia = value; + } + + /** + * Obtém o valor da propriedade ufGuia. + * + * @return + * possible object is + * {@link TUfEmi } + * + */ + public TUfEmi getUFGuia() { + return ufGuia; + } + + /** + * Define o valor da propriedade ufGuia. + * + * @param value + * allowed object is + * {@link TUfEmi } + * + */ + public void setUFGuia(TUfEmi value) { + this.ufGuia = value; + } + + /** + * Obtém o valor da propriedade serieGuia. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSerieGuia() { + return serieGuia; + } + + /** + * Define o valor da propriedade serieGuia. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSerieGuia(String value) { + this.serieGuia = value; + } + + /** + * Obtém o valor da propriedade nGuia. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNGuia() { + return nGuia; + } + + /** + * Define o valor da propriedade nGuia. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNGuia(String value) { + this.nGuia = value; + } + + } + + } + + + /** + *

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">
+         *       <choice>
+         *         <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/>
+         *         <element name="CPF" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/>
+         *       </choice>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "cpf" + }) + public static class AutXML { + + @XmlElement(name = "CNPJ", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cnpj; + @XmlElement(name = "CPF", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cpf; + + /** + * Obtém o valor da propriedade cnpj. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Define o valor da propriedade cnpj. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Obtém o valor da propriedade cpf. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Define o valor da propriedade cpf. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + } + + + /** + *

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="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/>
+         *         <element name="xOrgao">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="1"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="matr">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xAgente">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="1"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="fone" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <pattern value="[0-9]{6,14}"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="UF" type="{http://www.portalfiscal.inf.br/nfe}TUfEmi"/>
+         *         <element name="nDAR" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="dEmi" type="{http://www.portalfiscal.inf.br/nfe}TData" minOccurs="0"/>
+         *         <element name="vDAR" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+         *         <element name="repEmi">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="dPag" type="{http://www.portalfiscal.inf.br/nfe}TData" minOccurs="0"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "xOrgao", + "matr", + "xAgente", + "fone", + "uf", + "ndar", + "dEmi", + "vdar", + "repEmi", + "dPag" + }) + public static class Avulsa { + + @XmlElement(name = "CNPJ", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cnpj; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String xOrgao; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String matr; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String xAgente; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String fone; + @XmlElement(name = "UF", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + @XmlSchemaType(name = "string") + protected TUfEmi uf; + @XmlElement(name = "nDAR", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String ndar; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String dEmi; + @XmlElement(name = "vDAR", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vdar; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String repEmi; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String dPag; + + /** + * Obtém o valor da propriedade cnpj. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Define o valor da propriedade cnpj. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Obtém o valor da propriedade xOrgao. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXOrgao() { + return xOrgao; + } + + /** + * Define o valor da propriedade xOrgao. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXOrgao(String value) { + this.xOrgao = value; + } + + /** + * Obtém o valor da propriedade matr. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMatr() { + return matr; + } + + /** + * Define o valor da propriedade matr. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMatr(String value) { + this.matr = value; + } + + /** + * Obtém o valor da propriedade xAgente. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXAgente() { + return xAgente; + } + + /** + * Define o valor da propriedade xAgente. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXAgente(String value) { + this.xAgente = value; + } + + /** + * Obtém o valor da propriedade fone. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFone() { + return fone; + } + + /** + * Define o valor da propriedade fone. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFone(String value) { + this.fone = value; + } + + /** + * Obtém o valor da propriedade uf. + * + * @return + * possible object is + * {@link TUfEmi } + * + */ + public TUfEmi getUF() { + return uf; + } + + /** + * Define o valor da propriedade uf. + * + * @param value + * allowed object is + * {@link TUfEmi } + * + */ + public void setUF(TUfEmi value) { + this.uf = value; + } + + /** + * Obtém o valor da propriedade ndar. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNDAR() { + return ndar; + } + + /** + * Define o valor da propriedade ndar. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNDAR(String value) { + this.ndar = value; + } + + /** + * Obtém o valor da propriedade dEmi. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDEmi() { + return dEmi; + } + + /** + * Define o valor da propriedade dEmi. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDEmi(String value) { + this.dEmi = value; + } + + /** + * Obtém o valor da propriedade vdar. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDAR() { + return vdar; + } + + /** + * Define o valor da propriedade vdar. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDAR(String value) { + this.vdar = value; + } + + /** + * Obtém o valor da propriedade repEmi. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRepEmi() { + return repEmi; + } + + /** + * Define o valor da propriedade repEmi. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRepEmi(String value) { + this.repEmi = value; + } + + /** + * Obtém o valor da propriedade dPag. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDPag() { + return dPag; + } + + /** + * Define o valor da propriedade dPag. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDPag(String value) { + this.dPag = value; + } + + } + + + /** + *

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="safra">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *               <minLength value="4"/>
+         *               <maxLength value="9"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="ref">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <pattern value="(0[1-9]|1[0-2])([/][2][0-9][0-9][0-9])"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="forDia" maxOccurs="31">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="qtde" type="{http://www.portalfiscal.inf.br/nfe}TDec_1110v"/>
+         *                 </sequence>
+         *                 <attribute name="dia" use="required">
+         *                   <simpleType>
+         *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                       <whiteSpace value="preserve"/>
+         *                       <pattern value="[1-9]|[1][0-9]|[2][0-9]|[3][0-1]"/>
+         *                     </restriction>
+         *                   </simpleType>
+         *                 </attribute>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="qTotMes" type="{http://www.portalfiscal.inf.br/nfe}TDec_1110v"/>
+         *         <element name="qTotAnt" type="{http://www.portalfiscal.inf.br/nfe}TDec_1110v"/>
+         *         <element name="qTotGer" type="{http://www.portalfiscal.inf.br/nfe}TDec_1110v"/>
+         *         <element name="deduc" maxOccurs="10" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="xDed">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="60"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="vDed" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="vFor" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *         <element name="vTotDed" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *         <element name="vLiqFor" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "safra", + "ref", + "forDia", + "qTotMes", + "qTotAnt", + "qTotGer", + "deduc", + "vFor", + "vTotDed", + "vLiqFor" + }) + public static class Cana { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String safra; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String ref; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected List forDia; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String qTotMes; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String qTotAnt; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String qTotGer; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected List deduc; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vFor; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vTotDed; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vLiqFor; + + /** + * Obtém o valor da propriedade safra. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSafra() { + return safra; + } + + /** + * Define o valor da propriedade safra. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSafra(String value) { + this.safra = value; + } + + /** + * Obtém o valor da propriedade ref. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRef() { + return ref; + } + + /** + * Define o valor da propriedade ref. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRef(String value) { + this.ref = value; + } + + /** + * Gets the value of the forDia property. + * + *

+ * 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 set method for the forDia property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getForDia().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TNFe.InfNFe.Cana.ForDia } + * + * + */ + public List getForDia() { + if (forDia == null) { + forDia = new ArrayList(); + } + return this.forDia; + } + + /** + * Obtém o valor da propriedade qTotMes. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQTotMes() { + return qTotMes; + } + + /** + * Define o valor da propriedade qTotMes. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQTotMes(String value) { + this.qTotMes = value; + } + + /** + * Obtém o valor da propriedade qTotAnt. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQTotAnt() { + return qTotAnt; + } + + /** + * Define o valor da propriedade qTotAnt. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQTotAnt(String value) { + this.qTotAnt = value; + } + + /** + * Obtém o valor da propriedade qTotGer. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQTotGer() { + return qTotGer; + } + + /** + * Define o valor da propriedade qTotGer. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQTotGer(String value) { + this.qTotGer = value; + } + + /** + * Gets the value of the deduc property. + * + *

+ * 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 set method for the deduc property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getDeduc().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TNFe.InfNFe.Cana.Deduc } + * + * + */ + public List getDeduc() { + if (deduc == null) { + deduc = new ArrayList(); + } + return this.deduc; + } + + /** + * Obtém o valor da propriedade vFor. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVFor() { + return vFor; + } + + /** + * Define o valor da propriedade vFor. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVFor(String value) { + this.vFor = value; + } + + /** + * Obtém o valor da propriedade vTotDed. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVTotDed() { + return vTotDed; + } + + /** + * Define o valor da propriedade vTotDed. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVTotDed(String value) { + this.vTotDed = value; + } + + /** + * Obtém o valor da propriedade vLiqFor. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVLiqFor() { + return vLiqFor; + } + + /** + * Define o valor da propriedade vLiqFor. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVLiqFor(String value) { + this.vLiqFor = value; + } + + + /** + *

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="xDed">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="60"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="vDed" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xDed", + "vDed" + }) + public static class Deduc { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String xDed; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vDed; + + /** + * Obtém o valor da propriedade xDed. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXDed() { + return xDed; + } + + /** + * Define o valor da propriedade xDed. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXDed(String value) { + this.xDed = value; + } + + /** + * Obtém o valor da propriedade vDed. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDed() { + return vDed; + } + + /** + * Define o valor da propriedade vDed. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDed(String value) { + this.vDed = value; + } + + } + + + /** + *

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="qtde" type="{http://www.portalfiscal.inf.br/nfe}TDec_1110v"/>
+             *       </sequence>
+             *       <attribute name="dia" use="required">
+             *         <simpleType>
+             *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *             <whiteSpace value="preserve"/>
+             *             <pattern value="[1-9]|[1][0-9]|[2][0-9]|[3][0-1]"/>
+             *           </restriction>
+             *         </simpleType>
+             *       </attribute>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "qtde" + }) + public static class ForDia { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String qtde; + @XmlAttribute(name = "dia", required = true) + protected String dia; + + /** + * Obtém o valor da propriedade qtde. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQtde() { + return qtde; + } + + /** + * Define o valor da propriedade qtde. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQtde(String value) { + this.qtde = value; + } + + /** + * Obtém o valor da propriedade dia. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDia() { + return dia; + } + + /** + * Define o valor da propriedade dia. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDia(String value) { + this.dia = value; + } + + } + + } + + + /** + *

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="fat" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="nFat" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="60"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="vOrig" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+         *                   <element name="vDesc" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+         *                   <element name="vLiq" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="dup" maxOccurs="120" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="nDup" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                         <maxLength value="60"/>
+         *                         <minLength value="1"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="dVenc" type="{http://www.portalfiscal.inf.br/nfe}TData" minOccurs="0"/>
+         *                   <element name="vDup" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "fat", + "dup" + }) + public static class Cobr { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Cobr.Fat fat; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected List dup; + + /** + * Obtém o valor da propriedade fat. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Cobr.Fat } + * + */ + public TNFe.InfNFe.Cobr.Fat getFat() { + return fat; + } + + /** + * Define o valor da propriedade fat. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Cobr.Fat } + * + */ + public void setFat(TNFe.InfNFe.Cobr.Fat value) { + this.fat = value; + } + + /** + * Gets the value of the dup property. + * + *

+ * 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 set method for the dup property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getDup().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TNFe.InfNFe.Cobr.Dup } + * + * + */ + public List getDup() { + if (dup == null) { + dup = new ArrayList(); + } + return this.dup; + } + + + /** + *

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="nDup" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *               <maxLength value="60"/>
+             *               <minLength value="1"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="dVenc" type="{http://www.portalfiscal.inf.br/nfe}TData" minOccurs="0"/>
+             *         <element name="vDup" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "nDup", + "dVenc", + "vDup" + }) + public static class Dup { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String nDup; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String dVenc; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vDup; + + /** + * Obtém o valor da propriedade nDup. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNDup() { + return nDup; + } + + /** + * Define o valor da propriedade nDup. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNDup(String value) { + this.nDup = value; + } + + /** + * Obtém o valor da propriedade dVenc. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDVenc() { + return dVenc; + } + + /** + * Define o valor da propriedade dVenc. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDVenc(String value) { + this.dVenc = value; + } + + /** + * Obtém o valor da propriedade vDup. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDup() { + return vDup; + } + + /** + * Define o valor da propriedade vDup. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDup(String value) { + this.vDup = value; + } + + } + + + /** + *

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="nFat" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="60"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="vOrig" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+             *         <element name="vDesc" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+             *         <element name="vLiq" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "nFat", + "vOrig", + "vDesc", + "vLiq" + }) + public static class Fat { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String nFat; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vOrig; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vDesc; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vLiq; + + /** + * Obtém o valor da propriedade nFat. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNFat() { + return nFat; + } + + /** + * Define o valor da propriedade nFat. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNFat(String value) { + this.nFat = value; + } + + /** + * Obtém o valor da propriedade vOrig. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVOrig() { + return vOrig; + } + + /** + * Define o valor da propriedade vOrig. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVOrig(String value) { + this.vOrig = value; + } + + /** + * Obtém o valor da propriedade vDesc. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDesc() { + return vDesc; + } + + /** + * Define o valor da propriedade vDesc. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDesc(String value) { + this.vDesc = value; + } + + /** + * Obtém o valor da propriedade vLiq. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVLiq() { + return vLiq; + } + + /** + * Define o valor da propriedade vLiq. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVLiq(String value) { + this.vLiq = value; + } + + } + + } + + + /** + *

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="xNEmp" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="22"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xPed" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xCont" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xnEmp", + "xPed", + "xCont" + }) + public static class Compra { + + @XmlElement(name = "xNEmp", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String xnEmp; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String xPed; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String xCont; + + /** + * Obtém o valor da propriedade xnEmp. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNEmp() { + return xnEmp; + } + + /** + * Define o valor da propriedade xnEmp. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNEmp(String value) { + this.xnEmp = value; + } + + /** + * Obtém o valor da propriedade xPed. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXPed() { + return xPed; + } + + /** + * Define o valor da propriedade xPed. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXPed(String value) { + this.xPed = value; + } + + /** + * Obtém o valor da propriedade xCont. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCont() { + return xCont; + } + + /** + * Define o valor da propriedade xCont. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCont(String value) { + this.xCont = value; + } + + } + + + /** + *

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>
+         *         <choice>
+         *           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/>
+         *           <element name="CPF" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/>
+         *           <element name="idEstrangeiro">
+         *             <simpleType>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                 <whiteSpace value="preserve"/>
+         *                 <pattern value="([!-ÿ]{0}|[!-ÿ]{5,20})?"/>
+         *               </restriction>
+         *             </simpleType>
+         *           </element>
+         *         </choice>
+         *         <element name="xNome" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="enderDest" type="{http://www.portalfiscal.inf.br/nfe}TEndereco" minOccurs="0"/>
+         *         <element name="indIEDest">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="2"/>
+         *               <enumeration value="9"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="IE" type="{http://www.portalfiscal.inf.br/nfe}TIeDestNaoIsento" minOccurs="0"/>
+         *         <element name="ISUF" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <pattern value="[0-9]{8,9}"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="IM" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="15"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="email" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *               <whiteSpace value="preserve"/>
+         *               <minLength value="1"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "cpf", + "idEstrangeiro", + "xNome", + "enderDest", + "indIEDest", + "ie", + "isuf", + "im", + "email" + }) + public static class Dest { + + @XmlElement(name = "CNPJ", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cnpj; + @XmlElement(name = "CPF", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cpf; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String idEstrangeiro; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String xNome; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TEndereco enderDest; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String indIEDest; + @XmlElement(name = "IE", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String ie; + @XmlElement(name = "ISUF", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String isuf; + @XmlElement(name = "IM", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String im; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String email; + + /** + * Obtém o valor da propriedade cnpj. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Define o valor da propriedade cnpj. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Obtém o valor da propriedade cpf. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Define o valor da propriedade cpf. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Obtém o valor da propriedade idEstrangeiro. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIdEstrangeiro() { + return idEstrangeiro; + } + + /** + * Define o valor da propriedade idEstrangeiro. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIdEstrangeiro(String value) { + this.idEstrangeiro = value; + } + + /** + * Obtém o valor da propriedade xNome. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Define o valor da propriedade xNome. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Obtém o valor da propriedade enderDest. + * + * @return + * possible object is + * {@link TEndereco } + * + */ + public TEndereco getEnderDest() { + return enderDest; + } + + /** + * Define o valor da propriedade enderDest. + * + * @param value + * allowed object is + * {@link TEndereco } + * + */ + public void setEnderDest(TEndereco value) { + this.enderDest = value; + } + + /** + * Obtém o valor da propriedade indIEDest. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndIEDest() { + return indIEDest; + } + + /** + * Define o valor da propriedade indIEDest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndIEDest(String value) { + this.indIEDest = value; + } + + /** + * Obtém o valor da propriedade ie. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIE() { + return ie; + } + + /** + * Define o valor da propriedade ie. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Obtém o valor da propriedade isuf. + * + * @return + * possible object is + * {@link String } + * + */ + public String getISUF() { + return isuf; + } + + /** + * Define o valor da propriedade isuf. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setISUF(String value) { + this.isuf = value; + } + + /** + * Obtém o valor da propriedade im. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIM() { + return im; + } + + /** + * Define o valor da propriedade im. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIM(String value) { + this.im = value; + } + + /** + * Obtém o valor da propriedade email. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEmail() { + return email; + } + + /** + * Define o valor da propriedade email. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEmail(String value) { + this.email = value; + } + + } + + + /** + *

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="prod">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="cProd">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                         <maxLength value="60"/>
+         *                         <minLength value="1"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="cEAN">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <whiteSpace value="preserve"/>
+         *                         <pattern value="SEM GTIN|[0-9]{0}|[0-9]{8}|[0-9]{12,14}"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="cBarra" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                         <maxLength value="30"/>
+         *                         <minLength value="3"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="xProd">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                         <maxLength value="120"/>
+         *                         <minLength value="1"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="NCM">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <whiteSpace value="preserve"/>
+         *                         <pattern value="[0-9]{2}|[0-9]{8}"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="NVE" maxOccurs="8" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <whiteSpace value="preserve"/>
+         *                         <pattern value="[A-Z]{2}[0-9]{4}"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <sequence minOccurs="0">
+         *                     <element name="CEST">
+         *                       <simpleType>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                           <whiteSpace value="preserve"/>
+         *                           <pattern value="[0-9]{7}"/>
+         *                         </restriction>
+         *                       </simpleType>
+         *                     </element>
+         *                     <element name="indEscala" minOccurs="0">
+         *                       <simpleType>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                           <enumeration value="S"/>
+         *                           <enumeration value="N"/>
+         *                         </restriction>
+         *                       </simpleType>
+         *                     </element>
+         *                     <element name="CNPJFab" type="{http://www.portalfiscal.inf.br/nfe}TCnpj" minOccurs="0"/>
+         *                   </sequence>
+         *                   <element name="cBenef" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <whiteSpace value="preserve"/>
+         *                         <pattern value="([!-ÿ]{8}|[!-ÿ]{10}|SEM CBENEF)?"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="gCred" maxOccurs="4" minOccurs="0">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <element name="cCredPresumido">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                   <whiteSpace value="preserve"/>
+         *                                   <pattern value="[!-ÿ]{8}|[!-ÿ]{10}"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                             <element name="pCredPresumido" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                             <element name="vCredPresumido" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                   <element name="EXTIPI" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <whiteSpace value="preserve"/>
+         *                         <pattern value="[0-9]{2,3}"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="CFOP">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <whiteSpace value="preserve"/>
+         *                         <pattern value="[1,2,3,5,6,7]{1}[0-9]{3}"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="uCom">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                         <maxLength value="6"/>
+         *                         <minLength value="1"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="qCom" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+         *                   <element name="vUnCom" type="{http://www.portalfiscal.inf.br/nfe}TDec_1110v"/>
+         *                   <element name="vProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                   <element name="cEANTrib">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <whiteSpace value="preserve"/>
+         *                         <pattern value="SEM GTIN|[0-9]{0}|[0-9]{8}|[0-9]{12,14}"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="cBarraTrib" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                         <maxLength value="30"/>
+         *                         <minLength value="3"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="uTrib">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                         <maxLength value="6"/>
+         *                         <minLength value="1"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="qTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+         *                   <element name="vUnTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec_1110v"/>
+         *                   <element name="vFrete" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+         *                   <element name="vSeg" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+         *                   <element name="vDesc" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+         *                   <element name="vOutro" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+         *                   <element name="indTot">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <whiteSpace value="preserve"/>
+         *                         <enumeration value="0"/>
+         *                         <enumeration value="1"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="indBemMovelUsado" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <whiteSpace value="preserve"/>
+         *                         <enumeration value="1"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="DI" maxOccurs="100" minOccurs="0">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <element name="nDI">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                   <minLength value="1"/>
+         *                                   <maxLength value="15"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                             <element name="dDI" type="{http://www.portalfiscal.inf.br/nfe}TData"/>
+         *                             <element name="xLocDesemb">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                   <minLength value="1"/>
+         *                                   <maxLength value="60"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                             <element name="UFDesemb" type="{http://www.portalfiscal.inf.br/nfe}TUfEmi"/>
+         *                             <element name="dDesemb" type="{http://www.portalfiscal.inf.br/nfe}TData"/>
+         *                             <element name="tpViaTransp">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                   <whiteSpace value="preserve"/>
+         *                                   <enumeration value="1"/>
+         *                                   <enumeration value="2"/>
+         *                                   <enumeration value="3"/>
+         *                                   <enumeration value="4"/>
+         *                                   <enumeration value="5"/>
+         *                                   <enumeration value="6"/>
+         *                                   <enumeration value="7"/>
+         *                                   <enumeration value="8"/>
+         *                                   <enumeration value="9"/>
+         *                                   <enumeration value="10"/>
+         *                                   <enumeration value="11"/>
+         *                                   <enumeration value="12"/>
+         *                                   <enumeration value="13"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                             <element name="vAFRMM" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+         *                             <element name="tpIntermedio">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                   <whiteSpace value="preserve"/>
+         *                                   <enumeration value="1"/>
+         *                                   <enumeration value="2"/>
+         *                                   <enumeration value="3"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                             <choice minOccurs="0">
+         *                               <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="UFTerceiro" type="{http://www.portalfiscal.inf.br/nfe}TUfEmi" minOccurs="0"/>
+         *                             <element name="cExportador">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                   <minLength value="1"/>
+         *                                   <maxLength value="60"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                             <element name="adi" maxOccurs="999">
+         *                               <complexType>
+         *                                 <complexContent>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                     <sequence>
+         *                                       <element name="nAdicao" minOccurs="0">
+         *                                         <simpleType>
+         *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                             <whiteSpace value="preserve"/>
+         *                                             <pattern value="[1-9]{1}[0-9]{0,2}"/>
+         *                                           </restriction>
+         *                                         </simpleType>
+         *                                       </element>
+         *                                       <element name="nSeqAdic">
+         *                                         <simpleType>
+         *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                             <whiteSpace value="preserve"/>
+         *                                             <pattern value="[1-9]{1}[0-9]{0,4}"/>
+         *                                           </restriction>
+         *                                         </simpleType>
+         *                                       </element>
+         *                                       <element name="cFabricante">
+         *                                         <simpleType>
+         *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                             <minLength value="1"/>
+         *                                             <maxLength value="60"/>
+         *                                           </restriction>
+         *                                         </simpleType>
+         *                                       </element>
+         *                                       <element name="vDescDI" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+         *                                       <element name="nDraw" minOccurs="0">
+         *                                         <simpleType>
+         *                                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                             <minLength value="1"/>
+         *                                             <maxLength value="20"/>
+         *                                           </restriction>
+         *                                         </simpleType>
+         *                                       </element>
+         *                                     </sequence>
+         *                                   </restriction>
+         *                                 </complexContent>
+         *                               </complexType>
+         *                             </element>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                   <element name="detExport" maxOccurs="500" minOccurs="0">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <element name="nDraw" minOccurs="0">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                   <minLength value="1"/>
+         *                                   <maxLength value="20"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                             <element name="exportInd" minOccurs="0">
+         *                               <complexType>
+         *                                 <complexContent>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                     <sequence>
+         *                                       <element name="nRE">
+         *                                         <simpleType>
+         *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                             <whiteSpace value="preserve"/>
+         *                                             <pattern value="[0-9]{0,12}"/>
+         *                                           </restriction>
+         *                                         </simpleType>
+         *                                       </element>
+         *                                       <element name="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/>
+         *                                       <element name="qExport" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+         *                                     </sequence>
+         *                                   </restriction>
+         *                                 </complexContent>
+         *                               </complexType>
+         *                             </element>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                   <element name="xPed" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="15"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="nItemPed" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <whiteSpace value="preserve"/>
+         *                         <pattern value="[0-9]{1,6}"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="nFCI" type="{http://www.portalfiscal.inf.br/nfe}TGuid" minOccurs="0"/>
+         *                   <element name="rastro" maxOccurs="500" minOccurs="0">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <element name="nLote">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                   <minLength value="1"/>
+         *                                   <maxLength value="20"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                             <element name="qLote" type="{http://www.portalfiscal.inf.br/nfe}TDec_0803v"/>
+         *                             <element name="dFab" type="{http://www.portalfiscal.inf.br/nfe}TData"/>
+         *                             <element name="dVal" type="{http://www.portalfiscal.inf.br/nfe}TData"/>
+         *                             <element name="cAgreg" minOccurs="0">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                   <minLength value="1"/>
+         *                                   <maxLength value="20"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                   <element name="infProdNFF" minOccurs="0">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <element name="cProdFisco">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                   <length value="14"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                             <element name="cOperNFF">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                   <whiteSpace value="preserve"/>
+         *                                   <pattern value="[0-9]{1,5}"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                   <element name="infProdEmb" minOccurs="0">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <element name="xEmb">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                   <maxLength value="8"/>
+         *                                   <minLength value="1"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                             <element name="qVolEmb" type="{http://www.portalfiscal.inf.br/nfe}TDec_0803v"/>
+         *                             <element name="uEmb">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                   <maxLength value="8"/>
+         *                                   <minLength value="1"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                   <choice minOccurs="0">
+         *                     <element name="veicProd">
+         *                       <complexType>
+         *                         <complexContent>
+         *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                             <sequence>
+         *                               <element name="tpOp">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                     <whiteSpace value="preserve"/>
+         *                                     <enumeration value="0"/>
+         *                                     <enumeration value="1"/>
+         *                                     <enumeration value="2"/>
+         *                                     <enumeration value="3"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="chassi">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                     <length value="17"/>
+         *                                     <whiteSpace value="preserve"/>
+         *                                     <pattern value="[A-Z0-9]+"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="cCor">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                     <minLength value="1"/>
+         *                                     <maxLength value="4"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="xCor">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                     <minLength value="1"/>
+         *                                     <maxLength value="40"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="pot">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                     <minLength value="1"/>
+         *                                     <maxLength value="4"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="cilin">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                     <minLength value="1"/>
+         *                                     <maxLength value="4"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="pesoL">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                     <minLength value="1"/>
+         *                                     <maxLength value="9"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="pesoB">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                     <minLength value="1"/>
+         *                                     <maxLength value="9"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="nSerie">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                     <minLength value="1"/>
+         *                                     <maxLength value="9"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="tpComb">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                     <minLength value="1"/>
+         *                                     <maxLength value="2"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="nMotor">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                     <minLength value="1"/>
+         *                                     <maxLength value="21"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="CMT">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                     <minLength value="1"/>
+         *                                     <maxLength value="9"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="dist">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                     <minLength value="1"/>
+         *                                     <maxLength value="4"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="anoMod">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                     <whiteSpace value="preserve"/>
+         *                                     <pattern value="[0-9]{4}"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="anoFab">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                     <whiteSpace value="preserve"/>
+         *                                     <pattern value="[0-9]{4}"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="tpPint">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                     <length value="1"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="tpVeic">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                     <whiteSpace value="preserve"/>
+         *                                     <pattern value="[0-9]{1,2}"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="espVeic">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                     <whiteSpace value="preserve"/>
+         *                                     <pattern value="[0-9]{1}"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="VIN">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                     <length value="1"/>
+         *                                     <enumeration value="R"/>
+         *                                     <enumeration value="N"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="condVeic">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                     <whiteSpace value="preserve"/>
+         *                                     <enumeration value="1"/>
+         *                                     <enumeration value="2"/>
+         *                                     <enumeration value="3"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="cMod">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                     <whiteSpace value="preserve"/>
+         *                                     <pattern value="[0-9]{1,6}"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="cCorDENATRAN">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                     <whiteSpace value="preserve"/>
+         *                                     <minLength value="1"/>
+         *                                     <maxLength value="2"/>
+         *                                     <pattern value="[0-9]{1,2}"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="lota">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                     <minLength value="1"/>
+         *                                     <maxLength value="3"/>
+         *                                     <whiteSpace value="preserve"/>
+         *                                     <pattern value="[0-9]{1,3}"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="tpRest">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                     <whiteSpace value="preserve"/>
+         *                                     <enumeration value="0"/>
+         *                                     <enumeration value="1"/>
+         *                                     <enumeration value="2"/>
+         *                                     <enumeration value="3"/>
+         *                                     <enumeration value="4"/>
+         *                                     <enumeration value="9"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                             </sequence>
+         *                           </restriction>
+         *                         </complexContent>
+         *                       </complexType>
+         *                     </element>
+         *                     <element name="med">
+         *                       <complexType>
+         *                         <complexContent>
+         *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                             <sequence>
+         *                               <element name="cProdANVISA">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                     <pattern value="[0-9]{11}|[0-9]{13}|ISENTO"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="xMotivoIsencao" minOccurs="0">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                     <minLength value="1"/>
+         *                                     <maxLength value="255"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="vPMC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                             </sequence>
+         *                           </restriction>
+         *                         </complexContent>
+         *                       </complexType>
+         *                     </element>
+         *                     <element name="arma" maxOccurs="500">
+         *                       <complexType>
+         *                         <complexContent>
+         *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                             <sequence>
+         *                               <element name="tpArma">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                     <whiteSpace value="preserve"/>
+         *                                     <enumeration value="0"/>
+         *                                     <enumeration value="1"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="nSerie">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                     <minLength value="1"/>
+         *                                     <maxLength value="15"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="nCano">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                     <minLength value="1"/>
+         *                                     <maxLength value="15"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="descr">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                     <minLength value="1"/>
+         *                                     <maxLength value="256"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                             </sequence>
+         *                           </restriction>
+         *                         </complexContent>
+         *                       </complexType>
+         *                     </element>
+         *                     <element name="comb">
+         *                       <complexType>
+         *                         <complexContent>
+         *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                             <sequence>
+         *                               <element name="cProdANP">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                     <whiteSpace value="preserve"/>
+         *                                     <pattern value="[0-9]{9}"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="descANP">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                     <minLength value="2"/>
+         *                                     <maxLength value="95"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="pGLP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
+         *                               <element name="pGNn" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
+         *                               <element name="pGNi" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
+         *                               <element name="vPart" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+         *                               <element name="CODIF" minOccurs="0">
+         *                                 <simpleType>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                     <whiteSpace value="preserve"/>
+         *                                     <pattern value="[0-9]{1,21}"/>
+         *                                   </restriction>
+         *                                 </simpleType>
+         *                               </element>
+         *                               <element name="qTemp" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204temperatura" minOccurs="0"/>
+         *                               <element name="UFCons" type="{http://www.portalfiscal.inf.br/nfe}TUf"/>
+         *                               <element name="CIDE" minOccurs="0">
+         *                                 <complexType>
+         *                                   <complexContent>
+         *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                       <sequence>
+         *                                         <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
+         *                                         <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104"/>
+         *                                         <element name="vCIDE" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                       </sequence>
+         *                                     </restriction>
+         *                                   </complexContent>
+         *                                 </complexType>
+         *                               </element>
+         *                               <element name="encerrante" minOccurs="0">
+         *                                 <complexType>
+         *                                   <complexContent>
+         *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                       <sequence>
+         *                                         <element name="nBico">
+         *                                           <simpleType>
+         *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                               <whiteSpace value="preserve"/>
+         *                                               <pattern value="[0-9]{1,3}"/>
+         *                                             </restriction>
+         *                                           </simpleType>
+         *                                         </element>
+         *                                         <element name="nBomba" minOccurs="0">
+         *                                           <simpleType>
+         *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                               <whiteSpace value="preserve"/>
+         *                                               <pattern value="[0-9]{1,3}"/>
+         *                                             </restriction>
+         *                                           </simpleType>
+         *                                         </element>
+         *                                         <element name="nTanque">
+         *                                           <simpleType>
+         *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                               <whiteSpace value="preserve"/>
+         *                                               <pattern value="[0-9]{1,3}"/>
+         *                                             </restriction>
+         *                                           </simpleType>
+         *                                         </element>
+         *                                         <element name="vEncIni" type="{http://www.portalfiscal.inf.br/nfe}TDec_1203"/>
+         *                                         <element name="vEncFin" type="{http://www.portalfiscal.inf.br/nfe}TDec_1203"/>
+         *                                       </sequence>
+         *                                     </restriction>
+         *                                   </complexContent>
+         *                                 </complexType>
+         *                               </element>
+         *                               <element name="pBio" type="{http://www.portalfiscal.inf.br/nfe}TDec_03v00a04Max100Opc" minOccurs="0"/>
+         *                               <element name="origComb" maxOccurs="30" minOccurs="0">
+         *                                 <complexType>
+         *                                   <complexContent>
+         *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                       <sequence>
+         *                                         <element name="indImport">
+         *                                           <simpleType>
+         *                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                               <whiteSpace value="preserve"/>
+         *                                               <enumeration value="0"/>
+         *                                               <enumeration value="1"/>
+         *                                             </restriction>
+         *                                           </simpleType>
+         *                                         </element>
+         *                                         <element name="cUFOrig" type="{http://www.portalfiscal.inf.br/nfe}TCodUfIBGE"/>
+         *                                         <element name="pOrig" type="{http://www.portalfiscal.inf.br/nfe}TDec_03v00a04Max100Opc"/>
+         *                                       </sequence>
+         *                                     </restriction>
+         *                                   </complexContent>
+         *                                 </complexType>
+         *                               </element>
+         *                             </sequence>
+         *                           </restriction>
+         *                         </complexContent>
+         *                       </complexType>
+         *                     </element>
+         *                     <element name="nRECOPI">
+         *                       <simpleType>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                           <whiteSpace value="preserve"/>
+         *                           <maxLength value="20"/>
+         *                           <pattern value="[0-9]{20}"/>
+         *                         </restriction>
+         *                       </simpleType>
+         *                     </element>
+         *                   </choice>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="imposto">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="vTotTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+         *                   <choice minOccurs="0">
+         *                     <sequence>
+         *                       <element name="ICMS">
+         *                         <complexType>
+         *                           <complexContent>
+         *                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                               <choice>
+         *                                 <element name="ICMS00">
+         *                                   <complexType>
+         *                                     <complexContent>
+         *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                         <sequence>
+         *                                           <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+         *                                           <element name="CST">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <enumeration value="00"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                           <element name="modBC">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <enumeration value="0"/>
+         *                                                 <enumeration value="1"/>
+         *                                                 <enumeration value="2"/>
+         *                                                 <enumeration value="3"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                           <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                                           <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+         *                                             <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           </sequence>
+         *                                         </sequence>
+         *                                       </restriction>
+         *                                     </complexContent>
+         *                                   </complexType>
+         *                                 </element>
+         *                                 <element name="ICMS02">
+         *                                   <complexType>
+         *                                     <complexContent>
+         *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                         <sequence>
+         *                                           <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+         *                                           <element name="CST">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <enumeration value="02"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                           <element name="qBCMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+         *                                           <element name="adRemICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                                           <element name="vICMSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                         </sequence>
+         *                                       </restriction>
+         *                                     </complexContent>
+         *                                   </complexType>
+         *                                 </element>
+         *                                 <element name="ICMS10">
+         *                                   <complexType>
+         *                                     <complexContent>
+         *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                         <sequence>
+         *                                           <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+         *                                           <element name="CST">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <enumeration value="10"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                           <element name="modBC">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <enumeration value="0"/>
+         *                                                 <enumeration value="1"/>
+         *                                                 <enumeration value="2"/>
+         *                                                 <enumeration value="3"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                           <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                                           <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+         *                                             <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           </sequence>
+         *                                           <element name="modBCST">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <enumeration value="0"/>
+         *                                                 <enumeration value="1"/>
+         *                                                 <enumeration value="2"/>
+         *                                                 <enumeration value="3"/>
+         *                                                 <enumeration value="4"/>
+         *                                                 <enumeration value="5"/>
+         *                                                 <enumeration value="6"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                           <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+         *                                           <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+         *                                           <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                                           <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+         *                                             <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           </sequence>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="vICMSSTDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <element name="motDesICMSST">
+         *                                               <simpleType>
+         *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                   <whiteSpace value="preserve"/>
+         *                                                   <enumeration value="3"/>
+         *                                                   <enumeration value="9"/>
+         *                                                   <enumeration value="12"/>
+         *                                                 </restriction>
+         *                                               </simpleType>
+         *                                             </element>
+         *                                           </sequence>
+         *                                         </sequence>
+         *                                       </restriction>
+         *                                     </complexContent>
+         *                                   </complexType>
+         *                                 </element>
+         *                                 <element name="ICMS15">
+         *                                   <complexType>
+         *                                     <complexContent>
+         *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                         <sequence>
+         *                                           <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+         *                                           <element name="CST">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <enumeration value="15"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                           <element name="qBCMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+         *                                           <element name="adRemICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                                           <element name="vICMSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           <element name="qBCMonoReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+         *                                           <element name="adRemICMSReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                                           <element name="vICMSMonoReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="pRedAdRem" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302Max100"/>
+         *                                             <element name="motRedAdRem">
+         *                                               <simpleType>
+         *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                   <whiteSpace value="preserve"/>
+         *                                                   <enumeration value="1"/>
+         *                                                   <enumeration value="9"/>
+         *                                                 </restriction>
+         *                                               </simpleType>
+         *                                             </element>
+         *                                           </sequence>
+         *                                         </sequence>
+         *                                       </restriction>
+         *                                     </complexContent>
+         *                                   </complexType>
+         *                                 </element>
+         *                                 <element name="ICMS20">
+         *                                   <complexType>
+         *                                     <complexContent>
+         *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                         <sequence>
+         *                                           <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+         *                                           <element name="CST">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <enumeration value="20"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                           <element name="modBC">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <enumeration value="0"/>
+         *                                                 <enumeration value="1"/>
+         *                                                 <enumeration value="2"/>
+         *                                                 <enumeration value="3"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                           <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                                           <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                                           <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+         *                                             <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           </sequence>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <element name="motDesICMS">
+         *                                               <simpleType>
+         *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                   <whiteSpace value="preserve"/>
+         *                                                   <enumeration value="3"/>
+         *                                                   <enumeration value="9"/>
+         *                                                   <enumeration value="12"/>
+         *                                                 </restriction>
+         *                                               </simpleType>
+         *                                             </element>
+         *                                             <element name="indDeduzDeson" minOccurs="0">
+         *                                               <simpleType>
+         *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                   <whiteSpace value="preserve"/>
+         *                                                   <enumeration value="0"/>
+         *                                                   <enumeration value="1"/>
+         *                                                 </restriction>
+         *                                               </simpleType>
+         *                                             </element>
+         *                                           </sequence>
+         *                                         </sequence>
+         *                                       </restriction>
+         *                                     </complexContent>
+         *                                   </complexType>
+         *                                 </element>
+         *                                 <element name="ICMS30">
+         *                                   <complexType>
+         *                                     <complexContent>
+         *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                         <sequence>
+         *                                           <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+         *                                           <element name="CST">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <enumeration value="30"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                           <element name="modBCST">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <enumeration value="0"/>
+         *                                                 <enumeration value="1"/>
+         *                                                 <enumeration value="2"/>
+         *                                                 <enumeration value="3"/>
+         *                                                 <enumeration value="4"/>
+         *                                                 <enumeration value="5"/>
+         *                                                 <enumeration value="6"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                           <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+         *                                           <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+         *                                           <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                                           <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+         *                                             <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           </sequence>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <element name="motDesICMS">
+         *                                               <simpleType>
+         *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                   <whiteSpace value="preserve"/>
+         *                                                   <enumeration value="6"/>
+         *                                                   <enumeration value="7"/>
+         *                                                   <enumeration value="9"/>
+         *                                                 </restriction>
+         *                                               </simpleType>
+         *                                             </element>
+         *                                             <element name="indDeduzDeson" minOccurs="0">
+         *                                               <simpleType>
+         *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                   <whiteSpace value="preserve"/>
+         *                                                   <enumeration value="0"/>
+         *                                                   <enumeration value="1"/>
+         *                                                 </restriction>
+         *                                               </simpleType>
+         *                                             </element>
+         *                                           </sequence>
+         *                                         </sequence>
+         *                                       </restriction>
+         *                                     </complexContent>
+         *                                   </complexType>
+         *                                 </element>
+         *                                 <element name="ICMS40">
+         *                                   <complexType>
+         *                                     <complexContent>
+         *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                         <sequence>
+         *                                           <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+         *                                           <element name="CST">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <enumeration value="40"/>
+         *                                                 <enumeration value="41"/>
+         *                                                 <enumeration value="50"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <element name="motDesICMS">
+         *                                               <simpleType>
+         *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                   <whiteSpace value="preserve"/>
+         *                                                   <enumeration value="1"/>
+         *                                                   <enumeration value="3"/>
+         *                                                   <enumeration value="4"/>
+         *                                                   <enumeration value="5"/>
+         *                                                   <enumeration value="6"/>
+         *                                                   <enumeration value="7"/>
+         *                                                   <enumeration value="8"/>
+         *                                                   <enumeration value="9"/>
+         *                                                   <enumeration value="10"/>
+         *                                                   <enumeration value="11"/>
+         *                                                   <enumeration value="16"/>
+         *                                                   <enumeration value="90"/>
+         *                                                 </restriction>
+         *                                               </simpleType>
+         *                                             </element>
+         *                                             <element name="indDeduzDeson" minOccurs="0">
+         *                                               <simpleType>
+         *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                   <whiteSpace value="preserve"/>
+         *                                                   <enumeration value="0"/>
+         *                                                   <enumeration value="1"/>
+         *                                                 </restriction>
+         *                                               </simpleType>
+         *                                             </element>
+         *                                           </sequence>
+         *                                         </sequence>
+         *                                       </restriction>
+         *                                     </complexContent>
+         *                                   </complexType>
+         *                                 </element>
+         *                                 <element name="ICMS51">
+         *                                   <complexType>
+         *                                     <complexContent>
+         *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                         <sequence>
+         *                                           <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+         *                                           <element name="CST">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <enumeration value="51"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                           <element name="modBC" minOccurs="0">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <enumeration value="0"/>
+         *                                                 <enumeration value="1"/>
+         *                                                 <enumeration value="2"/>
+         *                                                 <enumeration value="3"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                           <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
+         *                                           <element name="cBenefRBC" minOccurs="0">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <pattern value="[!-ÿ]{8}|[!-ÿ]{10}"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                           <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+         *                                           <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
+         *                                           <element name="vICMSOp" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+         *                                           <element name="pDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
+         *                                           <element name="vICMSDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+         *                                           <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+         *                                             <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           </sequence>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="pFCPDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+         *                                             <element name="vFCPDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <element name="vFCPEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+         *                                           </sequence>
+         *                                         </sequence>
+         *                                       </restriction>
+         *                                     </complexContent>
+         *                                   </complexType>
+         *                                 </element>
+         *                                 <element name="ICMS53">
+         *                                   <complexType>
+         *                                     <complexContent>
+         *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                         <sequence>
+         *                                           <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+         *                                           <element name="CST">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <enumeration value="53"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                           <element name="qBCMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+         *                                           <element name="adRemICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
+         *                                           <element name="vICMSMonoOp" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+         *                                           <element name="pDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
+         *                                           <element name="vICMSMonoDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+         *                                           <element name="vICMSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+         *                                           <element name="qBCMonoDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+         *                                           <element name="adRemICMSDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
+         *                                         </sequence>
+         *                                       </restriction>
+         *                                     </complexContent>
+         *                                   </complexType>
+         *                                 </element>
+         *                                 <element name="ICMS60">
+         *                                   <complexType>
+         *                                     <complexContent>
+         *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                         <sequence>
+         *                                           <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+         *                                           <element name="CST">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <enumeration value="60"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="vBCSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <element name="pST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+         *                                             <element name="vICMSSubstituto" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+         *                                             <element name="vICMSSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           </sequence>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="vBCFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <element name="pFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+         *                                             <element name="vFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           </sequence>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="pRedBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+         *                                             <element name="vBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <element name="pICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+         *                                             <element name="vICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           </sequence>
+         *                                         </sequence>
+         *                                       </restriction>
+         *                                     </complexContent>
+         *                                   </complexType>
+         *                                 </element>
+         *                                 <element name="ICMS61">
+         *                                   <complexType>
+         *                                     <complexContent>
+         *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                         <sequence>
+         *                                           <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+         *                                           <element name="CST">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <enumeration value="61"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                           <element name="qBCMonoRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+         *                                           <element name="adRemICMSRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                                           <element name="vICMSMonoRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                         </sequence>
+         *                                       </restriction>
+         *                                     </complexContent>
+         *                                   </complexType>
+         *                                 </element>
+         *                                 <element name="ICMS70">
+         *                                   <complexType>
+         *                                     <complexContent>
+         *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                         <sequence>
+         *                                           <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+         *                                           <element name="CST">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <enumeration value="70"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                           <element name="modBC">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <enumeration value="0"/>
+         *                                                 <enumeration value="1"/>
+         *                                                 <enumeration value="2"/>
+         *                                                 <enumeration value="3"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                           <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                                           <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                                           <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+         *                                             <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           </sequence>
+         *                                           <element name="modBCST">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <enumeration value="0"/>
+         *                                                 <enumeration value="1"/>
+         *                                                 <enumeration value="2"/>
+         *                                                 <enumeration value="3"/>
+         *                                                 <enumeration value="4"/>
+         *                                                 <enumeration value="5"/>
+         *                                                 <enumeration value="6"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                           <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+         *                                           <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+         *                                           <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                                           <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+         *                                             <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           </sequence>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <element name="motDesICMS">
+         *                                               <simpleType>
+         *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                   <whiteSpace value="preserve"/>
+         *                                                   <enumeration value="3"/>
+         *                                                   <enumeration value="9"/>
+         *                                                   <enumeration value="12"/>
+         *                                                 </restriction>
+         *                                               </simpleType>
+         *                                             </element>
+         *                                             <element name="indDeduzDeson" minOccurs="0">
+         *                                               <simpleType>
+         *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                   <whiteSpace value="preserve"/>
+         *                                                   <enumeration value="0"/>
+         *                                                   <enumeration value="1"/>
+         *                                                 </restriction>
+         *                                               </simpleType>
+         *                                             </element>
+         *                                           </sequence>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="vICMSSTDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <element name="motDesICMSST">
+         *                                               <simpleType>
+         *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                   <whiteSpace value="preserve"/>
+         *                                                   <enumeration value="3"/>
+         *                                                   <enumeration value="9"/>
+         *                                                   <enumeration value="12"/>
+         *                                                 </restriction>
+         *                                               </simpleType>
+         *                                             </element>
+         *                                           </sequence>
+         *                                         </sequence>
+         *                                       </restriction>
+         *                                     </complexContent>
+         *                                   </complexType>
+         *                                 </element>
+         *                                 <element name="ICMS90">
+         *                                   <complexType>
+         *                                     <complexContent>
+         *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                         <sequence>
+         *                                           <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+         *                                           <element name="CST">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <enumeration value="90"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="modBC">
+         *                                               <simpleType>
+         *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                   <whiteSpace value="preserve"/>
+         *                                                   <enumeration value="0"/>
+         *                                                   <enumeration value="1"/>
+         *                                                   <enumeration value="2"/>
+         *                                                   <enumeration value="3"/>
+         *                                                 </restriction>
+         *                                               </simpleType>
+         *                                             </element>
+         *                                             <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+         *                                             <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                                             <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <sequence minOccurs="0">
+         *                                               <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                               <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+         *                                               <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             </sequence>
+         *                                           </sequence>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="modBCST">
+         *                                               <simpleType>
+         *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                   <whiteSpace value="preserve"/>
+         *                                                   <enumeration value="0"/>
+         *                                                   <enumeration value="1"/>
+         *                                                   <enumeration value="2"/>
+         *                                                   <enumeration value="3"/>
+         *                                                   <enumeration value="4"/>
+         *                                                   <enumeration value="5"/>
+         *                                                   <enumeration value="6"/>
+         *                                                 </restriction>
+         *                                               </simpleType>
+         *                                             </element>
+         *                                             <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+         *                                             <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+         *                                             <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                                             <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <sequence minOccurs="0">
+         *                                               <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                               <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+         *                                               <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             </sequence>
+         *                                           </sequence>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <element name="motDesICMS">
+         *                                               <simpleType>
+         *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                   <whiteSpace value="preserve"/>
+         *                                                   <enumeration value="3"/>
+         *                                                   <enumeration value="9"/>
+         *                                                   <enumeration value="12"/>
+         *                                                 </restriction>
+         *                                               </simpleType>
+         *                                             </element>
+         *                                             <element name="indDeduzDeson" minOccurs="0">
+         *                                               <simpleType>
+         *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                   <whiteSpace value="preserve"/>
+         *                                                   <enumeration value="0"/>
+         *                                                   <enumeration value="1"/>
+         *                                                 </restriction>
+         *                                               </simpleType>
+         *                                             </element>
+         *                                           </sequence>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="vICMSSTDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <element name="motDesICMSST">
+         *                                               <simpleType>
+         *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                   <whiteSpace value="preserve"/>
+         *                                                   <enumeration value="3"/>
+         *                                                   <enumeration value="9"/>
+         *                                                   <enumeration value="12"/>
+         *                                                 </restriction>
+         *                                               </simpleType>
+         *                                             </element>
+         *                                           </sequence>
+         *                                         </sequence>
+         *                                       </restriction>
+         *                                     </complexContent>
+         *                                   </complexType>
+         *                                 </element>
+         *                                 <element name="ICMSPart">
+         *                                   <complexType>
+         *                                     <complexContent>
+         *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                         <sequence>
+         *                                           <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+         *                                           <element name="CST">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <enumeration value="10"/>
+         *                                                 <enumeration value="90"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                           <element name="modBC">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <enumeration value="0"/>
+         *                                                 <enumeration value="1"/>
+         *                                                 <enumeration value="2"/>
+         *                                                 <enumeration value="3"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                           <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+         *                                           <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                                           <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           <element name="modBCST">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <enumeration value="0"/>
+         *                                                 <enumeration value="1"/>
+         *                                                 <enumeration value="2"/>
+         *                                                 <enumeration value="3"/>
+         *                                                 <enumeration value="4"/>
+         *                                                 <enumeration value="5"/>
+         *                                                 <enumeration value="6"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                           <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+         *                                           <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+         *                                           <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                                           <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+         *                                             <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           </sequence>
+         *                                           <element name="pBCOp" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+         *                                           <element name="UFST" type="{http://www.portalfiscal.inf.br/nfe}TUf"/>
+         *                                         </sequence>
+         *                                       </restriction>
+         *                                     </complexContent>
+         *                                   </complexType>
+         *                                 </element>
+         *                                 <element name="ICMSST">
+         *                                   <complexType>
+         *                                     <complexContent>
+         *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                         <sequence>
+         *                                           <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+         *                                           <element name="CST">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <enumeration value="41"/>
+         *                                                 <enumeration value="60"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                           <element name="vBCSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           <element name="pST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+         *                                           <element name="vICMSSubstituto" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+         *                                           <element name="vICMSSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="vBCFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <element name="pFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+         *                                             <element name="vFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           </sequence>
+         *                                           <element name="vBCSTDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           <element name="vICMSSTDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="pRedBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+         *                                             <element name="vBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <element name="pICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+         *                                             <element name="vICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           </sequence>
+         *                                         </sequence>
+         *                                       </restriction>
+         *                                     </complexContent>
+         *                                   </complexType>
+         *                                 </element>
+         *                                 <element name="ICMSSN101">
+         *                                   <complexType>
+         *                                     <complexContent>
+         *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                         <sequence>
+         *                                           <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+         *                                           <element name="CSOSN">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <enumeration value="101"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                           <element name="pCredSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                                           <element name="vCredICMSSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                         </sequence>
+         *                                       </restriction>
+         *                                     </complexContent>
+         *                                   </complexType>
+         *                                 </element>
+         *                                 <element name="ICMSSN102">
+         *                                   <complexType>
+         *                                     <complexContent>
+         *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                         <sequence>
+         *                                           <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig" minOccurs="0"/>
+         *                                           <element name="CSOSN">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <enumeration value="102"/>
+         *                                                 <enumeration value="103"/>
+         *                                                 <enumeration value="300"/>
+         *                                                 <enumeration value="400"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                         </sequence>
+         *                                       </restriction>
+         *                                     </complexContent>
+         *                                   </complexType>
+         *                                 </element>
+         *                                 <element name="ICMSSN201">
+         *                                   <complexType>
+         *                                     <complexContent>
+         *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                         <sequence>
+         *                                           <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+         *                                           <element name="CSOSN">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <enumeration value="201"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                           <element name="modBCST">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <enumeration value="0"/>
+         *                                                 <enumeration value="1"/>
+         *                                                 <enumeration value="2"/>
+         *                                                 <enumeration value="3"/>
+         *                                                 <enumeration value="4"/>
+         *                                                 <enumeration value="5"/>
+         *                                                 <enumeration value="6"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                           <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+         *                                           <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+         *                                           <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                                           <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+         *                                             <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           </sequence>
+         *                                           <element name="pCredSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                                           <element name="vCredICMSSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                         </sequence>
+         *                                       </restriction>
+         *                                     </complexContent>
+         *                                   </complexType>
+         *                                 </element>
+         *                                 <element name="ICMSSN202">
+         *                                   <complexType>
+         *                                     <complexContent>
+         *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                         <sequence>
+         *                                           <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+         *                                           <element name="CSOSN">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <enumeration value="202"/>
+         *                                                 <enumeration value="203"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                           <element name="modBCST">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <enumeration value="0"/>
+         *                                                 <enumeration value="1"/>
+         *                                                 <enumeration value="2"/>
+         *                                                 <enumeration value="3"/>
+         *                                                 <enumeration value="4"/>
+         *                                                 <enumeration value="5"/>
+         *                                                 <enumeration value="6"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                           <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+         *                                           <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+         *                                           <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                                           <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+         *                                             <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           </sequence>
+         *                                         </sequence>
+         *                                       </restriction>
+         *                                     </complexContent>
+         *                                   </complexType>
+         *                                 </element>
+         *                                 <element name="ICMSSN500">
+         *                                   <complexType>
+         *                                     <complexContent>
+         *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                         <sequence>
+         *                                           <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+         *                                           <element name="CSOSN">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <enumeration value="500"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="vBCSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <element name="pST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+         *                                             <element name="vICMSSubstituto" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+         *                                             <element name="vICMSSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           </sequence>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="vBCFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <element name="pFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+         *                                             <element name="vFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           </sequence>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="pRedBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+         *                                             <element name="vBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <element name="pICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+         *                                             <element name="vICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           </sequence>
+         *                                         </sequence>
+         *                                       </restriction>
+         *                                     </complexContent>
+         *                                   </complexType>
+         *                                 </element>
+         *                                 <element name="ICMSSN900">
+         *                                   <complexType>
+         *                                     <complexContent>
+         *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                         <sequence>
+         *                                           <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig" minOccurs="0"/>
+         *                                           <element name="CSOSN">
+         *                                             <simpleType>
+         *                                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                 <whiteSpace value="preserve"/>
+         *                                                 <enumeration value="900"/>
+         *                                               </restriction>
+         *                                             </simpleType>
+         *                                           </element>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="modBC">
+         *                                               <simpleType>
+         *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                   <whiteSpace value="preserve"/>
+         *                                                   <enumeration value="0"/>
+         *                                                   <enumeration value="1"/>
+         *                                                   <enumeration value="2"/>
+         *                                                   <enumeration value="3"/>
+         *                                                 </restriction>
+         *                                               </simpleType>
+         *                                             </element>
+         *                                             <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+         *                                             <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                                             <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           </sequence>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="modBCST">
+         *                                               <simpleType>
+         *                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                                   <whiteSpace value="preserve"/>
+         *                                                   <enumeration value="0"/>
+         *                                                   <enumeration value="1"/>
+         *                                                   <enumeration value="2"/>
+         *                                                   <enumeration value="3"/>
+         *                                                   <enumeration value="4"/>
+         *                                                   <enumeration value="5"/>
+         *                                                   <enumeration value="6"/>
+         *                                                 </restriction>
+         *                                               </simpleType>
+         *                                             </element>
+         *                                             <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+         *                                             <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+         *                                             <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                                             <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             <sequence minOccurs="0">
+         *                                               <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                               <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+         *                                               <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                             </sequence>
+         *                                           </sequence>
+         *                                           <sequence minOccurs="0">
+         *                                             <element name="pCredSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                                             <element name="vCredICMSSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           </sequence>
+         *                                         </sequence>
+         *                                       </restriction>
+         *                                     </complexContent>
+         *                                   </complexType>
+         *                                 </element>
+         *                               </choice>
+         *                             </restriction>
+         *                           </complexContent>
+         *                         </complexType>
+         *                       </element>
+         *                       <element name="IPI" type="{http://www.portalfiscal.inf.br/nfe}TIpi" minOccurs="0"/>
+         *                       <element name="II" minOccurs="0">
+         *                         <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="vDespAdu" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                 <element name="vII" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                 <element name="vIOF" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                               </sequence>
+         *                             </restriction>
+         *                           </complexContent>
+         *                         </complexType>
+         *                       </element>
+         *                     </sequence>
+         *                     <sequence>
+         *                       <element name="IPI" type="{http://www.portalfiscal.inf.br/nfe}TIpi" minOccurs="0"/>
+         *                       <element name="ISSQN">
+         *                         <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="vAliq" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                                 <element name="vISSQN" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                 <element name="cMunFG" type="{http://www.portalfiscal.inf.br/nfe}TCodMunIBGE"/>
+         *                                 <element name="cListServ" type="{http://www.portalfiscal.inf.br/nfe}TCListServ"/>
+         *                                 <element name="vDeducao" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+         *                                 <element name="vOutro" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+         *                                 <element name="vDescIncond" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+         *                                 <element name="vDescCond" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+         *                                 <element name="vISSRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+         *                                 <element name="indISS">
+         *                                   <simpleType>
+         *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                       <whiteSpace value="preserve"/>
+         *                                       <enumeration value="1"/>
+         *                                       <enumeration value="2"/>
+         *                                       <enumeration value="3"/>
+         *                                       <enumeration value="4"/>
+         *                                       <enumeration value="5"/>
+         *                                       <enumeration value="6"/>
+         *                                       <enumeration value="7"/>
+         *                                     </restriction>
+         *                                   </simpleType>
+         *                                 </element>
+         *                                 <element name="cServico" minOccurs="0">
+         *                                   <simpleType>
+         *                                     <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                       <whiteSpace value="preserve"/>
+         *                                       <minLength value="1"/>
+         *                                       <maxLength value="20"/>
+         *                                     </restriction>
+         *                                   </simpleType>
+         *                                 </element>
+         *                                 <element name="cMun" type="{http://www.portalfiscal.inf.br/nfe}TCodMunIBGE" minOccurs="0"/>
+         *                                 <element name="cPais" minOccurs="0">
+         *                                   <simpleType>
+         *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                       <whiteSpace value="preserve"/>
+         *                                       <pattern value="[0-9]{1,4}"/>
+         *                                     </restriction>
+         *                                   </simpleType>
+         *                                 </element>
+         *                                 <element name="nProcesso" minOccurs="0">
+         *                                   <simpleType>
+         *                                     <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                       <whiteSpace value="preserve"/>
+         *                                       <minLength value="1"/>
+         *                                       <maxLength value="30"/>
+         *                                     </restriction>
+         *                                   </simpleType>
+         *                                 </element>
+         *                                 <element name="indIncentivo">
+         *                                   <simpleType>
+         *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                       <whiteSpace value="preserve"/>
+         *                                       <enumeration value="1"/>
+         *                                       <enumeration value="2"/>
+         *                                     </restriction>
+         *                                   </simpleType>
+         *                                 </element>
+         *                               </sequence>
+         *                             </restriction>
+         *                           </complexContent>
+         *                         </complexType>
+         *                       </element>
+         *                     </sequence>
+         *                   </choice>
+         *                   <element name="PIS" minOccurs="0">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <choice>
+         *                             <element name="PISAliq">
+         *                               <complexType>
+         *                                 <complexContent>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                     <sequence>
+         *                                       <element name="CST">
+         *                                         <simpleType>
+         *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                             <whiteSpace value="preserve"/>
+         *                                             <enumeration value="01"/>
+         *                                             <enumeration value="02"/>
+         *                                           </restriction>
+         *                                         </simpleType>
+         *                                       </element>
+         *                                       <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                       <element name="pPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                                       <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                     </sequence>
+         *                                   </restriction>
+         *                                 </complexContent>
+         *                               </complexType>
+         *                             </element>
+         *                             <element name="PISQtde">
+         *                               <complexType>
+         *                                 <complexContent>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                     <sequence>
+         *                                       <element name="CST">
+         *                                         <simpleType>
+         *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                             <whiteSpace value="preserve"/>
+         *                                             <enumeration value="03"/>
+         *                                           </restriction>
+         *                                         </simpleType>
+         *                                       </element>
+         *                                       <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
+         *                                       <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+         *                                       <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                     </sequence>
+         *                                   </restriction>
+         *                                 </complexContent>
+         *                               </complexType>
+         *                             </element>
+         *                             <element name="PISNT">
+         *                               <complexType>
+         *                                 <complexContent>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                     <sequence>
+         *                                       <element name="CST">
+         *                                         <simpleType>
+         *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                             <whiteSpace value="preserve"/>
+         *                                             <enumeration value="04"/>
+         *                                             <enumeration value="05"/>
+         *                                             <enumeration value="06"/>
+         *                                             <enumeration value="07"/>
+         *                                             <enumeration value="08"/>
+         *                                             <enumeration value="09"/>
+         *                                           </restriction>
+         *                                         </simpleType>
+         *                                       </element>
+         *                                     </sequence>
+         *                                   </restriction>
+         *                                 </complexContent>
+         *                               </complexType>
+         *                             </element>
+         *                             <element name="PISOutr">
+         *                               <complexType>
+         *                                 <complexContent>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                     <sequence>
+         *                                       <element name="CST">
+         *                                         <simpleType>
+         *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                             <whiteSpace value="preserve"/>
+         *                                             <enumeration value="49"/>
+         *                                             <enumeration value="50"/>
+         *                                             <enumeration value="51"/>
+         *                                             <enumeration value="52"/>
+         *                                             <enumeration value="53"/>
+         *                                             <enumeration value="54"/>
+         *                                             <enumeration value="55"/>
+         *                                             <enumeration value="56"/>
+         *                                             <enumeration value="60"/>
+         *                                             <enumeration value="61"/>
+         *                                             <enumeration value="62"/>
+         *                                             <enumeration value="63"/>
+         *                                             <enumeration value="64"/>
+         *                                             <enumeration value="65"/>
+         *                                             <enumeration value="66"/>
+         *                                             <enumeration value="67"/>
+         *                                             <enumeration value="70"/>
+         *                                             <enumeration value="71"/>
+         *                                             <enumeration value="72"/>
+         *                                             <enumeration value="73"/>
+         *                                             <enumeration value="74"/>
+         *                                             <enumeration value="75"/>
+         *                                             <enumeration value="98"/>
+         *                                             <enumeration value="99"/>
+         *                                           </restriction>
+         *                                         </simpleType>
+         *                                       </element>
+         *                                       <choice>
+         *                                         <sequence>
+         *                                           <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           <element name="pPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                                         </sequence>
+         *                                         <sequence>
+         *                                           <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
+         *                                           <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+         *                                         </sequence>
+         *                                       </choice>
+         *                                       <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                     </sequence>
+         *                                   </restriction>
+         *                                 </complexContent>
+         *                               </complexType>
+         *                             </element>
+         *                           </choice>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                   <element name="PISST" minOccurs="0">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <choice>
+         *                               <sequence>
+         *                                 <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc"/>
+         *                                 <element name="pPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                               </sequence>
+         *                               <sequence>
+         *                                 <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204"/>
+         *                                 <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104"/>
+         *                               </sequence>
+         *                             </choice>
+         *                             <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                             <element name="indSomaPISST" minOccurs="0">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                   <whiteSpace value="preserve"/>
+         *                                   <enumeration value="0"/>
+         *                                   <enumeration value="1"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                   <element name="COFINS" minOccurs="0">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <choice>
+         *                             <element name="COFINSAliq">
+         *                               <complexType>
+         *                                 <complexContent>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                     <sequence>
+         *                                       <element name="CST">
+         *                                         <simpleType>
+         *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                             <whiteSpace value="preserve"/>
+         *                                             <enumeration value="01"/>
+         *                                             <enumeration value="02"/>
+         *                                           </restriction>
+         *                                         </simpleType>
+         *                                       </element>
+         *                                       <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                       <element name="pCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                                       <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                     </sequence>
+         *                                   </restriction>
+         *                                 </complexContent>
+         *                               </complexType>
+         *                             </element>
+         *                             <element name="COFINSQtde">
+         *                               <complexType>
+         *                                 <complexContent>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                     <sequence>
+         *                                       <element name="CST">
+         *                                         <simpleType>
+         *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                             <enumeration value="03"/>
+         *                                           </restriction>
+         *                                         </simpleType>
+         *                                       </element>
+         *                                       <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
+         *                                       <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+         *                                       <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                     </sequence>
+         *                                   </restriction>
+         *                                 </complexContent>
+         *                               </complexType>
+         *                             </element>
+         *                             <element name="COFINSNT">
+         *                               <complexType>
+         *                                 <complexContent>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                     <sequence>
+         *                                       <element name="CST">
+         *                                         <simpleType>
+         *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                             <whiteSpace value="preserve"/>
+         *                                             <enumeration value="04"/>
+         *                                             <enumeration value="05"/>
+         *                                             <enumeration value="06"/>
+         *                                             <enumeration value="07"/>
+         *                                             <enumeration value="08"/>
+         *                                             <enumeration value="09"/>
+         *                                           </restriction>
+         *                                         </simpleType>
+         *                                       </element>
+         *                                     </sequence>
+         *                                   </restriction>
+         *                                 </complexContent>
+         *                               </complexType>
+         *                             </element>
+         *                             <element name="COFINSOutr">
+         *                               <complexType>
+         *                                 <complexContent>
+         *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                                     <sequence>
+         *                                       <element name="CST">
+         *                                         <simpleType>
+         *                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                             <whiteSpace value="preserve"/>
+         *                                             <enumeration value="49"/>
+         *                                             <enumeration value="50"/>
+         *                                             <enumeration value="51"/>
+         *                                             <enumeration value="52"/>
+         *                                             <enumeration value="53"/>
+         *                                             <enumeration value="54"/>
+         *                                             <enumeration value="55"/>
+         *                                             <enumeration value="56"/>
+         *                                             <enumeration value="60"/>
+         *                                             <enumeration value="61"/>
+         *                                             <enumeration value="62"/>
+         *                                             <enumeration value="63"/>
+         *                                             <enumeration value="64"/>
+         *                                             <enumeration value="65"/>
+         *                                             <enumeration value="66"/>
+         *                                             <enumeration value="67"/>
+         *                                             <enumeration value="70"/>
+         *                                             <enumeration value="71"/>
+         *                                             <enumeration value="72"/>
+         *                                             <enumeration value="73"/>
+         *                                             <enumeration value="74"/>
+         *                                             <enumeration value="75"/>
+         *                                             <enumeration value="98"/>
+         *                                             <enumeration value="99"/>
+         *                                           </restriction>
+         *                                         </simpleType>
+         *                                       </element>
+         *                                       <choice>
+         *                                         <sequence>
+         *                                           <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                           <element name="pCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                                         </sequence>
+         *                                         <sequence>
+         *                                           <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
+         *                                           <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+         *                                         </sequence>
+         *                                       </choice>
+         *                                       <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                     </sequence>
+         *                                   </restriction>
+         *                                 </complexContent>
+         *                               </complexType>
+         *                             </element>
+         *                           </choice>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                   <element name="COFINSST" minOccurs="0">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <choice>
+         *                               <sequence>
+         *                                 <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                                 <element name="pCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                               </sequence>
+         *                               <sequence>
+         *                                 <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204"/>
+         *                                 <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104"/>
+         *                               </sequence>
+         *                             </choice>
+         *                             <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                             <element name="indSomaCOFINSST" minOccurs="0">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                   <whiteSpace value="preserve"/>
+         *                                   <enumeration value="0"/>
+         *                                   <enumeration value="1"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                   <element name="ICMSUFDest" minOccurs="0">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <element name="vBCUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                             <element name="vBCFCPUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+         *                             <element name="pFCPUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
+         *                             <element name="pICMSUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                             <element name="pICMSInter">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                   <whiteSpace value="preserve"/>
+         *                                   <enumeration value="4.00"/>
+         *                                   <enumeration value="7.00"/>
+         *                                   <enumeration value="12.00"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                             <element name="pICMSInterPart" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                             <element name="vFCPUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+         *                             <element name="vICMSUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                             <element name="vICMSUFRemet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                   <element name="IS" type="{http://www.portalfiscal.inf.br/nfe}TIS" minOccurs="0"/>
+         *                   <element name="IBSCBS" type="{http://www.portalfiscal.inf.br/nfe}TTribNFe" minOccurs="0"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="impostoDevol" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="pDevol" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302Max100"/>
+         *                   <element name="IPI">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <element name="vIPIDevol" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="infAdProd" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="500"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="obsItem" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="obsCont" minOccurs="0">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <element name="xTexto">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                   <minLength value="1"/>
+         *                                   <maxLength value="60"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                           </sequence>
+         *                           <attribute name="xCampo" use="required">
+         *                             <simpleType>
+         *                               <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                 <minLength value="1"/>
+         *                                 <maxLength value="20"/>
+         *                               </restriction>
+         *                             </simpleType>
+         *                           </attribute>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                   <element name="obsFisco" minOccurs="0">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <element name="xTexto">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                   <minLength value="1"/>
+         *                                   <maxLength value="60"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                           </sequence>
+         *                           <attribute name="xCampo" use="required">
+         *                             <simpleType>
+         *                               <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                 <minLength value="1"/>
+         *                                 <maxLength value="20"/>
+         *                               </restriction>
+         *                             </simpleType>
+         *                           </attribute>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="vItem" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+         *         <element name="DFeReferenciado" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="chaveAcesso" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/>
+         *                   <element name="nItem" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <whiteSpace value="preserve"/>
+         *                         <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}"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *       <attribute name="nItem" use="required">
+         *         <simpleType>
+         *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *             <whiteSpace value="preserve"/>
+         *             <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}"/>
+         *           </restriction>
+         *         </simpleType>
+         *       </attribute>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "prod", + "imposto", + "impostoDevol", + "infAdProd", + "obsItem", + "vItem", + "dFeReferenciado" + }) + public static class Det { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected TNFe.InfNFe.Det.Prod prod; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected TNFe.InfNFe.Det.Imposto imposto; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.ImpostoDevol impostoDevol; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String infAdProd; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.ObsItem obsItem; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vItem; + @XmlElement(name = "DFeReferenciado", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.DFeReferenciado dFeReferenciado; + @XmlAttribute(name = "nItem", required = true) + protected String nItem; + + /** + * Obtém o valor da propriedade prod. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Prod } + * + */ + public TNFe.InfNFe.Det.Prod getProd() { + return prod; + } + + /** + * Define o valor da propriedade prod. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Prod } + * + */ + public void setProd(TNFe.InfNFe.Det.Prod value) { + this.prod = value; + } + + /** + * Obtém o valor da propriedade imposto. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Imposto } + * + */ + public TNFe.InfNFe.Det.Imposto getImposto() { + return imposto; + } + + /** + * Define o valor da propriedade imposto. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Imposto } + * + */ + public void setImposto(TNFe.InfNFe.Det.Imposto value) { + this.imposto = value; + } + + /** + * Obtém o valor da propriedade impostoDevol. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.ImpostoDevol } + * + */ + public TNFe.InfNFe.Det.ImpostoDevol getImpostoDevol() { + return impostoDevol; + } + + /** + * Define o valor da propriedade impostoDevol. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.ImpostoDevol } + * + */ + public void setImpostoDevol(TNFe.InfNFe.Det.ImpostoDevol value) { + this.impostoDevol = value; + } + + /** + * Obtém o valor da propriedade infAdProd. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInfAdProd() { + return infAdProd; + } + + /** + * Define o valor da propriedade infAdProd. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInfAdProd(String value) { + this.infAdProd = value; + } + + /** + * Obtém o valor da propriedade obsItem. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.ObsItem } + * + */ + public TNFe.InfNFe.Det.ObsItem getObsItem() { + return obsItem; + } + + /** + * Define o valor da propriedade obsItem. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.ObsItem } + * + */ + public void setObsItem(TNFe.InfNFe.Det.ObsItem value) { + this.obsItem = value; + } + + /** + * Obtém o valor da propriedade vItem. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVItem() { + return vItem; + } + + /** + * Define o valor da propriedade vItem. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVItem(String value) { + this.vItem = value; + } + + /** + * Obtém o valor da propriedade dFeReferenciado. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.DFeReferenciado } + * + */ + public TNFe.InfNFe.Det.DFeReferenciado getDFeReferenciado() { + return dFeReferenciado; + } + + /** + * Define o valor da propriedade dFeReferenciado. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.DFeReferenciado } + * + */ + public void setDFeReferenciado(TNFe.InfNFe.Det.DFeReferenciado value) { + this.dFeReferenciado = value; + } + + /** + * Obtém o valor da propriedade nItem. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNItem() { + return nItem; + } + + /** + * Define o valor da propriedade nItem. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNItem(String value) { + this.nItem = value; + } + + + /** + *

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="chaveAcesso" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/>
+             *         <element name="nItem" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <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}"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "chaveAcesso", + "nItem" + }) + public static class DFeReferenciado { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String chaveAcesso; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String nItem; + + /** + * Obtém o valor da propriedade chaveAcesso. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChaveAcesso() { + return chaveAcesso; + } + + /** + * Define o valor da propriedade chaveAcesso. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChaveAcesso(String value) { + this.chaveAcesso = value; + } + + /** + * Obtém o valor da propriedade nItem. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNItem() { + return nItem; + } + + /** + * Define o valor da propriedade nItem. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNItem(String value) { + this.nItem = value; + } + + } + + + /** + *

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="vTotTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+             *         <choice minOccurs="0">
+             *           <sequence>
+             *             <element name="ICMS">
+             *               <complexType>
+             *                 <complexContent>
+             *                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                     <choice>
+             *                       <element name="ICMS00">
+             *                         <complexType>
+             *                           <complexContent>
+             *                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                               <sequence>
+             *                                 <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+             *                                 <element name="CST">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <enumeration value="00"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                                 <element name="modBC">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <enumeration value="0"/>
+             *                                       <enumeration value="1"/>
+             *                                       <enumeration value="2"/>
+             *                                       <enumeration value="3"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                                 <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                                 <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+             *                                   <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 </sequence>
+             *                               </sequence>
+             *                             </restriction>
+             *                           </complexContent>
+             *                         </complexType>
+             *                       </element>
+             *                       <element name="ICMS02">
+             *                         <complexType>
+             *                           <complexContent>
+             *                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                               <sequence>
+             *                                 <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+             *                                 <element name="CST">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <enumeration value="02"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                                 <element name="qBCMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+             *                                 <element name="adRemICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                                 <element name="vICMSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                               </sequence>
+             *                             </restriction>
+             *                           </complexContent>
+             *                         </complexType>
+             *                       </element>
+             *                       <element name="ICMS10">
+             *                         <complexType>
+             *                           <complexContent>
+             *                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                               <sequence>
+             *                                 <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+             *                                 <element name="CST">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <enumeration value="10"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                                 <element name="modBC">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <enumeration value="0"/>
+             *                                       <enumeration value="1"/>
+             *                                       <enumeration value="2"/>
+             *                                       <enumeration value="3"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                                 <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                                 <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+             *                                   <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 </sequence>
+             *                                 <element name="modBCST">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <enumeration value="0"/>
+             *                                       <enumeration value="1"/>
+             *                                       <enumeration value="2"/>
+             *                                       <enumeration value="3"/>
+             *                                       <enumeration value="4"/>
+             *                                       <enumeration value="5"/>
+             *                                       <enumeration value="6"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                                 <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+             *                                 <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+             *                                 <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                                 <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+             *                                   <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 </sequence>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="vICMSSTDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <element name="motDesICMSST">
+             *                                     <simpleType>
+             *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                         <whiteSpace value="preserve"/>
+             *                                         <enumeration value="3"/>
+             *                                         <enumeration value="9"/>
+             *                                         <enumeration value="12"/>
+             *                                       </restriction>
+             *                                     </simpleType>
+             *                                   </element>
+             *                                 </sequence>
+             *                               </sequence>
+             *                             </restriction>
+             *                           </complexContent>
+             *                         </complexType>
+             *                       </element>
+             *                       <element name="ICMS15">
+             *                         <complexType>
+             *                           <complexContent>
+             *                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                               <sequence>
+             *                                 <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+             *                                 <element name="CST">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <enumeration value="15"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                                 <element name="qBCMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+             *                                 <element name="adRemICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                                 <element name="vICMSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 <element name="qBCMonoReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+             *                                 <element name="adRemICMSReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                                 <element name="vICMSMonoReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="pRedAdRem" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302Max100"/>
+             *                                   <element name="motRedAdRem">
+             *                                     <simpleType>
+             *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                         <whiteSpace value="preserve"/>
+             *                                         <enumeration value="1"/>
+             *                                         <enumeration value="9"/>
+             *                                       </restriction>
+             *                                     </simpleType>
+             *                                   </element>
+             *                                 </sequence>
+             *                               </sequence>
+             *                             </restriction>
+             *                           </complexContent>
+             *                         </complexType>
+             *                       </element>
+             *                       <element name="ICMS20">
+             *                         <complexType>
+             *                           <complexContent>
+             *                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                               <sequence>
+             *                                 <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+             *                                 <element name="CST">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <enumeration value="20"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                                 <element name="modBC">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <enumeration value="0"/>
+             *                                       <enumeration value="1"/>
+             *                                       <enumeration value="2"/>
+             *                                       <enumeration value="3"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                                 <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                                 <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                                 <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+             *                                   <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 </sequence>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <element name="motDesICMS">
+             *                                     <simpleType>
+             *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                         <whiteSpace value="preserve"/>
+             *                                         <enumeration value="3"/>
+             *                                         <enumeration value="9"/>
+             *                                         <enumeration value="12"/>
+             *                                       </restriction>
+             *                                     </simpleType>
+             *                                   </element>
+             *                                   <element name="indDeduzDeson" minOccurs="0">
+             *                                     <simpleType>
+             *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                         <whiteSpace value="preserve"/>
+             *                                         <enumeration value="0"/>
+             *                                         <enumeration value="1"/>
+             *                                       </restriction>
+             *                                     </simpleType>
+             *                                   </element>
+             *                                 </sequence>
+             *                               </sequence>
+             *                             </restriction>
+             *                           </complexContent>
+             *                         </complexType>
+             *                       </element>
+             *                       <element name="ICMS30">
+             *                         <complexType>
+             *                           <complexContent>
+             *                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                               <sequence>
+             *                                 <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+             *                                 <element name="CST">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <enumeration value="30"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                                 <element name="modBCST">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <enumeration value="0"/>
+             *                                       <enumeration value="1"/>
+             *                                       <enumeration value="2"/>
+             *                                       <enumeration value="3"/>
+             *                                       <enumeration value="4"/>
+             *                                       <enumeration value="5"/>
+             *                                       <enumeration value="6"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                                 <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+             *                                 <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+             *                                 <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                                 <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+             *                                   <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 </sequence>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <element name="motDesICMS">
+             *                                     <simpleType>
+             *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                         <whiteSpace value="preserve"/>
+             *                                         <enumeration value="6"/>
+             *                                         <enumeration value="7"/>
+             *                                         <enumeration value="9"/>
+             *                                       </restriction>
+             *                                     </simpleType>
+             *                                   </element>
+             *                                   <element name="indDeduzDeson" minOccurs="0">
+             *                                     <simpleType>
+             *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                         <whiteSpace value="preserve"/>
+             *                                         <enumeration value="0"/>
+             *                                         <enumeration value="1"/>
+             *                                       </restriction>
+             *                                     </simpleType>
+             *                                   </element>
+             *                                 </sequence>
+             *                               </sequence>
+             *                             </restriction>
+             *                           </complexContent>
+             *                         </complexType>
+             *                       </element>
+             *                       <element name="ICMS40">
+             *                         <complexType>
+             *                           <complexContent>
+             *                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                               <sequence>
+             *                                 <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+             *                                 <element name="CST">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <enumeration value="40"/>
+             *                                       <enumeration value="41"/>
+             *                                       <enumeration value="50"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <element name="motDesICMS">
+             *                                     <simpleType>
+             *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                         <whiteSpace value="preserve"/>
+             *                                         <enumeration value="1"/>
+             *                                         <enumeration value="3"/>
+             *                                         <enumeration value="4"/>
+             *                                         <enumeration value="5"/>
+             *                                         <enumeration value="6"/>
+             *                                         <enumeration value="7"/>
+             *                                         <enumeration value="8"/>
+             *                                         <enumeration value="9"/>
+             *                                         <enumeration value="10"/>
+             *                                         <enumeration value="11"/>
+             *                                         <enumeration value="16"/>
+             *                                         <enumeration value="90"/>
+             *                                       </restriction>
+             *                                     </simpleType>
+             *                                   </element>
+             *                                   <element name="indDeduzDeson" minOccurs="0">
+             *                                     <simpleType>
+             *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                         <whiteSpace value="preserve"/>
+             *                                         <enumeration value="0"/>
+             *                                         <enumeration value="1"/>
+             *                                       </restriction>
+             *                                     </simpleType>
+             *                                   </element>
+             *                                 </sequence>
+             *                               </sequence>
+             *                             </restriction>
+             *                           </complexContent>
+             *                         </complexType>
+             *                       </element>
+             *                       <element name="ICMS51">
+             *                         <complexType>
+             *                           <complexContent>
+             *                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                               <sequence>
+             *                                 <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+             *                                 <element name="CST">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <enumeration value="51"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                                 <element name="modBC" minOccurs="0">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <enumeration value="0"/>
+             *                                       <enumeration value="1"/>
+             *                                       <enumeration value="2"/>
+             *                                       <enumeration value="3"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                                 <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
+             *                                 <element name="cBenefRBC" minOccurs="0">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <pattern value="[!-ÿ]{8}|[!-ÿ]{10}"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                                 <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+             *                                 <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
+             *                                 <element name="vICMSOp" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+             *                                 <element name="pDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
+             *                                 <element name="vICMSDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+             *                                 <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+             *                                   <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 </sequence>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="pFCPDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+             *                                   <element name="vFCPDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <element name="vFCPEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+             *                                 </sequence>
+             *                               </sequence>
+             *                             </restriction>
+             *                           </complexContent>
+             *                         </complexType>
+             *                       </element>
+             *                       <element name="ICMS53">
+             *                         <complexType>
+             *                           <complexContent>
+             *                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                               <sequence>
+             *                                 <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+             *                                 <element name="CST">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <enumeration value="53"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                                 <element name="qBCMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+             *                                 <element name="adRemICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
+             *                                 <element name="vICMSMonoOp" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+             *                                 <element name="pDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
+             *                                 <element name="vICMSMonoDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+             *                                 <element name="vICMSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+             *                                 <element name="qBCMonoDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+             *                                 <element name="adRemICMSDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
+             *                               </sequence>
+             *                             </restriction>
+             *                           </complexContent>
+             *                         </complexType>
+             *                       </element>
+             *                       <element name="ICMS60">
+             *                         <complexType>
+             *                           <complexContent>
+             *                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                               <sequence>
+             *                                 <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+             *                                 <element name="CST">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <enumeration value="60"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="vBCSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <element name="pST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+             *                                   <element name="vICMSSubstituto" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+             *                                   <element name="vICMSSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 </sequence>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="vBCFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <element name="pFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+             *                                   <element name="vFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 </sequence>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="pRedBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+             *                                   <element name="vBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <element name="pICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+             *                                   <element name="vICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 </sequence>
+             *                               </sequence>
+             *                             </restriction>
+             *                           </complexContent>
+             *                         </complexType>
+             *                       </element>
+             *                       <element name="ICMS61">
+             *                         <complexType>
+             *                           <complexContent>
+             *                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                               <sequence>
+             *                                 <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+             *                                 <element name="CST">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <enumeration value="61"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                                 <element name="qBCMonoRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+             *                                 <element name="adRemICMSRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                                 <element name="vICMSMonoRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                               </sequence>
+             *                             </restriction>
+             *                           </complexContent>
+             *                         </complexType>
+             *                       </element>
+             *                       <element name="ICMS70">
+             *                         <complexType>
+             *                           <complexContent>
+             *                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                               <sequence>
+             *                                 <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+             *                                 <element name="CST">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <enumeration value="70"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                                 <element name="modBC">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <enumeration value="0"/>
+             *                                       <enumeration value="1"/>
+             *                                       <enumeration value="2"/>
+             *                                       <enumeration value="3"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                                 <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                                 <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                                 <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+             *                                   <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 </sequence>
+             *                                 <element name="modBCST">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <enumeration value="0"/>
+             *                                       <enumeration value="1"/>
+             *                                       <enumeration value="2"/>
+             *                                       <enumeration value="3"/>
+             *                                       <enumeration value="4"/>
+             *                                       <enumeration value="5"/>
+             *                                       <enumeration value="6"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                                 <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+             *                                 <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+             *                                 <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                                 <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+             *                                   <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 </sequence>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <element name="motDesICMS">
+             *                                     <simpleType>
+             *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                         <whiteSpace value="preserve"/>
+             *                                         <enumeration value="3"/>
+             *                                         <enumeration value="9"/>
+             *                                         <enumeration value="12"/>
+             *                                       </restriction>
+             *                                     </simpleType>
+             *                                   </element>
+             *                                   <element name="indDeduzDeson" minOccurs="0">
+             *                                     <simpleType>
+             *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                         <whiteSpace value="preserve"/>
+             *                                         <enumeration value="0"/>
+             *                                         <enumeration value="1"/>
+             *                                       </restriction>
+             *                                     </simpleType>
+             *                                   </element>
+             *                                 </sequence>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="vICMSSTDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <element name="motDesICMSST">
+             *                                     <simpleType>
+             *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                         <whiteSpace value="preserve"/>
+             *                                         <enumeration value="3"/>
+             *                                         <enumeration value="9"/>
+             *                                         <enumeration value="12"/>
+             *                                       </restriction>
+             *                                     </simpleType>
+             *                                   </element>
+             *                                 </sequence>
+             *                               </sequence>
+             *                             </restriction>
+             *                           </complexContent>
+             *                         </complexType>
+             *                       </element>
+             *                       <element name="ICMS90">
+             *                         <complexType>
+             *                           <complexContent>
+             *                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                               <sequence>
+             *                                 <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+             *                                 <element name="CST">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <enumeration value="90"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="modBC">
+             *                                     <simpleType>
+             *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                         <whiteSpace value="preserve"/>
+             *                                         <enumeration value="0"/>
+             *                                         <enumeration value="1"/>
+             *                                         <enumeration value="2"/>
+             *                                         <enumeration value="3"/>
+             *                                       </restriction>
+             *                                     </simpleType>
+             *                                   </element>
+             *                                   <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+             *                                   <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                                   <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <sequence minOccurs="0">
+             *                                     <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                     <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+             *                                     <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   </sequence>
+             *                                 </sequence>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="modBCST">
+             *                                     <simpleType>
+             *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                         <whiteSpace value="preserve"/>
+             *                                         <enumeration value="0"/>
+             *                                         <enumeration value="1"/>
+             *                                         <enumeration value="2"/>
+             *                                         <enumeration value="3"/>
+             *                                         <enumeration value="4"/>
+             *                                         <enumeration value="5"/>
+             *                                         <enumeration value="6"/>
+             *                                       </restriction>
+             *                                     </simpleType>
+             *                                   </element>
+             *                                   <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+             *                                   <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+             *                                   <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                                   <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <sequence minOccurs="0">
+             *                                     <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                     <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+             *                                     <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   </sequence>
+             *                                 </sequence>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <element name="motDesICMS">
+             *                                     <simpleType>
+             *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                         <whiteSpace value="preserve"/>
+             *                                         <enumeration value="3"/>
+             *                                         <enumeration value="9"/>
+             *                                         <enumeration value="12"/>
+             *                                       </restriction>
+             *                                     </simpleType>
+             *                                   </element>
+             *                                   <element name="indDeduzDeson" minOccurs="0">
+             *                                     <simpleType>
+             *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                         <whiteSpace value="preserve"/>
+             *                                         <enumeration value="0"/>
+             *                                         <enumeration value="1"/>
+             *                                       </restriction>
+             *                                     </simpleType>
+             *                                   </element>
+             *                                 </sequence>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="vICMSSTDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <element name="motDesICMSST">
+             *                                     <simpleType>
+             *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                         <whiteSpace value="preserve"/>
+             *                                         <enumeration value="3"/>
+             *                                         <enumeration value="9"/>
+             *                                         <enumeration value="12"/>
+             *                                       </restriction>
+             *                                     </simpleType>
+             *                                   </element>
+             *                                 </sequence>
+             *                               </sequence>
+             *                             </restriction>
+             *                           </complexContent>
+             *                         </complexType>
+             *                       </element>
+             *                       <element name="ICMSPart">
+             *                         <complexType>
+             *                           <complexContent>
+             *                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                               <sequence>
+             *                                 <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+             *                                 <element name="CST">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <enumeration value="10"/>
+             *                                       <enumeration value="90"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                                 <element name="modBC">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <enumeration value="0"/>
+             *                                       <enumeration value="1"/>
+             *                                       <enumeration value="2"/>
+             *                                       <enumeration value="3"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                                 <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+             *                                 <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                                 <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 <element name="modBCST">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <enumeration value="0"/>
+             *                                       <enumeration value="1"/>
+             *                                       <enumeration value="2"/>
+             *                                       <enumeration value="3"/>
+             *                                       <enumeration value="4"/>
+             *                                       <enumeration value="5"/>
+             *                                       <enumeration value="6"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                                 <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+             *                                 <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+             *                                 <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                                 <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+             *                                   <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 </sequence>
+             *                                 <element name="pBCOp" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+             *                                 <element name="UFST" type="{http://www.portalfiscal.inf.br/nfe}TUf"/>
+             *                               </sequence>
+             *                             </restriction>
+             *                           </complexContent>
+             *                         </complexType>
+             *                       </element>
+             *                       <element name="ICMSST">
+             *                         <complexType>
+             *                           <complexContent>
+             *                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                               <sequence>
+             *                                 <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+             *                                 <element name="CST">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <enumeration value="41"/>
+             *                                       <enumeration value="60"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                                 <element name="vBCSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 <element name="pST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+             *                                 <element name="vICMSSubstituto" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+             *                                 <element name="vICMSSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="vBCFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <element name="pFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+             *                                   <element name="vFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 </sequence>
+             *                                 <element name="vBCSTDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 <element name="vICMSSTDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="pRedBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+             *                                   <element name="vBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <element name="pICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+             *                                   <element name="vICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 </sequence>
+             *                               </sequence>
+             *                             </restriction>
+             *                           </complexContent>
+             *                         </complexType>
+             *                       </element>
+             *                       <element name="ICMSSN101">
+             *                         <complexType>
+             *                           <complexContent>
+             *                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                               <sequence>
+             *                                 <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+             *                                 <element name="CSOSN">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <enumeration value="101"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                                 <element name="pCredSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                                 <element name="vCredICMSSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                               </sequence>
+             *                             </restriction>
+             *                           </complexContent>
+             *                         </complexType>
+             *                       </element>
+             *                       <element name="ICMSSN102">
+             *                         <complexType>
+             *                           <complexContent>
+             *                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                               <sequence>
+             *                                 <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig" minOccurs="0"/>
+             *                                 <element name="CSOSN">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <enumeration value="102"/>
+             *                                       <enumeration value="103"/>
+             *                                       <enumeration value="300"/>
+             *                                       <enumeration value="400"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                               </sequence>
+             *                             </restriction>
+             *                           </complexContent>
+             *                         </complexType>
+             *                       </element>
+             *                       <element name="ICMSSN201">
+             *                         <complexType>
+             *                           <complexContent>
+             *                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                               <sequence>
+             *                                 <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+             *                                 <element name="CSOSN">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <enumeration value="201"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                                 <element name="modBCST">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <enumeration value="0"/>
+             *                                       <enumeration value="1"/>
+             *                                       <enumeration value="2"/>
+             *                                       <enumeration value="3"/>
+             *                                       <enumeration value="4"/>
+             *                                       <enumeration value="5"/>
+             *                                       <enumeration value="6"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                                 <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+             *                                 <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+             *                                 <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                                 <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+             *                                   <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 </sequence>
+             *                                 <element name="pCredSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                                 <element name="vCredICMSSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                               </sequence>
+             *                             </restriction>
+             *                           </complexContent>
+             *                         </complexType>
+             *                       </element>
+             *                       <element name="ICMSSN202">
+             *                         <complexType>
+             *                           <complexContent>
+             *                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                               <sequence>
+             *                                 <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+             *                                 <element name="CSOSN">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <enumeration value="202"/>
+             *                                       <enumeration value="203"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                                 <element name="modBCST">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <enumeration value="0"/>
+             *                                       <enumeration value="1"/>
+             *                                       <enumeration value="2"/>
+             *                                       <enumeration value="3"/>
+             *                                       <enumeration value="4"/>
+             *                                       <enumeration value="5"/>
+             *                                       <enumeration value="6"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                                 <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+             *                                 <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+             *                                 <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                                 <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+             *                                   <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 </sequence>
+             *                               </sequence>
+             *                             </restriction>
+             *                           </complexContent>
+             *                         </complexType>
+             *                       </element>
+             *                       <element name="ICMSSN500">
+             *                         <complexType>
+             *                           <complexContent>
+             *                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                               <sequence>
+             *                                 <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+             *                                 <element name="CSOSN">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <enumeration value="500"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="vBCSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <element name="pST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+             *                                   <element name="vICMSSubstituto" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+             *                                   <element name="vICMSSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 </sequence>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="vBCFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <element name="pFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+             *                                   <element name="vFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 </sequence>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="pRedBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+             *                                   <element name="vBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <element name="pICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+             *                                   <element name="vICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 </sequence>
+             *                               </sequence>
+             *                             </restriction>
+             *                           </complexContent>
+             *                         </complexType>
+             *                       </element>
+             *                       <element name="ICMSSN900">
+             *                         <complexType>
+             *                           <complexContent>
+             *                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                               <sequence>
+             *                                 <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig" minOccurs="0"/>
+             *                                 <element name="CSOSN">
+             *                                   <simpleType>
+             *                                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                       <whiteSpace value="preserve"/>
+             *                                       <enumeration value="900"/>
+             *                                     </restriction>
+             *                                   </simpleType>
+             *                                 </element>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="modBC">
+             *                                     <simpleType>
+             *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                         <whiteSpace value="preserve"/>
+             *                                         <enumeration value="0"/>
+             *                                         <enumeration value="1"/>
+             *                                         <enumeration value="2"/>
+             *                                         <enumeration value="3"/>
+             *                                       </restriction>
+             *                                     </simpleType>
+             *                                   </element>
+             *                                   <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+             *                                   <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                                   <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 </sequence>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="modBCST">
+             *                                     <simpleType>
+             *                                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                         <whiteSpace value="preserve"/>
+             *                                         <enumeration value="0"/>
+             *                                         <enumeration value="1"/>
+             *                                         <enumeration value="2"/>
+             *                                         <enumeration value="3"/>
+             *                                         <enumeration value="4"/>
+             *                                         <enumeration value="5"/>
+             *                                         <enumeration value="6"/>
+             *                                       </restriction>
+             *                                     </simpleType>
+             *                                   </element>
+             *                                   <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+             *                                   <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+             *                                   <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                                   <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   <sequence minOccurs="0">
+             *                                     <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                     <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+             *                                     <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                   </sequence>
+             *                                 </sequence>
+             *                                 <sequence minOccurs="0">
+             *                                   <element name="pCredSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                                   <element name="vCredICMSSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 </sequence>
+             *                               </sequence>
+             *                             </restriction>
+             *                           </complexContent>
+             *                         </complexType>
+             *                       </element>
+             *                     </choice>
+             *                   </restriction>
+             *                 </complexContent>
+             *               </complexType>
+             *             </element>
+             *             <element name="IPI" type="{http://www.portalfiscal.inf.br/nfe}TIpi" minOccurs="0"/>
+             *             <element name="II" minOccurs="0">
+             *               <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="vDespAdu" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                       <element name="vII" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                       <element name="vIOF" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                     </sequence>
+             *                   </restriction>
+             *                 </complexContent>
+             *               </complexType>
+             *             </element>
+             *           </sequence>
+             *           <sequence>
+             *             <element name="IPI" type="{http://www.portalfiscal.inf.br/nfe}TIpi" minOccurs="0"/>
+             *             <element name="ISSQN">
+             *               <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="vAliq" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                       <element name="vISSQN" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                       <element name="cMunFG" type="{http://www.portalfiscal.inf.br/nfe}TCodMunIBGE"/>
+             *                       <element name="cListServ" type="{http://www.portalfiscal.inf.br/nfe}TCListServ"/>
+             *                       <element name="vDeducao" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+             *                       <element name="vOutro" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+             *                       <element name="vDescIncond" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+             *                       <element name="vDescCond" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+             *                       <element name="vISSRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+             *                       <element name="indISS">
+             *                         <simpleType>
+             *                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                             <whiteSpace value="preserve"/>
+             *                             <enumeration value="1"/>
+             *                             <enumeration value="2"/>
+             *                             <enumeration value="3"/>
+             *                             <enumeration value="4"/>
+             *                             <enumeration value="5"/>
+             *                             <enumeration value="6"/>
+             *                             <enumeration value="7"/>
+             *                           </restriction>
+             *                         </simpleType>
+             *                       </element>
+             *                       <element name="cServico" minOccurs="0">
+             *                         <simpleType>
+             *                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                             <whiteSpace value="preserve"/>
+             *                             <minLength value="1"/>
+             *                             <maxLength value="20"/>
+             *                           </restriction>
+             *                         </simpleType>
+             *                       </element>
+             *                       <element name="cMun" type="{http://www.portalfiscal.inf.br/nfe}TCodMunIBGE" minOccurs="0"/>
+             *                       <element name="cPais" minOccurs="0">
+             *                         <simpleType>
+             *                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                             <whiteSpace value="preserve"/>
+             *                             <pattern value="[0-9]{1,4}"/>
+             *                           </restriction>
+             *                         </simpleType>
+             *                       </element>
+             *                       <element name="nProcesso" minOccurs="0">
+             *                         <simpleType>
+             *                           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                             <whiteSpace value="preserve"/>
+             *                             <minLength value="1"/>
+             *                             <maxLength value="30"/>
+             *                           </restriction>
+             *                         </simpleType>
+             *                       </element>
+             *                       <element name="indIncentivo">
+             *                         <simpleType>
+             *                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                             <whiteSpace value="preserve"/>
+             *                             <enumeration value="1"/>
+             *                             <enumeration value="2"/>
+             *                           </restriction>
+             *                         </simpleType>
+             *                       </element>
+             *                     </sequence>
+             *                   </restriction>
+             *                 </complexContent>
+             *               </complexType>
+             *             </element>
+             *           </sequence>
+             *         </choice>
+             *         <element name="PIS" minOccurs="0">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <choice>
+             *                   <element name="PISAliq">
+             *                     <complexType>
+             *                       <complexContent>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                           <sequence>
+             *                             <element name="CST">
+             *                               <simpleType>
+             *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                   <whiteSpace value="preserve"/>
+             *                                   <enumeration value="01"/>
+             *                                   <enumeration value="02"/>
+             *                                 </restriction>
+             *                               </simpleType>
+             *                             </element>
+             *                             <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                             <element name="pPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                             <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                           </sequence>
+             *                         </restriction>
+             *                       </complexContent>
+             *                     </complexType>
+             *                   </element>
+             *                   <element name="PISQtde">
+             *                     <complexType>
+             *                       <complexContent>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                           <sequence>
+             *                             <element name="CST">
+             *                               <simpleType>
+             *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                   <whiteSpace value="preserve"/>
+             *                                   <enumeration value="03"/>
+             *                                 </restriction>
+             *                               </simpleType>
+             *                             </element>
+             *                             <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
+             *                             <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+             *                             <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                           </sequence>
+             *                         </restriction>
+             *                       </complexContent>
+             *                     </complexType>
+             *                   </element>
+             *                   <element name="PISNT">
+             *                     <complexType>
+             *                       <complexContent>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                           <sequence>
+             *                             <element name="CST">
+             *                               <simpleType>
+             *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                   <whiteSpace value="preserve"/>
+             *                                   <enumeration value="04"/>
+             *                                   <enumeration value="05"/>
+             *                                   <enumeration value="06"/>
+             *                                   <enumeration value="07"/>
+             *                                   <enumeration value="08"/>
+             *                                   <enumeration value="09"/>
+             *                                 </restriction>
+             *                               </simpleType>
+             *                             </element>
+             *                           </sequence>
+             *                         </restriction>
+             *                       </complexContent>
+             *                     </complexType>
+             *                   </element>
+             *                   <element name="PISOutr">
+             *                     <complexType>
+             *                       <complexContent>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                           <sequence>
+             *                             <element name="CST">
+             *                               <simpleType>
+             *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                   <whiteSpace value="preserve"/>
+             *                                   <enumeration value="49"/>
+             *                                   <enumeration value="50"/>
+             *                                   <enumeration value="51"/>
+             *                                   <enumeration value="52"/>
+             *                                   <enumeration value="53"/>
+             *                                   <enumeration value="54"/>
+             *                                   <enumeration value="55"/>
+             *                                   <enumeration value="56"/>
+             *                                   <enumeration value="60"/>
+             *                                   <enumeration value="61"/>
+             *                                   <enumeration value="62"/>
+             *                                   <enumeration value="63"/>
+             *                                   <enumeration value="64"/>
+             *                                   <enumeration value="65"/>
+             *                                   <enumeration value="66"/>
+             *                                   <enumeration value="67"/>
+             *                                   <enumeration value="70"/>
+             *                                   <enumeration value="71"/>
+             *                                   <enumeration value="72"/>
+             *                                   <enumeration value="73"/>
+             *                                   <enumeration value="74"/>
+             *                                   <enumeration value="75"/>
+             *                                   <enumeration value="98"/>
+             *                                   <enumeration value="99"/>
+             *                                 </restriction>
+             *                               </simpleType>
+             *                             </element>
+             *                             <choice>
+             *                               <sequence>
+             *                                 <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 <element name="pPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                               </sequence>
+             *                               <sequence>
+             *                                 <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
+             *                                 <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+             *                               </sequence>
+             *                             </choice>
+             *                             <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                           </sequence>
+             *                         </restriction>
+             *                       </complexContent>
+             *                     </complexType>
+             *                   </element>
+             *                 </choice>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *         <element name="PISST" minOccurs="0">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <choice>
+             *                     <sequence>
+             *                       <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc"/>
+             *                       <element name="pPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                     </sequence>
+             *                     <sequence>
+             *                       <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204"/>
+             *                       <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104"/>
+             *                     </sequence>
+             *                   </choice>
+             *                   <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                   <element name="indSomaPISST" minOccurs="0">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                         <whiteSpace value="preserve"/>
+             *                         <enumeration value="0"/>
+             *                         <enumeration value="1"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *         <element name="COFINS" minOccurs="0">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <choice>
+             *                   <element name="COFINSAliq">
+             *                     <complexType>
+             *                       <complexContent>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                           <sequence>
+             *                             <element name="CST">
+             *                               <simpleType>
+             *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                   <whiteSpace value="preserve"/>
+             *                                   <enumeration value="01"/>
+             *                                   <enumeration value="02"/>
+             *                                 </restriction>
+             *                               </simpleType>
+             *                             </element>
+             *                             <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                             <element name="pCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                             <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                           </sequence>
+             *                         </restriction>
+             *                       </complexContent>
+             *                     </complexType>
+             *                   </element>
+             *                   <element name="COFINSQtde">
+             *                     <complexType>
+             *                       <complexContent>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                           <sequence>
+             *                             <element name="CST">
+             *                               <simpleType>
+             *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                   <enumeration value="03"/>
+             *                                 </restriction>
+             *                               </simpleType>
+             *                             </element>
+             *                             <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
+             *                             <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+             *                             <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                           </sequence>
+             *                         </restriction>
+             *                       </complexContent>
+             *                     </complexType>
+             *                   </element>
+             *                   <element name="COFINSNT">
+             *                     <complexType>
+             *                       <complexContent>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                           <sequence>
+             *                             <element name="CST">
+             *                               <simpleType>
+             *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                   <whiteSpace value="preserve"/>
+             *                                   <enumeration value="04"/>
+             *                                   <enumeration value="05"/>
+             *                                   <enumeration value="06"/>
+             *                                   <enumeration value="07"/>
+             *                                   <enumeration value="08"/>
+             *                                   <enumeration value="09"/>
+             *                                 </restriction>
+             *                               </simpleType>
+             *                             </element>
+             *                           </sequence>
+             *                         </restriction>
+             *                       </complexContent>
+             *                     </complexType>
+             *                   </element>
+             *                   <element name="COFINSOutr">
+             *                     <complexType>
+             *                       <complexContent>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                           <sequence>
+             *                             <element name="CST">
+             *                               <simpleType>
+             *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                   <whiteSpace value="preserve"/>
+             *                                   <enumeration value="49"/>
+             *                                   <enumeration value="50"/>
+             *                                   <enumeration value="51"/>
+             *                                   <enumeration value="52"/>
+             *                                   <enumeration value="53"/>
+             *                                   <enumeration value="54"/>
+             *                                   <enumeration value="55"/>
+             *                                   <enumeration value="56"/>
+             *                                   <enumeration value="60"/>
+             *                                   <enumeration value="61"/>
+             *                                   <enumeration value="62"/>
+             *                                   <enumeration value="63"/>
+             *                                   <enumeration value="64"/>
+             *                                   <enumeration value="65"/>
+             *                                   <enumeration value="66"/>
+             *                                   <enumeration value="67"/>
+             *                                   <enumeration value="70"/>
+             *                                   <enumeration value="71"/>
+             *                                   <enumeration value="72"/>
+             *                                   <enumeration value="73"/>
+             *                                   <enumeration value="74"/>
+             *                                   <enumeration value="75"/>
+             *                                   <enumeration value="98"/>
+             *                                   <enumeration value="99"/>
+             *                                 </restriction>
+             *                               </simpleType>
+             *                             </element>
+             *                             <choice>
+             *                               <sequence>
+             *                                 <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                                 <element name="pCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                               </sequence>
+             *                               <sequence>
+             *                                 <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
+             *                                 <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+             *                               </sequence>
+             *                             </choice>
+             *                             <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                           </sequence>
+             *                         </restriction>
+             *                       </complexContent>
+             *                     </complexType>
+             *                   </element>
+             *                 </choice>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *         <element name="COFINSST" minOccurs="0">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <choice>
+             *                     <sequence>
+             *                       <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                       <element name="pCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                     </sequence>
+             *                     <sequence>
+             *                       <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204"/>
+             *                       <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104"/>
+             *                     </sequence>
+             *                   </choice>
+             *                   <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                   <element name="indSomaCOFINSST" minOccurs="0">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                         <whiteSpace value="preserve"/>
+             *                         <enumeration value="0"/>
+             *                         <enumeration value="1"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *         <element name="ICMSUFDest" minOccurs="0">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="vBCUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                   <element name="vBCFCPUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+             *                   <element name="pFCPUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
+             *                   <element name="pICMSUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                   <element name="pICMSInter">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                         <whiteSpace value="preserve"/>
+             *                         <enumeration value="4.00"/>
+             *                         <enumeration value="7.00"/>
+             *                         <enumeration value="12.00"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                   <element name="pICMSInterPart" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                   <element name="vFCPUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+             *                   <element name="vICMSUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                   <element name="vICMSUFRemet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *         <element name="IS" type="{http://www.portalfiscal.inf.br/nfe}TIS" minOccurs="0"/>
+             *         <element name="IBSCBS" type="{http://www.portalfiscal.inf.br/nfe}TTribNFe" minOccurs="0"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "content" + }) + public static class Imposto { + + @XmlElementRefs({ + @XmlElementRef(name = "ISSQN", namespace = "http://www.portalfiscal.inf.br/nfe", type = JAXBElement.class, required = false), + @XmlElementRef(name = "PIS", namespace = "http://www.portalfiscal.inf.br/nfe", type = JAXBElement.class, required = false), + @XmlElementRef(name = "COFINSST", namespace = "http://www.portalfiscal.inf.br/nfe", type = JAXBElement.class, required = false), + @XmlElementRef(name = "IBSCBS", namespace = "http://www.portalfiscal.inf.br/nfe", type = JAXBElement.class, required = false), + @XmlElementRef(name = "ICMSUFDest", namespace = "http://www.portalfiscal.inf.br/nfe", type = JAXBElement.class, required = false), + @XmlElementRef(name = "vTotTrib", namespace = "http://www.portalfiscal.inf.br/nfe", type = JAXBElement.class, required = false), + @XmlElementRef(name = "II", namespace = "http://www.portalfiscal.inf.br/nfe", type = JAXBElement.class, required = false), + @XmlElementRef(name = "ICMS", namespace = "http://www.portalfiscal.inf.br/nfe", type = JAXBElement.class, required = false), + @XmlElementRef(name = "IS", namespace = "http://www.portalfiscal.inf.br/nfe", type = JAXBElement.class, required = false), + @XmlElementRef(name = "IPI", namespace = "http://www.portalfiscal.inf.br/nfe", type = JAXBElement.class, required = false), + @XmlElementRef(name = "PISST", namespace = "http://www.portalfiscal.inf.br/nfe", type = JAXBElement.class, required = false), + @XmlElementRef(name = "COFINS", namespace = "http://www.portalfiscal.inf.br/nfe", type = JAXBElement.class, required = false) + }) + protected List> content; + + /** + * Obtém o restante do modelo do conteúdo. + * + *

+ * Você está obtendo esta propriedade "catch-all" pelo seguinte motivo: + * O nome do campo "IPI" é usado por duas partes diferentes de um esquema. Consulte: + * linha 4337 de file:/D:/Workspace/Java_NFe/schemas/leiauteNFe_v4.00.xsd + * linha 4305 de file:/D:/Workspace/Java_NFe/schemas/leiauteNFe_v4.00.xsd + *

+ * Para eliminar esta propriedade, aplique uma personalização de propriedade a uma + * das seguintes declarações, a fim de alterar seus nomes: + * Gets the value of the content property. + * + *

+ * 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 set method for the content property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getContent().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link JAXBElement }{@code <}{@link TNFe.InfNFe.Det.Imposto.ISSQN }{@code >} + * {@link JAXBElement }{@code <}{@link TNFe.InfNFe.Det.Imposto.PIS }{@code >} + * {@link JAXBElement }{@code <}{@link TNFe.InfNFe.Det.Imposto.COFINSST }{@code >} + * {@link JAXBElement }{@code <}{@link TTribNFe }{@code >} + * {@link JAXBElement }{@code <}{@link TNFe.InfNFe.Det.Imposto.ICMSUFDest }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} + * {@link JAXBElement }{@code <}{@link TNFe.InfNFe.Det.Imposto.II }{@code >} + * {@link JAXBElement }{@code <}{@link TNFe.InfNFe.Det.Imposto.ICMS }{@code >} + * {@link JAXBElement }{@code <}{@link TIS }{@code >} + * {@link JAXBElement }{@code <}{@link TIpi }{@code >} + * {@link JAXBElement }{@code <}{@link TNFe.InfNFe.Det.Imposto.PISST }{@code >} + * {@link JAXBElement }{@code <}{@link TNFe.InfNFe.Det.Imposto.COFINS }{@code >} + * + * + */ + public List> getContent() { + if (content == null) { + content = new ArrayList>(); + } + return this.content; + } + + + /** + *

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">
+                 *       <choice>
+                 *         <element name="COFINSAliq">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="CST">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="01"/>
+                 *                         <enumeration value="02"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   <element name="pCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *                   <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *         <element name="COFINSQtde">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="CST">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <enumeration value="03"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
+                 *                   <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+                 *                   <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *         <element name="COFINSNT">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="CST">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="04"/>
+                 *                         <enumeration value="05"/>
+                 *                         <enumeration value="06"/>
+                 *                         <enumeration value="07"/>
+                 *                         <enumeration value="08"/>
+                 *                         <enumeration value="09"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *         <element name="COFINSOutr">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="CST">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="49"/>
+                 *                         <enumeration value="50"/>
+                 *                         <enumeration value="51"/>
+                 *                         <enumeration value="52"/>
+                 *                         <enumeration value="53"/>
+                 *                         <enumeration value="54"/>
+                 *                         <enumeration value="55"/>
+                 *                         <enumeration value="56"/>
+                 *                         <enumeration value="60"/>
+                 *                         <enumeration value="61"/>
+                 *                         <enumeration value="62"/>
+                 *                         <enumeration value="63"/>
+                 *                         <enumeration value="64"/>
+                 *                         <enumeration value="65"/>
+                 *                         <enumeration value="66"/>
+                 *                         <enumeration value="67"/>
+                 *                         <enumeration value="70"/>
+                 *                         <enumeration value="71"/>
+                 *                         <enumeration value="72"/>
+                 *                         <enumeration value="73"/>
+                 *                         <enumeration value="74"/>
+                 *                         <enumeration value="75"/>
+                 *                         <enumeration value="98"/>
+                 *                         <enumeration value="99"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <choice>
+                 *                     <sequence>
+                 *                       <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                       <element name="pCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *                     </sequence>
+                 *                     <sequence>
+                 *                       <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
+                 *                       <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+                 *                     </sequence>
+                 *                   </choice>
+                 *                   <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *       </choice>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cofinsAliq", + "cofinsQtde", + "cofinsnt", + "cofinsOutr" + }) + public static class COFINS { + + @XmlElement(name = "COFINSAliq", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Imposto.COFINS.COFINSAliq cofinsAliq; + @XmlElement(name = "COFINSQtde", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Imposto.COFINS.COFINSQtde cofinsQtde; + @XmlElement(name = "COFINSNT", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Imposto.COFINS.COFINSNT cofinsnt; + @XmlElement(name = "COFINSOutr", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Imposto.COFINS.COFINSOutr cofinsOutr; + + /** + * Obtém o valor da propriedade cofinsAliq. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Imposto.COFINS.COFINSAliq } + * + */ + public TNFe.InfNFe.Det.Imposto.COFINS.COFINSAliq getCOFINSAliq() { + return cofinsAliq; + } + + /** + * Define o valor da propriedade cofinsAliq. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Imposto.COFINS.COFINSAliq } + * + */ + public void setCOFINSAliq(TNFe.InfNFe.Det.Imposto.COFINS.COFINSAliq value) { + this.cofinsAliq = value; + } + + /** + * Obtém o valor da propriedade cofinsQtde. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Imposto.COFINS.COFINSQtde } + * + */ + public TNFe.InfNFe.Det.Imposto.COFINS.COFINSQtde getCOFINSQtde() { + return cofinsQtde; + } + + /** + * Define o valor da propriedade cofinsQtde. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Imposto.COFINS.COFINSQtde } + * + */ + public void setCOFINSQtde(TNFe.InfNFe.Det.Imposto.COFINS.COFINSQtde value) { + this.cofinsQtde = value; + } + + /** + * Obtém o valor da propriedade cofinsnt. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Imposto.COFINS.COFINSNT } + * + */ + public TNFe.InfNFe.Det.Imposto.COFINS.COFINSNT getCOFINSNT() { + return cofinsnt; + } + + /** + * Define o valor da propriedade cofinsnt. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Imposto.COFINS.COFINSNT } + * + */ + public void setCOFINSNT(TNFe.InfNFe.Det.Imposto.COFINS.COFINSNT value) { + this.cofinsnt = value; + } + + /** + * Obtém o valor da propriedade cofinsOutr. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Imposto.COFINS.COFINSOutr } + * + */ + public TNFe.InfNFe.Det.Imposto.COFINS.COFINSOutr getCOFINSOutr() { + return cofinsOutr; + } + + /** + * Define o valor da propriedade cofinsOutr. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Imposto.COFINS.COFINSOutr } + * + */ + public void setCOFINSOutr(TNFe.InfNFe.Det.Imposto.COFINS.COFINSOutr value) { + this.cofinsOutr = value; + } + + + /** + *

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="CST">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="01"/>
+                     *               <enumeration value="02"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         <element name="pCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                     *         <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst", + "vbc", + "pcofins", + "vcofins" + }) + public static class COFINSAliq { + + @XmlElement(name = "CST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cst; + @XmlElement(name = "vBC", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vbc; + @XmlElement(name = "pCOFINS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String pcofins; + @XmlElement(name = "vCOFINS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vcofins; + + /** + * Obtém o valor da propriedade cst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Define o valor da propriedade cst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Obtém o valor da propriedade vbc. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Define o valor da propriedade vbc. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Obtém o valor da propriedade pcofins. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPCOFINS() { + return pcofins; + } + + /** + * Define o valor da propriedade pcofins. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPCOFINS(String value) { + this.pcofins = value; + } + + /** + * Obtém o valor da propriedade vcofins. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCOFINS() { + return vcofins; + } + + /** + * Define o valor da propriedade vcofins. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCOFINS(String value) { + this.vcofins = value; + } + + } + + + /** + *

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="CST">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="04"/>
+                     *               <enumeration value="05"/>
+                     *               <enumeration value="06"/>
+                     *               <enumeration value="07"/>
+                     *               <enumeration value="08"/>
+                     *               <enumeration value="09"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst" + }) + public static class COFINSNT { + + @XmlElement(name = "CST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cst; + + /** + * Obtém o valor da propriedade cst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Define o valor da propriedade cst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + } + + + /** + *

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="CST">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="49"/>
+                     *               <enumeration value="50"/>
+                     *               <enumeration value="51"/>
+                     *               <enumeration value="52"/>
+                     *               <enumeration value="53"/>
+                     *               <enumeration value="54"/>
+                     *               <enumeration value="55"/>
+                     *               <enumeration value="56"/>
+                     *               <enumeration value="60"/>
+                     *               <enumeration value="61"/>
+                     *               <enumeration value="62"/>
+                     *               <enumeration value="63"/>
+                     *               <enumeration value="64"/>
+                     *               <enumeration value="65"/>
+                     *               <enumeration value="66"/>
+                     *               <enumeration value="67"/>
+                     *               <enumeration value="70"/>
+                     *               <enumeration value="71"/>
+                     *               <enumeration value="72"/>
+                     *               <enumeration value="73"/>
+                     *               <enumeration value="74"/>
+                     *               <enumeration value="75"/>
+                     *               <enumeration value="98"/>
+                     *               <enumeration value="99"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <choice>
+                     *           <sequence>
+                     *             <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *             <element name="pCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                     *           </sequence>
+                     *           <sequence>
+                     *             <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
+                     *             <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+                     *           </sequence>
+                     *         </choice>
+                     *         <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst", + "vbc", + "pcofins", + "qbcProd", + "vAliqProd", + "vcofins" + }) + public static class COFINSOutr { + + @XmlElement(name = "CST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cst; + @XmlElement(name = "vBC", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbc; + @XmlElement(name = "pCOFINS", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pcofins; + @XmlElement(name = "qBCProd", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String qbcProd; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vAliqProd; + @XmlElement(name = "vCOFINS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vcofins; + + /** + * Obtém o valor da propriedade cst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Define o valor da propriedade cst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Obtém o valor da propriedade vbc. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Define o valor da propriedade vbc. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Obtém o valor da propriedade pcofins. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPCOFINS() { + return pcofins; + } + + /** + * Define o valor da propriedade pcofins. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPCOFINS(String value) { + this.pcofins = value; + } + + /** + * Obtém o valor da propriedade qbcProd. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQBCProd() { + return qbcProd; + } + + /** + * Define o valor da propriedade qbcProd. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQBCProd(String value) { + this.qbcProd = value; + } + + /** + * Obtém o valor da propriedade vAliqProd. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVAliqProd() { + return vAliqProd; + } + + /** + * Define o valor da propriedade vAliqProd. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVAliqProd(String value) { + this.vAliqProd = value; + } + + /** + * Obtém o valor da propriedade vcofins. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCOFINS() { + return vcofins; + } + + /** + * Define o valor da propriedade vcofins. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCOFINS(String value) { + this.vcofins = value; + } + + } + + + /** + *

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="CST">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <enumeration value="03"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
+                     *         <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+                     *         <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst", + "qbcProd", + "vAliqProd", + "vcofins" + }) + public static class COFINSQtde { + + @XmlElement(name = "CST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cst; + @XmlElement(name = "qBCProd", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String qbcProd; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vAliqProd; + @XmlElement(name = "vCOFINS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vcofins; + + /** + * Obtém o valor da propriedade cst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Define o valor da propriedade cst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Obtém o valor da propriedade qbcProd. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQBCProd() { + return qbcProd; + } + + /** + * Define o valor da propriedade qbcProd. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQBCProd(String value) { + this.qbcProd = value; + } + + /** + * Obtém o valor da propriedade vAliqProd. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVAliqProd() { + return vAliqProd; + } + + /** + * Define o valor da propriedade vAliqProd. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVAliqProd(String value) { + this.vAliqProd = value; + } + + /** + * Obtém o valor da propriedade vcofins. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCOFINS() { + return vcofins; + } + + /** + * Define o valor da propriedade vcofins. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCOFINS(String value) { + this.vcofins = value; + } + + } + + } + + + /** + *

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>
+                 *         <choice>
+                 *           <sequence>
+                 *             <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *             <element name="pCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *           </sequence>
+                 *           <sequence>
+                 *             <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204"/>
+                 *             <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104"/>
+                 *           </sequence>
+                 *         </choice>
+                 *         <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *         <element name="indSomaCOFINSST" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <enumeration value="0"/>
+                 *               <enumeration value="1"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vbc", + "pcofins", + "qbcProd", + "vAliqProd", + "vcofins", + "indSomaCOFINSST" + }) + public static class COFINSST { + + @XmlElement(name = "vBC", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbc; + @XmlElement(name = "pCOFINS", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pcofins; + @XmlElement(name = "qBCProd", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String qbcProd; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vAliqProd; + @XmlElement(name = "vCOFINS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vcofins; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String indSomaCOFINSST; + + /** + * Obtém o valor da propriedade vbc. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Define o valor da propriedade vbc. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Obtém o valor da propriedade pcofins. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPCOFINS() { + return pcofins; + } + + /** + * Define o valor da propriedade pcofins. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPCOFINS(String value) { + this.pcofins = value; + } + + /** + * Obtém o valor da propriedade qbcProd. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQBCProd() { + return qbcProd; + } + + /** + * Define o valor da propriedade qbcProd. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQBCProd(String value) { + this.qbcProd = value; + } + + /** + * Obtém o valor da propriedade vAliqProd. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVAliqProd() { + return vAliqProd; + } + + /** + * Define o valor da propriedade vAliqProd. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVAliqProd(String value) { + this.vAliqProd = value; + } + + /** + * Obtém o valor da propriedade vcofins. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCOFINS() { + return vcofins; + } + + /** + * Define o valor da propriedade vcofins. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCOFINS(String value) { + this.vcofins = value; + } + + /** + * Obtém o valor da propriedade indSomaCOFINSST. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndSomaCOFINSST() { + return indSomaCOFINSST; + } + + /** + * Define o valor da propriedade indSomaCOFINSST. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndSomaCOFINSST(String value) { + this.indSomaCOFINSST = value; + } + + } + + + /** + *

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">
+                 *       <choice>
+                 *         <element name="ICMS00">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                 *                   <element name="CST">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="00"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="modBC">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="0"/>
+                 *                         <enumeration value="1"/>
+                 *                         <enumeration value="2"/>
+                 *                         <enumeration value="3"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *                   <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                 *                     <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   </sequence>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *         <element name="ICMS02">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                 *                   <element name="CST">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="02"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="qBCMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+                 *                   <element name="adRemICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *                   <element name="vICMSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *         <element name="ICMS10">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                 *                   <element name="CST">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="10"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="modBC">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="0"/>
+                 *                         <enumeration value="1"/>
+                 *                         <enumeration value="2"/>
+                 *                         <enumeration value="3"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *                   <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                 *                     <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   </sequence>
+                 *                   <element name="modBCST">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="0"/>
+                 *                         <enumeration value="1"/>
+                 *                         <enumeration value="2"/>
+                 *                         <enumeration value="3"/>
+                 *                         <enumeration value="4"/>
+                 *                         <enumeration value="5"/>
+                 *                         <enumeration value="6"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                 *                   <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                 *                   <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *                   <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                 *                     <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   </sequence>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="vICMSSTDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <element name="motDesICMSST">
+                 *                       <simpleType>
+                 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                           <whiteSpace value="preserve"/>
+                 *                           <enumeration value="3"/>
+                 *                           <enumeration value="9"/>
+                 *                           <enumeration value="12"/>
+                 *                         </restriction>
+                 *                       </simpleType>
+                 *                     </element>
+                 *                   </sequence>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *         <element name="ICMS15">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                 *                   <element name="CST">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="15"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="qBCMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+                 *                   <element name="adRemICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *                   <element name="vICMSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   <element name="qBCMonoReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+                 *                   <element name="adRemICMSReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *                   <element name="vICMSMonoReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="pRedAdRem" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302Max100"/>
+                 *                     <element name="motRedAdRem">
+                 *                       <simpleType>
+                 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                           <whiteSpace value="preserve"/>
+                 *                           <enumeration value="1"/>
+                 *                           <enumeration value="9"/>
+                 *                         </restriction>
+                 *                       </simpleType>
+                 *                     </element>
+                 *                   </sequence>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *         <element name="ICMS20">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                 *                   <element name="CST">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="20"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="modBC">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="0"/>
+                 *                         <enumeration value="1"/>
+                 *                         <enumeration value="2"/>
+                 *                         <enumeration value="3"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *                   <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *                   <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                 *                     <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   </sequence>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <element name="motDesICMS">
+                 *                       <simpleType>
+                 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                           <whiteSpace value="preserve"/>
+                 *                           <enumeration value="3"/>
+                 *                           <enumeration value="9"/>
+                 *                           <enumeration value="12"/>
+                 *                         </restriction>
+                 *                       </simpleType>
+                 *                     </element>
+                 *                     <element name="indDeduzDeson" minOccurs="0">
+                 *                       <simpleType>
+                 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                           <whiteSpace value="preserve"/>
+                 *                           <enumeration value="0"/>
+                 *                           <enumeration value="1"/>
+                 *                         </restriction>
+                 *                       </simpleType>
+                 *                     </element>
+                 *                   </sequence>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *         <element name="ICMS30">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                 *                   <element name="CST">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="30"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="modBCST">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="0"/>
+                 *                         <enumeration value="1"/>
+                 *                         <enumeration value="2"/>
+                 *                         <enumeration value="3"/>
+                 *                         <enumeration value="4"/>
+                 *                         <enumeration value="5"/>
+                 *                         <enumeration value="6"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                 *                   <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                 *                   <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *                   <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                 *                     <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   </sequence>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <element name="motDesICMS">
+                 *                       <simpleType>
+                 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                           <whiteSpace value="preserve"/>
+                 *                           <enumeration value="6"/>
+                 *                           <enumeration value="7"/>
+                 *                           <enumeration value="9"/>
+                 *                         </restriction>
+                 *                       </simpleType>
+                 *                     </element>
+                 *                     <element name="indDeduzDeson" minOccurs="0">
+                 *                       <simpleType>
+                 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                           <whiteSpace value="preserve"/>
+                 *                           <enumeration value="0"/>
+                 *                           <enumeration value="1"/>
+                 *                         </restriction>
+                 *                       </simpleType>
+                 *                     </element>
+                 *                   </sequence>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *         <element name="ICMS40">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                 *                   <element name="CST">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="40"/>
+                 *                         <enumeration value="41"/>
+                 *                         <enumeration value="50"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <element name="motDesICMS">
+                 *                       <simpleType>
+                 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                           <whiteSpace value="preserve"/>
+                 *                           <enumeration value="1"/>
+                 *                           <enumeration value="3"/>
+                 *                           <enumeration value="4"/>
+                 *                           <enumeration value="5"/>
+                 *                           <enumeration value="6"/>
+                 *                           <enumeration value="7"/>
+                 *                           <enumeration value="8"/>
+                 *                           <enumeration value="9"/>
+                 *                           <enumeration value="10"/>
+                 *                           <enumeration value="11"/>
+                 *                           <enumeration value="16"/>
+                 *                           <enumeration value="90"/>
+                 *                         </restriction>
+                 *                       </simpleType>
+                 *                     </element>
+                 *                     <element name="indDeduzDeson" minOccurs="0">
+                 *                       <simpleType>
+                 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                           <whiteSpace value="preserve"/>
+                 *                           <enumeration value="0"/>
+                 *                           <enumeration value="1"/>
+                 *                         </restriction>
+                 *                       </simpleType>
+                 *                     </element>
+                 *                   </sequence>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *         <element name="ICMS51">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                 *                   <element name="CST">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="51"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="modBC" minOccurs="0">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="0"/>
+                 *                         <enumeration value="1"/>
+                 *                         <enumeration value="2"/>
+                 *                         <enumeration value="3"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
+                 *                   <element name="cBenefRBC" minOccurs="0">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <pattern value="[!-ÿ]{8}|[!-ÿ]{10}"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+                 *                   <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
+                 *                   <element name="vICMSOp" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+                 *                   <element name="pDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
+                 *                   <element name="vICMSDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+                 *                   <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                 *                     <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   </sequence>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="pFCPDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                 *                     <element name="vFCPDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <element name="vFCPEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+                 *                   </sequence>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *         <element name="ICMS53">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                 *                   <element name="CST">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="53"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="qBCMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+                 *                   <element name="adRemICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
+                 *                   <element name="vICMSMonoOp" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+                 *                   <element name="pDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
+                 *                   <element name="vICMSMonoDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+                 *                   <element name="vICMSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+                 *                   <element name="qBCMonoDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+                 *                   <element name="adRemICMSDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *         <element name="ICMS60">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                 *                   <element name="CST">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="60"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="vBCSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <element name="pST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                 *                     <element name="vICMSSubstituto" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+                 *                     <element name="vICMSSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   </sequence>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="vBCFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <element name="pFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                 *                     <element name="vFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   </sequence>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="pRedBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                 *                     <element name="vBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <element name="pICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                 *                     <element name="vICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   </sequence>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *         <element name="ICMS61">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                 *                   <element name="CST">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="61"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="qBCMonoRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+                 *                   <element name="adRemICMSRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *                   <element name="vICMSMonoRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *         <element name="ICMS70">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                 *                   <element name="CST">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="70"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="modBC">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="0"/>
+                 *                         <enumeration value="1"/>
+                 *                         <enumeration value="2"/>
+                 *                         <enumeration value="3"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *                   <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *                   <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                 *                     <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   </sequence>
+                 *                   <element name="modBCST">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="0"/>
+                 *                         <enumeration value="1"/>
+                 *                         <enumeration value="2"/>
+                 *                         <enumeration value="3"/>
+                 *                         <enumeration value="4"/>
+                 *                         <enumeration value="5"/>
+                 *                         <enumeration value="6"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                 *                   <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                 *                   <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *                   <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                 *                     <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   </sequence>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <element name="motDesICMS">
+                 *                       <simpleType>
+                 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                           <whiteSpace value="preserve"/>
+                 *                           <enumeration value="3"/>
+                 *                           <enumeration value="9"/>
+                 *                           <enumeration value="12"/>
+                 *                         </restriction>
+                 *                       </simpleType>
+                 *                     </element>
+                 *                     <element name="indDeduzDeson" minOccurs="0">
+                 *                       <simpleType>
+                 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                           <whiteSpace value="preserve"/>
+                 *                           <enumeration value="0"/>
+                 *                           <enumeration value="1"/>
+                 *                         </restriction>
+                 *                       </simpleType>
+                 *                     </element>
+                 *                   </sequence>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="vICMSSTDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <element name="motDesICMSST">
+                 *                       <simpleType>
+                 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                           <whiteSpace value="preserve"/>
+                 *                           <enumeration value="3"/>
+                 *                           <enumeration value="9"/>
+                 *                           <enumeration value="12"/>
+                 *                         </restriction>
+                 *                       </simpleType>
+                 *                     </element>
+                 *                   </sequence>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *         <element name="ICMS90">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                 *                   <element name="CST">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="90"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="modBC">
+                 *                       <simpleType>
+                 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                           <whiteSpace value="preserve"/>
+                 *                           <enumeration value="0"/>
+                 *                           <enumeration value="1"/>
+                 *                           <enumeration value="2"/>
+                 *                           <enumeration value="3"/>
+                 *                         </restriction>
+                 *                       </simpleType>
+                 *                     </element>
+                 *                     <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                 *                     <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *                     <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <sequence minOccurs="0">
+                 *                       <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                       <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                 *                       <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     </sequence>
+                 *                   </sequence>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="modBCST">
+                 *                       <simpleType>
+                 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                           <whiteSpace value="preserve"/>
+                 *                           <enumeration value="0"/>
+                 *                           <enumeration value="1"/>
+                 *                           <enumeration value="2"/>
+                 *                           <enumeration value="3"/>
+                 *                           <enumeration value="4"/>
+                 *                           <enumeration value="5"/>
+                 *                           <enumeration value="6"/>
+                 *                         </restriction>
+                 *                       </simpleType>
+                 *                     </element>
+                 *                     <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                 *                     <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                 *                     <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *                     <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <sequence minOccurs="0">
+                 *                       <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                       <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                 *                       <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     </sequence>
+                 *                   </sequence>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <element name="motDesICMS">
+                 *                       <simpleType>
+                 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                           <whiteSpace value="preserve"/>
+                 *                           <enumeration value="3"/>
+                 *                           <enumeration value="9"/>
+                 *                           <enumeration value="12"/>
+                 *                         </restriction>
+                 *                       </simpleType>
+                 *                     </element>
+                 *                     <element name="indDeduzDeson" minOccurs="0">
+                 *                       <simpleType>
+                 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                           <whiteSpace value="preserve"/>
+                 *                           <enumeration value="0"/>
+                 *                           <enumeration value="1"/>
+                 *                         </restriction>
+                 *                       </simpleType>
+                 *                     </element>
+                 *                   </sequence>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="vICMSSTDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <element name="motDesICMSST">
+                 *                       <simpleType>
+                 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                           <whiteSpace value="preserve"/>
+                 *                           <enumeration value="3"/>
+                 *                           <enumeration value="9"/>
+                 *                           <enumeration value="12"/>
+                 *                         </restriction>
+                 *                       </simpleType>
+                 *                     </element>
+                 *                   </sequence>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *         <element name="ICMSPart">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                 *                   <element name="CST">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="10"/>
+                 *                         <enumeration value="90"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="modBC">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="0"/>
+                 *                         <enumeration value="1"/>
+                 *                         <enumeration value="2"/>
+                 *                         <enumeration value="3"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                 *                   <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *                   <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   <element name="modBCST">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="0"/>
+                 *                         <enumeration value="1"/>
+                 *                         <enumeration value="2"/>
+                 *                         <enumeration value="3"/>
+                 *                         <enumeration value="4"/>
+                 *                         <enumeration value="5"/>
+                 *                         <enumeration value="6"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                 *                   <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                 *                   <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *                   <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                 *                     <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   </sequence>
+                 *                   <element name="pBCOp" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                 *                   <element name="UFST" type="{http://www.portalfiscal.inf.br/nfe}TUf"/>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *         <element name="ICMSST">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                 *                   <element name="CST">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="41"/>
+                 *                         <enumeration value="60"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="vBCSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   <element name="pST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                 *                   <element name="vICMSSubstituto" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+                 *                   <element name="vICMSSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="vBCFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <element name="pFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                 *                     <element name="vFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   </sequence>
+                 *                   <element name="vBCSTDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   <element name="vICMSSTDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="pRedBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                 *                     <element name="vBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <element name="pICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                 *                     <element name="vICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   </sequence>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *         <element name="ICMSSN101">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                 *                   <element name="CSOSN">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="101"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="pCredSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *                   <element name="vCredICMSSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *         <element name="ICMSSN102">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig" minOccurs="0"/>
+                 *                   <element name="CSOSN">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="102"/>
+                 *                         <enumeration value="103"/>
+                 *                         <enumeration value="300"/>
+                 *                         <enumeration value="400"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *         <element name="ICMSSN201">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                 *                   <element name="CSOSN">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="201"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="modBCST">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="0"/>
+                 *                         <enumeration value="1"/>
+                 *                         <enumeration value="2"/>
+                 *                         <enumeration value="3"/>
+                 *                         <enumeration value="4"/>
+                 *                         <enumeration value="5"/>
+                 *                         <enumeration value="6"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                 *                   <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                 *                   <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *                   <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                 *                     <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   </sequence>
+                 *                   <element name="pCredSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *                   <element name="vCredICMSSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *         <element name="ICMSSN202">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                 *                   <element name="CSOSN">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="202"/>
+                 *                         <enumeration value="203"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="modBCST">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="0"/>
+                 *                         <enumeration value="1"/>
+                 *                         <enumeration value="2"/>
+                 *                         <enumeration value="3"/>
+                 *                         <enumeration value="4"/>
+                 *                         <enumeration value="5"/>
+                 *                         <enumeration value="6"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                 *                   <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                 *                   <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *                   <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                 *                     <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   </sequence>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *         <element name="ICMSSN500">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                 *                   <element name="CSOSN">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="500"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="vBCSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <element name="pST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                 *                     <element name="vICMSSubstituto" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+                 *                     <element name="vICMSSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   </sequence>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="vBCFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <element name="pFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                 *                     <element name="vFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   </sequence>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="pRedBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                 *                     <element name="vBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <element name="pICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                 *                     <element name="vICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   </sequence>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *         <element name="ICMSSN900">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig" minOccurs="0"/>
+                 *                   <element name="CSOSN">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="900"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="modBC">
+                 *                       <simpleType>
+                 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                           <whiteSpace value="preserve"/>
+                 *                           <enumeration value="0"/>
+                 *                           <enumeration value="1"/>
+                 *                           <enumeration value="2"/>
+                 *                           <enumeration value="3"/>
+                 *                         </restriction>
+                 *                       </simpleType>
+                 *                     </element>
+                 *                     <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                 *                     <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *                     <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   </sequence>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="modBCST">
+                 *                       <simpleType>
+                 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                           <whiteSpace value="preserve"/>
+                 *                           <enumeration value="0"/>
+                 *                           <enumeration value="1"/>
+                 *                           <enumeration value="2"/>
+                 *                           <enumeration value="3"/>
+                 *                           <enumeration value="4"/>
+                 *                           <enumeration value="5"/>
+                 *                           <enumeration value="6"/>
+                 *                         </restriction>
+                 *                       </simpleType>
+                 *                     </element>
+                 *                     <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                 *                     <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                 *                     <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *                     <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     <sequence minOccurs="0">
+                 *                       <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                       <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                 *                       <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                     </sequence>
+                 *                   </sequence>
+                 *                   <sequence minOccurs="0">
+                 *                     <element name="pCredSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *                     <element name="vCredICMSSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   </sequence>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *       </choice>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "icms00", + "icms02", + "icms10", + "icms15", + "icms20", + "icms30", + "icms40", + "icms51", + "icms53", + "icms60", + "icms61", + "icms70", + "icms90", + "icmsPart", + "icmsst", + "icmssn101", + "icmssn102", + "icmssn201", + "icmssn202", + "icmssn500", + "icmssn900" + }) + public static class ICMS { + + @XmlElement(name = "ICMS00", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Imposto.ICMS.ICMS00 icms00; + @XmlElement(name = "ICMS02", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Imposto.ICMS.ICMS02 icms02; + @XmlElement(name = "ICMS10", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Imposto.ICMS.ICMS10 icms10; + @XmlElement(name = "ICMS15", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Imposto.ICMS.ICMS15 icms15; + @XmlElement(name = "ICMS20", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Imposto.ICMS.ICMS20 icms20; + @XmlElement(name = "ICMS30", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Imposto.ICMS.ICMS30 icms30; + @XmlElement(name = "ICMS40", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Imposto.ICMS.ICMS40 icms40; + @XmlElement(name = "ICMS51", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Imposto.ICMS.ICMS51 icms51; + @XmlElement(name = "ICMS53", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Imposto.ICMS.ICMS53 icms53; + @XmlElement(name = "ICMS60", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Imposto.ICMS.ICMS60 icms60; + @XmlElement(name = "ICMS61", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Imposto.ICMS.ICMS61 icms61; + @XmlElement(name = "ICMS70", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Imposto.ICMS.ICMS70 icms70; + @XmlElement(name = "ICMS90", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Imposto.ICMS.ICMS90 icms90; + @XmlElement(name = "ICMSPart", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Imposto.ICMS.ICMSPart icmsPart; + @XmlElement(name = "ICMSST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Imposto.ICMS.ICMSST icmsst; + @XmlElement(name = "ICMSSN101", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN101 icmssn101; + @XmlElement(name = "ICMSSN102", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN102 icmssn102; + @XmlElement(name = "ICMSSN201", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN201 icmssn201; + @XmlElement(name = "ICMSSN202", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN202 icmssn202; + @XmlElement(name = "ICMSSN500", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN500 icmssn500; + @XmlElement(name = "ICMSSN900", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN900 icmssn900; + + /** + * Obtém o valor da propriedade icms00. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS00 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMS00 getICMS00() { + return icms00; + } + + /** + * Define o valor da propriedade icms00. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS00 } + * + */ + public void setICMS00(TNFe.InfNFe.Det.Imposto.ICMS.ICMS00 value) { + this.icms00 = value; + } + + /** + * Obtém o valor da propriedade icms02. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS02 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMS02 getICMS02() { + return icms02; + } + + /** + * Define o valor da propriedade icms02. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS02 } + * + */ + public void setICMS02(TNFe.InfNFe.Det.Imposto.ICMS.ICMS02 value) { + this.icms02 = value; + } + + /** + * Obtém o valor da propriedade icms10. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS10 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMS10 getICMS10() { + return icms10; + } + + /** + * Define o valor da propriedade icms10. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS10 } + * + */ + public void setICMS10(TNFe.InfNFe.Det.Imposto.ICMS.ICMS10 value) { + this.icms10 = value; + } + + /** + * Obtém o valor da propriedade icms15. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS15 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMS15 getICMS15() { + return icms15; + } + + /** + * Define o valor da propriedade icms15. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS15 } + * + */ + public void setICMS15(TNFe.InfNFe.Det.Imposto.ICMS.ICMS15 value) { + this.icms15 = value; + } + + /** + * Obtém o valor da propriedade icms20. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS20 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMS20 getICMS20() { + return icms20; + } + + /** + * Define o valor da propriedade icms20. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS20 } + * + */ + public void setICMS20(TNFe.InfNFe.Det.Imposto.ICMS.ICMS20 value) { + this.icms20 = value; + } + + /** + * Obtém o valor da propriedade icms30. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS30 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMS30 getICMS30() { + return icms30; + } + + /** + * Define o valor da propriedade icms30. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS30 } + * + */ + public void setICMS30(TNFe.InfNFe.Det.Imposto.ICMS.ICMS30 value) { + this.icms30 = value; + } + + /** + * Obtém o valor da propriedade icms40. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS40 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMS40 getICMS40() { + return icms40; + } + + /** + * Define o valor da propriedade icms40. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS40 } + * + */ + public void setICMS40(TNFe.InfNFe.Det.Imposto.ICMS.ICMS40 value) { + this.icms40 = value; + } + + /** + * Obtém o valor da propriedade icms51. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS51 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMS51 getICMS51() { + return icms51; + } + + /** + * Define o valor da propriedade icms51. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS51 } + * + */ + public void setICMS51(TNFe.InfNFe.Det.Imposto.ICMS.ICMS51 value) { + this.icms51 = value; + } + + /** + * Obtém o valor da propriedade icms53. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS53 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMS53 getICMS53() { + return icms53; + } + + /** + * Define o valor da propriedade icms53. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS53 } + * + */ + public void setICMS53(TNFe.InfNFe.Det.Imposto.ICMS.ICMS53 value) { + this.icms53 = value; + } + + /** + * Obtém o valor da propriedade icms60. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS60 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMS60 getICMS60() { + return icms60; + } + + /** + * Define o valor da propriedade icms60. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS60 } + * + */ + public void setICMS60(TNFe.InfNFe.Det.Imposto.ICMS.ICMS60 value) { + this.icms60 = value; + } + + /** + * Obtém o valor da propriedade icms61. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS61 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMS61 getICMS61() { + return icms61; + } + + /** + * Define o valor da propriedade icms61. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS61 } + * + */ + public void setICMS61(TNFe.InfNFe.Det.Imposto.ICMS.ICMS61 value) { + this.icms61 = value; + } + + /** + * Obtém o valor da propriedade icms70. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS70 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMS70 getICMS70() { + return icms70; + } + + /** + * Define o valor da propriedade icms70. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS70 } + * + */ + public void setICMS70(TNFe.InfNFe.Det.Imposto.ICMS.ICMS70 value) { + this.icms70 = value; + } + + /** + * Obtém o valor da propriedade icms90. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS90 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMS90 getICMS90() { + return icms90; + } + + /** + * Define o valor da propriedade icms90. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMS90 } + * + */ + public void setICMS90(TNFe.InfNFe.Det.Imposto.ICMS.ICMS90 value) { + this.icms90 = value; + } + + /** + * Obtém o valor da propriedade icmsPart. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMSPart } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMSPart getICMSPart() { + return icmsPart; + } + + /** + * Define o valor da propriedade icmsPart. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMSPart } + * + */ + public void setICMSPart(TNFe.InfNFe.Det.Imposto.ICMS.ICMSPart value) { + this.icmsPart = value; + } + + /** + * Obtém o valor da propriedade icmsst. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMSST } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMSST getICMSST() { + return icmsst; + } + + /** + * Define o valor da propriedade icmsst. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMSST } + * + */ + public void setICMSST(TNFe.InfNFe.Det.Imposto.ICMS.ICMSST value) { + this.icmsst = value; + } + + /** + * Obtém o valor da propriedade icmssn101. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN101 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN101 getICMSSN101() { + return icmssn101; + } + + /** + * Define o valor da propriedade icmssn101. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN101 } + * + */ + public void setICMSSN101(TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN101 value) { + this.icmssn101 = value; + } + + /** + * Obtém o valor da propriedade icmssn102. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN102 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN102 getICMSSN102() { + return icmssn102; + } + + /** + * Define o valor da propriedade icmssn102. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN102 } + * + */ + public void setICMSSN102(TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN102 value) { + this.icmssn102 = value; + } + + /** + * Obtém o valor da propriedade icmssn201. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN201 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN201 getICMSSN201() { + return icmssn201; + } + + /** + * Define o valor da propriedade icmssn201. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN201 } + * + */ + public void setICMSSN201(TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN201 value) { + this.icmssn201 = value; + } + + /** + * Obtém o valor da propriedade icmssn202. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN202 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN202 getICMSSN202() { + return icmssn202; + } + + /** + * Define o valor da propriedade icmssn202. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN202 } + * + */ + public void setICMSSN202(TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN202 value) { + this.icmssn202 = value; + } + + /** + * Obtém o valor da propriedade icmssn500. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN500 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN500 getICMSSN500() { + return icmssn500; + } + + /** + * Define o valor da propriedade icmssn500. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN500 } + * + */ + public void setICMSSN500(TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN500 value) { + this.icmssn500 = value; + } + + /** + * Obtém o valor da propriedade icmssn900. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN900 } + * + */ + public TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN900 getICMSSN900() { + return icmssn900; + } + + /** + * Define o valor da propriedade icmssn900. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN900 } + * + */ + public void setICMSSN900(TNFe.InfNFe.Det.Imposto.ICMS.ICMSSN900 value) { + this.icmssn900 = value; + } + + + /** + *

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="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                     *         <element name="CST">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="00"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="modBC">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="0"/>
+                     *               <enumeration value="1"/>
+                     *               <enumeration value="2"/>
+                     *               <enumeration value="3"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                     *         <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         <sequence minOccurs="0">
+                     *           <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                     *           <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         </sequence>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "orig", + "cst", + "modBC", + "vbc", + "picms", + "vicms", + "pfcp", + "vfcp" + }) + public static class ICMS00 { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String orig; + @XmlElement(name = "CST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cst; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String modBC; + @XmlElement(name = "vBC", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vbc; + @XmlElement(name = "pICMS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String picms; + @XmlElement(name = "vICMS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vicms; + @XmlElement(name = "pFCP", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pfcp; + @XmlElement(name = "vFCP", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vfcp; + + /** + * Obtém o valor da propriedade orig. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrig() { + return orig; + } + + /** + * Define o valor da propriedade orig. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrig(String value) { + this.orig = value; + } + + /** + * Obtém o valor da propriedade cst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Define o valor da propriedade cst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Obtém o valor da propriedade modBC. + * + * @return + * possible object is + * {@link String } + * + */ + public String getModBC() { + return modBC; + } + + /** + * Define o valor da propriedade modBC. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setModBC(String value) { + this.modBC = value; + } + + /** + * Obtém o valor da propriedade vbc. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Define o valor da propriedade vbc. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Obtém o valor da propriedade picms. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMS() { + return picms; + } + + /** + * Define o valor da propriedade picms. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMS(String value) { + this.picms = value; + } + + /** + * Obtém o valor da propriedade vicms. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMS() { + return vicms; + } + + /** + * Define o valor da propriedade vicms. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMS(String value) { + this.vicms = value; + } + + /** + * Obtém o valor da propriedade pfcp. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPFCP() { + return pfcp; + } + + /** + * Define o valor da propriedade pfcp. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPFCP(String value) { + this.pfcp = value; + } + + /** + * Obtém o valor da propriedade vfcp. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVFCP() { + return vfcp; + } + + /** + * Define o valor da propriedade vfcp. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVFCP(String value) { + this.vfcp = value; + } + + } + + + /** + *

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="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                     *         <element name="CST">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="02"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="qBCMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+                     *         <element name="adRemICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                     *         <element name="vICMSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "orig", + "cst", + "qbcMono", + "adRemICMS", + "vicmsMono" + }) + public static class ICMS02 { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String orig; + @XmlElement(name = "CST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cst; + @XmlElement(name = "qBCMono", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String qbcMono; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String adRemICMS; + @XmlElement(name = "vICMSMono", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vicmsMono; + + /** + * Obtém o valor da propriedade orig. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrig() { + return orig; + } + + /** + * Define o valor da propriedade orig. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrig(String value) { + this.orig = value; + } + + /** + * Obtém o valor da propriedade cst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Define o valor da propriedade cst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Obtém o valor da propriedade qbcMono. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQBCMono() { + return qbcMono; + } + + /** + * Define o valor da propriedade qbcMono. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQBCMono(String value) { + this.qbcMono = value; + } + + /** + * Obtém o valor da propriedade adRemICMS. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAdRemICMS() { + return adRemICMS; + } + + /** + * Define o valor da propriedade adRemICMS. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAdRemICMS(String value) { + this.adRemICMS = value; + } + + /** + * Obtém o valor da propriedade vicmsMono. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSMono() { + return vicmsMono; + } + + /** + * Define o valor da propriedade vicmsMono. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSMono(String value) { + this.vicmsMono = value; + } + + } + + + /** + *

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="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                     *         <element name="CST">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="10"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="modBC">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="0"/>
+                     *               <enumeration value="1"/>
+                     *               <enumeration value="2"/>
+                     *               <enumeration value="3"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                     *         <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         <sequence minOccurs="0">
+                     *           <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                     *           <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         </sequence>
+                     *         <element name="modBCST">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="0"/>
+                     *               <enumeration value="1"/>
+                     *               <enumeration value="2"/>
+                     *               <enumeration value="3"/>
+                     *               <enumeration value="4"/>
+                     *               <enumeration value="5"/>
+                     *               <enumeration value="6"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                     *         <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                     *         <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                     *         <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         <sequence minOccurs="0">
+                     *           <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                     *           <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         </sequence>
+                     *         <sequence minOccurs="0">
+                     *           <element name="vICMSSTDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <element name="motDesICMSST">
+                     *             <simpleType>
+                     *               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *                 <whiteSpace value="preserve"/>
+                     *                 <enumeration value="3"/>
+                     *                 <enumeration value="9"/>
+                     *                 <enumeration value="12"/>
+                     *               </restriction>
+                     *             </simpleType>
+                     *           </element>
+                     *         </sequence>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "orig", + "cst", + "modBC", + "vbc", + "picms", + "vicms", + "vbcfcp", + "pfcp", + "vfcp", + "modBCST", + "pmvast", + "pRedBCST", + "vbcst", + "picmsst", + "vicmsst", + "vbcfcpst", + "pfcpst", + "vfcpst", + "vicmsstDeson", + "motDesICMSST" + }) + public static class ICMS10 { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String orig; + @XmlElement(name = "CST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cst; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String modBC; + @XmlElement(name = "vBC", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vbc; + @XmlElement(name = "pICMS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String picms; + @XmlElement(name = "vICMS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vicms; + @XmlElement(name = "vBCFCP", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbcfcp; + @XmlElement(name = "pFCP", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pfcp; + @XmlElement(name = "vFCP", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vfcp; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String modBCST; + @XmlElement(name = "pMVAST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pmvast; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pRedBCST; + @XmlElement(name = "vBCST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vbcst; + @XmlElement(name = "pICMSST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String picmsst; + @XmlElement(name = "vICMSST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vicmsst; + @XmlElement(name = "vBCFCPST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbcfcpst; + @XmlElement(name = "pFCPST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pfcpst; + @XmlElement(name = "vFCPST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vfcpst; + @XmlElement(name = "vICMSSTDeson", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vicmsstDeson; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String motDesICMSST; + + /** + * Obtém o valor da propriedade orig. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrig() { + return orig; + } + + /** + * Define o valor da propriedade orig. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrig(String value) { + this.orig = value; + } + + /** + * Obtém o valor da propriedade cst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Define o valor da propriedade cst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Obtém o valor da propriedade modBC. + * + * @return + * possible object is + * {@link String } + * + */ + public String getModBC() { + return modBC; + } + + /** + * Define o valor da propriedade modBC. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setModBC(String value) { + this.modBC = value; + } + + /** + * Obtém o valor da propriedade vbc. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Define o valor da propriedade vbc. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Obtém o valor da propriedade picms. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMS() { + return picms; + } + + /** + * Define o valor da propriedade picms. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMS(String value) { + this.picms = value; + } + + /** + * Obtém o valor da propriedade vicms. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMS() { + return vicms; + } + + /** + * Define o valor da propriedade vicms. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMS(String value) { + this.vicms = value; + } + + /** + * Obtém o valor da propriedade vbcfcp. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCFCP() { + return vbcfcp; + } + + /** + * Define o valor da propriedade vbcfcp. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCFCP(String value) { + this.vbcfcp = value; + } + + /** + * Obtém o valor da propriedade pfcp. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPFCP() { + return pfcp; + } + + /** + * Define o valor da propriedade pfcp. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPFCP(String value) { + this.pfcp = value; + } + + /** + * Obtém o valor da propriedade vfcp. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVFCP() { + return vfcp; + } + + /** + * Define o valor da propriedade vfcp. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVFCP(String value) { + this.vfcp = value; + } + + /** + * Obtém o valor da propriedade modBCST. + * + * @return + * possible object is + * {@link String } + * + */ + public String getModBCST() { + return modBCST; + } + + /** + * Define o valor da propriedade modBCST. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setModBCST(String value) { + this.modBCST = value; + } + + /** + * Obtém o valor da propriedade pmvast. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPMVAST() { + return pmvast; + } + + /** + * Define o valor da propriedade pmvast. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPMVAST(String value) { + this.pmvast = value; + } + + /** + * Obtém o valor da propriedade pRedBCST. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPRedBCST() { + return pRedBCST; + } + + /** + * Define o valor da propriedade pRedBCST. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPRedBCST(String value) { + this.pRedBCST = value; + } + + /** + * Obtém o valor da propriedade vbcst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCST() { + return vbcst; + } + + /** + * Define o valor da propriedade vbcst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCST(String value) { + this.vbcst = value; + } + + /** + * Obtém o valor da propriedade picmsst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMSST() { + return picmsst; + } + + /** + * Define o valor da propriedade picmsst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMSST(String value) { + this.picmsst = value; + } + + /** + * Obtém o valor da propriedade vicmsst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSST() { + return vicmsst; + } + + /** + * Define o valor da propriedade vicmsst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSST(String value) { + this.vicmsst = value; + } + + /** + * Obtém o valor da propriedade vbcfcpst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCFCPST() { + return vbcfcpst; + } + + /** + * Define o valor da propriedade vbcfcpst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCFCPST(String value) { + this.vbcfcpst = value; + } + + /** + * Obtém o valor da propriedade pfcpst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPFCPST() { + return pfcpst; + } + + /** + * Define o valor da propriedade pfcpst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPFCPST(String value) { + this.pfcpst = value; + } + + /** + * Obtém o valor da propriedade vfcpst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVFCPST() { + return vfcpst; + } + + /** + * Define o valor da propriedade vfcpst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVFCPST(String value) { + this.vfcpst = value; + } + + /** + * Obtém o valor da propriedade vicmsstDeson. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSSTDeson() { + return vicmsstDeson; + } + + /** + * Define o valor da propriedade vicmsstDeson. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSSTDeson(String value) { + this.vicmsstDeson = value; + } + + /** + * Obtém o valor da propriedade motDesICMSST. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMotDesICMSST() { + return motDesICMSST; + } + + /** + * Define o valor da propriedade motDesICMSST. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMotDesICMSST(String value) { + this.motDesICMSST = value; + } + + } + + + /** + *

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="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                     *         <element name="CST">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="15"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="qBCMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+                     *         <element name="adRemICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                     *         <element name="vICMSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         <element name="qBCMonoReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+                     *         <element name="adRemICMSReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                     *         <element name="vICMSMonoReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         <sequence minOccurs="0">
+                     *           <element name="pRedAdRem" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302Max100"/>
+                     *           <element name="motRedAdRem">
+                     *             <simpleType>
+                     *               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *                 <whiteSpace value="preserve"/>
+                     *                 <enumeration value="1"/>
+                     *                 <enumeration value="9"/>
+                     *               </restriction>
+                     *             </simpleType>
+                     *           </element>
+                     *         </sequence>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "orig", + "cst", + "qbcMono", + "adRemICMS", + "vicmsMono", + "qbcMonoReten", + "adRemICMSReten", + "vicmsMonoReten", + "pRedAdRem", + "motRedAdRem" + }) + public static class ICMS15 { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String orig; + @XmlElement(name = "CST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cst; + @XmlElement(name = "qBCMono", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String qbcMono; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String adRemICMS; + @XmlElement(name = "vICMSMono", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vicmsMono; + @XmlElement(name = "qBCMonoReten", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String qbcMonoReten; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String adRemICMSReten; + @XmlElement(name = "vICMSMonoReten", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vicmsMonoReten; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pRedAdRem; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String motRedAdRem; + + /** + * Obtém o valor da propriedade orig. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrig() { + return orig; + } + + /** + * Define o valor da propriedade orig. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrig(String value) { + this.orig = value; + } + + /** + * Obtém o valor da propriedade cst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Define o valor da propriedade cst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Obtém o valor da propriedade qbcMono. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQBCMono() { + return qbcMono; + } + + /** + * Define o valor da propriedade qbcMono. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQBCMono(String value) { + this.qbcMono = value; + } + + /** + * Obtém o valor da propriedade adRemICMS. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAdRemICMS() { + return adRemICMS; + } + + /** + * Define o valor da propriedade adRemICMS. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAdRemICMS(String value) { + this.adRemICMS = value; + } + + /** + * Obtém o valor da propriedade vicmsMono. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSMono() { + return vicmsMono; + } + + /** + * Define o valor da propriedade vicmsMono. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSMono(String value) { + this.vicmsMono = value; + } + + /** + * Obtém o valor da propriedade qbcMonoReten. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQBCMonoReten() { + return qbcMonoReten; + } + + /** + * Define o valor da propriedade qbcMonoReten. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQBCMonoReten(String value) { + this.qbcMonoReten = value; + } + + /** + * Obtém o valor da propriedade adRemICMSReten. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAdRemICMSReten() { + return adRemICMSReten; + } + + /** + * Define o valor da propriedade adRemICMSReten. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAdRemICMSReten(String value) { + this.adRemICMSReten = value; + } + + /** + * Obtém o valor da propriedade vicmsMonoReten. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSMonoReten() { + return vicmsMonoReten; + } + + /** + * Define o valor da propriedade vicmsMonoReten. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSMonoReten(String value) { + this.vicmsMonoReten = value; + } + + /** + * Obtém o valor da propriedade pRedAdRem. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPRedAdRem() { + return pRedAdRem; + } + + /** + * Define o valor da propriedade pRedAdRem. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPRedAdRem(String value) { + this.pRedAdRem = value; + } + + /** + * Obtém o valor da propriedade motRedAdRem. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMotRedAdRem() { + return motRedAdRem; + } + + /** + * Define o valor da propriedade motRedAdRem. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMotRedAdRem(String value) { + this.motRedAdRem = value; + } + + } + + + /** + *

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="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                     *         <element name="CST">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="20"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="modBC">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="0"/>
+                     *               <enumeration value="1"/>
+                     *               <enumeration value="2"/>
+                     *               <enumeration value="3"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                     *         <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                     *         <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         <sequence minOccurs="0">
+                     *           <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                     *           <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         </sequence>
+                     *         <sequence minOccurs="0">
+                     *           <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <element name="motDesICMS">
+                     *             <simpleType>
+                     *               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *                 <whiteSpace value="preserve"/>
+                     *                 <enumeration value="3"/>
+                     *                 <enumeration value="9"/>
+                     *                 <enumeration value="12"/>
+                     *               </restriction>
+                     *             </simpleType>
+                     *           </element>
+                     *           <element name="indDeduzDeson" minOccurs="0">
+                     *             <simpleType>
+                     *               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *                 <whiteSpace value="preserve"/>
+                     *                 <enumeration value="0"/>
+                     *                 <enumeration value="1"/>
+                     *               </restriction>
+                     *             </simpleType>
+                     *           </element>
+                     *         </sequence>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "orig", + "cst", + "modBC", + "pRedBC", + "vbc", + "picms", + "vicms", + "vbcfcp", + "pfcp", + "vfcp", + "vicmsDeson", + "motDesICMS", + "indDeduzDeson" + }) + public static class ICMS20 { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String orig; + @XmlElement(name = "CST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cst; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String modBC; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String pRedBC; + @XmlElement(name = "vBC", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vbc; + @XmlElement(name = "pICMS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String picms; + @XmlElement(name = "vICMS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vicms; + @XmlElement(name = "vBCFCP", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbcfcp; + @XmlElement(name = "pFCP", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pfcp; + @XmlElement(name = "vFCP", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vfcp; + @XmlElement(name = "vICMSDeson", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vicmsDeson; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String motDesICMS; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String indDeduzDeson; + + /** + * Obtém o valor da propriedade orig. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrig() { + return orig; + } + + /** + * Define o valor da propriedade orig. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrig(String value) { + this.orig = value; + } + + /** + * Obtém o valor da propriedade cst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Define o valor da propriedade cst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Obtém o valor da propriedade modBC. + * + * @return + * possible object is + * {@link String } + * + */ + public String getModBC() { + return modBC; + } + + /** + * Define o valor da propriedade modBC. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setModBC(String value) { + this.modBC = value; + } + + /** + * Obtém o valor da propriedade pRedBC. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPRedBC() { + return pRedBC; + } + + /** + * Define o valor da propriedade pRedBC. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPRedBC(String value) { + this.pRedBC = value; + } + + /** + * Obtém o valor da propriedade vbc. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Define o valor da propriedade vbc. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Obtém o valor da propriedade picms. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMS() { + return picms; + } + + /** + * Define o valor da propriedade picms. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMS(String value) { + this.picms = value; + } + + /** + * Obtém o valor da propriedade vicms. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMS() { + return vicms; + } + + /** + * Define o valor da propriedade vicms. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMS(String value) { + this.vicms = value; + } + + /** + * Obtém o valor da propriedade vbcfcp. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCFCP() { + return vbcfcp; + } + + /** + * Define o valor da propriedade vbcfcp. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCFCP(String value) { + this.vbcfcp = value; + } + + /** + * Obtém o valor da propriedade pfcp. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPFCP() { + return pfcp; + } + + /** + * Define o valor da propriedade pfcp. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPFCP(String value) { + this.pfcp = value; + } + + /** + * Obtém o valor da propriedade vfcp. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVFCP() { + return vfcp; + } + + /** + * Define o valor da propriedade vfcp. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVFCP(String value) { + this.vfcp = value; + } + + /** + * Obtém o valor da propriedade vicmsDeson. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSDeson() { + return vicmsDeson; + } + + /** + * Define o valor da propriedade vicmsDeson. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSDeson(String value) { + this.vicmsDeson = value; + } + + /** + * Obtém o valor da propriedade motDesICMS. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMotDesICMS() { + return motDesICMS; + } + + /** + * Define o valor da propriedade motDesICMS. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMotDesICMS(String value) { + this.motDesICMS = value; + } + + /** + * Obtém o valor da propriedade indDeduzDeson. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndDeduzDeson() { + return indDeduzDeson; + } + + /** + * Define o valor da propriedade indDeduzDeson. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndDeduzDeson(String value) { + this.indDeduzDeson = value; + } + + } + + + /** + *

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="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                     *         <element name="CST">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="30"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="modBCST">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="0"/>
+                     *               <enumeration value="1"/>
+                     *               <enumeration value="2"/>
+                     *               <enumeration value="3"/>
+                     *               <enumeration value="4"/>
+                     *               <enumeration value="5"/>
+                     *               <enumeration value="6"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                     *         <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                     *         <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                     *         <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         <sequence minOccurs="0">
+                     *           <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                     *           <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         </sequence>
+                     *         <sequence minOccurs="0">
+                     *           <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <element name="motDesICMS">
+                     *             <simpleType>
+                     *               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *                 <whiteSpace value="preserve"/>
+                     *                 <enumeration value="6"/>
+                     *                 <enumeration value="7"/>
+                     *                 <enumeration value="9"/>
+                     *               </restriction>
+                     *             </simpleType>
+                     *           </element>
+                     *           <element name="indDeduzDeson" minOccurs="0">
+                     *             <simpleType>
+                     *               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *                 <whiteSpace value="preserve"/>
+                     *                 <enumeration value="0"/>
+                     *                 <enumeration value="1"/>
+                     *               </restriction>
+                     *             </simpleType>
+                     *           </element>
+                     *         </sequence>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "orig", + "cst", + "modBCST", + "pmvast", + "pRedBCST", + "vbcst", + "picmsst", + "vicmsst", + "vbcfcpst", + "pfcpst", + "vfcpst", + "vicmsDeson", + "motDesICMS", + "indDeduzDeson" + }) + public static class ICMS30 { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String orig; + @XmlElement(name = "CST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cst; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String modBCST; + @XmlElement(name = "pMVAST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pmvast; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pRedBCST; + @XmlElement(name = "vBCST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vbcst; + @XmlElement(name = "pICMSST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String picmsst; + @XmlElement(name = "vICMSST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vicmsst; + @XmlElement(name = "vBCFCPST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbcfcpst; + @XmlElement(name = "pFCPST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pfcpst; + @XmlElement(name = "vFCPST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vfcpst; + @XmlElement(name = "vICMSDeson", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vicmsDeson; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String motDesICMS; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String indDeduzDeson; + + /** + * Obtém o valor da propriedade orig. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrig() { + return orig; + } + + /** + * Define o valor da propriedade orig. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrig(String value) { + this.orig = value; + } + + /** + * Obtém o valor da propriedade cst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Define o valor da propriedade cst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Obtém o valor da propriedade modBCST. + * + * @return + * possible object is + * {@link String } + * + */ + public String getModBCST() { + return modBCST; + } + + /** + * Define o valor da propriedade modBCST. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setModBCST(String value) { + this.modBCST = value; + } + + /** + * Obtém o valor da propriedade pmvast. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPMVAST() { + return pmvast; + } + + /** + * Define o valor da propriedade pmvast. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPMVAST(String value) { + this.pmvast = value; + } + + /** + * Obtém o valor da propriedade pRedBCST. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPRedBCST() { + return pRedBCST; + } + + /** + * Define o valor da propriedade pRedBCST. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPRedBCST(String value) { + this.pRedBCST = value; + } + + /** + * Obtém o valor da propriedade vbcst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCST() { + return vbcst; + } + + /** + * Define o valor da propriedade vbcst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCST(String value) { + this.vbcst = value; + } + + /** + * Obtém o valor da propriedade picmsst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMSST() { + return picmsst; + } + + /** + * Define o valor da propriedade picmsst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMSST(String value) { + this.picmsst = value; + } + + /** + * Obtém o valor da propriedade vicmsst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSST() { + return vicmsst; + } + + /** + * Define o valor da propriedade vicmsst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSST(String value) { + this.vicmsst = value; + } + + /** + * Obtém o valor da propriedade vbcfcpst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCFCPST() { + return vbcfcpst; + } + + /** + * Define o valor da propriedade vbcfcpst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCFCPST(String value) { + this.vbcfcpst = value; + } + + /** + * Obtém o valor da propriedade pfcpst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPFCPST() { + return pfcpst; + } + + /** + * Define o valor da propriedade pfcpst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPFCPST(String value) { + this.pfcpst = value; + } + + /** + * Obtém o valor da propriedade vfcpst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVFCPST() { + return vfcpst; + } + + /** + * Define o valor da propriedade vfcpst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVFCPST(String value) { + this.vfcpst = value; + } + + /** + * Obtém o valor da propriedade vicmsDeson. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSDeson() { + return vicmsDeson; + } + + /** + * Define o valor da propriedade vicmsDeson. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSDeson(String value) { + this.vicmsDeson = value; + } + + /** + * Obtém o valor da propriedade motDesICMS. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMotDesICMS() { + return motDesICMS; + } + + /** + * Define o valor da propriedade motDesICMS. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMotDesICMS(String value) { + this.motDesICMS = value; + } + + /** + * Obtém o valor da propriedade indDeduzDeson. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndDeduzDeson() { + return indDeduzDeson; + } + + /** + * Define o valor da propriedade indDeduzDeson. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndDeduzDeson(String value) { + this.indDeduzDeson = value; + } + + } + + + /** + *

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="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                     *         <element name="CST">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="40"/>
+                     *               <enumeration value="41"/>
+                     *               <enumeration value="50"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <sequence minOccurs="0">
+                     *           <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <element name="motDesICMS">
+                     *             <simpleType>
+                     *               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *                 <whiteSpace value="preserve"/>
+                     *                 <enumeration value="1"/>
+                     *                 <enumeration value="3"/>
+                     *                 <enumeration value="4"/>
+                     *                 <enumeration value="5"/>
+                     *                 <enumeration value="6"/>
+                     *                 <enumeration value="7"/>
+                     *                 <enumeration value="8"/>
+                     *                 <enumeration value="9"/>
+                     *                 <enumeration value="10"/>
+                     *                 <enumeration value="11"/>
+                     *                 <enumeration value="16"/>
+                     *                 <enumeration value="90"/>
+                     *               </restriction>
+                     *             </simpleType>
+                     *           </element>
+                     *           <element name="indDeduzDeson" minOccurs="0">
+                     *             <simpleType>
+                     *               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *                 <whiteSpace value="preserve"/>
+                     *                 <enumeration value="0"/>
+                     *                 <enumeration value="1"/>
+                     *               </restriction>
+                     *             </simpleType>
+                     *           </element>
+                     *         </sequence>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "orig", + "cst", + "vicmsDeson", + "motDesICMS", + "indDeduzDeson" + }) + public static class ICMS40 { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String orig; + @XmlElement(name = "CST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cst; + @XmlElement(name = "vICMSDeson", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vicmsDeson; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String motDesICMS; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String indDeduzDeson; + + /** + * Obtém o valor da propriedade orig. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrig() { + return orig; + } + + /** + * Define o valor da propriedade orig. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrig(String value) { + this.orig = value; + } + + /** + * Obtém o valor da propriedade cst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Define o valor da propriedade cst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Obtém o valor da propriedade vicmsDeson. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSDeson() { + return vicmsDeson; + } + + /** + * Define o valor da propriedade vicmsDeson. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSDeson(String value) { + this.vicmsDeson = value; + } + + /** + * Obtém o valor da propriedade motDesICMS. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMotDesICMS() { + return motDesICMS; + } + + /** + * Define o valor da propriedade motDesICMS. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMotDesICMS(String value) { + this.motDesICMS = value; + } + + /** + * Obtém o valor da propriedade indDeduzDeson. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndDeduzDeson() { + return indDeduzDeson; + } + + /** + * Define o valor da propriedade indDeduzDeson. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndDeduzDeson(String value) { + this.indDeduzDeson = value; + } + + } + + + /** + *

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="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                     *         <element name="CST">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="51"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="modBC" minOccurs="0">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="0"/>
+                     *               <enumeration value="1"/>
+                     *               <enumeration value="2"/>
+                     *               <enumeration value="3"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
+                     *         <element name="cBenefRBC" minOccurs="0">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <pattern value="[!-ÿ]{8}|[!-ÿ]{10}"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+                     *         <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
+                     *         <element name="vICMSOp" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+                     *         <element name="pDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
+                     *         <element name="vICMSDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+                     *         <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+                     *         <sequence minOccurs="0">
+                     *           <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                     *           <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         </sequence>
+                     *         <sequence minOccurs="0">
+                     *           <element name="pFCPDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                     *           <element name="vFCPDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <element name="vFCPEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+                     *         </sequence>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "orig", + "cst", + "modBC", + "pRedBC", + "cBenefRBC", + "vbc", + "picms", + "vicmsOp", + "pDif", + "vicmsDif", + "vicms", + "vbcfcp", + "pfcp", + "vfcp", + "pfcpDif", + "vfcpDif", + "vfcpEfet" + }) + public static class ICMS51 { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String orig; + @XmlElement(name = "CST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cst; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String modBC; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pRedBC; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cBenefRBC; + @XmlElement(name = "vBC", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbc; + @XmlElement(name = "pICMS", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String picms; + @XmlElement(name = "vICMSOp", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vicmsOp; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pDif; + @XmlElement(name = "vICMSDif", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vicmsDif; + @XmlElement(name = "vICMS", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vicms; + @XmlElement(name = "vBCFCP", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbcfcp; + @XmlElement(name = "pFCP", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pfcp; + @XmlElement(name = "vFCP", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vfcp; + @XmlElement(name = "pFCPDif", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pfcpDif; + @XmlElement(name = "vFCPDif", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vfcpDif; + @XmlElement(name = "vFCPEfet", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vfcpEfet; + + /** + * Obtém o valor da propriedade orig. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrig() { + return orig; + } + + /** + * Define o valor da propriedade orig. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrig(String value) { + this.orig = value; + } + + /** + * Obtém o valor da propriedade cst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Define o valor da propriedade cst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Obtém o valor da propriedade modBC. + * + * @return + * possible object is + * {@link String } + * + */ + public String getModBC() { + return modBC; + } + + /** + * Define o valor da propriedade modBC. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setModBC(String value) { + this.modBC = value; + } + + /** + * Obtém o valor da propriedade pRedBC. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPRedBC() { + return pRedBC; + } + + /** + * Define o valor da propriedade pRedBC. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPRedBC(String value) { + this.pRedBC = value; + } + + /** + * Obtém o valor da propriedade cBenefRBC. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCBenefRBC() { + return cBenefRBC; + } + + /** + * Define o valor da propriedade cBenefRBC. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCBenefRBC(String value) { + this.cBenefRBC = value; + } + + /** + * Obtém o valor da propriedade vbc. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Define o valor da propriedade vbc. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Obtém o valor da propriedade picms. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMS() { + return picms; + } + + /** + * Define o valor da propriedade picms. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMS(String value) { + this.picms = value; + } + + /** + * Obtém o valor da propriedade vicmsOp. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSOp() { + return vicmsOp; + } + + /** + * Define o valor da propriedade vicmsOp. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSOp(String value) { + this.vicmsOp = value; + } + + /** + * Obtém o valor da propriedade pDif. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPDif() { + return pDif; + } + + /** + * Define o valor da propriedade pDif. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPDif(String value) { + this.pDif = value; + } + + /** + * Obtém o valor da propriedade vicmsDif. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSDif() { + return vicmsDif; + } + + /** + * Define o valor da propriedade vicmsDif. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSDif(String value) { + this.vicmsDif = value; + } + + /** + * Obtém o valor da propriedade vicms. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMS() { + return vicms; + } + + /** + * Define o valor da propriedade vicms. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMS(String value) { + this.vicms = value; + } + + /** + * Obtém o valor da propriedade vbcfcp. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCFCP() { + return vbcfcp; + } + + /** + * Define o valor da propriedade vbcfcp. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCFCP(String value) { + this.vbcfcp = value; + } + + /** + * Obtém o valor da propriedade pfcp. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPFCP() { + return pfcp; + } + + /** + * Define o valor da propriedade pfcp. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPFCP(String value) { + this.pfcp = value; + } + + /** + * Obtém o valor da propriedade vfcp. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVFCP() { + return vfcp; + } + + /** + * Define o valor da propriedade vfcp. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVFCP(String value) { + this.vfcp = value; + } + + /** + * Obtém o valor da propriedade pfcpDif. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPFCPDif() { + return pfcpDif; + } + + /** + * Define o valor da propriedade pfcpDif. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPFCPDif(String value) { + this.pfcpDif = value; + } + + /** + * Obtém o valor da propriedade vfcpDif. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVFCPDif() { + return vfcpDif; + } + + /** + * Define o valor da propriedade vfcpDif. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVFCPDif(String value) { + this.vfcpDif = value; + } + + /** + * Obtém o valor da propriedade vfcpEfet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVFCPEfet() { + return vfcpEfet; + } + + /** + * Define o valor da propriedade vfcpEfet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVFCPEfet(String value) { + this.vfcpEfet = value; + } + + } + + + /** + *

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="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                     *         <element name="CST">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="53"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="qBCMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+                     *         <element name="adRemICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
+                     *         <element name="vICMSMonoOp" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+                     *         <element name="pDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
+                     *         <element name="vICMSMonoDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+                     *         <element name="vICMSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+                     *         <element name="qBCMonoDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+                     *         <element name="adRemICMSDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "orig", + "cst", + "qbcMono", + "adRemICMS", + "vicmsMonoOp", + "pDif", + "vicmsMonoDif", + "vicmsMono", + "qbcMonoDif", + "adRemICMSDif" + }) + public static class ICMS53 { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String orig; + @XmlElement(name = "CST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cst; + @XmlElement(name = "qBCMono", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String qbcMono; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String adRemICMS; + @XmlElement(name = "vICMSMonoOp", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vicmsMonoOp; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pDif; + @XmlElement(name = "vICMSMonoDif", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vicmsMonoDif; + @XmlElement(name = "vICMSMono", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vicmsMono; + @XmlElement(name = "qBCMonoDif", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String qbcMonoDif; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String adRemICMSDif; + + /** + * Obtém o valor da propriedade orig. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrig() { + return orig; + } + + /** + * Define o valor da propriedade orig. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrig(String value) { + this.orig = value; + } + + /** + * Obtém o valor da propriedade cst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Define o valor da propriedade cst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Obtém o valor da propriedade qbcMono. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQBCMono() { + return qbcMono; + } + + /** + * Define o valor da propriedade qbcMono. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQBCMono(String value) { + this.qbcMono = value; + } + + /** + * Obtém o valor da propriedade adRemICMS. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAdRemICMS() { + return adRemICMS; + } + + /** + * Define o valor da propriedade adRemICMS. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAdRemICMS(String value) { + this.adRemICMS = value; + } + + /** + * Obtém o valor da propriedade vicmsMonoOp. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSMonoOp() { + return vicmsMonoOp; + } + + /** + * Define o valor da propriedade vicmsMonoOp. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSMonoOp(String value) { + this.vicmsMonoOp = value; + } + + /** + * Obtém o valor da propriedade pDif. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPDif() { + return pDif; + } + + /** + * Define o valor da propriedade pDif. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPDif(String value) { + this.pDif = value; + } + + /** + * Obtém o valor da propriedade vicmsMonoDif. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSMonoDif() { + return vicmsMonoDif; + } + + /** + * Define o valor da propriedade vicmsMonoDif. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSMonoDif(String value) { + this.vicmsMonoDif = value; + } + + /** + * Obtém o valor da propriedade vicmsMono. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSMono() { + return vicmsMono; + } + + /** + * Define o valor da propriedade vicmsMono. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSMono(String value) { + this.vicmsMono = value; + } + + /** + * Obtém o valor da propriedade qbcMonoDif. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQBCMonoDif() { + return qbcMonoDif; + } + + /** + * Define o valor da propriedade qbcMonoDif. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQBCMonoDif(String value) { + this.qbcMonoDif = value; + } + + /** + * Obtém o valor da propriedade adRemICMSDif. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAdRemICMSDif() { + return adRemICMSDif; + } + + /** + * Define o valor da propriedade adRemICMSDif. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAdRemICMSDif(String value) { + this.adRemICMSDif = value; + } + + } + + + /** + *

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="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                     *         <element name="CST">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="60"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <sequence minOccurs="0">
+                     *           <element name="vBCSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <element name="pST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                     *           <element name="vICMSSubstituto" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+                     *           <element name="vICMSSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         </sequence>
+                     *         <sequence minOccurs="0">
+                     *           <element name="vBCFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <element name="pFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                     *           <element name="vFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         </sequence>
+                     *         <sequence minOccurs="0">
+                     *           <element name="pRedBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                     *           <element name="vBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <element name="pICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                     *           <element name="vICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         </sequence>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "orig", + "cst", + "vbcstRet", + "pst", + "vicmsSubstituto", + "vicmsstRet", + "vbcfcpstRet", + "pfcpstRet", + "vfcpstRet", + "pRedBCEfet", + "vbcEfet", + "picmsEfet", + "vicmsEfet" + }) + public static class ICMS60 { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String orig; + @XmlElement(name = "CST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cst; + @XmlElement(name = "vBCSTRet", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbcstRet; + @XmlElement(name = "pST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pst; + @XmlElement(name = "vICMSSubstituto", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vicmsSubstituto; + @XmlElement(name = "vICMSSTRet", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vicmsstRet; + @XmlElement(name = "vBCFCPSTRet", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbcfcpstRet; + @XmlElement(name = "pFCPSTRet", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pfcpstRet; + @XmlElement(name = "vFCPSTRet", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vfcpstRet; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pRedBCEfet; + @XmlElement(name = "vBCEfet", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbcEfet; + @XmlElement(name = "pICMSEfet", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String picmsEfet; + @XmlElement(name = "vICMSEfet", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vicmsEfet; + + /** + * Obtém o valor da propriedade orig. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrig() { + return orig; + } + + /** + * Define o valor da propriedade orig. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrig(String value) { + this.orig = value; + } + + /** + * Obtém o valor da propriedade cst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Define o valor da propriedade cst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Obtém o valor da propriedade vbcstRet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCSTRet() { + return vbcstRet; + } + + /** + * Define o valor da propriedade vbcstRet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCSTRet(String value) { + this.vbcstRet = value; + } + + /** + * Obtém o valor da propriedade pst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPST() { + return pst; + } + + /** + * Define o valor da propriedade pst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPST(String value) { + this.pst = value; + } + + /** + * Obtém o valor da propriedade vicmsSubstituto. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSSubstituto() { + return vicmsSubstituto; + } + + /** + * Define o valor da propriedade vicmsSubstituto. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSSubstituto(String value) { + this.vicmsSubstituto = value; + } + + /** + * Obtém o valor da propriedade vicmsstRet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSSTRet() { + return vicmsstRet; + } + + /** + * Define o valor da propriedade vicmsstRet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSSTRet(String value) { + this.vicmsstRet = value; + } + + /** + * Obtém o valor da propriedade vbcfcpstRet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCFCPSTRet() { + return vbcfcpstRet; + } + + /** + * Define o valor da propriedade vbcfcpstRet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCFCPSTRet(String value) { + this.vbcfcpstRet = value; + } + + /** + * Obtém o valor da propriedade pfcpstRet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPFCPSTRet() { + return pfcpstRet; + } + + /** + * Define o valor da propriedade pfcpstRet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPFCPSTRet(String value) { + this.pfcpstRet = value; + } + + /** + * Obtém o valor da propriedade vfcpstRet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVFCPSTRet() { + return vfcpstRet; + } + + /** + * Define o valor da propriedade vfcpstRet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVFCPSTRet(String value) { + this.vfcpstRet = value; + } + + /** + * Obtém o valor da propriedade pRedBCEfet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPRedBCEfet() { + return pRedBCEfet; + } + + /** + * Define o valor da propriedade pRedBCEfet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPRedBCEfet(String value) { + this.pRedBCEfet = value; + } + + /** + * Obtém o valor da propriedade vbcEfet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCEfet() { + return vbcEfet; + } + + /** + * Define o valor da propriedade vbcEfet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCEfet(String value) { + this.vbcEfet = value; + } + + /** + * Obtém o valor da propriedade picmsEfet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMSEfet() { + return picmsEfet; + } + + /** + * Define o valor da propriedade picmsEfet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMSEfet(String value) { + this.picmsEfet = value; + } + + /** + * Obtém o valor da propriedade vicmsEfet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSEfet() { + return vicmsEfet; + } + + /** + * Define o valor da propriedade vicmsEfet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSEfet(String value) { + this.vicmsEfet = value; + } + + } + + + /** + *

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="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                     *         <element name="CST">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="61"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="qBCMonoRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
+                     *         <element name="adRemICMSRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                     *         <element name="vICMSMonoRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "orig", + "cst", + "qbcMonoRet", + "adRemICMSRet", + "vicmsMonoRet" + }) + public static class ICMS61 { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String orig; + @XmlElement(name = "CST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cst; + @XmlElement(name = "qBCMonoRet", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String qbcMonoRet; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String adRemICMSRet; + @XmlElement(name = "vICMSMonoRet", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vicmsMonoRet; + + /** + * Obtém o valor da propriedade orig. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrig() { + return orig; + } + + /** + * Define o valor da propriedade orig. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrig(String value) { + this.orig = value; + } + + /** + * Obtém o valor da propriedade cst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Define o valor da propriedade cst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Obtém o valor da propriedade qbcMonoRet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQBCMonoRet() { + return qbcMonoRet; + } + + /** + * Define o valor da propriedade qbcMonoRet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQBCMonoRet(String value) { + this.qbcMonoRet = value; + } + + /** + * Obtém o valor da propriedade adRemICMSRet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAdRemICMSRet() { + return adRemICMSRet; + } + + /** + * Define o valor da propriedade adRemICMSRet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAdRemICMSRet(String value) { + this.adRemICMSRet = value; + } + + /** + * Obtém o valor da propriedade vicmsMonoRet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSMonoRet() { + return vicmsMonoRet; + } + + /** + * Define o valor da propriedade vicmsMonoRet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSMonoRet(String value) { + this.vicmsMonoRet = value; + } + + } + + + /** + *

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="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                     *         <element name="CST">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="70"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="modBC">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="0"/>
+                     *               <enumeration value="1"/>
+                     *               <enumeration value="2"/>
+                     *               <enumeration value="3"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                     *         <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                     *         <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         <sequence minOccurs="0">
+                     *           <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                     *           <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         </sequence>
+                     *         <element name="modBCST">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="0"/>
+                     *               <enumeration value="1"/>
+                     *               <enumeration value="2"/>
+                     *               <enumeration value="3"/>
+                     *               <enumeration value="4"/>
+                     *               <enumeration value="5"/>
+                     *               <enumeration value="6"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                     *         <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                     *         <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                     *         <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         <sequence minOccurs="0">
+                     *           <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                     *           <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         </sequence>
+                     *         <sequence minOccurs="0">
+                     *           <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <element name="motDesICMS">
+                     *             <simpleType>
+                     *               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *                 <whiteSpace value="preserve"/>
+                     *                 <enumeration value="3"/>
+                     *                 <enumeration value="9"/>
+                     *                 <enumeration value="12"/>
+                     *               </restriction>
+                     *             </simpleType>
+                     *           </element>
+                     *           <element name="indDeduzDeson" minOccurs="0">
+                     *             <simpleType>
+                     *               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *                 <whiteSpace value="preserve"/>
+                     *                 <enumeration value="0"/>
+                     *                 <enumeration value="1"/>
+                     *               </restriction>
+                     *             </simpleType>
+                     *           </element>
+                     *         </sequence>
+                     *         <sequence minOccurs="0">
+                     *           <element name="vICMSSTDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <element name="motDesICMSST">
+                     *             <simpleType>
+                     *               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *                 <whiteSpace value="preserve"/>
+                     *                 <enumeration value="3"/>
+                     *                 <enumeration value="9"/>
+                     *                 <enumeration value="12"/>
+                     *               </restriction>
+                     *             </simpleType>
+                     *           </element>
+                     *         </sequence>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "orig", + "cst", + "modBC", + "pRedBC", + "vbc", + "picms", + "vicms", + "vbcfcp", + "pfcp", + "vfcp", + "modBCST", + "pmvast", + "pRedBCST", + "vbcst", + "picmsst", + "vicmsst", + "vbcfcpst", + "pfcpst", + "vfcpst", + "vicmsDeson", + "motDesICMS", + "indDeduzDeson", + "vicmsstDeson", + "motDesICMSST" + }) + public static class ICMS70 { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String orig; + @XmlElement(name = "CST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cst; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String modBC; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String pRedBC; + @XmlElement(name = "vBC", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vbc; + @XmlElement(name = "pICMS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String picms; + @XmlElement(name = "vICMS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vicms; + @XmlElement(name = "vBCFCP", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbcfcp; + @XmlElement(name = "pFCP", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pfcp; + @XmlElement(name = "vFCP", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vfcp; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String modBCST; + @XmlElement(name = "pMVAST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pmvast; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pRedBCST; + @XmlElement(name = "vBCST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vbcst; + @XmlElement(name = "pICMSST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String picmsst; + @XmlElement(name = "vICMSST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vicmsst; + @XmlElement(name = "vBCFCPST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbcfcpst; + @XmlElement(name = "pFCPST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pfcpst; + @XmlElement(name = "vFCPST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vfcpst; + @XmlElement(name = "vICMSDeson", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vicmsDeson; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String motDesICMS; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String indDeduzDeson; + @XmlElement(name = "vICMSSTDeson", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vicmsstDeson; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String motDesICMSST; + + /** + * Obtém o valor da propriedade orig. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrig() { + return orig; + } + + /** + * Define o valor da propriedade orig. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrig(String value) { + this.orig = value; + } + + /** + * Obtém o valor da propriedade cst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Define o valor da propriedade cst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Obtém o valor da propriedade modBC. + * + * @return + * possible object is + * {@link String } + * + */ + public String getModBC() { + return modBC; + } + + /** + * Define o valor da propriedade modBC. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setModBC(String value) { + this.modBC = value; + } + + /** + * Obtém o valor da propriedade pRedBC. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPRedBC() { + return pRedBC; + } + + /** + * Define o valor da propriedade pRedBC. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPRedBC(String value) { + this.pRedBC = value; + } + + /** + * Obtém o valor da propriedade vbc. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Define o valor da propriedade vbc. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Obtém o valor da propriedade picms. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMS() { + return picms; + } + + /** + * Define o valor da propriedade picms. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMS(String value) { + this.picms = value; + } + + /** + * Obtém o valor da propriedade vicms. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMS() { + return vicms; + } + + /** + * Define o valor da propriedade vicms. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMS(String value) { + this.vicms = value; + } + + /** + * Obtém o valor da propriedade vbcfcp. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCFCP() { + return vbcfcp; + } + + /** + * Define o valor da propriedade vbcfcp. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCFCP(String value) { + this.vbcfcp = value; + } + + /** + * Obtém o valor da propriedade pfcp. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPFCP() { + return pfcp; + } + + /** + * Define o valor da propriedade pfcp. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPFCP(String value) { + this.pfcp = value; + } + + /** + * Obtém o valor da propriedade vfcp. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVFCP() { + return vfcp; + } + + /** + * Define o valor da propriedade vfcp. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVFCP(String value) { + this.vfcp = value; + } + + /** + * Obtém o valor da propriedade modBCST. + * + * @return + * possible object is + * {@link String } + * + */ + public String getModBCST() { + return modBCST; + } + + /** + * Define o valor da propriedade modBCST. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setModBCST(String value) { + this.modBCST = value; + } + + /** + * Obtém o valor da propriedade pmvast. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPMVAST() { + return pmvast; + } + + /** + * Define o valor da propriedade pmvast. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPMVAST(String value) { + this.pmvast = value; + } + + /** + * Obtém o valor da propriedade pRedBCST. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPRedBCST() { + return pRedBCST; + } + + /** + * Define o valor da propriedade pRedBCST. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPRedBCST(String value) { + this.pRedBCST = value; + } + + /** + * Obtém o valor da propriedade vbcst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCST() { + return vbcst; + } + + /** + * Define o valor da propriedade vbcst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCST(String value) { + this.vbcst = value; + } + + /** + * Obtém o valor da propriedade picmsst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMSST() { + return picmsst; + } + + /** + * Define o valor da propriedade picmsst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMSST(String value) { + this.picmsst = value; + } + + /** + * Obtém o valor da propriedade vicmsst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSST() { + return vicmsst; + } + + /** + * Define o valor da propriedade vicmsst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSST(String value) { + this.vicmsst = value; + } + + /** + * Obtém o valor da propriedade vbcfcpst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCFCPST() { + return vbcfcpst; + } + + /** + * Define o valor da propriedade vbcfcpst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCFCPST(String value) { + this.vbcfcpst = value; + } + + /** + * Obtém o valor da propriedade pfcpst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPFCPST() { + return pfcpst; + } + + /** + * Define o valor da propriedade pfcpst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPFCPST(String value) { + this.pfcpst = value; + } + + /** + * Obtém o valor da propriedade vfcpst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVFCPST() { + return vfcpst; + } + + /** + * Define o valor da propriedade vfcpst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVFCPST(String value) { + this.vfcpst = value; + } + + /** + * Obtém o valor da propriedade vicmsDeson. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSDeson() { + return vicmsDeson; + } + + /** + * Define o valor da propriedade vicmsDeson. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSDeson(String value) { + this.vicmsDeson = value; + } + + /** + * Obtém o valor da propriedade motDesICMS. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMotDesICMS() { + return motDesICMS; + } + + /** + * Define o valor da propriedade motDesICMS. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMotDesICMS(String value) { + this.motDesICMS = value; + } + + /** + * Obtém o valor da propriedade indDeduzDeson. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndDeduzDeson() { + return indDeduzDeson; + } + + /** + * Define o valor da propriedade indDeduzDeson. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndDeduzDeson(String value) { + this.indDeduzDeson = value; + } + + /** + * Obtém o valor da propriedade vicmsstDeson. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSSTDeson() { + return vicmsstDeson; + } + + /** + * Define o valor da propriedade vicmsstDeson. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSSTDeson(String value) { + this.vicmsstDeson = value; + } + + /** + * Obtém o valor da propriedade motDesICMSST. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMotDesICMSST() { + return motDesICMSST; + } + + /** + * Define o valor da propriedade motDesICMSST. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMotDesICMSST(String value) { + this.motDesICMSST = value; + } + + } + + + /** + *

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="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                     *         <element name="CST">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="90"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <sequence minOccurs="0">
+                     *           <element name="modBC">
+                     *             <simpleType>
+                     *               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *                 <whiteSpace value="preserve"/>
+                     *                 <enumeration value="0"/>
+                     *                 <enumeration value="1"/>
+                     *                 <enumeration value="2"/>
+                     *                 <enumeration value="3"/>
+                     *               </restriction>
+                     *             </simpleType>
+                     *           </element>
+                     *           <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                     *           <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                     *           <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <sequence minOccurs="0">
+                     *             <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *             <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                     *             <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           </sequence>
+                     *         </sequence>
+                     *         <sequence minOccurs="0">
+                     *           <element name="modBCST">
+                     *             <simpleType>
+                     *               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *                 <whiteSpace value="preserve"/>
+                     *                 <enumeration value="0"/>
+                     *                 <enumeration value="1"/>
+                     *                 <enumeration value="2"/>
+                     *                 <enumeration value="3"/>
+                     *                 <enumeration value="4"/>
+                     *                 <enumeration value="5"/>
+                     *                 <enumeration value="6"/>
+                     *               </restriction>
+                     *             </simpleType>
+                     *           </element>
+                     *           <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                     *           <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                     *           <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                     *           <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <sequence minOccurs="0">
+                     *             <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *             <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                     *             <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           </sequence>
+                     *         </sequence>
+                     *         <sequence minOccurs="0">
+                     *           <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <element name="motDesICMS">
+                     *             <simpleType>
+                     *               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *                 <whiteSpace value="preserve"/>
+                     *                 <enumeration value="3"/>
+                     *                 <enumeration value="9"/>
+                     *                 <enumeration value="12"/>
+                     *               </restriction>
+                     *             </simpleType>
+                     *           </element>
+                     *           <element name="indDeduzDeson" minOccurs="0">
+                     *             <simpleType>
+                     *               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *                 <whiteSpace value="preserve"/>
+                     *                 <enumeration value="0"/>
+                     *                 <enumeration value="1"/>
+                     *               </restriction>
+                     *             </simpleType>
+                     *           </element>
+                     *         </sequence>
+                     *         <sequence minOccurs="0">
+                     *           <element name="vICMSSTDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <element name="motDesICMSST">
+                     *             <simpleType>
+                     *               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *                 <whiteSpace value="preserve"/>
+                     *                 <enumeration value="3"/>
+                     *                 <enumeration value="9"/>
+                     *                 <enumeration value="12"/>
+                     *               </restriction>
+                     *             </simpleType>
+                     *           </element>
+                     *         </sequence>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "orig", + "cst", + "modBC", + "vbc", + "pRedBC", + "picms", + "vicms", + "vbcfcp", + "pfcp", + "vfcp", + "modBCST", + "pmvast", + "pRedBCST", + "vbcst", + "picmsst", + "vicmsst", + "vbcfcpst", + "pfcpst", + "vfcpst", + "vicmsDeson", + "motDesICMS", + "indDeduzDeson", + "vicmsstDeson", + "motDesICMSST" + }) + public static class ICMS90 { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String orig; + @XmlElement(name = "CST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cst; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String modBC; + @XmlElement(name = "vBC", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbc; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pRedBC; + @XmlElement(name = "pICMS", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String picms; + @XmlElement(name = "vICMS", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vicms; + @XmlElement(name = "vBCFCP", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbcfcp; + @XmlElement(name = "pFCP", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pfcp; + @XmlElement(name = "vFCP", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vfcp; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String modBCST; + @XmlElement(name = "pMVAST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pmvast; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pRedBCST; + @XmlElement(name = "vBCST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbcst; + @XmlElement(name = "pICMSST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String picmsst; + @XmlElement(name = "vICMSST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vicmsst; + @XmlElement(name = "vBCFCPST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbcfcpst; + @XmlElement(name = "pFCPST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pfcpst; + @XmlElement(name = "vFCPST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vfcpst; + @XmlElement(name = "vICMSDeson", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vicmsDeson; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String motDesICMS; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String indDeduzDeson; + @XmlElement(name = "vICMSSTDeson", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vicmsstDeson; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String motDesICMSST; + + /** + * Obtém o valor da propriedade orig. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrig() { + return orig; + } + + /** + * Define o valor da propriedade orig. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrig(String value) { + this.orig = value; + } + + /** + * Obtém o valor da propriedade cst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Define o valor da propriedade cst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Obtém o valor da propriedade modBC. + * + * @return + * possible object is + * {@link String } + * + */ + public String getModBC() { + return modBC; + } + + /** + * Define o valor da propriedade modBC. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setModBC(String value) { + this.modBC = value; + } + + /** + * Obtém o valor da propriedade vbc. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Define o valor da propriedade vbc. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Obtém o valor da propriedade pRedBC. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPRedBC() { + return pRedBC; + } + + /** + * Define o valor da propriedade pRedBC. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPRedBC(String value) { + this.pRedBC = value; + } + + /** + * Obtém o valor da propriedade picms. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMS() { + return picms; + } + + /** + * Define o valor da propriedade picms. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMS(String value) { + this.picms = value; + } + + /** + * Obtém o valor da propriedade vicms. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMS() { + return vicms; + } + + /** + * Define o valor da propriedade vicms. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMS(String value) { + this.vicms = value; + } + + /** + * Obtém o valor da propriedade vbcfcp. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCFCP() { + return vbcfcp; + } + + /** + * Define o valor da propriedade vbcfcp. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCFCP(String value) { + this.vbcfcp = value; + } + + /** + * Obtém o valor da propriedade pfcp. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPFCP() { + return pfcp; + } + + /** + * Define o valor da propriedade pfcp. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPFCP(String value) { + this.pfcp = value; + } + + /** + * Obtém o valor da propriedade vfcp. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVFCP() { + return vfcp; + } + + /** + * Define o valor da propriedade vfcp. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVFCP(String value) { + this.vfcp = value; + } + + /** + * Obtém o valor da propriedade modBCST. + * + * @return + * possible object is + * {@link String } + * + */ + public String getModBCST() { + return modBCST; + } + + /** + * Define o valor da propriedade modBCST. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setModBCST(String value) { + this.modBCST = value; + } + + /** + * Obtém o valor da propriedade pmvast. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPMVAST() { + return pmvast; + } + + /** + * Define o valor da propriedade pmvast. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPMVAST(String value) { + this.pmvast = value; + } + + /** + * Obtém o valor da propriedade pRedBCST. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPRedBCST() { + return pRedBCST; + } + + /** + * Define o valor da propriedade pRedBCST. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPRedBCST(String value) { + this.pRedBCST = value; + } + + /** + * Obtém o valor da propriedade vbcst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCST() { + return vbcst; + } + + /** + * Define o valor da propriedade vbcst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCST(String value) { + this.vbcst = value; + } + + /** + * Obtém o valor da propriedade picmsst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMSST() { + return picmsst; + } + + /** + * Define o valor da propriedade picmsst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMSST(String value) { + this.picmsst = value; + } + + /** + * Obtém o valor da propriedade vicmsst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSST() { + return vicmsst; + } + + /** + * Define o valor da propriedade vicmsst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSST(String value) { + this.vicmsst = value; + } + + /** + * Obtém o valor da propriedade vbcfcpst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCFCPST() { + return vbcfcpst; + } + + /** + * Define o valor da propriedade vbcfcpst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCFCPST(String value) { + this.vbcfcpst = value; + } + + /** + * Obtém o valor da propriedade pfcpst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPFCPST() { + return pfcpst; + } + + /** + * Define o valor da propriedade pfcpst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPFCPST(String value) { + this.pfcpst = value; + } + + /** + * Obtém o valor da propriedade vfcpst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVFCPST() { + return vfcpst; + } + + /** + * Define o valor da propriedade vfcpst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVFCPST(String value) { + this.vfcpst = value; + } + + /** + * Obtém o valor da propriedade vicmsDeson. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSDeson() { + return vicmsDeson; + } + + /** + * Define o valor da propriedade vicmsDeson. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSDeson(String value) { + this.vicmsDeson = value; + } + + /** + * Obtém o valor da propriedade motDesICMS. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMotDesICMS() { + return motDesICMS; + } + + /** + * Define o valor da propriedade motDesICMS. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMotDesICMS(String value) { + this.motDesICMS = value; + } + + /** + * Obtém o valor da propriedade indDeduzDeson. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndDeduzDeson() { + return indDeduzDeson; + } + + /** + * Define o valor da propriedade indDeduzDeson. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndDeduzDeson(String value) { + this.indDeduzDeson = value; + } + + /** + * Obtém o valor da propriedade vicmsstDeson. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSSTDeson() { + return vicmsstDeson; + } + + /** + * Define o valor da propriedade vicmsstDeson. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSSTDeson(String value) { + this.vicmsstDeson = value; + } + + /** + * Obtém o valor da propriedade motDesICMSST. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMotDesICMSST() { + return motDesICMSST; + } + + /** + * Define o valor da propriedade motDesICMSST. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMotDesICMSST(String value) { + this.motDesICMSST = value; + } + + } + + + /** + *

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="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                     *         <element name="CST">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="10"/>
+                     *               <enumeration value="90"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="modBC">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="0"/>
+                     *               <enumeration value="1"/>
+                     *               <enumeration value="2"/>
+                     *               <enumeration value="3"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                     *         <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                     *         <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         <element name="modBCST">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="0"/>
+                     *               <enumeration value="1"/>
+                     *               <enumeration value="2"/>
+                     *               <enumeration value="3"/>
+                     *               <enumeration value="4"/>
+                     *               <enumeration value="5"/>
+                     *               <enumeration value="6"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                     *         <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                     *         <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                     *         <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         <sequence minOccurs="0">
+                     *           <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                     *           <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         </sequence>
+                     *         <element name="pBCOp" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                     *         <element name="UFST" type="{http://www.portalfiscal.inf.br/nfe}TUf"/>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "orig", + "cst", + "modBC", + "vbc", + "pRedBC", + "picms", + "vicms", + "modBCST", + "pmvast", + "pRedBCST", + "vbcst", + "picmsst", + "vicmsst", + "vbcfcpst", + "pfcpst", + "vfcpst", + "pbcOp", + "ufst" + }) + public static class ICMSPart { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String orig; + @XmlElement(name = "CST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cst; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String modBC; + @XmlElement(name = "vBC", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vbc; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pRedBC; + @XmlElement(name = "pICMS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String picms; + @XmlElement(name = "vICMS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vicms; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String modBCST; + @XmlElement(name = "pMVAST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pmvast; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pRedBCST; + @XmlElement(name = "vBCST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vbcst; + @XmlElement(name = "pICMSST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String picmsst; + @XmlElement(name = "vICMSST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vicmsst; + @XmlElement(name = "vBCFCPST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbcfcpst; + @XmlElement(name = "pFCPST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pfcpst; + @XmlElement(name = "vFCPST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vfcpst; + @XmlElement(name = "pBCOp", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String pbcOp; + @XmlElement(name = "UFST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + @XmlSchemaType(name = "string") + protected TUf ufst; + + /** + * Obtém o valor da propriedade orig. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrig() { + return orig; + } + + /** + * Define o valor da propriedade orig. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrig(String value) { + this.orig = value; + } + + /** + * Obtém o valor da propriedade cst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Define o valor da propriedade cst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Obtém o valor da propriedade modBC. + * + * @return + * possible object is + * {@link String } + * + */ + public String getModBC() { + return modBC; + } + + /** + * Define o valor da propriedade modBC. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setModBC(String value) { + this.modBC = value; + } + + /** + * Obtém o valor da propriedade vbc. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Define o valor da propriedade vbc. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Obtém o valor da propriedade pRedBC. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPRedBC() { + return pRedBC; + } + + /** + * Define o valor da propriedade pRedBC. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPRedBC(String value) { + this.pRedBC = value; + } + + /** + * Obtém o valor da propriedade picms. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMS() { + return picms; + } + + /** + * Define o valor da propriedade picms. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMS(String value) { + this.picms = value; + } + + /** + * Obtém o valor da propriedade vicms. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMS() { + return vicms; + } + + /** + * Define o valor da propriedade vicms. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMS(String value) { + this.vicms = value; + } + + /** + * Obtém o valor da propriedade modBCST. + * + * @return + * possible object is + * {@link String } + * + */ + public String getModBCST() { + return modBCST; + } + + /** + * Define o valor da propriedade modBCST. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setModBCST(String value) { + this.modBCST = value; + } + + /** + * Obtém o valor da propriedade pmvast. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPMVAST() { + return pmvast; + } + + /** + * Define o valor da propriedade pmvast. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPMVAST(String value) { + this.pmvast = value; + } + + /** + * Obtém o valor da propriedade pRedBCST. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPRedBCST() { + return pRedBCST; + } + + /** + * Define o valor da propriedade pRedBCST. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPRedBCST(String value) { + this.pRedBCST = value; + } + + /** + * Obtém o valor da propriedade vbcst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCST() { + return vbcst; + } + + /** + * Define o valor da propriedade vbcst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCST(String value) { + this.vbcst = value; + } + + /** + * Obtém o valor da propriedade picmsst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMSST() { + return picmsst; + } + + /** + * Define o valor da propriedade picmsst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMSST(String value) { + this.picmsst = value; + } + + /** + * Obtém o valor da propriedade vicmsst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSST() { + return vicmsst; + } + + /** + * Define o valor da propriedade vicmsst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSST(String value) { + this.vicmsst = value; + } + + /** + * Obtém o valor da propriedade vbcfcpst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCFCPST() { + return vbcfcpst; + } + + /** + * Define o valor da propriedade vbcfcpst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCFCPST(String value) { + this.vbcfcpst = value; + } + + /** + * Obtém o valor da propriedade pfcpst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPFCPST() { + return pfcpst; + } + + /** + * Define o valor da propriedade pfcpst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPFCPST(String value) { + this.pfcpst = value; + } + + /** + * Obtém o valor da propriedade vfcpst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVFCPST() { + return vfcpst; + } + + /** + * Define o valor da propriedade vfcpst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVFCPST(String value) { + this.vfcpst = value; + } + + /** + * Obtém o valor da propriedade pbcOp. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPBCOp() { + return pbcOp; + } + + /** + * Define o valor da propriedade pbcOp. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPBCOp(String value) { + this.pbcOp = value; + } + + /** + * Obtém o valor da propriedade ufst. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUFST() { + return ufst; + } + + /** + * Define o valor da propriedade ufst. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUFST(TUf value) { + this.ufst = value; + } + + } + + + /** + *

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="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                     *         <element name="CSOSN">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="101"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="pCredSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                     *         <element name="vCredICMSSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "orig", + "csosn", + "pCredSN", + "vCredICMSSN" + }) + public static class ICMSSN101 { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String orig; + @XmlElement(name = "CSOSN", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String csosn; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String pCredSN; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vCredICMSSN; + + /** + * Obtém o valor da propriedade orig. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrig() { + return orig; + } + + /** + * Define o valor da propriedade orig. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrig(String value) { + this.orig = value; + } + + /** + * Obtém o valor da propriedade csosn. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCSOSN() { + return csosn; + } + + /** + * Define o valor da propriedade csosn. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCSOSN(String value) { + this.csosn = value; + } + + /** + * Obtém o valor da propriedade pCredSN. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPCredSN() { + return pCredSN; + } + + /** + * Define o valor da propriedade pCredSN. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPCredSN(String value) { + this.pCredSN = value; + } + + /** + * Obtém o valor da propriedade vCredICMSSN. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCredICMSSN() { + return vCredICMSSN; + } + + /** + * Define o valor da propriedade vCredICMSSN. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCredICMSSN(String value) { + this.vCredICMSSN = value; + } + + } + + + /** + *

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="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig" minOccurs="0"/>
+                     *         <element name="CSOSN">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="102"/>
+                     *               <enumeration value="103"/>
+                     *               <enumeration value="300"/>
+                     *               <enumeration value="400"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "orig", + "csosn" + }) + public static class ICMSSN102 { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String orig; + @XmlElement(name = "CSOSN", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String csosn; + + /** + * Obtém o valor da propriedade orig. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrig() { + return orig; + } + + /** + * Define o valor da propriedade orig. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrig(String value) { + this.orig = value; + } + + /** + * Obtém o valor da propriedade csosn. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCSOSN() { + return csosn; + } + + /** + * Define o valor da propriedade csosn. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCSOSN(String value) { + this.csosn = value; + } + + } + + + /** + *

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="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                     *         <element name="CSOSN">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="201"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="modBCST">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="0"/>
+                     *               <enumeration value="1"/>
+                     *               <enumeration value="2"/>
+                     *               <enumeration value="3"/>
+                     *               <enumeration value="4"/>
+                     *               <enumeration value="5"/>
+                     *               <enumeration value="6"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                     *         <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                     *         <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                     *         <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         <sequence minOccurs="0">
+                     *           <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                     *           <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         </sequence>
+                     *         <element name="pCredSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                     *         <element name="vCredICMSSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "orig", + "csosn", + "modBCST", + "pmvast", + "pRedBCST", + "vbcst", + "picmsst", + "vicmsst", + "vbcfcpst", + "pfcpst", + "vfcpst", + "pCredSN", + "vCredICMSSN" + }) + public static class ICMSSN201 { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String orig; + @XmlElement(name = "CSOSN", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String csosn; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String modBCST; + @XmlElement(name = "pMVAST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pmvast; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pRedBCST; + @XmlElement(name = "vBCST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vbcst; + @XmlElement(name = "pICMSST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String picmsst; + @XmlElement(name = "vICMSST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vicmsst; + @XmlElement(name = "vBCFCPST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbcfcpst; + @XmlElement(name = "pFCPST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pfcpst; + @XmlElement(name = "vFCPST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vfcpst; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String pCredSN; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vCredICMSSN; + + /** + * Obtém o valor da propriedade orig. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrig() { + return orig; + } + + /** + * Define o valor da propriedade orig. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrig(String value) { + this.orig = value; + } + + /** + * Obtém o valor da propriedade csosn. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCSOSN() { + return csosn; + } + + /** + * Define o valor da propriedade csosn. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCSOSN(String value) { + this.csosn = value; + } + + /** + * Obtém o valor da propriedade modBCST. + * + * @return + * possible object is + * {@link String } + * + */ + public String getModBCST() { + return modBCST; + } + + /** + * Define o valor da propriedade modBCST. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setModBCST(String value) { + this.modBCST = value; + } + + /** + * Obtém o valor da propriedade pmvast. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPMVAST() { + return pmvast; + } + + /** + * Define o valor da propriedade pmvast. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPMVAST(String value) { + this.pmvast = value; + } + + /** + * Obtém o valor da propriedade pRedBCST. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPRedBCST() { + return pRedBCST; + } + + /** + * Define o valor da propriedade pRedBCST. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPRedBCST(String value) { + this.pRedBCST = value; + } + + /** + * Obtém o valor da propriedade vbcst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCST() { + return vbcst; + } + + /** + * Define o valor da propriedade vbcst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCST(String value) { + this.vbcst = value; + } + + /** + * Obtém o valor da propriedade picmsst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMSST() { + return picmsst; + } + + /** + * Define o valor da propriedade picmsst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMSST(String value) { + this.picmsst = value; + } + + /** + * Obtém o valor da propriedade vicmsst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSST() { + return vicmsst; + } + + /** + * Define o valor da propriedade vicmsst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSST(String value) { + this.vicmsst = value; + } + + /** + * Obtém o valor da propriedade vbcfcpst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCFCPST() { + return vbcfcpst; + } + + /** + * Define o valor da propriedade vbcfcpst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCFCPST(String value) { + this.vbcfcpst = value; + } + + /** + * Obtém o valor da propriedade pfcpst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPFCPST() { + return pfcpst; + } + + /** + * Define o valor da propriedade pfcpst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPFCPST(String value) { + this.pfcpst = value; + } + + /** + * Obtém o valor da propriedade vfcpst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVFCPST() { + return vfcpst; + } + + /** + * Define o valor da propriedade vfcpst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVFCPST(String value) { + this.vfcpst = value; + } + + /** + * Obtém o valor da propriedade pCredSN. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPCredSN() { + return pCredSN; + } + + /** + * Define o valor da propriedade pCredSN. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPCredSN(String value) { + this.pCredSN = value; + } + + /** + * Obtém o valor da propriedade vCredICMSSN. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCredICMSSN() { + return vCredICMSSN; + } + + /** + * Define o valor da propriedade vCredICMSSN. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCredICMSSN(String value) { + this.vCredICMSSN = value; + } + + } + + + /** + *

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="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                     *         <element name="CSOSN">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="202"/>
+                     *               <enumeration value="203"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="modBCST">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="0"/>
+                     *               <enumeration value="1"/>
+                     *               <enumeration value="2"/>
+                     *               <enumeration value="3"/>
+                     *               <enumeration value="4"/>
+                     *               <enumeration value="5"/>
+                     *               <enumeration value="6"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                     *         <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                     *         <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                     *         <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         <sequence minOccurs="0">
+                     *           <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                     *           <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         </sequence>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "orig", + "csosn", + "modBCST", + "pmvast", + "pRedBCST", + "vbcst", + "picmsst", + "vicmsst", + "vbcfcpst", + "pfcpst", + "vfcpst" + }) + public static class ICMSSN202 { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String orig; + @XmlElement(name = "CSOSN", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String csosn; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String modBCST; + @XmlElement(name = "pMVAST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pmvast; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pRedBCST; + @XmlElement(name = "vBCST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vbcst; + @XmlElement(name = "pICMSST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String picmsst; + @XmlElement(name = "vICMSST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vicmsst; + @XmlElement(name = "vBCFCPST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbcfcpst; + @XmlElement(name = "pFCPST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pfcpst; + @XmlElement(name = "vFCPST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vfcpst; + + /** + * Obtém o valor da propriedade orig. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrig() { + return orig; + } + + /** + * Define o valor da propriedade orig. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrig(String value) { + this.orig = value; + } + + /** + * Obtém o valor da propriedade csosn. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCSOSN() { + return csosn; + } + + /** + * Define o valor da propriedade csosn. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCSOSN(String value) { + this.csosn = value; + } + + /** + * Obtém o valor da propriedade modBCST. + * + * @return + * possible object is + * {@link String } + * + */ + public String getModBCST() { + return modBCST; + } + + /** + * Define o valor da propriedade modBCST. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setModBCST(String value) { + this.modBCST = value; + } + + /** + * Obtém o valor da propriedade pmvast. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPMVAST() { + return pmvast; + } + + /** + * Define o valor da propriedade pmvast. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPMVAST(String value) { + this.pmvast = value; + } + + /** + * Obtém o valor da propriedade pRedBCST. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPRedBCST() { + return pRedBCST; + } + + /** + * Define o valor da propriedade pRedBCST. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPRedBCST(String value) { + this.pRedBCST = value; + } + + /** + * Obtém o valor da propriedade vbcst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCST() { + return vbcst; + } + + /** + * Define o valor da propriedade vbcst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCST(String value) { + this.vbcst = value; + } + + /** + * Obtém o valor da propriedade picmsst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMSST() { + return picmsst; + } + + /** + * Define o valor da propriedade picmsst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMSST(String value) { + this.picmsst = value; + } + + /** + * Obtém o valor da propriedade vicmsst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSST() { + return vicmsst; + } + + /** + * Define o valor da propriedade vicmsst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSST(String value) { + this.vicmsst = value; + } + + /** + * Obtém o valor da propriedade vbcfcpst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCFCPST() { + return vbcfcpst; + } + + /** + * Define o valor da propriedade vbcfcpst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCFCPST(String value) { + this.vbcfcpst = value; + } + + /** + * Obtém o valor da propriedade pfcpst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPFCPST() { + return pfcpst; + } + + /** + * Define o valor da propriedade pfcpst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPFCPST(String value) { + this.pfcpst = value; + } + + /** + * Obtém o valor da propriedade vfcpst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVFCPST() { + return vfcpst; + } + + /** + * Define o valor da propriedade vfcpst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVFCPST(String value) { + this.vfcpst = value; + } + + } + + + /** + *

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="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                     *         <element name="CSOSN">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="500"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <sequence minOccurs="0">
+                     *           <element name="vBCSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <element name="pST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                     *           <element name="vICMSSubstituto" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+                     *           <element name="vICMSSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         </sequence>
+                     *         <sequence minOccurs="0">
+                     *           <element name="vBCFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <element name="pFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                     *           <element name="vFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         </sequence>
+                     *         <sequence minOccurs="0">
+                     *           <element name="pRedBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                     *           <element name="vBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <element name="pICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                     *           <element name="vICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         </sequence>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "orig", + "csosn", + "vbcstRet", + "pst", + "vicmsSubstituto", + "vicmsstRet", + "vbcfcpstRet", + "pfcpstRet", + "vfcpstRet", + "pRedBCEfet", + "vbcEfet", + "picmsEfet", + "vicmsEfet" + }) + public static class ICMSSN500 { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String orig; + @XmlElement(name = "CSOSN", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String csosn; + @XmlElement(name = "vBCSTRet", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbcstRet; + @XmlElement(name = "pST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pst; + @XmlElement(name = "vICMSSubstituto", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vicmsSubstituto; + @XmlElement(name = "vICMSSTRet", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vicmsstRet; + @XmlElement(name = "vBCFCPSTRet", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbcfcpstRet; + @XmlElement(name = "pFCPSTRet", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pfcpstRet; + @XmlElement(name = "vFCPSTRet", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vfcpstRet; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pRedBCEfet; + @XmlElement(name = "vBCEfet", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbcEfet; + @XmlElement(name = "pICMSEfet", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String picmsEfet; + @XmlElement(name = "vICMSEfet", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vicmsEfet; + + /** + * Obtém o valor da propriedade orig. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrig() { + return orig; + } + + /** + * Define o valor da propriedade orig. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrig(String value) { + this.orig = value; + } + + /** + * Obtém o valor da propriedade csosn. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCSOSN() { + return csosn; + } + + /** + * Define o valor da propriedade csosn. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCSOSN(String value) { + this.csosn = value; + } + + /** + * Obtém o valor da propriedade vbcstRet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCSTRet() { + return vbcstRet; + } + + /** + * Define o valor da propriedade vbcstRet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCSTRet(String value) { + this.vbcstRet = value; + } + + /** + * Obtém o valor da propriedade pst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPST() { + return pst; + } + + /** + * Define o valor da propriedade pst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPST(String value) { + this.pst = value; + } + + /** + * Obtém o valor da propriedade vicmsSubstituto. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSSubstituto() { + return vicmsSubstituto; + } + + /** + * Define o valor da propriedade vicmsSubstituto. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSSubstituto(String value) { + this.vicmsSubstituto = value; + } + + /** + * Obtém o valor da propriedade vicmsstRet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSSTRet() { + return vicmsstRet; + } + + /** + * Define o valor da propriedade vicmsstRet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSSTRet(String value) { + this.vicmsstRet = value; + } + + /** + * Obtém o valor da propriedade vbcfcpstRet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCFCPSTRet() { + return vbcfcpstRet; + } + + /** + * Define o valor da propriedade vbcfcpstRet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCFCPSTRet(String value) { + this.vbcfcpstRet = value; + } + + /** + * Obtém o valor da propriedade pfcpstRet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPFCPSTRet() { + return pfcpstRet; + } + + /** + * Define o valor da propriedade pfcpstRet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPFCPSTRet(String value) { + this.pfcpstRet = value; + } + + /** + * Obtém o valor da propriedade vfcpstRet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVFCPSTRet() { + return vfcpstRet; + } + + /** + * Define o valor da propriedade vfcpstRet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVFCPSTRet(String value) { + this.vfcpstRet = value; + } + + /** + * Obtém o valor da propriedade pRedBCEfet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPRedBCEfet() { + return pRedBCEfet; + } + + /** + * Define o valor da propriedade pRedBCEfet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPRedBCEfet(String value) { + this.pRedBCEfet = value; + } + + /** + * Obtém o valor da propriedade vbcEfet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCEfet() { + return vbcEfet; + } + + /** + * Define o valor da propriedade vbcEfet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCEfet(String value) { + this.vbcEfet = value; + } + + /** + * Obtém o valor da propriedade picmsEfet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMSEfet() { + return picmsEfet; + } + + /** + * Define o valor da propriedade picmsEfet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMSEfet(String value) { + this.picmsEfet = value; + } + + /** + * Obtém o valor da propriedade vicmsEfet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSEfet() { + return vicmsEfet; + } + + /** + * Define o valor da propriedade vicmsEfet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSEfet(String value) { + this.vicmsEfet = value; + } + + } + + + /** + *

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="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig" minOccurs="0"/>
+                     *         <element name="CSOSN">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="900"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <sequence minOccurs="0">
+                     *           <element name="modBC">
+                     *             <simpleType>
+                     *               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *                 <whiteSpace value="preserve"/>
+                     *                 <enumeration value="0"/>
+                     *                 <enumeration value="1"/>
+                     *                 <enumeration value="2"/>
+                     *                 <enumeration value="3"/>
+                     *               </restriction>
+                     *             </simpleType>
+                     *           </element>
+                     *           <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                     *           <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                     *           <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         </sequence>
+                     *         <sequence minOccurs="0">
+                     *           <element name="modBCST">
+                     *             <simpleType>
+                     *               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *                 <whiteSpace value="preserve"/>
+                     *                 <enumeration value="0"/>
+                     *                 <enumeration value="1"/>
+                     *                 <enumeration value="2"/>
+                     *                 <enumeration value="3"/>
+                     *                 <enumeration value="4"/>
+                     *                 <enumeration value="5"/>
+                     *                 <enumeration value="6"/>
+                     *               </restriction>
+                     *             </simpleType>
+                     *           </element>
+                     *           <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                     *           <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                     *           <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                     *           <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <sequence minOccurs="0">
+                     *             <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *             <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                     *             <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           </sequence>
+                     *         </sequence>
+                     *         <sequence minOccurs="0">
+                     *           <element name="pCredSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                     *           <element name="vCredICMSSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         </sequence>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "orig", + "csosn", + "modBC", + "vbc", + "pRedBC", + "picms", + "vicms", + "modBCST", + "pmvast", + "pRedBCST", + "vbcst", + "picmsst", + "vicmsst", + "vbcfcpst", + "pfcpst", + "vfcpst", + "pCredSN", + "vCredICMSSN" + }) + public static class ICMSSN900 { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String orig; + @XmlElement(name = "CSOSN", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String csosn; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String modBC; + @XmlElement(name = "vBC", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbc; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pRedBC; + @XmlElement(name = "pICMS", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String picms; + @XmlElement(name = "vICMS", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vicms; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String modBCST; + @XmlElement(name = "pMVAST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pmvast; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pRedBCST; + @XmlElement(name = "vBCST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbcst; + @XmlElement(name = "pICMSST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String picmsst; + @XmlElement(name = "vICMSST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vicmsst; + @XmlElement(name = "vBCFCPST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbcfcpst; + @XmlElement(name = "pFCPST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pfcpst; + @XmlElement(name = "vFCPST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vfcpst; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pCredSN; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vCredICMSSN; + + /** + * Obtém o valor da propriedade orig. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrig() { + return orig; + } + + /** + * Define o valor da propriedade orig. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrig(String value) { + this.orig = value; + } + + /** + * Obtém o valor da propriedade csosn. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCSOSN() { + return csosn; + } + + /** + * Define o valor da propriedade csosn. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCSOSN(String value) { + this.csosn = value; + } + + /** + * Obtém o valor da propriedade modBC. + * + * @return + * possible object is + * {@link String } + * + */ + public String getModBC() { + return modBC; + } + + /** + * Define o valor da propriedade modBC. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setModBC(String value) { + this.modBC = value; + } + + /** + * Obtém o valor da propriedade vbc. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Define o valor da propriedade vbc. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Obtém o valor da propriedade pRedBC. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPRedBC() { + return pRedBC; + } + + /** + * Define o valor da propriedade pRedBC. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPRedBC(String value) { + this.pRedBC = value; + } + + /** + * Obtém o valor da propriedade picms. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMS() { + return picms; + } + + /** + * Define o valor da propriedade picms. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMS(String value) { + this.picms = value; + } + + /** + * Obtém o valor da propriedade vicms. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMS() { + return vicms; + } + + /** + * Define o valor da propriedade vicms. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMS(String value) { + this.vicms = value; + } + + /** + * Obtém o valor da propriedade modBCST. + * + * @return + * possible object is + * {@link String } + * + */ + public String getModBCST() { + return modBCST; + } + + /** + * Define o valor da propriedade modBCST. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setModBCST(String value) { + this.modBCST = value; + } + + /** + * Obtém o valor da propriedade pmvast. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPMVAST() { + return pmvast; + } + + /** + * Define o valor da propriedade pmvast. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPMVAST(String value) { + this.pmvast = value; + } + + /** + * Obtém o valor da propriedade pRedBCST. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPRedBCST() { + return pRedBCST; + } + + /** + * Define o valor da propriedade pRedBCST. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPRedBCST(String value) { + this.pRedBCST = value; + } + + /** + * Obtém o valor da propriedade vbcst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCST() { + return vbcst; + } + + /** + * Define o valor da propriedade vbcst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCST(String value) { + this.vbcst = value; + } + + /** + * Obtém o valor da propriedade picmsst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMSST() { + return picmsst; + } + + /** + * Define o valor da propriedade picmsst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMSST(String value) { + this.picmsst = value; + } + + /** + * Obtém o valor da propriedade vicmsst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSST() { + return vicmsst; + } + + /** + * Define o valor da propriedade vicmsst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSST(String value) { + this.vicmsst = value; + } + + /** + * Obtém o valor da propriedade vbcfcpst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCFCPST() { + return vbcfcpst; + } + + /** + * Define o valor da propriedade vbcfcpst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCFCPST(String value) { + this.vbcfcpst = value; + } + + /** + * Obtém o valor da propriedade pfcpst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPFCPST() { + return pfcpst; + } + + /** + * Define o valor da propriedade pfcpst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPFCPST(String value) { + this.pfcpst = value; + } + + /** + * Obtém o valor da propriedade vfcpst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVFCPST() { + return vfcpst; + } + + /** + * Define o valor da propriedade vfcpst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVFCPST(String value) { + this.vfcpst = value; + } + + /** + * Obtém o valor da propriedade pCredSN. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPCredSN() { + return pCredSN; + } + + /** + * Define o valor da propriedade pCredSN. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPCredSN(String value) { + this.pCredSN = value; + } + + /** + * Obtém o valor da propriedade vCredICMSSN. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCredICMSSN() { + return vCredICMSSN; + } + + /** + * Define o valor da propriedade vCredICMSSN. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCredICMSSN(String value) { + this.vCredICMSSN = value; + } + + } + + + /** + *

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="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
+                     *         <element name="CST">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="41"/>
+                     *               <enumeration value="60"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="vBCSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         <element name="pST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
+                     *         <element name="vICMSSubstituto" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+                     *         <element name="vICMSSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         <sequence minOccurs="0">
+                     *           <element name="vBCFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <element name="pFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                     *           <element name="vFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         </sequence>
+                     *         <element name="vBCSTDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         <element name="vICMSSTDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         <sequence minOccurs="0">
+                     *           <element name="pRedBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                     *           <element name="vBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *           <element name="pICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
+                     *           <element name="vICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         </sequence>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "orig", + "cst", + "vbcstRet", + "pst", + "vicmsSubstituto", + "vicmsstRet", + "vbcfcpstRet", + "pfcpstRet", + "vfcpstRet", + "vbcstDest", + "vicmsstDest", + "pRedBCEfet", + "vbcEfet", + "picmsEfet", + "vicmsEfet" + }) + public static class ICMSST { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String orig; + @XmlElement(name = "CST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cst; + @XmlElement(name = "vBCSTRet", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vbcstRet; + @XmlElement(name = "pST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pst; + @XmlElement(name = "vICMSSubstituto", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vicmsSubstituto; + @XmlElement(name = "vICMSSTRet", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vicmsstRet; + @XmlElement(name = "vBCFCPSTRet", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbcfcpstRet; + @XmlElement(name = "pFCPSTRet", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pfcpstRet; + @XmlElement(name = "vFCPSTRet", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vfcpstRet; + @XmlElement(name = "vBCSTDest", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vbcstDest; + @XmlElement(name = "vICMSSTDest", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vicmsstDest; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pRedBCEfet; + @XmlElement(name = "vBCEfet", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbcEfet; + @XmlElement(name = "pICMSEfet", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String picmsEfet; + @XmlElement(name = "vICMSEfet", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vicmsEfet; + + /** + * Obtém o valor da propriedade orig. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrig() { + return orig; + } + + /** + * Define o valor da propriedade orig. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrig(String value) { + this.orig = value; + } + + /** + * Obtém o valor da propriedade cst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Define o valor da propriedade cst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Obtém o valor da propriedade vbcstRet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCSTRet() { + return vbcstRet; + } + + /** + * Define o valor da propriedade vbcstRet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCSTRet(String value) { + this.vbcstRet = value; + } + + /** + * Obtém o valor da propriedade pst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPST() { + return pst; + } + + /** + * Define o valor da propriedade pst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPST(String value) { + this.pst = value; + } + + /** + * Obtém o valor da propriedade vicmsSubstituto. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSSubstituto() { + return vicmsSubstituto; + } + + /** + * Define o valor da propriedade vicmsSubstituto. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSSubstituto(String value) { + this.vicmsSubstituto = value; + } + + /** + * Obtém o valor da propriedade vicmsstRet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSSTRet() { + return vicmsstRet; + } + + /** + * Define o valor da propriedade vicmsstRet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSSTRet(String value) { + this.vicmsstRet = value; + } + + /** + * Obtém o valor da propriedade vbcfcpstRet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCFCPSTRet() { + return vbcfcpstRet; + } + + /** + * Define o valor da propriedade vbcfcpstRet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCFCPSTRet(String value) { + this.vbcfcpstRet = value; + } + + /** + * Obtém o valor da propriedade pfcpstRet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPFCPSTRet() { + return pfcpstRet; + } + + /** + * Define o valor da propriedade pfcpstRet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPFCPSTRet(String value) { + this.pfcpstRet = value; + } + + /** + * Obtém o valor da propriedade vfcpstRet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVFCPSTRet() { + return vfcpstRet; + } + + /** + * Define o valor da propriedade vfcpstRet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVFCPSTRet(String value) { + this.vfcpstRet = value; + } + + /** + * Obtém o valor da propriedade vbcstDest. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCSTDest() { + return vbcstDest; + } + + /** + * Define o valor da propriedade vbcstDest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCSTDest(String value) { + this.vbcstDest = value; + } + + /** + * Obtém o valor da propriedade vicmsstDest. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSSTDest() { + return vicmsstDest; + } + + /** + * Define o valor da propriedade vicmsstDest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSSTDest(String value) { + this.vicmsstDest = value; + } + + /** + * Obtém o valor da propriedade pRedBCEfet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPRedBCEfet() { + return pRedBCEfet; + } + + /** + * Define o valor da propriedade pRedBCEfet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPRedBCEfet(String value) { + this.pRedBCEfet = value; + } + + /** + * Obtém o valor da propriedade vbcEfet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCEfet() { + return vbcEfet; + } + + /** + * Define o valor da propriedade vbcEfet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCEfet(String value) { + this.vbcEfet = value; + } + + /** + * Obtém o valor da propriedade picmsEfet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMSEfet() { + return picmsEfet; + } + + /** + * Define o valor da propriedade picmsEfet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMSEfet(String value) { + this.picmsEfet = value; + } + + /** + * Obtém o valor da propriedade vicmsEfet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSEfet() { + return vicmsEfet; + } + + /** + * Define o valor da propriedade vicmsEfet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSEfet(String value) { + this.vicmsEfet = value; + } + + } + + } + + + /** + *

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="vBCUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *         <element name="vBCFCPUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+                 *         <element name="pFCPUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
+                 *         <element name="pICMSUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *         <element name="pICMSInter">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <enumeration value="4.00"/>
+                 *               <enumeration value="7.00"/>
+                 *               <enumeration value="12.00"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="pICMSInterPart" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *         <element name="vFCPUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+                 *         <element name="vICMSUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *         <element name="vICMSUFRemet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vbcufDest", + "vbcfcpufDest", + "pfcpufDest", + "picmsufDest", + "picmsInter", + "picmsInterPart", + "vfcpufDest", + "vicmsufDest", + "vicmsufRemet" + }) + public static class ICMSUFDest { + + @XmlElement(name = "vBCUFDest", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vbcufDest; + @XmlElement(name = "vBCFCPUFDest", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbcfcpufDest; + @XmlElement(name = "pFCPUFDest", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pfcpufDest; + @XmlElement(name = "pICMSUFDest", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String picmsufDest; + @XmlElement(name = "pICMSInter", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String picmsInter; + @XmlElement(name = "pICMSInterPart", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String picmsInterPart; + @XmlElement(name = "vFCPUFDest", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vfcpufDest; + @XmlElement(name = "vICMSUFDest", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vicmsufDest; + @XmlElement(name = "vICMSUFRemet", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vicmsufRemet; + + /** + * Obtém o valor da propriedade vbcufDest. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCUFDest() { + return vbcufDest; + } + + /** + * Define o valor da propriedade vbcufDest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCUFDest(String value) { + this.vbcufDest = value; + } + + /** + * Obtém o valor da propriedade vbcfcpufDest. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCFCPUFDest() { + return vbcfcpufDest; + } + + /** + * Define o valor da propriedade vbcfcpufDest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCFCPUFDest(String value) { + this.vbcfcpufDest = value; + } + + /** + * Obtém o valor da propriedade pfcpufDest. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPFCPUFDest() { + return pfcpufDest; + } + + /** + * Define o valor da propriedade pfcpufDest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPFCPUFDest(String value) { + this.pfcpufDest = value; + } + + /** + * Obtém o valor da propriedade picmsufDest. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMSUFDest() { + return picmsufDest; + } + + /** + * Define o valor da propriedade picmsufDest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMSUFDest(String value) { + this.picmsufDest = value; + } + + /** + * Obtém o valor da propriedade picmsInter. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMSInter() { + return picmsInter; + } + + /** + * Define o valor da propriedade picmsInter. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMSInter(String value) { + this.picmsInter = value; + } + + /** + * Obtém o valor da propriedade picmsInterPart. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMSInterPart() { + return picmsInterPart; + } + + /** + * Define o valor da propriedade picmsInterPart. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMSInterPart(String value) { + this.picmsInterPart = value; + } + + /** + * Obtém o valor da propriedade vfcpufDest. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVFCPUFDest() { + return vfcpufDest; + } + + /** + * Define o valor da propriedade vfcpufDest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVFCPUFDest(String value) { + this.vfcpufDest = value; + } + + /** + * Obtém o valor da propriedade vicmsufDest. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSUFDest() { + return vicmsufDest; + } + + /** + * Define o valor da propriedade vicmsufDest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSUFDest(String value) { + this.vicmsufDest = value; + } + + /** + * Obtém o valor da propriedade vicmsufRemet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSUFRemet() { + return vicmsufRemet; + } + + /** + * Define o valor da propriedade vicmsufRemet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSUFRemet(String value) { + this.vicmsufRemet = value; + } + + } + + + /** + *

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="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *         <element name="vDespAdu" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *         <element name="vII" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *         <element name="vIOF" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vbc", + "vDespAdu", + "vii", + "viof" + }) + public static class II { + + @XmlElement(name = "vBC", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vbc; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vDespAdu; + @XmlElement(name = "vII", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vii; + @XmlElement(name = "vIOF", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String viof; + + /** + * Obtém o valor da propriedade vbc. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Define o valor da propriedade vbc. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Obtém o valor da propriedade vDespAdu. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDespAdu() { + return vDespAdu; + } + + /** + * Define o valor da propriedade vDespAdu. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDespAdu(String value) { + this.vDespAdu = value; + } + + /** + * Obtém o valor da propriedade vii. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVII() { + return vii; + } + + /** + * Define o valor da propriedade vii. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVII(String value) { + this.vii = value; + } + + /** + * Obtém o valor da propriedade viof. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVIOF() { + return viof; + } + + /** + * Define o valor da propriedade viof. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVIOF(String value) { + this.viof = value; + } + + } + + + /** + *

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="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *         <element name="vAliq" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *         <element name="vISSQN" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *         <element name="cMunFG" type="{http://www.portalfiscal.inf.br/nfe}TCodMunIBGE"/>
+                 *         <element name="cListServ" type="{http://www.portalfiscal.inf.br/nfe}TCListServ"/>
+                 *         <element name="vDeducao" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+                 *         <element name="vOutro" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+                 *         <element name="vDescIncond" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+                 *         <element name="vDescCond" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+                 *         <element name="vISSRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+                 *         <element name="indISS">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <enumeration value="1"/>
+                 *               <enumeration value="2"/>
+                 *               <enumeration value="3"/>
+                 *               <enumeration value="4"/>
+                 *               <enumeration value="5"/>
+                 *               <enumeration value="6"/>
+                 *               <enumeration value="7"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="cServico" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <whiteSpace value="preserve"/>
+                 *               <minLength value="1"/>
+                 *               <maxLength value="20"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="cMun" type="{http://www.portalfiscal.inf.br/nfe}TCodMunIBGE" minOccurs="0"/>
+                 *         <element name="cPais" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <pattern value="[0-9]{1,4}"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="nProcesso" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <whiteSpace value="preserve"/>
+                 *               <minLength value="1"/>
+                 *               <maxLength value="30"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="indIncentivo">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <enumeration value="1"/>
+                 *               <enumeration value="2"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vbc", + "vAliq", + "vissqn", + "cMunFG", + "cListServ", + "vDeducao", + "vOutro", + "vDescIncond", + "vDescCond", + "vissRet", + "indISS", + "cServico", + "cMun", + "cPais", + "nProcesso", + "indIncentivo" + }) + public static class ISSQN { + + @XmlElement(name = "vBC", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vbc; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vAliq; + @XmlElement(name = "vISSQN", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vissqn; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cMunFG; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cListServ; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vDeducao; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vOutro; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vDescIncond; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vDescCond; + @XmlElement(name = "vISSRet", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vissRet; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String indISS; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cServico; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cMun; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cPais; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String nProcesso; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String indIncentivo; + + /** + * Obtém o valor da propriedade vbc. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Define o valor da propriedade vbc. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Obtém o valor da propriedade vAliq. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVAliq() { + return vAliq; + } + + /** + * Define o valor da propriedade vAliq. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVAliq(String value) { + this.vAliq = value; + } + + /** + * Obtém o valor da propriedade vissqn. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVISSQN() { + return vissqn; + } + + /** + * Define o valor da propriedade vissqn. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVISSQN(String value) { + this.vissqn = value; + } + + /** + * Obtém o valor da propriedade cMunFG. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMunFG() { + return cMunFG; + } + + /** + * Define o valor da propriedade cMunFG. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMunFG(String value) { + this.cMunFG = value; + } + + /** + * Obtém o valor da propriedade cListServ. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCListServ() { + return cListServ; + } + + /** + * Define o valor da propriedade cListServ. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCListServ(String value) { + this.cListServ = value; + } + + /** + * Obtém o valor da propriedade vDeducao. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDeducao() { + return vDeducao; + } + + /** + * Define o valor da propriedade vDeducao. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDeducao(String value) { + this.vDeducao = value; + } + + /** + * Obtém o valor da propriedade vOutro. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVOutro() { + return vOutro; + } + + /** + * Define o valor da propriedade vOutro. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVOutro(String value) { + this.vOutro = value; + } + + /** + * Obtém o valor da propriedade vDescIncond. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDescIncond() { + return vDescIncond; + } + + /** + * Define o valor da propriedade vDescIncond. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDescIncond(String value) { + this.vDescIncond = value; + } + + /** + * Obtém o valor da propriedade vDescCond. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDescCond() { + return vDescCond; + } + + /** + * Define o valor da propriedade vDescCond. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDescCond(String value) { + this.vDescCond = value; + } + + /** + * Obtém o valor da propriedade vissRet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVISSRet() { + return vissRet; + } + + /** + * Define o valor da propriedade vissRet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVISSRet(String value) { + this.vissRet = value; + } + + /** + * Obtém o valor da propriedade indISS. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndISS() { + return indISS; + } + + /** + * Define o valor da propriedade indISS. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndISS(String value) { + this.indISS = value; + } + + /** + * Obtém o valor da propriedade cServico. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCServico() { + return cServico; + } + + /** + * Define o valor da propriedade cServico. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCServico(String value) { + this.cServico = value; + } + + /** + * Obtém o valor da propriedade cMun. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMun() { + return cMun; + } + + /** + * Define o valor da propriedade cMun. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMun(String value) { + this.cMun = value; + } + + /** + * Obtém o valor da propriedade cPais. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPais() { + return cPais; + } + + /** + * Define o valor da propriedade cPais. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPais(String value) { + this.cPais = value; + } + + /** + * Obtém o valor da propriedade nProcesso. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNProcesso() { + return nProcesso; + } + + /** + * Define o valor da propriedade nProcesso. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNProcesso(String value) { + this.nProcesso = value; + } + + /** + * Obtém o valor da propriedade indIncentivo. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndIncentivo() { + return indIncentivo; + } + + /** + * Define o valor da propriedade indIncentivo. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndIncentivo(String value) { + this.indIncentivo = value; + } + + } + + + /** + *

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">
+                 *       <choice>
+                 *         <element name="PISAliq">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="CST">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="01"/>
+                 *                         <enumeration value="02"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                   <element name="pPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *                   <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *         <element name="PISQtde">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="CST">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="03"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
+                 *                   <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+                 *                   <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *         <element name="PISNT">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="CST">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="04"/>
+                 *                         <enumeration value="05"/>
+                 *                         <enumeration value="06"/>
+                 *                         <enumeration value="07"/>
+                 *                         <enumeration value="08"/>
+                 *                         <enumeration value="09"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *         <element name="PISOutr">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="CST">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="49"/>
+                 *                         <enumeration value="50"/>
+                 *                         <enumeration value="51"/>
+                 *                         <enumeration value="52"/>
+                 *                         <enumeration value="53"/>
+                 *                         <enumeration value="54"/>
+                 *                         <enumeration value="55"/>
+                 *                         <enumeration value="56"/>
+                 *                         <enumeration value="60"/>
+                 *                         <enumeration value="61"/>
+                 *                         <enumeration value="62"/>
+                 *                         <enumeration value="63"/>
+                 *                         <enumeration value="64"/>
+                 *                         <enumeration value="65"/>
+                 *                         <enumeration value="66"/>
+                 *                         <enumeration value="67"/>
+                 *                         <enumeration value="70"/>
+                 *                         <enumeration value="71"/>
+                 *                         <enumeration value="72"/>
+                 *                         <enumeration value="73"/>
+                 *                         <enumeration value="74"/>
+                 *                         <enumeration value="75"/>
+                 *                         <enumeration value="98"/>
+                 *                         <enumeration value="99"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <choice>
+                 *                     <sequence>
+                 *                       <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                       <element name="pPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *                     </sequence>
+                 *                     <sequence>
+                 *                       <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
+                 *                       <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+                 *                     </sequence>
+                 *                   </choice>
+                 *                   <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *       </choice>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "pisAliq", + "pisQtde", + "pisnt", + "pisOutr" + }) + public static class PIS { + + @XmlElement(name = "PISAliq", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Imposto.PIS.PISAliq pisAliq; + @XmlElement(name = "PISQtde", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Imposto.PIS.PISQtde pisQtde; + @XmlElement(name = "PISNT", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Imposto.PIS.PISNT pisnt; + @XmlElement(name = "PISOutr", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Imposto.PIS.PISOutr pisOutr; + + /** + * Obtém o valor da propriedade pisAliq. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Imposto.PIS.PISAliq } + * + */ + public TNFe.InfNFe.Det.Imposto.PIS.PISAliq getPISAliq() { + return pisAliq; + } + + /** + * Define o valor da propriedade pisAliq. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Imposto.PIS.PISAliq } + * + */ + public void setPISAliq(TNFe.InfNFe.Det.Imposto.PIS.PISAliq value) { + this.pisAliq = value; + } + + /** + * Obtém o valor da propriedade pisQtde. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Imposto.PIS.PISQtde } + * + */ + public TNFe.InfNFe.Det.Imposto.PIS.PISQtde getPISQtde() { + return pisQtde; + } + + /** + * Define o valor da propriedade pisQtde. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Imposto.PIS.PISQtde } + * + */ + public void setPISQtde(TNFe.InfNFe.Det.Imposto.PIS.PISQtde value) { + this.pisQtde = value; + } + + /** + * Obtém o valor da propriedade pisnt. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Imposto.PIS.PISNT } + * + */ + public TNFe.InfNFe.Det.Imposto.PIS.PISNT getPISNT() { + return pisnt; + } + + /** + * Define o valor da propriedade pisnt. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Imposto.PIS.PISNT } + * + */ + public void setPISNT(TNFe.InfNFe.Det.Imposto.PIS.PISNT value) { + this.pisnt = value; + } + + /** + * Obtém o valor da propriedade pisOutr. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Imposto.PIS.PISOutr } + * + */ + public TNFe.InfNFe.Det.Imposto.PIS.PISOutr getPISOutr() { + return pisOutr; + } + + /** + * Define o valor da propriedade pisOutr. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Imposto.PIS.PISOutr } + * + */ + public void setPISOutr(TNFe.InfNFe.Det.Imposto.PIS.PISOutr value) { + this.pisOutr = value; + } + + + /** + *

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="CST">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="01"/>
+                     *               <enumeration value="02"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *         <element name="pPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                     *         <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst", + "vbc", + "ppis", + "vpis" + }) + public static class PISAliq { + + @XmlElement(name = "CST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cst; + @XmlElement(name = "vBC", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vbc; + @XmlElement(name = "pPIS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String ppis; + @XmlElement(name = "vPIS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vpis; + + /** + * Obtém o valor da propriedade cst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Define o valor da propriedade cst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Obtém o valor da propriedade vbc. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Define o valor da propriedade vbc. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Obtém o valor da propriedade ppis. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPPIS() { + return ppis; + } + + /** + * Define o valor da propriedade ppis. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPPIS(String value) { + this.ppis = value; + } + + /** + * Obtém o valor da propriedade vpis. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVPIS() { + return vpis; + } + + /** + * Define o valor da propriedade vpis. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVPIS(String value) { + this.vpis = value; + } + + } + + + /** + *

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="CST">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="04"/>
+                     *               <enumeration value="05"/>
+                     *               <enumeration value="06"/>
+                     *               <enumeration value="07"/>
+                     *               <enumeration value="08"/>
+                     *               <enumeration value="09"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst" + }) + public static class PISNT { + + @XmlElement(name = "CST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cst; + + /** + * Obtém o valor da propriedade cst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Define o valor da propriedade cst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + } + + + /** + *

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="CST">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="49"/>
+                     *               <enumeration value="50"/>
+                     *               <enumeration value="51"/>
+                     *               <enumeration value="52"/>
+                     *               <enumeration value="53"/>
+                     *               <enumeration value="54"/>
+                     *               <enumeration value="55"/>
+                     *               <enumeration value="56"/>
+                     *               <enumeration value="60"/>
+                     *               <enumeration value="61"/>
+                     *               <enumeration value="62"/>
+                     *               <enumeration value="63"/>
+                     *               <enumeration value="64"/>
+                     *               <enumeration value="65"/>
+                     *               <enumeration value="66"/>
+                     *               <enumeration value="67"/>
+                     *               <enumeration value="70"/>
+                     *               <enumeration value="71"/>
+                     *               <enumeration value="72"/>
+                     *               <enumeration value="73"/>
+                     *               <enumeration value="74"/>
+                     *               <enumeration value="75"/>
+                     *               <enumeration value="98"/>
+                     *               <enumeration value="99"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <choice>
+                     *           <sequence>
+                     *             <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *             <element name="pPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                     *           </sequence>
+                     *           <sequence>
+                     *             <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
+                     *             <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+                     *           </sequence>
+                     *         </choice>
+                     *         <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst", + "vbc", + "ppis", + "qbcProd", + "vAliqProd", + "vpis" + }) + public static class PISOutr { + + @XmlElement(name = "CST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cst; + @XmlElement(name = "vBC", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbc; + @XmlElement(name = "pPIS", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String ppis; + @XmlElement(name = "qBCProd", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String qbcProd; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vAliqProd; + @XmlElement(name = "vPIS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vpis; + + /** + * Obtém o valor da propriedade cst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Define o valor da propriedade cst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Obtém o valor da propriedade vbc. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Define o valor da propriedade vbc. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Obtém o valor da propriedade ppis. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPPIS() { + return ppis; + } + + /** + * Define o valor da propriedade ppis. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPPIS(String value) { + this.ppis = value; + } + + /** + * Obtém o valor da propriedade qbcProd. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQBCProd() { + return qbcProd; + } + + /** + * Define o valor da propriedade qbcProd. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQBCProd(String value) { + this.qbcProd = value; + } + + /** + * Obtém o valor da propriedade vAliqProd. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVAliqProd() { + return vAliqProd; + } + + /** + * Define o valor da propriedade vAliqProd. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVAliqProd(String value) { + this.vAliqProd = value; + } + + /** + * Obtém o valor da propriedade vpis. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVPIS() { + return vpis; + } + + /** + * Define o valor da propriedade vpis. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVPIS(String value) { + this.vpis = value; + } + + } + + + /** + *

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="CST">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="03"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
+                     *         <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+                     *         <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cst", + "qbcProd", + "vAliqProd", + "vpis" + }) + public static class PISQtde { + + @XmlElement(name = "CST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cst; + @XmlElement(name = "qBCProd", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String qbcProd; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vAliqProd; + @XmlElement(name = "vPIS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vpis; + + /** + * Obtém o valor da propriedade cst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Define o valor da propriedade cst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Obtém o valor da propriedade qbcProd. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQBCProd() { + return qbcProd; + } + + /** + * Define o valor da propriedade qbcProd. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQBCProd(String value) { + this.qbcProd = value; + } + + /** + * Obtém o valor da propriedade vAliqProd. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVAliqProd() { + return vAliqProd; + } + + /** + * Define o valor da propriedade vAliqProd. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVAliqProd(String value) { + this.vAliqProd = value; + } + + /** + * Obtém o valor da propriedade vpis. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVPIS() { + return vpis; + } + + /** + * Define o valor da propriedade vpis. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVPIS(String value) { + this.vpis = value; + } + + } + + } + + + /** + *

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>
+                 *         <choice>
+                 *           <sequence>
+                 *             <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc"/>
+                 *             <element name="pPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *           </sequence>
+                 *           <sequence>
+                 *             <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204"/>
+                 *             <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104"/>
+                 *           </sequence>
+                 *         </choice>
+                 *         <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *         <element name="indSomaPISST" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <enumeration value="0"/>
+                 *               <enumeration value="1"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vbc", + "ppis", + "qbcProd", + "vAliqProd", + "vpis", + "indSomaPISST" + }) + public static class PISST { + + @XmlElement(name = "vBC", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbc; + @XmlElement(name = "pPIS", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String ppis; + @XmlElement(name = "qBCProd", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String qbcProd; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vAliqProd; + @XmlElement(name = "vPIS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vpis; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String indSomaPISST; + + /** + * Obtém o valor da propriedade vbc. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Define o valor da propriedade vbc. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Obtém o valor da propriedade ppis. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPPIS() { + return ppis; + } + + /** + * Define o valor da propriedade ppis. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPPIS(String value) { + this.ppis = value; + } + + /** + * Obtém o valor da propriedade qbcProd. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQBCProd() { + return qbcProd; + } + + /** + * Define o valor da propriedade qbcProd. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQBCProd(String value) { + this.qbcProd = value; + } + + /** + * Obtém o valor da propriedade vAliqProd. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVAliqProd() { + return vAliqProd; + } + + /** + * Define o valor da propriedade vAliqProd. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVAliqProd(String value) { + this.vAliqProd = value; + } + + /** + * Obtém o valor da propriedade vpis. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVPIS() { + return vpis; + } + + /** + * Define o valor da propriedade vpis. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVPIS(String value) { + this.vpis = value; + } + + /** + * Obtém o valor da propriedade indSomaPISST. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndSomaPISST() { + return indSomaPISST; + } + + /** + * Define o valor da propriedade indSomaPISST. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndSomaPISST(String value) { + this.indSomaPISST = value; + } + + } + + } + + + /** + *

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="pDevol" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302Max100"/>
+             *         <element name="IPI">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="vIPIDevol" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "pDevol", + "ipi" + }) + public static class ImpostoDevol { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String pDevol; + @XmlElement(name = "IPI", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected TNFe.InfNFe.Det.ImpostoDevol.IPI ipi; + + /** + * Obtém o valor da propriedade pDevol. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPDevol() { + return pDevol; + } + + /** + * Define o valor da propriedade pDevol. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPDevol(String value) { + this.pDevol = value; + } + + /** + * Obtém o valor da propriedade ipi. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.ImpostoDevol.IPI } + * + */ + public TNFe.InfNFe.Det.ImpostoDevol.IPI getIPI() { + return ipi; + } + + /** + * Define o valor da propriedade ipi. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.ImpostoDevol.IPI } + * + */ + public void setIPI(TNFe.InfNFe.Det.ImpostoDevol.IPI value) { + this.ipi = value; + } + + + /** + *

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="vIPIDevol" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vipiDevol" + }) + public static class IPI { + + @XmlElement(name = "vIPIDevol", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vipiDevol; + + /** + * Obtém o valor da propriedade vipiDevol. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVIPIDevol() { + return vipiDevol; + } + + /** + * Define o valor da propriedade vipiDevol. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVIPIDevol(String value) { + this.vipiDevol = value; + } + + } + + } + + + /** + *

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="obsCont" minOccurs="0">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="xTexto">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                         <minLength value="1"/>
+             *                         <maxLength value="60"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                 </sequence>
+             *                 <attribute name="xCampo" use="required">
+             *                   <simpleType>
+             *                     <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                       <minLength value="1"/>
+             *                       <maxLength value="20"/>
+             *                     </restriction>
+             *                   </simpleType>
+             *                 </attribute>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *         <element name="obsFisco" minOccurs="0">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="xTexto">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                         <minLength value="1"/>
+             *                         <maxLength value="60"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                 </sequence>
+             *                 <attribute name="xCampo" use="required">
+             *                   <simpleType>
+             *                     <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                       <minLength value="1"/>
+             *                       <maxLength value="20"/>
+             *                     </restriction>
+             *                   </simpleType>
+             *                 </attribute>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "obsCont", + "obsFisco" + }) + public static class ObsItem { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.ObsItem.ObsCont obsCont; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.ObsItem.ObsFisco obsFisco; + + /** + * Obtém o valor da propriedade obsCont. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.ObsItem.ObsCont } + * + */ + public TNFe.InfNFe.Det.ObsItem.ObsCont getObsCont() { + return obsCont; + } + + /** + * Define o valor da propriedade obsCont. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.ObsItem.ObsCont } + * + */ + public void setObsCont(TNFe.InfNFe.Det.ObsItem.ObsCont value) { + this.obsCont = value; + } + + /** + * Obtém o valor da propriedade obsFisco. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.ObsItem.ObsFisco } + * + */ + public TNFe.InfNFe.Det.ObsItem.ObsFisco getObsFisco() { + return obsFisco; + } + + /** + * Define o valor da propriedade obsFisco. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.ObsItem.ObsFisco } + * + */ + public void setObsFisco(TNFe.InfNFe.Det.ObsItem.ObsFisco value) { + this.obsFisco = value; + } + + + /** + *

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="xTexto">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="60"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *       </sequence>
+                 *       <attribute name="xCampo" use="required">
+                 *         <simpleType>
+                 *           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *             <minLength value="1"/>
+                 *             <maxLength value="20"/>
+                 *           </restriction>
+                 *         </simpleType>
+                 *       </attribute>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xTexto" + }) + public static class ObsCont { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String xTexto; + @XmlAttribute(name = "xCampo", required = true) + protected String xCampo; + + /** + * Obtém o valor da propriedade xTexto. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXTexto() { + return xTexto; + } + + /** + * Define o valor da propriedade xTexto. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXTexto(String value) { + this.xTexto = value; + } + + /** + * Obtém o valor da propriedade xCampo. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCampo() { + return xCampo; + } + + /** + * Define o valor da propriedade xCampo. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCampo(String value) { + this.xCampo = value; + } + + } + + + /** + *

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="xTexto">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="60"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *       </sequence>
+                 *       <attribute name="xCampo" use="required">
+                 *         <simpleType>
+                 *           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *             <minLength value="1"/>
+                 *             <maxLength value="20"/>
+                 *           </restriction>
+                 *         </simpleType>
+                 *       </attribute>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xTexto" + }) + public static class ObsFisco { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String xTexto; + @XmlAttribute(name = "xCampo", required = true) + protected String xCampo; + + /** + * Obtém o valor da propriedade xTexto. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXTexto() { + return xTexto; + } + + /** + * Define o valor da propriedade xTexto. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXTexto(String value) { + this.xTexto = value; + } + + /** + * Obtém o valor da propriedade xCampo. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCampo() { + return xCampo; + } + + /** + * Define o valor da propriedade xCampo. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCampo(String value) { + this.xCampo = value; + } + + } + + } + + + /** + *

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="cProd">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *               <maxLength value="60"/>
+             *               <minLength value="1"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="cEAN">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <pattern value="SEM GTIN|[0-9]{0}|[0-9]{8}|[0-9]{12,14}"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="cBarra" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *               <maxLength value="30"/>
+             *               <minLength value="3"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="xProd">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *               <maxLength value="120"/>
+             *               <minLength value="1"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="NCM">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <pattern value="[0-9]{2}|[0-9]{8}"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="NVE" maxOccurs="8" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <pattern value="[A-Z]{2}[0-9]{4}"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <sequence minOccurs="0">
+             *           <element name="CEST">
+             *             <simpleType>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                 <whiteSpace value="preserve"/>
+             *                 <pattern value="[0-9]{7}"/>
+             *               </restriction>
+             *             </simpleType>
+             *           </element>
+             *           <element name="indEscala" minOccurs="0">
+             *             <simpleType>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                 <enumeration value="S"/>
+             *                 <enumeration value="N"/>
+             *               </restriction>
+             *             </simpleType>
+             *           </element>
+             *           <element name="CNPJFab" type="{http://www.portalfiscal.inf.br/nfe}TCnpj" minOccurs="0"/>
+             *         </sequence>
+             *         <element name="cBenef" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <pattern value="([!-ÿ]{8}|[!-ÿ]{10}|SEM CBENEF)?"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="gCred" maxOccurs="4" minOccurs="0">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="cCredPresumido">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                         <whiteSpace value="preserve"/>
+             *                         <pattern value="[!-ÿ]{8}|[!-ÿ]{10}"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                   <element name="pCredPresumido" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *                   <element name="vCredPresumido" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *         <element name="EXTIPI" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <pattern value="[0-9]{2,3}"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="CFOP">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <pattern value="[1,2,3,5,6,7]{1}[0-9]{3}"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="uCom">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *               <maxLength value="6"/>
+             *               <minLength value="1"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="qCom" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+             *         <element name="vUnCom" type="{http://www.portalfiscal.inf.br/nfe}TDec_1110v"/>
+             *         <element name="vProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *         <element name="cEANTrib">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <pattern value="SEM GTIN|[0-9]{0}|[0-9]{8}|[0-9]{12,14}"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="cBarraTrib" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *               <maxLength value="30"/>
+             *               <minLength value="3"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="uTrib">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *               <maxLength value="6"/>
+             *               <minLength value="1"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="qTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+             *         <element name="vUnTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec_1110v"/>
+             *         <element name="vFrete" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+             *         <element name="vSeg" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+             *         <element name="vDesc" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+             *         <element name="vOutro" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+             *         <element name="indTot">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <enumeration value="0"/>
+             *               <enumeration value="1"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="indBemMovelUsado" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <enumeration value="1"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="DI" maxOccurs="100" minOccurs="0">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="nDI">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                         <minLength value="1"/>
+             *                         <maxLength value="15"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                   <element name="dDI" type="{http://www.portalfiscal.inf.br/nfe}TData"/>
+             *                   <element name="xLocDesemb">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                         <minLength value="1"/>
+             *                         <maxLength value="60"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                   <element name="UFDesemb" type="{http://www.portalfiscal.inf.br/nfe}TUfEmi"/>
+             *                   <element name="dDesemb" type="{http://www.portalfiscal.inf.br/nfe}TData"/>
+             *                   <element name="tpViaTransp">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                         <whiteSpace value="preserve"/>
+             *                         <enumeration value="1"/>
+             *                         <enumeration value="2"/>
+             *                         <enumeration value="3"/>
+             *                         <enumeration value="4"/>
+             *                         <enumeration value="5"/>
+             *                         <enumeration value="6"/>
+             *                         <enumeration value="7"/>
+             *                         <enumeration value="8"/>
+             *                         <enumeration value="9"/>
+             *                         <enumeration value="10"/>
+             *                         <enumeration value="11"/>
+             *                         <enumeration value="12"/>
+             *                         <enumeration value="13"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                   <element name="vAFRMM" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+             *                   <element name="tpIntermedio">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                         <whiteSpace value="preserve"/>
+             *                         <enumeration value="1"/>
+             *                         <enumeration value="2"/>
+             *                         <enumeration value="3"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                   <choice minOccurs="0">
+             *                     <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="UFTerceiro" type="{http://www.portalfiscal.inf.br/nfe}TUfEmi" minOccurs="0"/>
+             *                   <element name="cExportador">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                         <minLength value="1"/>
+             *                         <maxLength value="60"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                   <element name="adi" maxOccurs="999">
+             *                     <complexType>
+             *                       <complexContent>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                           <sequence>
+             *                             <element name="nAdicao" minOccurs="0">
+             *                               <simpleType>
+             *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                   <whiteSpace value="preserve"/>
+             *                                   <pattern value="[1-9]{1}[0-9]{0,2}"/>
+             *                                 </restriction>
+             *                               </simpleType>
+             *                             </element>
+             *                             <element name="nSeqAdic">
+             *                               <simpleType>
+             *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                   <whiteSpace value="preserve"/>
+             *                                   <pattern value="[1-9]{1}[0-9]{0,4}"/>
+             *                                 </restriction>
+             *                               </simpleType>
+             *                             </element>
+             *                             <element name="cFabricante">
+             *                               <simpleType>
+             *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                                   <minLength value="1"/>
+             *                                   <maxLength value="60"/>
+             *                                 </restriction>
+             *                               </simpleType>
+             *                             </element>
+             *                             <element name="vDescDI" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+             *                             <element name="nDraw" minOccurs="0">
+             *                               <simpleType>
+             *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                                   <minLength value="1"/>
+             *                                   <maxLength value="20"/>
+             *                                 </restriction>
+             *                               </simpleType>
+             *                             </element>
+             *                           </sequence>
+             *                         </restriction>
+             *                       </complexContent>
+             *                     </complexType>
+             *                   </element>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *         <element name="detExport" maxOccurs="500" minOccurs="0">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="nDraw" minOccurs="0">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                         <minLength value="1"/>
+             *                         <maxLength value="20"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                   <element name="exportInd" minOccurs="0">
+             *                     <complexType>
+             *                       <complexContent>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                           <sequence>
+             *                             <element name="nRE">
+             *                               <simpleType>
+             *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                   <whiteSpace value="preserve"/>
+             *                                   <pattern value="[0-9]{0,12}"/>
+             *                                 </restriction>
+             *                               </simpleType>
+             *                             </element>
+             *                             <element name="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/>
+             *                             <element name="qExport" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+             *                           </sequence>
+             *                         </restriction>
+             *                       </complexContent>
+             *                     </complexType>
+             *                   </element>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *         <element name="xPed" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="15"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="nItemPed" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <pattern value="[0-9]{1,6}"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="nFCI" type="{http://www.portalfiscal.inf.br/nfe}TGuid" minOccurs="0"/>
+             *         <element name="rastro" maxOccurs="500" minOccurs="0">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="nLote">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                         <minLength value="1"/>
+             *                         <maxLength value="20"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                   <element name="qLote" type="{http://www.portalfiscal.inf.br/nfe}TDec_0803v"/>
+             *                   <element name="dFab" type="{http://www.portalfiscal.inf.br/nfe}TData"/>
+             *                   <element name="dVal" type="{http://www.portalfiscal.inf.br/nfe}TData"/>
+             *                   <element name="cAgreg" minOccurs="0">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                         <minLength value="1"/>
+             *                         <maxLength value="20"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *         <element name="infProdNFF" minOccurs="0">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="cProdFisco">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                         <length value="14"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                   <element name="cOperNFF">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                         <whiteSpace value="preserve"/>
+             *                         <pattern value="[0-9]{1,5}"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *         <element name="infProdEmb" minOccurs="0">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="xEmb">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                         <maxLength value="8"/>
+             *                         <minLength value="1"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                   <element name="qVolEmb" type="{http://www.portalfiscal.inf.br/nfe}TDec_0803v"/>
+             *                   <element name="uEmb">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                         <maxLength value="8"/>
+             *                         <minLength value="1"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *         <choice minOccurs="0">
+             *           <element name="veicProd">
+             *             <complexType>
+             *               <complexContent>
+             *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                   <sequence>
+             *                     <element name="tpOp">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                           <whiteSpace value="preserve"/>
+             *                           <enumeration value="0"/>
+             *                           <enumeration value="1"/>
+             *                           <enumeration value="2"/>
+             *                           <enumeration value="3"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="chassi">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                           <length value="17"/>
+             *                           <whiteSpace value="preserve"/>
+             *                           <pattern value="[A-Z0-9]+"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="cCor">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                           <minLength value="1"/>
+             *                           <maxLength value="4"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="xCor">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                           <minLength value="1"/>
+             *                           <maxLength value="40"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="pot">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                           <minLength value="1"/>
+             *                           <maxLength value="4"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="cilin">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                           <minLength value="1"/>
+             *                           <maxLength value="4"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="pesoL">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                           <minLength value="1"/>
+             *                           <maxLength value="9"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="pesoB">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                           <minLength value="1"/>
+             *                           <maxLength value="9"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="nSerie">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                           <minLength value="1"/>
+             *                           <maxLength value="9"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="tpComb">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                           <minLength value="1"/>
+             *                           <maxLength value="2"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="nMotor">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                           <minLength value="1"/>
+             *                           <maxLength value="21"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="CMT">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                           <minLength value="1"/>
+             *                           <maxLength value="9"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="dist">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                           <minLength value="1"/>
+             *                           <maxLength value="4"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="anoMod">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                           <whiteSpace value="preserve"/>
+             *                           <pattern value="[0-9]{4}"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="anoFab">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                           <whiteSpace value="preserve"/>
+             *                           <pattern value="[0-9]{4}"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="tpPint">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                           <length value="1"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="tpVeic">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                           <whiteSpace value="preserve"/>
+             *                           <pattern value="[0-9]{1,2}"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="espVeic">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                           <whiteSpace value="preserve"/>
+             *                           <pattern value="[0-9]{1}"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="VIN">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                           <length value="1"/>
+             *                           <enumeration value="R"/>
+             *                           <enumeration value="N"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="condVeic">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                           <whiteSpace value="preserve"/>
+             *                           <enumeration value="1"/>
+             *                           <enumeration value="2"/>
+             *                           <enumeration value="3"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="cMod">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                           <whiteSpace value="preserve"/>
+             *                           <pattern value="[0-9]{1,6}"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="cCorDENATRAN">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                           <whiteSpace value="preserve"/>
+             *                           <minLength value="1"/>
+             *                           <maxLength value="2"/>
+             *                           <pattern value="[0-9]{1,2}"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="lota">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                           <minLength value="1"/>
+             *                           <maxLength value="3"/>
+             *                           <whiteSpace value="preserve"/>
+             *                           <pattern value="[0-9]{1,3}"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="tpRest">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                           <whiteSpace value="preserve"/>
+             *                           <enumeration value="0"/>
+             *                           <enumeration value="1"/>
+             *                           <enumeration value="2"/>
+             *                           <enumeration value="3"/>
+             *                           <enumeration value="4"/>
+             *                           <enumeration value="9"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                   </sequence>
+             *                 </restriction>
+             *               </complexContent>
+             *             </complexType>
+             *           </element>
+             *           <element name="med">
+             *             <complexType>
+             *               <complexContent>
+             *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                   <sequence>
+             *                     <element name="cProdANVISA">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                           <pattern value="[0-9]{11}|[0-9]{13}|ISENTO"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="xMotivoIsencao" minOccurs="0">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                           <minLength value="1"/>
+             *                           <maxLength value="255"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="vPMC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                   </sequence>
+             *                 </restriction>
+             *               </complexContent>
+             *             </complexType>
+             *           </element>
+             *           <element name="arma" maxOccurs="500">
+             *             <complexType>
+             *               <complexContent>
+             *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                   <sequence>
+             *                     <element name="tpArma">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                           <whiteSpace value="preserve"/>
+             *                           <enumeration value="0"/>
+             *                           <enumeration value="1"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="nSerie">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                           <minLength value="1"/>
+             *                           <maxLength value="15"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="nCano">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                           <minLength value="1"/>
+             *                           <maxLength value="15"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="descr">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                           <minLength value="1"/>
+             *                           <maxLength value="256"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                   </sequence>
+             *                 </restriction>
+             *               </complexContent>
+             *             </complexType>
+             *           </element>
+             *           <element name="comb">
+             *             <complexType>
+             *               <complexContent>
+             *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                   <sequence>
+             *                     <element name="cProdANP">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                           <whiteSpace value="preserve"/>
+             *                           <pattern value="[0-9]{9}"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="descANP">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                           <minLength value="2"/>
+             *                           <maxLength value="95"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="pGLP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
+             *                     <element name="pGNn" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
+             *                     <element name="pGNi" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
+             *                     <element name="vPart" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+             *                     <element name="CODIF" minOccurs="0">
+             *                       <simpleType>
+             *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                           <whiteSpace value="preserve"/>
+             *                           <pattern value="[0-9]{1,21}"/>
+             *                         </restriction>
+             *                       </simpleType>
+             *                     </element>
+             *                     <element name="qTemp" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204temperatura" minOccurs="0"/>
+             *                     <element name="UFCons" type="{http://www.portalfiscal.inf.br/nfe}TUf"/>
+             *                     <element name="CIDE" minOccurs="0">
+             *                       <complexType>
+             *                         <complexContent>
+             *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                             <sequence>
+             *                               <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
+             *                               <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104"/>
+             *                               <element name="vCIDE" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *                             </sequence>
+             *                           </restriction>
+             *                         </complexContent>
+             *                       </complexType>
+             *                     </element>
+             *                     <element name="encerrante" minOccurs="0">
+             *                       <complexType>
+             *                         <complexContent>
+             *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                             <sequence>
+             *                               <element name="nBico">
+             *                                 <simpleType>
+             *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                     <whiteSpace value="preserve"/>
+             *                                     <pattern value="[0-9]{1,3}"/>
+             *                                   </restriction>
+             *                                 </simpleType>
+             *                               </element>
+             *                               <element name="nBomba" minOccurs="0">
+             *                                 <simpleType>
+             *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                     <whiteSpace value="preserve"/>
+             *                                     <pattern value="[0-9]{1,3}"/>
+             *                                   </restriction>
+             *                                 </simpleType>
+             *                               </element>
+             *                               <element name="nTanque">
+             *                                 <simpleType>
+             *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                     <whiteSpace value="preserve"/>
+             *                                     <pattern value="[0-9]{1,3}"/>
+             *                                   </restriction>
+             *                                 </simpleType>
+             *                               </element>
+             *                               <element name="vEncIni" type="{http://www.portalfiscal.inf.br/nfe}TDec_1203"/>
+             *                               <element name="vEncFin" type="{http://www.portalfiscal.inf.br/nfe}TDec_1203"/>
+             *                             </sequence>
+             *                           </restriction>
+             *                         </complexContent>
+             *                       </complexType>
+             *                     </element>
+             *                     <element name="pBio" type="{http://www.portalfiscal.inf.br/nfe}TDec_03v00a04Max100Opc" minOccurs="0"/>
+             *                     <element name="origComb" maxOccurs="30" minOccurs="0">
+             *                       <complexType>
+             *                         <complexContent>
+             *                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                             <sequence>
+             *                               <element name="indImport">
+             *                                 <simpleType>
+             *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                                     <whiteSpace value="preserve"/>
+             *                                     <enumeration value="0"/>
+             *                                     <enumeration value="1"/>
+             *                                   </restriction>
+             *                                 </simpleType>
+             *                               </element>
+             *                               <element name="cUFOrig" type="{http://www.portalfiscal.inf.br/nfe}TCodUfIBGE"/>
+             *                               <element name="pOrig" type="{http://www.portalfiscal.inf.br/nfe}TDec_03v00a04Max100Opc"/>
+             *                             </sequence>
+             *                           </restriction>
+             *                         </complexContent>
+             *                       </complexType>
+             *                     </element>
+             *                   </sequence>
+             *                 </restriction>
+             *               </complexContent>
+             *             </complexType>
+             *           </element>
+             *           <element name="nRECOPI">
+             *             <simpleType>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                 <whiteSpace value="preserve"/>
+             *                 <maxLength value="20"/>
+             *                 <pattern value="[0-9]{20}"/>
+             *               </restriction>
+             *             </simpleType>
+             *           </element>
+             *         </choice>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cProd", + "cean", + "cBarra", + "xProd", + "ncm", + "nve", + "cest", + "indEscala", + "cnpjFab", + "cBenef", + "gCred", + "extipi", + "cfop", + "uCom", + "qCom", + "vUnCom", + "vProd", + "ceanTrib", + "cBarraTrib", + "uTrib", + "qTrib", + "vUnTrib", + "vFrete", + "vSeg", + "vDesc", + "vOutro", + "indTot", + "indBemMovelUsado", + "di", + "detExport", + "xPed", + "nItemPed", + "nfci", + "rastro", + "infProdNFF", + "infProdEmb", + "veicProd", + "med", + "arma", + "comb", + "nrecopi" + }) + public static class Prod { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cProd; + @XmlElement(name = "cEAN", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cean; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cBarra; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String xProd; + @XmlElement(name = "NCM", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String ncm; + @XmlElement(name = "NVE", namespace = "http://www.portalfiscal.inf.br/nfe") + protected List nve; + @XmlElement(name = "CEST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cest; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String indEscala; + @XmlElement(name = "CNPJFab", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cnpjFab; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cBenef; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected List gCred; + @XmlElement(name = "EXTIPI", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String extipi; + @XmlElement(name = "CFOP", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cfop; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String uCom; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String qCom; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vUnCom; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vProd; + @XmlElement(name = "cEANTrib", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String ceanTrib; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cBarraTrib; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String uTrib; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String qTrib; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vUnTrib; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vFrete; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vSeg; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vDesc; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vOutro; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String indTot; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String indBemMovelUsado; + @XmlElement(name = "DI", namespace = "http://www.portalfiscal.inf.br/nfe") + protected List di; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected List detExport; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String xPed; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String nItemPed; + @XmlElement(name = "nFCI", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String nfci; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected List rastro; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Prod.InfProdNFF infProdNFF; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Prod.InfProdEmb infProdEmb; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Prod.VeicProd veicProd; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Prod.Med med; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected List arma; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Prod.Comb comb; + @XmlElement(name = "nRECOPI", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String nrecopi; + + /** + * Obtém o valor da propriedade cProd. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCProd() { + return cProd; + } + + /** + * Define o valor da propriedade cProd. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCProd(String value) { + this.cProd = value; + } + + /** + * Obtém o valor da propriedade cean. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCEAN() { + return cean; + } + + /** + * Define o valor da propriedade cean. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCEAN(String value) { + this.cean = value; + } + + /** + * Obtém o valor da propriedade cBarra. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCBarra() { + return cBarra; + } + + /** + * Define o valor da propriedade cBarra. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCBarra(String value) { + this.cBarra = value; + } + + /** + * Obtém o valor da propriedade xProd. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXProd() { + return xProd; + } + + /** + * Define o valor da propriedade xProd. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXProd(String value) { + this.xProd = value; + } + + /** + * Obtém o valor da propriedade ncm. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNCM() { + return ncm; + } + + /** + * Define o valor da propriedade ncm. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNCM(String value) { + this.ncm = value; + } + + /** + * Gets the value of the nve property. + * + *

+ * 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 set method for the nve property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getNVE().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List getNVE() { + if (nve == null) { + nve = new ArrayList(); + } + return this.nve; + } + + /** + * Obtém o valor da propriedade cest. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCEST() { + return cest; + } + + /** + * Define o valor da propriedade cest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCEST(String value) { + this.cest = value; + } + + /** + * Obtém o valor da propriedade indEscala. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndEscala() { + return indEscala; + } + + /** + * Define o valor da propriedade indEscala. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndEscala(String value) { + this.indEscala = value; + } + + /** + * Obtém o valor da propriedade cnpjFab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJFab() { + return cnpjFab; + } + + /** + * Define o valor da propriedade cnpjFab. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJFab(String value) { + this.cnpjFab = value; + } + + /** + * Obtém o valor da propriedade cBenef. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCBenef() { + return cBenef; + } + + /** + * Define o valor da propriedade cBenef. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCBenef(String value) { + this.cBenef = value; + } + + /** + * Gets the value of the gCred property. + * + *

+ * 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 set method for the gCred property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getGCred().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TNFe.InfNFe.Det.Prod.GCred } + * + * + */ + public List getGCred() { + if (gCred == null) { + gCred = new ArrayList(); + } + return this.gCred; + } + + /** + * Obtém o valor da propriedade extipi. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEXTIPI() { + return extipi; + } + + /** + * Define o valor da propriedade extipi. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEXTIPI(String value) { + this.extipi = value; + } + + /** + * Obtém o valor da propriedade cfop. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCFOP() { + return cfop; + } + + /** + * Define o valor da propriedade cfop. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCFOP(String value) { + this.cfop = value; + } + + /** + * Obtém o valor da propriedade uCom. + * + * @return + * possible object is + * {@link String } + * + */ + public String getUCom() { + return uCom; + } + + /** + * Define o valor da propriedade uCom. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setUCom(String value) { + this.uCom = value; + } + + /** + * Obtém o valor da propriedade qCom. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQCom() { + return qCom; + } + + /** + * Define o valor da propriedade qCom. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQCom(String value) { + this.qCom = value; + } + + /** + * Obtém o valor da propriedade vUnCom. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVUnCom() { + return vUnCom; + } + + /** + * Define o valor da propriedade vUnCom. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVUnCom(String value) { + this.vUnCom = value; + } + + /** + * Obtém o valor da propriedade vProd. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVProd() { + return vProd; + } + + /** + * Define o valor da propriedade vProd. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVProd(String value) { + this.vProd = value; + } + + /** + * Obtém o valor da propriedade ceanTrib. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCEANTrib() { + return ceanTrib; + } + + /** + * Define o valor da propriedade ceanTrib. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCEANTrib(String value) { + this.ceanTrib = value; + } + + /** + * Obtém o valor da propriedade cBarraTrib. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCBarraTrib() { + return cBarraTrib; + } + + /** + * Define o valor da propriedade cBarraTrib. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCBarraTrib(String value) { + this.cBarraTrib = value; + } + + /** + * Obtém o valor da propriedade uTrib. + * + * @return + * possible object is + * {@link String } + * + */ + public String getUTrib() { + return uTrib; + } + + /** + * Define o valor da propriedade uTrib. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setUTrib(String value) { + this.uTrib = value; + } + + /** + * Obtém o valor da propriedade qTrib. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQTrib() { + return qTrib; + } + + /** + * Define o valor da propriedade qTrib. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQTrib(String value) { + this.qTrib = value; + } + + /** + * Obtém o valor da propriedade vUnTrib. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVUnTrib() { + return vUnTrib; + } + + /** + * Define o valor da propriedade vUnTrib. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVUnTrib(String value) { + this.vUnTrib = value; + } + + /** + * Obtém o valor da propriedade vFrete. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVFrete() { + return vFrete; + } + + /** + * Define o valor da propriedade vFrete. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVFrete(String value) { + this.vFrete = value; + } + + /** + * Obtém o valor da propriedade vSeg. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVSeg() { + return vSeg; + } + + /** + * Define o valor da propriedade vSeg. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVSeg(String value) { + this.vSeg = value; + } + + /** + * Obtém o valor da propriedade vDesc. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDesc() { + return vDesc; + } + + /** + * Define o valor da propriedade vDesc. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDesc(String value) { + this.vDesc = value; + } + + /** + * Obtém o valor da propriedade vOutro. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVOutro() { + return vOutro; + } + + /** + * Define o valor da propriedade vOutro. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVOutro(String value) { + this.vOutro = value; + } + + /** + * Obtém o valor da propriedade indTot. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndTot() { + return indTot; + } + + /** + * Define o valor da propriedade indTot. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndTot(String value) { + this.indTot = value; + } + + /** + * Obtém o valor da propriedade indBemMovelUsado. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndBemMovelUsado() { + return indBemMovelUsado; + } + + /** + * Define o valor da propriedade indBemMovelUsado. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndBemMovelUsado(String value) { + this.indBemMovelUsado = value; + } + + /** + * Gets the value of the di property. + * + *

+ * 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 set method for the di property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getDI().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TNFe.InfNFe.Det.Prod.DI } + * + * + */ + public List getDI() { + if (di == null) { + di = new ArrayList(); + } + return this.di; + } + + /** + * Gets the value of the detExport property. + * + *

+ * 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 set method for the detExport property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getDetExport().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TNFe.InfNFe.Det.Prod.DetExport } + * + * + */ + public List getDetExport() { + if (detExport == null) { + detExport = new ArrayList(); + } + return this.detExport; + } + + /** + * Obtém o valor da propriedade xPed. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXPed() { + return xPed; + } + + /** + * Define o valor da propriedade xPed. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXPed(String value) { + this.xPed = value; + } + + /** + * Obtém o valor da propriedade nItemPed. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNItemPed() { + return nItemPed; + } + + /** + * Define o valor da propriedade nItemPed. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNItemPed(String value) { + this.nItemPed = value; + } + + /** + * Obtém o valor da propriedade nfci. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNFCI() { + return nfci; + } + + /** + * Define o valor da propriedade nfci. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNFCI(String value) { + this.nfci = value; + } + + /** + * Gets the value of the rastro property. + * + *

+ * 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 set method for the rastro property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getRastro().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TNFe.InfNFe.Det.Prod.Rastro } + * + * + */ + public List getRastro() { + if (rastro == null) { + rastro = new ArrayList(); + } + return this.rastro; + } + + /** + * Obtém o valor da propriedade infProdNFF. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Prod.InfProdNFF } + * + */ + public TNFe.InfNFe.Det.Prod.InfProdNFF getInfProdNFF() { + return infProdNFF; + } + + /** + * Define o valor da propriedade infProdNFF. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Prod.InfProdNFF } + * + */ + public void setInfProdNFF(TNFe.InfNFe.Det.Prod.InfProdNFF value) { + this.infProdNFF = value; + } + + /** + * Obtém o valor da propriedade infProdEmb. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Prod.InfProdEmb } + * + */ + public TNFe.InfNFe.Det.Prod.InfProdEmb getInfProdEmb() { + return infProdEmb; + } + + /** + * Define o valor da propriedade infProdEmb. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Prod.InfProdEmb } + * + */ + public void setInfProdEmb(TNFe.InfNFe.Det.Prod.InfProdEmb value) { + this.infProdEmb = value; + } + + /** + * Obtém o valor da propriedade veicProd. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Prod.VeicProd } + * + */ + public TNFe.InfNFe.Det.Prod.VeicProd getVeicProd() { + return veicProd; + } + + /** + * Define o valor da propriedade veicProd. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Prod.VeicProd } + * + */ + public void setVeicProd(TNFe.InfNFe.Det.Prod.VeicProd value) { + this.veicProd = value; + } + + /** + * Obtém o valor da propriedade med. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Prod.Med } + * + */ + public TNFe.InfNFe.Det.Prod.Med getMed() { + return med; + } + + /** + * Define o valor da propriedade med. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Prod.Med } + * + */ + public void setMed(TNFe.InfNFe.Det.Prod.Med value) { + this.med = value; + } + + /** + * Gets the value of the arma property. + * + *

+ * 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 set method for the arma property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getArma().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TNFe.InfNFe.Det.Prod.Arma } + * + * + */ + public List getArma() { + if (arma == null) { + arma = new ArrayList(); + } + return this.arma; + } + + /** + * Obtém o valor da propriedade comb. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Prod.Comb } + * + */ + public TNFe.InfNFe.Det.Prod.Comb getComb() { + return comb; + } + + /** + * Define o valor da propriedade comb. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Prod.Comb } + * + */ + public void setComb(TNFe.InfNFe.Det.Prod.Comb value) { + this.comb = value; + } + + /** + * Obtém o valor da propriedade nrecopi. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNRECOPI() { + return nrecopi; + } + + /** + * Define o valor da propriedade nrecopi. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNRECOPI(String value) { + this.nrecopi = value; + } + + + /** + *

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="tpArma">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <enumeration value="0"/>
+                 *               <enumeration value="1"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="nSerie">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="15"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="nCano">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="15"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="descr">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="256"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "tpArma", + "nSerie", + "nCano", + "descr" + }) + public static class Arma { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpArma; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String nSerie; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String nCano; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String descr; + + /** + * Obtém o valor da propriedade tpArma. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpArma() { + return tpArma; + } + + /** + * Define o valor da propriedade tpArma. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpArma(String value) { + this.tpArma = value; + } + + /** + * Obtém o valor da propriedade nSerie. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNSerie() { + return nSerie; + } + + /** + * Define o valor da propriedade nSerie. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNSerie(String value) { + this.nSerie = value; + } + + /** + * Obtém o valor da propriedade nCano. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNCano() { + return nCano; + } + + /** + * Define o valor da propriedade nCano. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNCano(String value) { + this.nCano = value; + } + + /** + * Obtém o valor da propriedade descr. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDescr() { + return descr; + } + + /** + * Define o valor da propriedade descr. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDescr(String value) { + this.descr = value; + } + + } + + + /** + *

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="cProdANP">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <pattern value="[0-9]{9}"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="descANP">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <minLength value="2"/>
+                 *               <maxLength value="95"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="pGLP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
+                 *         <element name="pGNn" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
+                 *         <element name="pGNi" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
+                 *         <element name="vPart" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+                 *         <element name="CODIF" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <pattern value="[0-9]{1,21}"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="qTemp" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204temperatura" minOccurs="0"/>
+                 *         <element name="UFCons" type="{http://www.portalfiscal.inf.br/nfe}TUf"/>
+                 *         <element name="CIDE" minOccurs="0">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
+                 *                   <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104"/>
+                 *                   <element name="vCIDE" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *         <element name="encerrante" minOccurs="0">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="nBico">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <pattern value="[0-9]{1,3}"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="nBomba" minOccurs="0">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <pattern value="[0-9]{1,3}"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="nTanque">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <pattern value="[0-9]{1,3}"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="vEncIni" type="{http://www.portalfiscal.inf.br/nfe}TDec_1203"/>
+                 *                   <element name="vEncFin" type="{http://www.portalfiscal.inf.br/nfe}TDec_1203"/>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *         <element name="pBio" type="{http://www.portalfiscal.inf.br/nfe}TDec_03v00a04Max100Opc" minOccurs="0"/>
+                 *         <element name="origComb" maxOccurs="30" minOccurs="0">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="indImport">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <enumeration value="0"/>
+                 *                         <enumeration value="1"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="cUFOrig" type="{http://www.portalfiscal.inf.br/nfe}TCodUfIBGE"/>
+                 *                   <element name="pOrig" type="{http://www.portalfiscal.inf.br/nfe}TDec_03v00a04Max100Opc"/>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cProdANP", + "descANP", + "pglp", + "pgNn", + "pgNi", + "vPart", + "codif", + "qTemp", + "ufCons", + "cide", + "encerrante", + "pBio", + "origComb" + }) + public static class Comb { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cProdANP; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String descANP; + @XmlElement(name = "pGLP", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pglp; + @XmlElement(name = "pGNn", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pgNn; + @XmlElement(name = "pGNi", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pgNi; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vPart; + @XmlElement(name = "CODIF", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String codif; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String qTemp; + @XmlElement(name = "UFCons", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + @XmlSchemaType(name = "string") + protected TUf ufCons; + @XmlElement(name = "CIDE", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Prod.Comb.CIDE cide; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Prod.Comb.Encerrante encerrante; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pBio; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected List origComb; + + /** + * Obtém o valor da propriedade cProdANP. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCProdANP() { + return cProdANP; + } + + /** + * Define o valor da propriedade cProdANP. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCProdANP(String value) { + this.cProdANP = value; + } + + /** + * Obtém o valor da propriedade descANP. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDescANP() { + return descANP; + } + + /** + * Define o valor da propriedade descANP. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDescANP(String value) { + this.descANP = value; + } + + /** + * Obtém o valor da propriedade pglp. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPGLP() { + return pglp; + } + + /** + * Define o valor da propriedade pglp. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPGLP(String value) { + this.pglp = value; + } + + /** + * Obtém o valor da propriedade pgNn. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPGNn() { + return pgNn; + } + + /** + * Define o valor da propriedade pgNn. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPGNn(String value) { + this.pgNn = value; + } + + /** + * Obtém o valor da propriedade pgNi. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPGNi() { + return pgNi; + } + + /** + * Define o valor da propriedade pgNi. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPGNi(String value) { + this.pgNi = value; + } + + /** + * Obtém o valor da propriedade vPart. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVPart() { + return vPart; + } + + /** + * Define o valor da propriedade vPart. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVPart(String value) { + this.vPart = value; + } + + /** + * Obtém o valor da propriedade codif. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCODIF() { + return codif; + } + + /** + * Define o valor da propriedade codif. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCODIF(String value) { + this.codif = value; + } + + /** + * Obtém o valor da propriedade qTemp. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQTemp() { + return qTemp; + } + + /** + * Define o valor da propriedade qTemp. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQTemp(String value) { + this.qTemp = value; + } + + /** + * Obtém o valor da propriedade ufCons. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUFCons() { + return ufCons; + } + + /** + * Define o valor da propriedade ufCons. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUFCons(TUf value) { + this.ufCons = value; + } + + /** + * Obtém o valor da propriedade cide. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Prod.Comb.CIDE } + * + */ + public TNFe.InfNFe.Det.Prod.Comb.CIDE getCIDE() { + return cide; + } + + /** + * Define o valor da propriedade cide. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Prod.Comb.CIDE } + * + */ + public void setCIDE(TNFe.InfNFe.Det.Prod.Comb.CIDE value) { + this.cide = value; + } + + /** + * Obtém o valor da propriedade encerrante. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Prod.Comb.Encerrante } + * + */ + public TNFe.InfNFe.Det.Prod.Comb.Encerrante getEncerrante() { + return encerrante; + } + + /** + * Define o valor da propriedade encerrante. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Prod.Comb.Encerrante } + * + */ + public void setEncerrante(TNFe.InfNFe.Det.Prod.Comb.Encerrante value) { + this.encerrante = value; + } + + /** + * Obtém o valor da propriedade pBio. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPBio() { + return pBio; + } + + /** + * Define o valor da propriedade pBio. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPBio(String value) { + this.pBio = value; + } + + /** + * Gets the value of the origComb property. + * + *

+ * 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 set method for the origComb property. + * + *

+ * For example, to add a new item, do as follows: + *

+                     *    getOrigComb().add(newItem);
+                     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TNFe.InfNFe.Det.Prod.Comb.OrigComb } + * + * + */ + public List getOrigComb() { + if (origComb == null) { + origComb = new ArrayList(); + } + return this.origComb; + } + + + /** + *

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="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
+                     *         <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104"/>
+                     *         <element name="vCIDE" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "qbcProd", + "vAliqProd", + "vcide" + }) + public static class CIDE { + + @XmlElement(name = "qBCProd", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String qbcProd; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vAliqProd; + @XmlElement(name = "vCIDE", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vcide; + + /** + * Obtém o valor da propriedade qbcProd. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQBCProd() { + return qbcProd; + } + + /** + * Define o valor da propriedade qbcProd. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQBCProd(String value) { + this.qbcProd = value; + } + + /** + * Obtém o valor da propriedade vAliqProd. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVAliqProd() { + return vAliqProd; + } + + /** + * Define o valor da propriedade vAliqProd. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVAliqProd(String value) { + this.vAliqProd = value; + } + + /** + * Obtém o valor da propriedade vcide. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCIDE() { + return vcide; + } + + /** + * Define o valor da propriedade vcide. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCIDE(String value) { + this.vcide = value; + } + + } + + + /** + *

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="nBico">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <pattern value="[0-9]{1,3}"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="nBomba" minOccurs="0">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <pattern value="[0-9]{1,3}"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="nTanque">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <pattern value="[0-9]{1,3}"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="vEncIni" type="{http://www.portalfiscal.inf.br/nfe}TDec_1203"/>
+                     *         <element name="vEncFin" type="{http://www.portalfiscal.inf.br/nfe}TDec_1203"/>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "nBico", + "nBomba", + "nTanque", + "vEncIni", + "vEncFin" + }) + public static class Encerrante { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String nBico; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String nBomba; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String nTanque; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vEncIni; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vEncFin; + + /** + * Obtém o valor da propriedade nBico. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNBico() { + return nBico; + } + + /** + * Define o valor da propriedade nBico. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNBico(String value) { + this.nBico = value; + } + + /** + * Obtém o valor da propriedade nBomba. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNBomba() { + return nBomba; + } + + /** + * Define o valor da propriedade nBomba. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNBomba(String value) { + this.nBomba = value; + } + + /** + * Obtém o valor da propriedade nTanque. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNTanque() { + return nTanque; + } + + /** + * Define o valor da propriedade nTanque. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNTanque(String value) { + this.nTanque = value; + } + + /** + * Obtém o valor da propriedade vEncIni. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVEncIni() { + return vEncIni; + } + + /** + * Define o valor da propriedade vEncIni. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVEncIni(String value) { + this.vEncIni = value; + } + + /** + * Obtém o valor da propriedade vEncFin. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVEncFin() { + return vEncFin; + } + + /** + * Define o valor da propriedade vEncFin. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVEncFin(String value) { + this.vEncFin = value; + } + + } + + + /** + *

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="indImport">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <enumeration value="0"/>
+                     *               <enumeration value="1"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="cUFOrig" type="{http://www.portalfiscal.inf.br/nfe}TCodUfIBGE"/>
+                     *         <element name="pOrig" type="{http://www.portalfiscal.inf.br/nfe}TDec_03v00a04Max100Opc"/>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "indImport", + "cufOrig", + "pOrig" + }) + public static class OrigComb { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String indImport; + @XmlElement(name = "cUFOrig", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cufOrig; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String pOrig; + + /** + * Obtém o valor da propriedade indImport. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndImport() { + return indImport; + } + + /** + * Define o valor da propriedade indImport. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndImport(String value) { + this.indImport = value; + } + + /** + * Obtém o valor da propriedade cufOrig. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCUFOrig() { + return cufOrig; + } + + /** + * Define o valor da propriedade cufOrig. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCUFOrig(String value) { + this.cufOrig = value; + } + + /** + * Obtém o valor da propriedade pOrig. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPOrig() { + return pOrig; + } + + /** + * Define o valor da propriedade pOrig. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPOrig(String value) { + this.pOrig = value; + } + + } + + } + + + /** + *

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="nDI">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="15"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="dDI" type="{http://www.portalfiscal.inf.br/nfe}TData"/>
+                 *         <element name="xLocDesemb">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="60"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="UFDesemb" type="{http://www.portalfiscal.inf.br/nfe}TUfEmi"/>
+                 *         <element name="dDesemb" type="{http://www.portalfiscal.inf.br/nfe}TData"/>
+                 *         <element name="tpViaTransp">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <enumeration value="1"/>
+                 *               <enumeration value="2"/>
+                 *               <enumeration value="3"/>
+                 *               <enumeration value="4"/>
+                 *               <enumeration value="5"/>
+                 *               <enumeration value="6"/>
+                 *               <enumeration value="7"/>
+                 *               <enumeration value="8"/>
+                 *               <enumeration value="9"/>
+                 *               <enumeration value="10"/>
+                 *               <enumeration value="11"/>
+                 *               <enumeration value="12"/>
+                 *               <enumeration value="13"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="vAFRMM" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+                 *         <element name="tpIntermedio">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <enumeration value="1"/>
+                 *               <enumeration value="2"/>
+                 *               <enumeration value="3"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <choice minOccurs="0">
+                 *           <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="UFTerceiro" type="{http://www.portalfiscal.inf.br/nfe}TUfEmi" minOccurs="0"/>
+                 *         <element name="cExportador">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="60"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="adi" maxOccurs="999">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="nAdicao" minOccurs="0">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <pattern value="[1-9]{1}[0-9]{0,2}"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="nSeqAdic">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <pattern value="[1-9]{1}[0-9]{0,4}"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="cFabricante">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *                         <minLength value="1"/>
+                 *                         <maxLength value="60"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="vDescDI" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+                 *                   <element name="nDraw" minOccurs="0">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *                         <minLength value="1"/>
+                 *                         <maxLength value="20"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "ndi", + "ddi", + "xLocDesemb", + "ufDesemb", + "dDesemb", + "tpViaTransp", + "vafrmm", + "tpIntermedio", + "cnpj", + "cpf", + "ufTerceiro", + "cExportador", + "adi" + }) + public static class DI { + + @XmlElement(name = "nDI", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String ndi; + @XmlElement(name = "dDI", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String ddi; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String xLocDesemb; + @XmlElement(name = "UFDesemb", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + @XmlSchemaType(name = "string") + protected TUfEmi ufDesemb; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String dDesemb; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpViaTransp; + @XmlElement(name = "vAFRMM", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vafrmm; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpIntermedio; + @XmlElement(name = "CNPJ", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cnpj; + @XmlElement(name = "CPF", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cpf; + @XmlElement(name = "UFTerceiro", namespace = "http://www.portalfiscal.inf.br/nfe") + @XmlSchemaType(name = "string") + protected TUfEmi ufTerceiro; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cExportador; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected List adi; + + /** + * Obtém o valor da propriedade ndi. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNDI() { + return ndi; + } + + /** + * Define o valor da propriedade ndi. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNDI(String value) { + this.ndi = value; + } + + /** + * Obtém o valor da propriedade ddi. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDDI() { + return ddi; + } + + /** + * Define o valor da propriedade ddi. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDDI(String value) { + this.ddi = value; + } + + /** + * Obtém o valor da propriedade xLocDesemb. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXLocDesemb() { + return xLocDesemb; + } + + /** + * Define o valor da propriedade xLocDesemb. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXLocDesemb(String value) { + this.xLocDesemb = value; + } + + /** + * Obtém o valor da propriedade ufDesemb. + * + * @return + * possible object is + * {@link TUfEmi } + * + */ + public TUfEmi getUFDesemb() { + return ufDesemb; + } + + /** + * Define o valor da propriedade ufDesemb. + * + * @param value + * allowed object is + * {@link TUfEmi } + * + */ + public void setUFDesemb(TUfEmi value) { + this.ufDesemb = value; + } + + /** + * Obtém o valor da propriedade dDesemb. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDDesemb() { + return dDesemb; + } + + /** + * Define o valor da propriedade dDesemb. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDDesemb(String value) { + this.dDesemb = value; + } + + /** + * Obtém o valor da propriedade tpViaTransp. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpViaTransp() { + return tpViaTransp; + } + + /** + * Define o valor da propriedade tpViaTransp. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpViaTransp(String value) { + this.tpViaTransp = value; + } + + /** + * Obtém o valor da propriedade vafrmm. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVAFRMM() { + return vafrmm; + } + + /** + * Define o valor da propriedade vafrmm. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVAFRMM(String value) { + this.vafrmm = value; + } + + /** + * Obtém o valor da propriedade tpIntermedio. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpIntermedio() { + return tpIntermedio; + } + + /** + * Define o valor da propriedade tpIntermedio. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpIntermedio(String value) { + this.tpIntermedio = value; + } + + /** + * Obtém o valor da propriedade cnpj. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Define o valor da propriedade cnpj. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Obtém o valor da propriedade cpf. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Define o valor da propriedade cpf. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Obtém o valor da propriedade ufTerceiro. + * + * @return + * possible object is + * {@link TUfEmi } + * + */ + public TUfEmi getUFTerceiro() { + return ufTerceiro; + } + + /** + * Define o valor da propriedade ufTerceiro. + * + * @param value + * allowed object is + * {@link TUfEmi } + * + */ + public void setUFTerceiro(TUfEmi value) { + this.ufTerceiro = value; + } + + /** + * Obtém o valor da propriedade cExportador. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCExportador() { + return cExportador; + } + + /** + * Define o valor da propriedade cExportador. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCExportador(String value) { + this.cExportador = value; + } + + /** + * Gets the value of the adi property. + * + *

+ * 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 set method for the adi property. + * + *

+ * For example, to add a new item, do as follows: + *

+                     *    getAdi().add(newItem);
+                     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TNFe.InfNFe.Det.Prod.DI.Adi } + * + * + */ + public List getAdi() { + if (adi == null) { + adi = new ArrayList(); + } + return this.adi; + } + + + /** + *

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="nAdicao" minOccurs="0">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <pattern value="[1-9]{1}[0-9]{0,2}"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="nSeqAdic">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <pattern value="[1-9]{1}[0-9]{0,4}"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="cFabricante">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                     *               <minLength value="1"/>
+                     *               <maxLength value="60"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="vDescDI" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+                     *         <element name="nDraw" minOccurs="0">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                     *               <minLength value="1"/>
+                     *               <maxLength value="20"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "nAdicao", + "nSeqAdic", + "cFabricante", + "vDescDI", + "nDraw" + }) + public static class Adi { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String nAdicao; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String nSeqAdic; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cFabricante; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vDescDI; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String nDraw; + + /** + * Obtém o valor da propriedade nAdicao. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNAdicao() { + return nAdicao; + } + + /** + * Define o valor da propriedade nAdicao. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNAdicao(String value) { + this.nAdicao = value; + } + + /** + * Obtém o valor da propriedade nSeqAdic. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNSeqAdic() { + return nSeqAdic; + } + + /** + * Define o valor da propriedade nSeqAdic. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNSeqAdic(String value) { + this.nSeqAdic = value; + } + + /** + * Obtém o valor da propriedade cFabricante. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCFabricante() { + return cFabricante; + } + + /** + * Define o valor da propriedade cFabricante. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCFabricante(String value) { + this.cFabricante = value; + } + + /** + * Obtém o valor da propriedade vDescDI. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDescDI() { + return vDescDI; + } + + /** + * Define o valor da propriedade vDescDI. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDescDI(String value) { + this.vDescDI = value; + } + + /** + * Obtém o valor da propriedade nDraw. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNDraw() { + return nDraw; + } + + /** + * Define o valor da propriedade nDraw. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNDraw(String value) { + this.nDraw = value; + } + + } + + } + + + /** + *

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="nDraw" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="20"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="exportInd" minOccurs="0">
+                 *           <complexType>
+                 *             <complexContent>
+                 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+                 *                 <sequence>
+                 *                   <element name="nRE">
+                 *                     <simpleType>
+                 *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *                         <whiteSpace value="preserve"/>
+                 *                         <pattern value="[0-9]{0,12}"/>
+                 *                       </restriction>
+                 *                     </simpleType>
+                 *                   </element>
+                 *                   <element name="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/>
+                 *                   <element name="qExport" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+                 *                 </sequence>
+                 *               </restriction>
+                 *             </complexContent>
+                 *           </complexType>
+                 *         </element>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "nDraw", + "exportInd" + }) + public static class DetExport { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String nDraw; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Det.Prod.DetExport.ExportInd exportInd; + + /** + * Obtém o valor da propriedade nDraw. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNDraw() { + return nDraw; + } + + /** + * Define o valor da propriedade nDraw. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNDraw(String value) { + this.nDraw = value; + } + + /** + * Obtém o valor da propriedade exportInd. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Det.Prod.DetExport.ExportInd } + * + */ + public TNFe.InfNFe.Det.Prod.DetExport.ExportInd getExportInd() { + return exportInd; + } + + /** + * Define o valor da propriedade exportInd. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Det.Prod.DetExport.ExportInd } + * + */ + public void setExportInd(TNFe.InfNFe.Det.Prod.DetExport.ExportInd value) { + this.exportInd = value; + } + + + /** + *

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="nRE">
+                     *           <simpleType>
+                     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                     *               <whiteSpace value="preserve"/>
+                     *               <pattern value="[0-9]{0,12}"/>
+                     *             </restriction>
+                     *           </simpleType>
+                     *         </element>
+                     *         <element name="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/>
+                     *         <element name="qExport" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
+                     *       </sequence>
+                     *     </restriction>
+                     *   </complexContent>
+                     * </complexType>
+                     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "nre", + "chNFe", + "qExport" + }) + public static class ExportInd { + + @XmlElement(name = "nRE", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String nre; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String chNFe; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String qExport; + + /** + * Obtém o valor da propriedade nre. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNRE() { + return nre; + } + + /** + * Define o valor da propriedade nre. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNRE(String value) { + this.nre = value; + } + + /** + * Obtém o valor da propriedade chNFe. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChNFe() { + return chNFe; + } + + /** + * Define o valor da propriedade chNFe. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChNFe(String value) { + this.chNFe = value; + } + + /** + * Obtém o valor da propriedade qExport. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQExport() { + return qExport; + } + + /** + * Define o valor da propriedade qExport. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQExport(String value) { + this.qExport = value; + } + + } + + } + + + /** + *

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="cCredPresumido">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <pattern value="[!-ÿ]{8}|[!-ÿ]{10}"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="pCredPresumido" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+                 *         <element name="vCredPresumido" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cCredPresumido", + "pCredPresumido", + "vCredPresumido" + }) + public static class GCred { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cCredPresumido; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String pCredPresumido; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vCredPresumido; + + /** + * Obtém o valor da propriedade cCredPresumido. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCCredPresumido() { + return cCredPresumido; + } + + /** + * Define o valor da propriedade cCredPresumido. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCCredPresumido(String value) { + this.cCredPresumido = value; + } + + /** + * Obtém o valor da propriedade pCredPresumido. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPCredPresumido() { + return pCredPresumido; + } + + /** + * Define o valor da propriedade pCredPresumido. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPCredPresumido(String value) { + this.pCredPresumido = value; + } + + /** + * Obtém o valor da propriedade vCredPresumido. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCredPresumido() { + return vCredPresumido; + } + + /** + * Define o valor da propriedade vCredPresumido. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCredPresumido(String value) { + this.vCredPresumido = value; + } + + } + + + /** + *

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="xEmb">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <maxLength value="8"/>
+                 *               <minLength value="1"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="qVolEmb" type="{http://www.portalfiscal.inf.br/nfe}TDec_0803v"/>
+                 *         <element name="uEmb">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <maxLength value="8"/>
+                 *               <minLength value="1"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xEmb", + "qVolEmb", + "uEmb" + }) + public static class InfProdEmb { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String xEmb; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String qVolEmb; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String uEmb; + + /** + * Obtém o valor da propriedade xEmb. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXEmb() { + return xEmb; + } + + /** + * Define o valor da propriedade xEmb. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXEmb(String value) { + this.xEmb = value; + } + + /** + * Obtém o valor da propriedade qVolEmb. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQVolEmb() { + return qVolEmb; + } + + /** + * Define o valor da propriedade qVolEmb. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQVolEmb(String value) { + this.qVolEmb = value; + } + + /** + * Obtém o valor da propriedade uEmb. + * + * @return + * possible object is + * {@link String } + * + */ + public String getUEmb() { + return uEmb; + } + + /** + * Define o valor da propriedade uEmb. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setUEmb(String value) { + this.uEmb = value; + } + + } + + + /** + *

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="cProdFisco">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <length value="14"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="cOperNFF">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <pattern value="[0-9]{1,5}"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cProdFisco", + "cOperNFF" + }) + public static class InfProdNFF { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cProdFisco; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cOperNFF; + + /** + * Obtém o valor da propriedade cProdFisco. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCProdFisco() { + return cProdFisco; + } + + /** + * Define o valor da propriedade cProdFisco. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCProdFisco(String value) { + this.cProdFisco = value; + } + + /** + * Obtém o valor da propriedade cOperNFF. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCOperNFF() { + return cOperNFF; + } + + /** + * Define o valor da propriedade cOperNFF. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCOperNFF(String value) { + this.cOperNFF = value; + } + + } + + + /** + *

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="cProdANVISA">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <pattern value="[0-9]{11}|[0-9]{13}|ISENTO"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="xMotivoIsencao" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="255"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="vPMC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cProdANVISA", + "xMotivoIsencao", + "vpmc" + }) + public static class Med { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cProdANVISA; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String xMotivoIsencao; + @XmlElement(name = "vPMC", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vpmc; + + /** + * Obtém o valor da propriedade cProdANVISA. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCProdANVISA() { + return cProdANVISA; + } + + /** + * Define o valor da propriedade cProdANVISA. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCProdANVISA(String value) { + this.cProdANVISA = value; + } + + /** + * Obtém o valor da propriedade xMotivoIsencao. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMotivoIsencao() { + return xMotivoIsencao; + } + + /** + * Define o valor da propriedade xMotivoIsencao. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMotivoIsencao(String value) { + this.xMotivoIsencao = value; + } + + /** + * Obtém o valor da propriedade vpmc. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVPMC() { + return vpmc; + } + + /** + * Define o valor da propriedade vpmc. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVPMC(String value) { + this.vpmc = value; + } + + } + + + /** + *

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="nLote">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="20"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="qLote" type="{http://www.portalfiscal.inf.br/nfe}TDec_0803v"/>
+                 *         <element name="dFab" type="{http://www.portalfiscal.inf.br/nfe}TData"/>
+                 *         <element name="dVal" type="{http://www.portalfiscal.inf.br/nfe}TData"/>
+                 *         <element name="cAgreg" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="20"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "nLote", + "qLote", + "dFab", + "dVal", + "cAgreg" + }) + public static class Rastro { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String nLote; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String qLote; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String dFab; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String dVal; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cAgreg; + + /** + * Obtém o valor da propriedade nLote. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNLote() { + return nLote; + } + + /** + * Define o valor da propriedade nLote. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNLote(String value) { + this.nLote = value; + } + + /** + * Obtém o valor da propriedade qLote. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQLote() { + return qLote; + } + + /** + * Define o valor da propriedade qLote. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQLote(String value) { + this.qLote = value; + } + + /** + * Obtém o valor da propriedade dFab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDFab() { + return dFab; + } + + /** + * Define o valor da propriedade dFab. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDFab(String value) { + this.dFab = value; + } + + /** + * Obtém o valor da propriedade dVal. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDVal() { + return dVal; + } + + /** + * Define o valor da propriedade dVal. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDVal(String value) { + this.dVal = value; + } + + /** + * Obtém o valor da propriedade cAgreg. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCAgreg() { + return cAgreg; + } + + /** + * Define o valor da propriedade cAgreg. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCAgreg(String value) { + this.cAgreg = value; + } + + } + + + /** + *

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="tpOp">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <enumeration value="0"/>
+                 *               <enumeration value="1"/>
+                 *               <enumeration value="2"/>
+                 *               <enumeration value="3"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="chassi">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <length value="17"/>
+                 *               <whiteSpace value="preserve"/>
+                 *               <pattern value="[A-Z0-9]+"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="cCor">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="4"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="xCor">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="40"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="pot">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="4"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="cilin">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="4"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="pesoL">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="9"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="pesoB">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="9"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="nSerie">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="9"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="tpComb">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="2"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="nMotor">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="21"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="CMT">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="9"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="dist">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="4"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="anoMod">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <pattern value="[0-9]{4}"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="anoFab">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <pattern value="[0-9]{4}"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="tpPint">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <length value="1"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="tpVeic">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <pattern value="[0-9]{1,2}"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="espVeic">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <pattern value="[0-9]{1}"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="VIN">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <length value="1"/>
+                 *               <enumeration value="R"/>
+                 *               <enumeration value="N"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="condVeic">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <enumeration value="1"/>
+                 *               <enumeration value="2"/>
+                 *               <enumeration value="3"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="cMod">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <pattern value="[0-9]{1,6}"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="cCorDENATRAN">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <minLength value="1"/>
+                 *               <maxLength value="2"/>
+                 *               <pattern value="[0-9]{1,2}"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="lota">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="3"/>
+                 *               <whiteSpace value="preserve"/>
+                 *               <pattern value="[0-9]{1,3}"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="tpRest">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <enumeration value="0"/>
+                 *               <enumeration value="1"/>
+                 *               <enumeration value="2"/>
+                 *               <enumeration value="3"/>
+                 *               <enumeration value="4"/>
+                 *               <enumeration value="9"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "tpOp", + "chassi", + "cCor", + "xCor", + "pot", + "cilin", + "pesoL", + "pesoB", + "nSerie", + "tpComb", + "nMotor", + "cmt", + "dist", + "anoMod", + "anoFab", + "tpPint", + "tpVeic", + "espVeic", + "vin", + "condVeic", + "cMod", + "cCorDENATRAN", + "lota", + "tpRest" + }) + public static class VeicProd { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpOp; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String chassi; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cCor; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String xCor; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String pot; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cilin; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String pesoL; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String pesoB; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String nSerie; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpComb; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String nMotor; + @XmlElement(name = "CMT", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cmt; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String dist; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String anoMod; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String anoFab; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpPint; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpVeic; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String espVeic; + @XmlElement(name = "VIN", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vin; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String condVeic; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cMod; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cCorDENATRAN; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String lota; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpRest; + + /** + * Obtém o valor da propriedade tpOp. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpOp() { + return tpOp; + } + + /** + * Define o valor da propriedade tpOp. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpOp(String value) { + this.tpOp = value; + } + + /** + * Obtém o valor da propriedade chassi. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChassi() { + return chassi; + } + + /** + * Define o valor da propriedade chassi. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChassi(String value) { + this.chassi = value; + } + + /** + * Obtém o valor da propriedade cCor. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCCor() { + return cCor; + } + + /** + * Define o valor da propriedade cCor. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCCor(String value) { + this.cCor = value; + } + + /** + * Obtém o valor da propriedade xCor. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCor() { + return xCor; + } + + /** + * Define o valor da propriedade xCor. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCor(String value) { + this.xCor = value; + } + + /** + * Obtém o valor da propriedade pot. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPot() { + return pot; + } + + /** + * Define o valor da propriedade pot. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPot(String value) { + this.pot = value; + } + + /** + * Obtém o valor da propriedade cilin. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCilin() { + return cilin; + } + + /** + * Define o valor da propriedade cilin. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCilin(String value) { + this.cilin = value; + } + + /** + * Obtém o valor da propriedade pesoL. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPesoL() { + return pesoL; + } + + /** + * Define o valor da propriedade pesoL. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPesoL(String value) { + this.pesoL = value; + } + + /** + * Obtém o valor da propriedade pesoB. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPesoB() { + return pesoB; + } + + /** + * Define o valor da propriedade pesoB. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPesoB(String value) { + this.pesoB = value; + } + + /** + * Obtém o valor da propriedade nSerie. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNSerie() { + return nSerie; + } + + /** + * Define o valor da propriedade nSerie. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNSerie(String value) { + this.nSerie = value; + } + + /** + * Obtém o valor da propriedade tpComb. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpComb() { + return tpComb; + } + + /** + * Define o valor da propriedade tpComb. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpComb(String value) { + this.tpComb = value; + } + + /** + * Obtém o valor da propriedade nMotor. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNMotor() { + return nMotor; + } + + /** + * Define o valor da propriedade nMotor. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNMotor(String value) { + this.nMotor = value; + } + + /** + * Obtém o valor da propriedade cmt. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMT() { + return cmt; + } + + /** + * Define o valor da propriedade cmt. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMT(String value) { + this.cmt = value; + } + + /** + * Obtém o valor da propriedade dist. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDist() { + return dist; + } + + /** + * Define o valor da propriedade dist. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDist(String value) { + this.dist = value; + } + + /** + * Obtém o valor da propriedade anoMod. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAnoMod() { + return anoMod; + } + + /** + * Define o valor da propriedade anoMod. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAnoMod(String value) { + this.anoMod = value; + } + + /** + * Obtém o valor da propriedade anoFab. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAnoFab() { + return anoFab; + } + + /** + * Define o valor da propriedade anoFab. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAnoFab(String value) { + this.anoFab = value; + } + + /** + * Obtém o valor da propriedade tpPint. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpPint() { + return tpPint; + } + + /** + * Define o valor da propriedade tpPint. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpPint(String value) { + this.tpPint = value; + } + + /** + * Obtém o valor da propriedade tpVeic. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpVeic() { + return tpVeic; + } + + /** + * Define o valor da propriedade tpVeic. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpVeic(String value) { + this.tpVeic = value; + } + + /** + * Obtém o valor da propriedade espVeic. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEspVeic() { + return espVeic; + } + + /** + * Define o valor da propriedade espVeic. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEspVeic(String value) { + this.espVeic = value; + } + + /** + * Obtém o valor da propriedade vin. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVIN() { + return vin; + } + + /** + * Define o valor da propriedade vin. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVIN(String value) { + this.vin = value; + } + + /** + * Obtém o valor da propriedade condVeic. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCondVeic() { + return condVeic; + } + + /** + * Define o valor da propriedade condVeic. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCondVeic(String value) { + this.condVeic = value; + } + + /** + * Obtém o valor da propriedade cMod. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMod() { + return cMod; + } + + /** + * Define o valor da propriedade cMod. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMod(String value) { + this.cMod = value; + } + + /** + * Obtém o valor da propriedade cCorDENATRAN. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCCorDENATRAN() { + return cCorDENATRAN; + } + + /** + * Define o valor da propriedade cCorDENATRAN. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCCorDENATRAN(String value) { + this.cCorDENATRAN = value; + } + + /** + * Obtém o valor da propriedade lota. + * + * @return + * possible object is + * {@link String } + * + */ + public String getLota() { + return lota; + } + + /** + * Define o valor da propriedade lota. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setLota(String value) { + this.lota = value; + } + + /** + * Obtém o valor da propriedade tpRest. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpRest() { + return tpRest; + } + + /** + * Define o valor da propriedade tpRest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpRest(String value) { + this.tpRest = value; + } + + } + + } + + } + + + /** + *

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>
+         *         <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="xNome">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="2"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xFant" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *               <maxLength value="60"/>
+         *               <minLength value="1"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="enderEmit" type="{http://www.portalfiscal.inf.br/nfe}TEnderEmi"/>
+         *         <element name="IE" type="{http://www.portalfiscal.inf.br/nfe}TIe"/>
+         *         <element name="IEST" type="{http://www.portalfiscal.inf.br/nfe}TIeST" minOccurs="0"/>
+         *         <sequence minOccurs="0">
+         *           <element name="IM">
+         *             <simpleType>
+         *               <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                 <minLength value="1"/>
+         *                 <maxLength value="15"/>
+         *               </restriction>
+         *             </simpleType>
+         *           </element>
+         *           <element name="CNAE" minOccurs="0">
+         *             <simpleType>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                 <whiteSpace value="preserve"/>
+         *                 <pattern value="[0-9]{7}"/>
+         *               </restriction>
+         *             </simpleType>
+         *           </element>
+         *         </sequence>
+         *         <element name="CRT">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="2"/>
+         *               <enumeration value="3"/>
+         *               <enumeration value="4"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "cpf", + "xNome", + "xFant", + "enderEmit", + "ie", + "iest", + "im", + "cnae", + "crt" + }) + public static class Emit { + + @XmlElement(name = "CNPJ", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cnpj; + @XmlElement(name = "CPF", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cpf; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String xNome; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String xFant; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected TEnderEmi enderEmit; + @XmlElement(name = "IE", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String ie; + @XmlElement(name = "IEST", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String iest; + @XmlElement(name = "IM", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String im; + @XmlElement(name = "CNAE", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cnae; + @XmlElement(name = "CRT", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String crt; + + /** + * Obtém o valor da propriedade cnpj. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Define o valor da propriedade cnpj. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Obtém o valor da propriedade cpf. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Define o valor da propriedade cpf. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Obtém o valor da propriedade xNome. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Define o valor da propriedade xNome. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Obtém o valor da propriedade xFant. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXFant() { + return xFant; + } + + /** + * Define o valor da propriedade xFant. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXFant(String value) { + this.xFant = value; + } + + /** + * Obtém o valor da propriedade enderEmit. + * + * @return + * possible object is + * {@link TEnderEmi } + * + */ + public TEnderEmi getEnderEmit() { + return enderEmit; + } + + /** + * Define o valor da propriedade enderEmit. + * + * @param value + * allowed object is + * {@link TEnderEmi } + * + */ + public void setEnderEmit(TEnderEmi value) { + this.enderEmit = value; + } + + /** + * Obtém o valor da propriedade ie. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIE() { + return ie; + } + + /** + * Define o valor da propriedade ie. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Obtém o valor da propriedade iest. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIEST() { + return iest; + } + + /** + * Define o valor da propriedade iest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIEST(String value) { + this.iest = value; + } + + /** + * Obtém o valor da propriedade im. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIM() { + return im; + } + + /** + * Define o valor da propriedade im. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIM(String value) { + this.im = value; + } + + /** + * Obtém o valor da propriedade cnae. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNAE() { + return cnae; + } + + /** + * Define o valor da propriedade cnae. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNAE(String value) { + this.cnae = value; + } + + /** + * Obtém o valor da propriedade crt. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCRT() { + return crt; + } + + /** + * Define o valor da propriedade crt. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCRT(String value) { + this.crt = value; + } + + } + + + /** + *

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="UFSaidaPais" type="{http://www.portalfiscal.inf.br/nfe}TUfEmi"/>
+         *         <element name="xLocExporta">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="xLocDespacho" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "ufSaidaPais", + "xLocExporta", + "xLocDespacho" + }) + public static class Exporta { + + @XmlElement(name = "UFSaidaPais", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + @XmlSchemaType(name = "string") + protected TUfEmi ufSaidaPais; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String xLocExporta; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String xLocDespacho; + + /** + * Obtém o valor da propriedade ufSaidaPais. + * + * @return + * possible object is + * {@link TUfEmi } + * + */ + public TUfEmi getUFSaidaPais() { + return ufSaidaPais; + } + + /** + * Define o valor da propriedade ufSaidaPais. + * + * @param value + * allowed object is + * {@link TUfEmi } + * + */ + public void setUFSaidaPais(TUfEmi value) { + this.ufSaidaPais = value; + } + + /** + * Obtém o valor da propriedade xLocExporta. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXLocExporta() { + return xLocExporta; + } + + /** + * Define o valor da propriedade xLocExporta. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXLocExporta(String value) { + this.xLocExporta = value; + } + + /** + * Obtém o valor da propriedade xLocDespacho. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXLocDespacho() { + return xLocDespacho; + } + + /** + * Define o valor da propriedade xLocDespacho. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXLocDespacho(String value) { + this.xLocDespacho = value; + } + + } + + + /** + *

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="cUF" type="{http://www.portalfiscal.inf.br/nfe}TCodUfIBGE"/>
+         *         <element name="cNF">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <pattern value="[0-9]{8}"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="natOp">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="mod" type="{http://www.portalfiscal.inf.br/nfe}TMod"/>
+         *         <element name="serie" type="{http://www.portalfiscal.inf.br/nfe}TSerie"/>
+         *         <element name="nNF" type="{http://www.portalfiscal.inf.br/nfe}TNF"/>
+         *         <element name="dhEmi" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/>
+         *         <element name="dhSaiEnt" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC" minOccurs="0"/>
+         *         <element name="tpNF">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="0"/>
+         *               <enumeration value="1"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="idDest">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="2"/>
+         *               <enumeration value="3"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="cMunFG" type="{http://www.portalfiscal.inf.br/nfe}TCodMunIBGE"/>
+         *         <element name="cMunFGIBS" type="{http://www.portalfiscal.inf.br/nfe}TCodMunIBGE" minOccurs="0"/>
+         *         <element name="tpImp">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="0"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="2"/>
+         *               <enumeration value="3"/>
+         *               <enumeration value="4"/>
+         *               <enumeration value="5"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="tpEmis">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="2"/>
+         *               <enumeration value="3"/>
+         *               <enumeration value="4"/>
+         *               <enumeration value="5"/>
+         *               <enumeration value="6"/>
+         *               <enumeration value="7"/>
+         *               <enumeration value="9"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="cDV">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <pattern value="[0-9]{1}"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="tpAmb" type="{http://www.portalfiscal.inf.br/nfe}TAmb"/>
+         *         <element name="finNFe" type="{http://www.portalfiscal.inf.br/nfe}TFinNFe"/>
+         *         <element name="tpNFDebito" type="{http://www.portalfiscal.inf.br/nfe}TTpNFDebito" minOccurs="0"/>
+         *         <element name="tpNFCredito" type="{http://www.portalfiscal.inf.br/nfe}TTpNFCredito" minOccurs="0"/>
+         *         <element name="indFinal">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="0"/>
+         *               <enumeration value="1"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="indPres">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="0"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="2"/>
+         *               <enumeration value="3"/>
+         *               <enumeration value="4"/>
+         *               <enumeration value="5"/>
+         *               <enumeration value="9"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="indIntermed" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="0"/>
+         *               <enumeration value="1"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="procEmi" type="{http://www.portalfiscal.inf.br/nfe}TProcEmi"/>
+         *         <element name="verProc">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *               <minLength value="1"/>
+         *               <maxLength value="20"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <sequence minOccurs="0">
+         *           <element name="dhCont" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/>
+         *           <element name="xJust">
+         *             <simpleType>
+         *               <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                 <minLength value="15"/>
+         *                 <maxLength value="256"/>
+         *               </restriction>
+         *             </simpleType>
+         *           </element>
+         *         </sequence>
+         *         <element name="NFref" maxOccurs="999" minOccurs="0">
+         *           <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>
+         *         </element>
+         *         <element name="gCompraGov" type="{http://www.portalfiscal.inf.br/nfe}TCompraGov" minOccurs="0"/>
+         *         <element name="gPagAntecipado" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="refNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe" maxOccurs="99"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cuf", + "cnf", + "natOp", + "mod", + "serie", + "nnf", + "dhEmi", + "dhSaiEnt", + "tpNF", + "idDest", + "cMunFG", + "cMunFGIBS", + "tpImp", + "tpEmis", + "cdv", + "tpAmb", + "finNFe", + "tpNFDebito", + "tpNFCredito", + "indFinal", + "indPres", + "indIntermed", + "procEmi", + "verProc", + "dhCont", + "xJust", + "nFref", + "gCompraGov", + "gPagAntecipado" + }) + public static class Ide { + + @XmlElement(name = "cUF", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cuf; + @XmlElement(name = "cNF", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cnf; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String natOp; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String mod; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String serie; + @XmlElement(name = "nNF", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String nnf; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String dhEmi; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String dhSaiEnt; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpNF; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String idDest; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cMunFG; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cMunFGIBS; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpImp; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpEmis; + @XmlElement(name = "cDV", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cdv; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpAmb; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String finNFe; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String tpNFDebito; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String tpNFCredito; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String indFinal; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String indPres; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String indIntermed; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String procEmi; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String verProc; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String dhCont; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String xJust; + @XmlElement(name = "NFref", namespace = "http://www.portalfiscal.inf.br/nfe") + protected List nFref; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TCompraGov gCompraGov; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Ide.GPagAntecipado gPagAntecipado; + + /** + * Obtém o valor da propriedade cuf. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCUF() { + return cuf; + } + + /** + * Define o valor da propriedade cuf. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCUF(String value) { + this.cuf = value; + } + + /** + * Obtém o valor da propriedade cnf. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNF() { + return cnf; + } + + /** + * Define o valor da propriedade cnf. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNF(String value) { + this.cnf = value; + } + + /** + * Obtém o valor da propriedade natOp. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNatOp() { + return natOp; + } + + /** + * Define o valor da propriedade natOp. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNatOp(String value) { + this.natOp = value; + } + + /** + * Obtém o valor da propriedade mod. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMod() { + return mod; + } + + /** + * Define o valor da propriedade mod. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMod(String value) { + this.mod = value; + } + + /** + * Obtém o valor da propriedade serie. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSerie() { + return serie; + } + + /** + * Define o valor da propriedade serie. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSerie(String value) { + this.serie = value; + } + + /** + * Obtém o valor da propriedade nnf. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNNF() { + return nnf; + } + + /** + * Define o valor da propriedade nnf. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNNF(String value) { + this.nnf = value; + } + + /** + * Obtém o valor da propriedade dhEmi. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDhEmi() { + return dhEmi; + } + + /** + * Define o valor da propriedade dhEmi. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDhEmi(String value) { + this.dhEmi = value; + } + + /** + * Obtém o valor da propriedade dhSaiEnt. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDhSaiEnt() { + return dhSaiEnt; + } + + /** + * Define o valor da propriedade dhSaiEnt. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDhSaiEnt(String value) { + this.dhSaiEnt = value; + } + + /** + * Obtém o valor da propriedade tpNF. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpNF() { + return tpNF; + } + + /** + * Define o valor da propriedade tpNF. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpNF(String value) { + this.tpNF = value; + } + + /** + * Obtém o valor da propriedade idDest. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIdDest() { + return idDest; + } + + /** + * Define o valor da propriedade idDest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIdDest(String value) { + this.idDest = value; + } + + /** + * Obtém o valor da propriedade cMunFG. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMunFG() { + return cMunFG; + } + + /** + * Define o valor da propriedade cMunFG. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMunFG(String value) { + this.cMunFG = value; + } + + /** + * Obtém o valor da propriedade cMunFGIBS. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMunFGIBS() { + return cMunFGIBS; + } + + /** + * Define o valor da propriedade cMunFGIBS. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMunFGIBS(String value) { + this.cMunFGIBS = value; + } + + /** + * Obtém o valor da propriedade tpImp. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpImp() { + return tpImp; + } + + /** + * Define o valor da propriedade tpImp. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpImp(String value) { + this.tpImp = value; + } + + /** + * Obtém o valor da propriedade tpEmis. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpEmis() { + return tpEmis; + } + + /** + * Define o valor da propriedade tpEmis. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpEmis(String value) { + this.tpEmis = value; + } + + /** + * Obtém o valor da propriedade cdv. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCDV() { + return cdv; + } + + /** + * Define o valor da propriedade cdv. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCDV(String value) { + this.cdv = value; + } + + /** + * Obtém o valor da propriedade tpAmb. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpAmb() { + return tpAmb; + } + + /** + * Define o valor da propriedade tpAmb. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpAmb(String value) { + this.tpAmb = value; + } + + /** + * Obtém o valor da propriedade finNFe. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFinNFe() { + return finNFe; + } + + /** + * Define o valor da propriedade finNFe. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFinNFe(String value) { + this.finNFe = value; + } + + /** + * Obtém o valor da propriedade tpNFDebito. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpNFDebito() { + return tpNFDebito; + } + + /** + * Define o valor da propriedade tpNFDebito. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpNFDebito(String value) { + this.tpNFDebito = value; + } + + /** + * Obtém o valor da propriedade tpNFCredito. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpNFCredito() { + return tpNFCredito; + } + + /** + * Define o valor da propriedade tpNFCredito. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpNFCredito(String value) { + this.tpNFCredito = value; + } + + /** + * Obtém o valor da propriedade indFinal. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndFinal() { + return indFinal; + } + + /** + * Define o valor da propriedade indFinal. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndFinal(String value) { + this.indFinal = value; + } + + /** + * Obtém o valor da propriedade indPres. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndPres() { + return indPres; + } + + /** + * Define o valor da propriedade indPres. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndPres(String value) { + this.indPres = value; + } + + /** + * Obtém o valor da propriedade indIntermed. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndIntermed() { + return indIntermed; + } + + /** + * Define o valor da propriedade indIntermed. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndIntermed(String value) { + this.indIntermed = value; + } + + /** + * Obtém o valor da propriedade procEmi. + * + * @return + * possible object is + * {@link String } + * + */ + public String getProcEmi() { + return procEmi; + } + + /** + * Define o valor da propriedade procEmi. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setProcEmi(String value) { + this.procEmi = value; + } + + /** + * Obtém o valor da propriedade verProc. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVerProc() { + return verProc; + } + + /** + * Define o valor da propriedade verProc. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVerProc(String value) { + this.verProc = value; + } + + /** + * Obtém o valor da propriedade dhCont. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDhCont() { + return dhCont; + } + + /** + * Define o valor da propriedade dhCont. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDhCont(String value) { + this.dhCont = value; + } + + /** + * Obtém o valor da propriedade xJust. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXJust() { + return xJust; + } + + /** + * Define o valor da propriedade xJust. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXJust(String value) { + this.xJust = value; + } + + /** + * Gets the value of the nFref property. + * + *

+ * 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 set method for the nFref property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getNFref().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TNFe.InfNFe.Ide.NFref } + * + * + */ + public List getNFref() { + if (nFref == null) { + nFref = new ArrayList(); + } + return this.nFref; + } + + /** + * Obtém o valor da propriedade gCompraGov. + * + * @return + * possible object is + * {@link TCompraGov } + * + */ + public TCompraGov getGCompraGov() { + return gCompraGov; + } + + /** + * Define o valor da propriedade gCompraGov. + * + * @param value + * allowed object is + * {@link TCompraGov } + * + */ + public void setGCompraGov(TCompraGov value) { + this.gCompraGov = value; + } + + /** + * Obtém o valor da propriedade gPagAntecipado. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Ide.GPagAntecipado } + * + */ + public TNFe.InfNFe.Ide.GPagAntecipado getGPagAntecipado() { + return gPagAntecipado; + } + + /** + * Define o valor da propriedade gPagAntecipado. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Ide.GPagAntecipado } + * + */ + public void setGPagAntecipado(TNFe.InfNFe.Ide.GPagAntecipado value) { + this.gPagAntecipado = value; + } + + + /** + *

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="refNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe" maxOccurs="99"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "refNFe" + }) + public static class GPagAntecipado { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected List refNFe; + + /** + * Gets the value of the refNFe property. + * + *

+ * 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 set method for the refNFe property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getRefNFe().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List getRefNFe() { + if (refNFe == null) { + refNFe = new ArrayList(); + } + return this.refNFe; + } + + } + + + /** + *

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">
+             *       <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>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "refNFe", + "refNFeSig", + "refNF", + "refNFP", + "refCTe", + "refECF" + }) + public static class NFref { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String refNFe; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String refNFeSig; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Ide.NFref.RefNF refNF; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Ide.NFref.RefNFP refNFP; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String refCTe; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Ide.NFref.RefECF refECF; + + /** + * Obtém o valor da propriedade refNFe. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRefNFe() { + return refNFe; + } + + /** + * Define o valor da propriedade refNFe. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRefNFe(String value) { + this.refNFe = value; + } + + /** + * Obtém o valor da propriedade refNFeSig. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRefNFeSig() { + return refNFeSig; + } + + /** + * Define o valor da propriedade refNFeSig. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRefNFeSig(String value) { + this.refNFeSig = value; + } + + /** + * Obtém o valor da propriedade refNF. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Ide.NFref.RefNF } + * + */ + public TNFe.InfNFe.Ide.NFref.RefNF getRefNF() { + return refNF; + } + + /** + * Define o valor da propriedade refNF. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Ide.NFref.RefNF } + * + */ + public void setRefNF(TNFe.InfNFe.Ide.NFref.RefNF value) { + this.refNF = value; + } + + /** + * Obtém o valor da propriedade refNFP. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Ide.NFref.RefNFP } + * + */ + public TNFe.InfNFe.Ide.NFref.RefNFP getRefNFP() { + return refNFP; + } + + /** + * Define o valor da propriedade refNFP. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Ide.NFref.RefNFP } + * + */ + public void setRefNFP(TNFe.InfNFe.Ide.NFref.RefNFP value) { + this.refNFP = value; + } + + /** + * Obtém o valor da propriedade refCTe. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRefCTe() { + return refCTe; + } + + /** + * Define o valor da propriedade refCTe. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRefCTe(String value) { + this.refCTe = value; + } + + /** + * Obtém o valor da propriedade refECF. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Ide.NFref.RefECF } + * + */ + public TNFe.InfNFe.Ide.NFref.RefECF getRefECF() { + return refECF; + } + + /** + * Define o valor da propriedade refECF. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Ide.NFref.RefECF } + * + */ + public void setRefECF(TNFe.InfNFe.Ide.NFref.RefECF value) { + this.refECF = value; + } + + + /** + *

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="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>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "mod", + "necf", + "ncoo" + }) + public static class RefECF { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String mod; + @XmlElement(name = "nECF", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String necf; + @XmlElement(name = "nCOO", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String ncoo; + + /** + * Obtém o valor da propriedade mod. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMod() { + return mod; + } + + /** + * Define o valor da propriedade mod. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMod(String value) { + this.mod = value; + } + + /** + * Obtém o valor da propriedade necf. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNECF() { + return necf; + } + + /** + * Define o valor da propriedade necf. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNECF(String value) { + this.necf = value; + } + + /** + * Obtém o valor da propriedade ncoo. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNCOO() { + return ncoo; + } + + /** + * Define o valor da propriedade ncoo. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNCOO(String value) { + this.ncoo = value; + } + + } + + + /** + *

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="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>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cuf", + "aamm", + "cnpj", + "mod", + "serie", + "nnf" + }) + public static class RefNF { + + @XmlElement(name = "cUF", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cuf; + @XmlElement(name = "AAMM", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String aamm; + @XmlElement(name = "CNPJ", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cnpj; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String mod; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String serie; + @XmlElement(name = "nNF", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String nnf; + + /** + * Obtém o valor da propriedade cuf. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCUF() { + return cuf; + } + + /** + * Define o valor da propriedade cuf. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCUF(String value) { + this.cuf = value; + } + + /** + * Obtém o valor da propriedade aamm. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAAMM() { + return aamm; + } + + /** + * Define o valor da propriedade aamm. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAAMM(String value) { + this.aamm = value; + } + + /** + * Obtém o valor da propriedade cnpj. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Define o valor da propriedade cnpj. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Obtém o valor da propriedade mod. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMod() { + return mod; + } + + /** + * Define o valor da propriedade mod. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMod(String value) { + this.mod = value; + } + + /** + * Obtém o valor da propriedade serie. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSerie() { + return serie; + } + + /** + * Define o valor da propriedade serie. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSerie(String value) { + this.serie = value; + } + + /** + * Obtém o valor da propriedade nnf. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNNF() { + return nnf; + } + + /** + * Define o valor da propriedade nnf. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNNF(String value) { + this.nnf = value; + } + + } + + + /** + *

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="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>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cuf", + "aamm", + "cnpj", + "cpf", + "ie", + "mod", + "serie", + "nnf" + }) + public static class RefNFP { + + @XmlElement(name = "cUF", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cuf; + @XmlElement(name = "AAMM", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String aamm; + @XmlElement(name = "CNPJ", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cnpj; + @XmlElement(name = "CPF", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cpf; + @XmlElement(name = "IE", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String ie; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String mod; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String serie; + @XmlElement(name = "nNF", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String nnf; + + /** + * Obtém o valor da propriedade cuf. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCUF() { + return cuf; + } + + /** + * Define o valor da propriedade cuf. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCUF(String value) { + this.cuf = value; + } + + /** + * Obtém o valor da propriedade aamm. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAAMM() { + return aamm; + } + + /** + * Define o valor da propriedade aamm. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAAMM(String value) { + this.aamm = value; + } + + /** + * Obtém o valor da propriedade cnpj. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Define o valor da propriedade cnpj. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Obtém o valor da propriedade cpf. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Define o valor da propriedade cpf. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Obtém o valor da propriedade ie. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIE() { + return ie; + } + + /** + * Define o valor da propriedade ie. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Obtém o valor da propriedade mod. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMod() { + return mod; + } + + /** + * Define o valor da propriedade mod. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMod(String value) { + this.mod = value; + } + + /** + * Obtém o valor da propriedade serie. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSerie() { + return serie; + } + + /** + * Define o valor da propriedade serie. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSerie(String value) { + this.serie = value; + } + + /** + * Obtém o valor da propriedade nnf. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNNF() { + return nnf; + } + + /** + * Define o valor da propriedade nnf. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNNF(String value) { + this.nnf = value; + } + + } + + } + + } + + + /** + *

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="infAdFisco" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *               <maxLength value="2000"/>
+         *               <minLength value="1"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="infCpl" minOccurs="0">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *               <maxLength value="5000"/>
+         *               <minLength value="1"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="obsCont" maxOccurs="10" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="xTexto">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="60"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *                 <attribute name="xCampo" use="required">
+         *                   <simpleType>
+         *                     <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                       <minLength value="1"/>
+         *                       <maxLength value="20"/>
+         *                     </restriction>
+         *                   </simpleType>
+         *                 </attribute>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="obsFisco" maxOccurs="10" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="xTexto">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="60"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *                 <attribute name="xCampo" use="required">
+         *                   <simpleType>
+         *                     <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                       <minLength value="1"/>
+         *                       <maxLength value="20"/>
+         *                     </restriction>
+         *                   </simpleType>
+         *                 </attribute>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="procRef" maxOccurs="100" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="nProc">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="60"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="indProc">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <whiteSpace value="preserve"/>
+         *                         <enumeration value="0"/>
+         *                         <enumeration value="1"/>
+         *                         <enumeration value="2"/>
+         *                         <enumeration value="3"/>
+         *                         <enumeration value="4"/>
+         *                         <enumeration value="9"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="tpAto" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <whiteSpace value="preserve"/>
+         *                         <enumeration value="08"/>
+         *                         <enumeration value="10"/>
+         *                         <enumeration value="12"/>
+         *                         <enumeration value="14"/>
+         *                         <enumeration value="15"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "infAdFisco", + "infCpl", + "obsCont", + "obsFisco", + "procRef" + }) + public static class InfAdic { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String infAdFisco; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String infCpl; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected List obsCont; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected List obsFisco; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected List procRef; + + /** + * Obtém o valor da propriedade infAdFisco. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInfAdFisco() { + return infAdFisco; + } + + /** + * Define o valor da propriedade infAdFisco. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInfAdFisco(String value) { + this.infAdFisco = value; + } + + /** + * Obtém o valor da propriedade infCpl. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInfCpl() { + return infCpl; + } + + /** + * Define o valor da propriedade infCpl. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInfCpl(String value) { + this.infCpl = value; + } + + /** + * Gets the value of the obsCont property. + * + *

+ * 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 set method for the obsCont property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getObsCont().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TNFe.InfNFe.InfAdic.ObsCont } + * + * + */ + public List getObsCont() { + if (obsCont == null) { + obsCont = new ArrayList(); + } + return this.obsCont; + } + + /** + * Gets the value of the obsFisco property. + * + *

+ * 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 set method for the obsFisco property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getObsFisco().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TNFe.InfNFe.InfAdic.ObsFisco } + * + * + */ + public List getObsFisco() { + if (obsFisco == null) { + obsFisco = new ArrayList(); + } + return this.obsFisco; + } + + /** + * Gets the value of the procRef property. + * + *

+ * 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 set method for the procRef property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getProcRef().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TNFe.InfNFe.InfAdic.ProcRef } + * + * + */ + public List getProcRef() { + if (procRef == null) { + procRef = new ArrayList(); + } + return this.procRef; + } + + + /** + *

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="xTexto">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="60"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *       <attribute name="xCampo" use="required">
+             *         <simpleType>
+             *           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *             <minLength value="1"/>
+             *             <maxLength value="20"/>
+             *           </restriction>
+             *         </simpleType>
+             *       </attribute>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xTexto" + }) + public static class ObsCont { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String xTexto; + @XmlAttribute(name = "xCampo", required = true) + protected String xCampo; + + /** + * Obtém o valor da propriedade xTexto. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXTexto() { + return xTexto; + } + + /** + * Define o valor da propriedade xTexto. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXTexto(String value) { + this.xTexto = value; + } + + /** + * Obtém o valor da propriedade xCampo. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCampo() { + return xCampo; + } + + /** + * Define o valor da propriedade xCampo. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCampo(String value) { + this.xCampo = value; + } + + } + + + /** + *

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="xTexto">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="60"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *       <attribute name="xCampo" use="required">
+             *         <simpleType>
+             *           <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *             <minLength value="1"/>
+             *             <maxLength value="20"/>
+             *           </restriction>
+             *         </simpleType>
+             *       </attribute>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xTexto" + }) + public static class ObsFisco { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String xTexto; + @XmlAttribute(name = "xCampo", required = true) + protected String xCampo; + + /** + * Obtém o valor da propriedade xTexto. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXTexto() { + return xTexto; + } + + /** + * Define o valor da propriedade xTexto. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXTexto(String value) { + this.xTexto = value; + } + + /** + * Obtém o valor da propriedade xCampo. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXCampo() { + return xCampo; + } + + /** + * Define o valor da propriedade xCampo. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXCampo(String value) { + this.xCampo = value; + } + + } + + + /** + *

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="nProc">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="60"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="indProc">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <enumeration value="0"/>
+             *               <enumeration value="1"/>
+             *               <enumeration value="2"/>
+             *               <enumeration value="3"/>
+             *               <enumeration value="4"/>
+             *               <enumeration value="9"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="tpAto" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <enumeration value="08"/>
+             *               <enumeration value="10"/>
+             *               <enumeration value="12"/>
+             *               <enumeration value="14"/>
+             *               <enumeration value="15"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "nProc", + "indProc", + "tpAto" + }) + public static class ProcRef { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String nProc; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String indProc; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String tpAto; + + /** + * Obtém o valor da propriedade nProc. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNProc() { + return nProc; + } + + /** + * Define o valor da propriedade nProc. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNProc(String value) { + this.nProc = value; + } + + /** + * Obtém o valor da propriedade indProc. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndProc() { + return indProc; + } + + /** + * Define o valor da propriedade indProc. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndProc(String value) { + this.indProc = value; + } + + /** + * Obtém o valor da propriedade tpAto. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpAto() { + return tpAto; + } + + /** + * Define o valor da propriedade tpAto. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpAto(String value) { + this.tpAto = value; + } + + } + + } + + + /** + *

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="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/>
+         *         <element name="idCadIntTran">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *               <minLength value="2"/>
+         *               <maxLength value="60"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "idCadIntTran" + }) + public static class InfIntermed { + + @XmlElement(name = "CNPJ", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cnpj; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String idCadIntTran; + + /** + * Obtém o valor da propriedade cnpj. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Define o valor da propriedade cnpj. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Obtém o valor da propriedade idCadIntTran. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIdCadIntTran() { + return idCadIntTran; + } + + /** + * Define o valor da propriedade idCadIntTran. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIdCadIntTran(String value) { + this.idCadIntTran = value; + } + + } + + + /** + *

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="xSolic">
+         *           <simpleType>
+         *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *               <minLength value="2"/>
+         *               <maxLength value="5000"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "xSolic" + }) + public static class InfSolicNFF { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String xSolic; + + /** + * Obtém o valor da propriedade xSolic. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXSolic() { + return xSolic; + } + + /** + * Define o valor da propriedade xSolic. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXSolic(String value) { + this.xSolic = value; + } + + } + + + /** + *

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="detPag" maxOccurs="100">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="indPag" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <whiteSpace value="preserve"/>
+         *                         <enumeration value="0"/>
+         *                         <enumeration value="1"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="tPag">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <whiteSpace value="preserve"/>
+         *                         <pattern value="[0-9]{2}"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="xPag" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                         <minLength value="2"/>
+         *                         <maxLength value="60"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="vPag" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                   <element name="dPag" type="{http://www.portalfiscal.inf.br/nfe}TData" minOccurs="0"/>
+         *                   <sequence minOccurs="0">
+         *                     <element name="CNPJPag" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/>
+         *                     <element name="UFPag" type="{http://www.portalfiscal.inf.br/nfe}TUfEmi"/>
+         *                   </sequence>
+         *                   <element name="card" minOccurs="0">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <element name="tpIntegra">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                   <whiteSpace value="preserve"/>
+         *                                   <enumeration value="1"/>
+         *                                   <enumeration value="2"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                             <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj" minOccurs="0"/>
+         *                             <element name="tBand" minOccurs="0">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                                   <whiteSpace value="preserve"/>
+         *                                   <pattern value="[0-9]{2}"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                             <element name="cAut" minOccurs="0">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                   <minLength value="1"/>
+         *                                   <maxLength value="128"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                             <element name="CNPJReceb" type="{http://www.portalfiscal.inf.br/nfe}TCnpj" minOccurs="0"/>
+         *                             <element name="idTermPag" minOccurs="0">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                   <minLength value="1"/>
+         *                                   <maxLength value="40"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="vTroco" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "detPag", + "vTroco" + }) + public static class Pag { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected List detPag; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vTroco; + + /** + * Gets the value of the detPag property. + * + *

+ * 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 set method for the detPag property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getDetPag().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TNFe.InfNFe.Pag.DetPag } + * + * + */ + public List getDetPag() { + if (detPag == null) { + detPag = new ArrayList(); + } + return this.detPag; + } + + /** + * Obtém o valor da propriedade vTroco. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVTroco() { + return vTroco; + } + + /** + * Define o valor da propriedade vTroco. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVTroco(String value) { + this.vTroco = value; + } + + + /** + *

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="indPag" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <enumeration value="0"/>
+             *               <enumeration value="1"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="tPag">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <pattern value="[0-9]{2}"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="xPag" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *               <minLength value="2"/>
+             *               <maxLength value="60"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="vPag" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *         <element name="dPag" type="{http://www.portalfiscal.inf.br/nfe}TData" minOccurs="0"/>
+             *         <sequence minOccurs="0">
+             *           <element name="CNPJPag" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/>
+             *           <element name="UFPag" type="{http://www.portalfiscal.inf.br/nfe}TUfEmi"/>
+             *         </sequence>
+             *         <element name="card" minOccurs="0">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="tpIntegra">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                         <whiteSpace value="preserve"/>
+             *                         <enumeration value="1"/>
+             *                         <enumeration value="2"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                   <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj" minOccurs="0"/>
+             *                   <element name="tBand" minOccurs="0">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *                         <whiteSpace value="preserve"/>
+             *                         <pattern value="[0-9]{2}"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                   <element name="cAut" minOccurs="0">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                         <minLength value="1"/>
+             *                         <maxLength value="128"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                   <element name="CNPJReceb" type="{http://www.portalfiscal.inf.br/nfe}TCnpj" minOccurs="0"/>
+             *                   <element name="idTermPag" minOccurs="0">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                         <minLength value="1"/>
+             *                         <maxLength value="40"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "indPag", + "tPag", + "xPag", + "vPag", + "dPag", + "cnpjPag", + "ufPag", + "card" + }) + public static class DetPag { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String indPag; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tPag; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String xPag; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vPag; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String dPag; + @XmlElement(name = "CNPJPag", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cnpjPag; + @XmlElement(name = "UFPag", namespace = "http://www.portalfiscal.inf.br/nfe") + @XmlSchemaType(name = "string") + protected TUfEmi ufPag; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Pag.DetPag.Card card; + + /** + * Obtém o valor da propriedade indPag. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIndPag() { + return indPag; + } + + /** + * Define o valor da propriedade indPag. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIndPag(String value) { + this.indPag = value; + } + + /** + * Obtém o valor da propriedade tPag. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTPag() { + return tPag; + } + + /** + * Define o valor da propriedade tPag. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTPag(String value) { + this.tPag = value; + } + + /** + * Obtém o valor da propriedade xPag. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXPag() { + return xPag; + } + + /** + * Define o valor da propriedade xPag. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXPag(String value) { + this.xPag = value; + } + + /** + * Obtém o valor da propriedade vPag. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVPag() { + return vPag; + } + + /** + * Define o valor da propriedade vPag. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVPag(String value) { + this.vPag = value; + } + + /** + * Obtém o valor da propriedade dPag. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDPag() { + return dPag; + } + + /** + * Define o valor da propriedade dPag. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDPag(String value) { + this.dPag = value; + } + + /** + * Obtém o valor da propriedade cnpjPag. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJPag() { + return cnpjPag; + } + + /** + * Define o valor da propriedade cnpjPag. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJPag(String value) { + this.cnpjPag = value; + } + + /** + * Obtém o valor da propriedade ufPag. + * + * @return + * possible object is + * {@link TUfEmi } + * + */ + public TUfEmi getUFPag() { + return ufPag; + } + + /** + * Define o valor da propriedade ufPag. + * + * @param value + * allowed object is + * {@link TUfEmi } + * + */ + public void setUFPag(TUfEmi value) { + this.ufPag = value; + } + + /** + * Obtém o valor da propriedade card. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Pag.DetPag.Card } + * + */ + public TNFe.InfNFe.Pag.DetPag.Card getCard() { + return card; + } + + /** + * Define o valor da propriedade card. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Pag.DetPag.Card } + * + */ + public void setCard(TNFe.InfNFe.Pag.DetPag.Card value) { + this.card = value; + } + + + /** + *

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="tpIntegra">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <enumeration value="1"/>
+                 *               <enumeration value="2"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj" minOccurs="0"/>
+                 *         <element name="tBand" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+                 *               <whiteSpace value="preserve"/>
+                 *               <pattern value="[0-9]{2}"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="cAut" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="128"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *         <element name="CNPJReceb" type="{http://www.portalfiscal.inf.br/nfe}TCnpj" minOccurs="0"/>
+                 *         <element name="idTermPag" minOccurs="0">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="40"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "tpIntegra", + "cnpj", + "tBand", + "cAut", + "cnpjReceb", + "idTermPag" + }) + public static class Card { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpIntegra; + @XmlElement(name = "CNPJ", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cnpj; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String tBand; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cAut; + @XmlElement(name = "CNPJReceb", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cnpjReceb; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String idTermPag; + + /** + * Obtém o valor da propriedade tpIntegra. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpIntegra() { + return tpIntegra; + } + + /** + * Define o valor da propriedade tpIntegra. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpIntegra(String value) { + this.tpIntegra = value; + } + + /** + * Obtém o valor da propriedade cnpj. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Define o valor da propriedade cnpj. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Obtém o valor da propriedade tBand. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTBand() { + return tBand; + } + + /** + * Define o valor da propriedade tBand. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTBand(String value) { + this.tBand = value; + } + + /** + * Obtém o valor da propriedade cAut. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCAut() { + return cAut; + } + + /** + * Define o valor da propriedade cAut. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCAut(String value) { + this.cAut = value; + } + + /** + * Obtém o valor da propriedade cnpjReceb. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJReceb() { + return cnpjReceb; + } + + /** + * Define o valor da propriedade cnpjReceb. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJReceb(String value) { + this.cnpjReceb = value; + } + + /** + * Obtém o valor da propriedade idTermPag. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIdTermPag() { + return idTermPag; + } + + /** + * Define o valor da propriedade idTermPag. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIdTermPag(String value) { + this.idTermPag = value; + } + + } + + } + + } + + + /** + *

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="ICMSTot">
+         *           <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="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                   <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                   <element name="vFCPUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+         *                   <element name="vICMSUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+         *                   <element name="vICMSUFRemet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+         *                   <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                   <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                   <element name="vST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                   <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                   <element name="vFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                   <element name="qBCMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+         *                   <element name="vICMSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+         *                   <element name="qBCMonoReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+         *                   <element name="vICMSMonoReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+         *                   <element name="qBCMonoRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+         *                   <element name="vICMSMonoRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+         *                   <element name="vProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                   <element name="vFrete" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                   <element name="vSeg" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                   <element name="vDesc" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                   <element name="vII" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                   <element name="vIPI" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                   <element name="vIPIDevol" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                   <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                   <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                   <element name="vOutro" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                   <element name="vNF" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                   <element name="vTotTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="ISSQNtot" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="vServ" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+         *                   <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+         *                   <element name="vISS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+         *                   <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+         *                   <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+         *                   <element name="dCompet" type="{http://www.portalfiscal.inf.br/nfe}TData"/>
+         *                   <element name="vDeducao" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+         *                   <element name="vOutro" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+         *                   <element name="vDescIncond" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+         *                   <element name="vDescCond" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+         *                   <element name="vISSRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+         *                   <element name="cRegTrib" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <whiteSpace value="preserve"/>
+         *                         <enumeration value="1"/>
+         *                         <enumeration value="2"/>
+         *                         <enumeration value="3"/>
+         *                         <enumeration value="4"/>
+         *                         <enumeration value="5"/>
+         *                         <enumeration value="6"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="retTrib" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="vRetPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+         *                   <element name="vRetCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+         *                   <element name="vRetCSLL" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+         *                   <element name="vBCIRRF" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+         *                   <element name="vIRRF" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+         *                   <element name="vBCRetPrev" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+         *                   <element name="vRetPrev" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="ISTot" type="{http://www.portalfiscal.inf.br/nfe}TISTot" minOccurs="0"/>
+         *         <element name="IBSCBSTot" type="{http://www.portalfiscal.inf.br/nfe}TIBSCBSMonoTot" minOccurs="0"/>
+         *         <element name="vNFTot" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "icmsTot", + "issqNtot", + "retTrib", + "isTot", + "ibscbsTot", + "vnfTot" + }) + public static class Total { + + @XmlElement(name = "ICMSTot", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected TNFe.InfNFe.Total.ICMSTot icmsTot; + @XmlElement(name = "ISSQNtot", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Total.ISSQNtot issqNtot; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Total.RetTrib retTrib; + @XmlElement(name = "ISTot", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TISTot isTot; + @XmlElement(name = "IBSCBSTot", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TIBSCBSMonoTot ibscbsTot; + @XmlElement(name = "vNFTot", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vnfTot; + + /** + * Obtém o valor da propriedade icmsTot. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Total.ICMSTot } + * + */ + public TNFe.InfNFe.Total.ICMSTot getICMSTot() { + return icmsTot; + } + + /** + * Define o valor da propriedade icmsTot. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Total.ICMSTot } + * + */ + public void setICMSTot(TNFe.InfNFe.Total.ICMSTot value) { + this.icmsTot = value; + } + + /** + * Obtém o valor da propriedade issqNtot. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Total.ISSQNtot } + * + */ + public TNFe.InfNFe.Total.ISSQNtot getISSQNtot() { + return issqNtot; + } + + /** + * Define o valor da propriedade issqNtot. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Total.ISSQNtot } + * + */ + public void setISSQNtot(TNFe.InfNFe.Total.ISSQNtot value) { + this.issqNtot = value; + } + + /** + * Obtém o valor da propriedade retTrib. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Total.RetTrib } + * + */ + public TNFe.InfNFe.Total.RetTrib getRetTrib() { + return retTrib; + } + + /** + * Define o valor da propriedade retTrib. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Total.RetTrib } + * + */ + public void setRetTrib(TNFe.InfNFe.Total.RetTrib value) { + this.retTrib = value; + } + + /** + * Obtém o valor da propriedade isTot. + * + * @return + * possible object is + * {@link TISTot } + * + */ + public TISTot getISTot() { + return isTot; + } + + /** + * Define o valor da propriedade isTot. + * + * @param value + * allowed object is + * {@link TISTot } + * + */ + public void setISTot(TISTot value) { + this.isTot = value; + } + + /** + * Obtém o valor da propriedade ibscbsTot. + * + * @return + * possible object is + * {@link TIBSCBSMonoTot } + * + */ + public TIBSCBSMonoTot getIBSCBSTot() { + return ibscbsTot; + } + + /** + * Define o valor da propriedade ibscbsTot. + * + * @param value + * allowed object is + * {@link TIBSCBSMonoTot } + * + */ + public void setIBSCBSTot(TIBSCBSMonoTot value) { + this.ibscbsTot = value; + } + + /** + * Obtém o valor da propriedade vnfTot. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVNFTot() { + return vnfTot; + } + + /** + * Define o valor da propriedade vnfTot. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVNFTot(String value) { + this.vnfTot = value; + } + + + /** + *

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="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *         <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *         <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *         <element name="vFCPUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+             *         <element name="vICMSUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+             *         <element name="vICMSUFRemet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+             *         <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *         <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *         <element name="vST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *         <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *         <element name="vFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *         <element name="qBCMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+             *         <element name="vICMSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+             *         <element name="qBCMonoReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+             *         <element name="vICMSMonoReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+             *         <element name="qBCMonoRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+             *         <element name="vICMSMonoRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+             *         <element name="vProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *         <element name="vFrete" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *         <element name="vSeg" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *         <element name="vDesc" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *         <element name="vII" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *         <element name="vIPI" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *         <element name="vIPIDevol" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *         <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *         <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *         <element name="vOutro" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *         <element name="vNF" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *         <element name="vTotTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vbc", + "vicms", + "vicmsDeson", + "vfcpufDest", + "vicmsufDest", + "vicmsufRemet", + "vfcp", + "vbcst", + "vst", + "vfcpst", + "vfcpstRet", + "qbcMono", + "vicmsMono", + "qbcMonoReten", + "vicmsMonoReten", + "qbcMonoRet", + "vicmsMonoRet", + "vProd", + "vFrete", + "vSeg", + "vDesc", + "vii", + "vipi", + "vipiDevol", + "vpis", + "vcofins", + "vOutro", + "vnf", + "vTotTrib" + }) + public static class ICMSTot { + + @XmlElement(name = "vBC", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vbc; + @XmlElement(name = "vICMS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vicms; + @XmlElement(name = "vICMSDeson", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vicmsDeson; + @XmlElement(name = "vFCPUFDest", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vfcpufDest; + @XmlElement(name = "vICMSUFDest", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vicmsufDest; + @XmlElement(name = "vICMSUFRemet", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vicmsufRemet; + @XmlElement(name = "vFCP", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vfcp; + @XmlElement(name = "vBCST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vbcst; + @XmlElement(name = "vST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vst; + @XmlElement(name = "vFCPST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vfcpst; + @XmlElement(name = "vFCPSTRet", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vfcpstRet; + @XmlElement(name = "qBCMono", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String qbcMono; + @XmlElement(name = "vICMSMono", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vicmsMono; + @XmlElement(name = "qBCMonoReten", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String qbcMonoReten; + @XmlElement(name = "vICMSMonoReten", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vicmsMonoReten; + @XmlElement(name = "qBCMonoRet", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String qbcMonoRet; + @XmlElement(name = "vICMSMonoRet", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vicmsMonoRet; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vProd; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vFrete; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vSeg; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vDesc; + @XmlElement(name = "vII", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vii; + @XmlElement(name = "vIPI", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vipi; + @XmlElement(name = "vIPIDevol", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vipiDevol; + @XmlElement(name = "vPIS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vpis; + @XmlElement(name = "vCOFINS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vcofins; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vOutro; + @XmlElement(name = "vNF", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vnf; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vTotTrib; + + /** + * Obtém o valor da propriedade vbc. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Define o valor da propriedade vbc. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Obtém o valor da propriedade vicms. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMS() { + return vicms; + } + + /** + * Define o valor da propriedade vicms. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMS(String value) { + this.vicms = value; + } + + /** + * Obtém o valor da propriedade vicmsDeson. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSDeson() { + return vicmsDeson; + } + + /** + * Define o valor da propriedade vicmsDeson. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSDeson(String value) { + this.vicmsDeson = value; + } + + /** + * Obtém o valor da propriedade vfcpufDest. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVFCPUFDest() { + return vfcpufDest; + } + + /** + * Define o valor da propriedade vfcpufDest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVFCPUFDest(String value) { + this.vfcpufDest = value; + } + + /** + * Obtém o valor da propriedade vicmsufDest. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSUFDest() { + return vicmsufDest; + } + + /** + * Define o valor da propriedade vicmsufDest. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSUFDest(String value) { + this.vicmsufDest = value; + } + + /** + * Obtém o valor da propriedade vicmsufRemet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSUFRemet() { + return vicmsufRemet; + } + + /** + * Define o valor da propriedade vicmsufRemet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSUFRemet(String value) { + this.vicmsufRemet = value; + } + + /** + * Obtém o valor da propriedade vfcp. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVFCP() { + return vfcp; + } + + /** + * Define o valor da propriedade vfcp. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVFCP(String value) { + this.vfcp = value; + } + + /** + * Obtém o valor da propriedade vbcst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCST() { + return vbcst; + } + + /** + * Define o valor da propriedade vbcst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCST(String value) { + this.vbcst = value; + } + + /** + * Obtém o valor da propriedade vst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVST() { + return vst; + } + + /** + * Define o valor da propriedade vst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVST(String value) { + this.vst = value; + } + + /** + * Obtém o valor da propriedade vfcpst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVFCPST() { + return vfcpst; + } + + /** + * Define o valor da propriedade vfcpst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVFCPST(String value) { + this.vfcpst = value; + } + + /** + * Obtém o valor da propriedade vfcpstRet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVFCPSTRet() { + return vfcpstRet; + } + + /** + * Define o valor da propriedade vfcpstRet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVFCPSTRet(String value) { + this.vfcpstRet = value; + } + + /** + * Obtém o valor da propriedade qbcMono. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQBCMono() { + return qbcMono; + } + + /** + * Define o valor da propriedade qbcMono. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQBCMono(String value) { + this.qbcMono = value; + } + + /** + * Obtém o valor da propriedade vicmsMono. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSMono() { + return vicmsMono; + } + + /** + * Define o valor da propriedade vicmsMono. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSMono(String value) { + this.vicmsMono = value; + } + + /** + * Obtém o valor da propriedade qbcMonoReten. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQBCMonoReten() { + return qbcMonoReten; + } + + /** + * Define o valor da propriedade qbcMonoReten. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQBCMonoReten(String value) { + this.qbcMonoReten = value; + } + + /** + * Obtém o valor da propriedade vicmsMonoReten. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSMonoReten() { + return vicmsMonoReten; + } + + /** + * Define o valor da propriedade vicmsMonoReten. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSMonoReten(String value) { + this.vicmsMonoReten = value; + } + + /** + * Obtém o valor da propriedade qbcMonoRet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQBCMonoRet() { + return qbcMonoRet; + } + + /** + * Define o valor da propriedade qbcMonoRet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQBCMonoRet(String value) { + this.qbcMonoRet = value; + } + + /** + * Obtém o valor da propriedade vicmsMonoRet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSMonoRet() { + return vicmsMonoRet; + } + + /** + * Define o valor da propriedade vicmsMonoRet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSMonoRet(String value) { + this.vicmsMonoRet = value; + } + + /** + * Obtém o valor da propriedade vProd. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVProd() { + return vProd; + } + + /** + * Define o valor da propriedade vProd. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVProd(String value) { + this.vProd = value; + } + + /** + * Obtém o valor da propriedade vFrete. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVFrete() { + return vFrete; + } + + /** + * Define o valor da propriedade vFrete. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVFrete(String value) { + this.vFrete = value; + } + + /** + * Obtém o valor da propriedade vSeg. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVSeg() { + return vSeg; + } + + /** + * Define o valor da propriedade vSeg. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVSeg(String value) { + this.vSeg = value; + } + + /** + * Obtém o valor da propriedade vDesc. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDesc() { + return vDesc; + } + + /** + * Define o valor da propriedade vDesc. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDesc(String value) { + this.vDesc = value; + } + + /** + * Obtém o valor da propriedade vii. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVII() { + return vii; + } + + /** + * Define o valor da propriedade vii. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVII(String value) { + this.vii = value; + } + + /** + * Obtém o valor da propriedade vipi. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVIPI() { + return vipi; + } + + /** + * Define o valor da propriedade vipi. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVIPI(String value) { + this.vipi = value; + } + + /** + * Obtém o valor da propriedade vipiDevol. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVIPIDevol() { + return vipiDevol; + } + + /** + * Define o valor da propriedade vipiDevol. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVIPIDevol(String value) { + this.vipiDevol = value; + } + + /** + * Obtém o valor da propriedade vpis. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVPIS() { + return vpis; + } + + /** + * Define o valor da propriedade vpis. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVPIS(String value) { + this.vpis = value; + } + + /** + * Obtém o valor da propriedade vcofins. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCOFINS() { + return vcofins; + } + + /** + * Define o valor da propriedade vcofins. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCOFINS(String value) { + this.vcofins = value; + } + + /** + * Obtém o valor da propriedade vOutro. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVOutro() { + return vOutro; + } + + /** + * Define o valor da propriedade vOutro. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVOutro(String value) { + this.vOutro = value; + } + + /** + * Obtém o valor da propriedade vnf. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVNF() { + return vnf; + } + + /** + * Define o valor da propriedade vnf. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVNF(String value) { + this.vnf = value; + } + + /** + * Obtém o valor da propriedade vTotTrib. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVTotTrib() { + return vTotTrib; + } + + /** + * Define o valor da propriedade vTotTrib. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVTotTrib(String value) { + this.vTotTrib = value; + } + + } + + + /** + *

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="vServ" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+             *         <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+             *         <element name="vISS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+             *         <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+             *         <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+             *         <element name="dCompet" type="{http://www.portalfiscal.inf.br/nfe}TData"/>
+             *         <element name="vDeducao" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+             *         <element name="vOutro" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+             *         <element name="vDescIncond" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+             *         <element name="vDescCond" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+             *         <element name="vISSRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+             *         <element name="cRegTrib" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <enumeration value="1"/>
+             *               <enumeration value="2"/>
+             *               <enumeration value="3"/>
+             *               <enumeration value="4"/>
+             *               <enumeration value="5"/>
+             *               <enumeration value="6"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vServ", + "vbc", + "viss", + "vpis", + "vcofins", + "dCompet", + "vDeducao", + "vOutro", + "vDescIncond", + "vDescCond", + "vissRet", + "cRegTrib" + }) + public static class ISSQNtot { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vServ; + @XmlElement(name = "vBC", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbc; + @XmlElement(name = "vISS", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String viss; + @XmlElement(name = "vPIS", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vpis; + @XmlElement(name = "vCOFINS", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vcofins; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String dCompet; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vDeducao; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vOutro; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vDescIncond; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vDescCond; + @XmlElement(name = "vISSRet", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vissRet; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cRegTrib; + + /** + * Obtém o valor da propriedade vServ. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVServ() { + return vServ; + } + + /** + * Define o valor da propriedade vServ. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVServ(String value) { + this.vServ = value; + } + + /** + * Obtém o valor da propriedade vbc. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBC() { + return vbc; + } + + /** + * Define o valor da propriedade vbc. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBC(String value) { + this.vbc = value; + } + + /** + * Obtém o valor da propriedade viss. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVISS() { + return viss; + } + + /** + * Define o valor da propriedade viss. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVISS(String value) { + this.viss = value; + } + + /** + * Obtém o valor da propriedade vpis. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVPIS() { + return vpis; + } + + /** + * Define o valor da propriedade vpis. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVPIS(String value) { + this.vpis = value; + } + + /** + * Obtém o valor da propriedade vcofins. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCOFINS() { + return vcofins; + } + + /** + * Define o valor da propriedade vcofins. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCOFINS(String value) { + this.vcofins = value; + } + + /** + * Obtém o valor da propriedade dCompet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDCompet() { + return dCompet; + } + + /** + * Define o valor da propriedade dCompet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDCompet(String value) { + this.dCompet = value; + } + + /** + * Obtém o valor da propriedade vDeducao. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDeducao() { + return vDeducao; + } + + /** + * Define o valor da propriedade vDeducao. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDeducao(String value) { + this.vDeducao = value; + } + + /** + * Obtém o valor da propriedade vOutro. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVOutro() { + return vOutro; + } + + /** + * Define o valor da propriedade vOutro. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVOutro(String value) { + this.vOutro = value; + } + + /** + * Obtém o valor da propriedade vDescIncond. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDescIncond() { + return vDescIncond; + } + + /** + * Define o valor da propriedade vDescIncond. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDescIncond(String value) { + this.vDescIncond = value; + } + + /** + * Obtém o valor da propriedade vDescCond. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVDescCond() { + return vDescCond; + } + + /** + * Define o valor da propriedade vDescCond. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVDescCond(String value) { + this.vDescCond = value; + } + + /** + * Obtém o valor da propriedade vissRet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVISSRet() { + return vissRet; + } + + /** + * Define o valor da propriedade vissRet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVISSRet(String value) { + this.vissRet = value; + } + + /** + * Obtém o valor da propriedade cRegTrib. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCRegTrib() { + return cRegTrib; + } + + /** + * Define o valor da propriedade cRegTrib. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCRegTrib(String value) { + this.cRegTrib = value; + } + + } + + + /** + *

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="vRetPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+             *         <element name="vRetCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+             *         <element name="vRetCSLL" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+             *         <element name="vBCIRRF" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+             *         <element name="vIRRF" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+             *         <element name="vBCRetPrev" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+             *         <element name="vRetPrev" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vRetPIS", + "vRetCOFINS", + "vRetCSLL", + "vbcirrf", + "virrf", + "vbcRetPrev", + "vRetPrev" + }) + public static class RetTrib { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vRetPIS; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vRetCOFINS; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vRetCSLL; + @XmlElement(name = "vBCIRRF", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbcirrf; + @XmlElement(name = "vIRRF", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String virrf; + @XmlElement(name = "vBCRetPrev", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vbcRetPrev; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vRetPrev; + + /** + * Obtém o valor da propriedade vRetPIS. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVRetPIS() { + return vRetPIS; + } + + /** + * Define o valor da propriedade vRetPIS. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVRetPIS(String value) { + this.vRetPIS = value; + } + + /** + * Obtém o valor da propriedade vRetCOFINS. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVRetCOFINS() { + return vRetCOFINS; + } + + /** + * Define o valor da propriedade vRetCOFINS. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVRetCOFINS(String value) { + this.vRetCOFINS = value; + } + + /** + * Obtém o valor da propriedade vRetCSLL. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVRetCSLL() { + return vRetCSLL; + } + + /** + * Define o valor da propriedade vRetCSLL. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVRetCSLL(String value) { + this.vRetCSLL = value; + } + + /** + * Obtém o valor da propriedade vbcirrf. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCIRRF() { + return vbcirrf; + } + + /** + * Define o valor da propriedade vbcirrf. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCIRRF(String value) { + this.vbcirrf = value; + } + + /** + * Obtém o valor da propriedade virrf. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVIRRF() { + return virrf; + } + + /** + * Define o valor da propriedade virrf. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVIRRF(String value) { + this.virrf = value; + } + + /** + * Obtém o valor da propriedade vbcRetPrev. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCRetPrev() { + return vbcRetPrev; + } + + /** + * Define o valor da propriedade vbcRetPrev. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCRetPrev(String value) { + this.vbcRetPrev = value; + } + + /** + * Obtém o valor da propriedade vRetPrev. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVRetPrev() { + return vRetPrev; + } + + /** + * Define o valor da propriedade vRetPrev. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVRetPrev(String value) { + this.vRetPrev = value; + } + + } + + } + + + /** + *

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="modFrete">
+         *           <simpleType>
+         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *               <whiteSpace value="preserve"/>
+         *               <enumeration value="0"/>
+         *               <enumeration value="1"/>
+         *               <enumeration value="2"/>
+         *               <enumeration value="3"/>
+         *               <enumeration value="4"/>
+         *               <enumeration value="9"/>
+         *             </restriction>
+         *           </simpleType>
+         *         </element>
+         *         <element name="transporta" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <choice minOccurs="0">
+         *                     <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="xNome" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                         <maxLength value="60"/>
+         *                         <minLength value="2"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="IE" type="{http://www.portalfiscal.inf.br/nfe}TIeDest" minOccurs="0"/>
+         *                   <element name="xEnder" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="60"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="xMun" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                         <maxLength value="60"/>
+         *                         <minLength value="1"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="UF" type="{http://www.portalfiscal.inf.br/nfe}TUf" minOccurs="0"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <element name="retTransp" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="vServ" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                   <element name="vBCRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                   <element name="pICMSRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+         *                   <element name="vICMSRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+         *                   <element name="CFOP">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <whiteSpace value="preserve"/>
+         *                         <pattern value="[1,2,3,5,6,7]{1}[0-9]{3}"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="cMunFG" type="{http://www.portalfiscal.inf.br/nfe}TCodMunIBGE"/>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *         <choice>
+         *           <sequence minOccurs="0">
+         *             <element name="veicTransp" type="{http://www.portalfiscal.inf.br/nfe}TVeiculo" minOccurs="0"/>
+         *             <element name="reboque" type="{http://www.portalfiscal.inf.br/nfe}TVeiculo" maxOccurs="5" minOccurs="0"/>
+         *           </sequence>
+         *           <element name="vagao" minOccurs="0">
+         *             <simpleType>
+         *               <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                 <minLength value="1"/>
+         *                 <maxLength value="20"/>
+         *               </restriction>
+         *             </simpleType>
+         *           </element>
+         *           <element name="balsa" minOccurs="0">
+         *             <simpleType>
+         *               <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                 <minLength value="1"/>
+         *                 <maxLength value="20"/>
+         *               </restriction>
+         *             </simpleType>
+         *           </element>
+         *         </choice>
+         *         <element name="vol" maxOccurs="5000" minOccurs="0">
+         *           <complexType>
+         *             <complexContent>
+         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                 <sequence>
+         *                   <element name="qVol" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+         *                         <whiteSpace value="preserve"/>
+         *                         <pattern value="[0-9]{1,15}"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="esp" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="60"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="marca" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="60"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="nVol" minOccurs="0">
+         *                     <simpleType>
+         *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                         <minLength value="1"/>
+         *                         <maxLength value="60"/>
+         *                       </restriction>
+         *                     </simpleType>
+         *                   </element>
+         *                   <element name="pesoL" type="{http://www.portalfiscal.inf.br/nfe}TDec_1203" minOccurs="0"/>
+         *                   <element name="pesoB" type="{http://www.portalfiscal.inf.br/nfe}TDec_1203" minOccurs="0"/>
+         *                   <element name="lacres" maxOccurs="5000" minOccurs="0">
+         *                     <complexType>
+         *                       <complexContent>
+         *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+         *                           <sequence>
+         *                             <element name="nLacre">
+         *                               <simpleType>
+         *                                 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+         *                                   <minLength value="1"/>
+         *                                   <maxLength value="60"/>
+         *                                 </restriction>
+         *                               </simpleType>
+         *                             </element>
+         *                           </sequence>
+         *                         </restriction>
+         *                       </complexContent>
+         *                     </complexType>
+         *                   </element>
+         *                 </sequence>
+         *               </restriction>
+         *             </complexContent>
+         *           </complexType>
+         *         </element>
+         *       </sequence>
+         *     </restriction>
+         *   </complexContent>
+         * </complexType>
+         * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "modFrete", + "transporta", + "retTransp", + "veicTransp", + "reboque", + "vagao", + "balsa", + "vol" + }) + public static class Transp { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String modFrete; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Transp.Transporta transporta; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TNFe.InfNFe.Transp.RetTransp retTransp; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TVeiculo veicTransp; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected List reboque; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String vagao; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String balsa; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected List vol; + + /** + * Obtém o valor da propriedade modFrete. + * + * @return + * possible object is + * {@link String } + * + */ + public String getModFrete() { + return modFrete; + } + + /** + * Define o valor da propriedade modFrete. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setModFrete(String value) { + this.modFrete = value; + } + + /** + * Obtém o valor da propriedade transporta. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Transp.Transporta } + * + */ + public TNFe.InfNFe.Transp.Transporta getTransporta() { + return transporta; + } + + /** + * Define o valor da propriedade transporta. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Transp.Transporta } + * + */ + public void setTransporta(TNFe.InfNFe.Transp.Transporta value) { + this.transporta = value; + } + + /** + * Obtém o valor da propriedade retTransp. + * + * @return + * possible object is + * {@link TNFe.InfNFe.Transp.RetTransp } + * + */ + public TNFe.InfNFe.Transp.RetTransp getRetTransp() { + return retTransp; + } + + /** + * Define o valor da propriedade retTransp. + * + * @param value + * allowed object is + * {@link TNFe.InfNFe.Transp.RetTransp } + * + */ + public void setRetTransp(TNFe.InfNFe.Transp.RetTransp value) { + this.retTransp = value; + } + + /** + * Obtém o valor da propriedade veicTransp. + * + * @return + * possible object is + * {@link TVeiculo } + * + */ + public TVeiculo getVeicTransp() { + return veicTransp; + } + + /** + * Define o valor da propriedade veicTransp. + * + * @param value + * allowed object is + * {@link TVeiculo } + * + */ + public void setVeicTransp(TVeiculo value) { + this.veicTransp = value; + } + + /** + * Gets the value of the reboque property. + * + *

+ * 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 set method for the reboque property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getReboque().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TVeiculo } + * + * + */ + public List getReboque() { + if (reboque == null) { + reboque = new ArrayList(); + } + return this.reboque; + } + + /** + * Obtém o valor da propriedade vagao. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVagao() { + return vagao; + } + + /** + * Define o valor da propriedade vagao. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVagao(String value) { + this.vagao = value; + } + + /** + * Obtém o valor da propriedade balsa. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBalsa() { + return balsa; + } + + /** + * Define o valor da propriedade balsa. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBalsa(String value) { + this.balsa = value; + } + + /** + * Gets the value of the vol property. + * + *

+ * 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 set method for the vol property. + * + *

+ * For example, to add a new item, do as follows: + *

+             *    getVol().add(newItem);
+             * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TNFe.InfNFe.Transp.Vol } + * + * + */ + public List getVol() { + if (vol == null) { + vol = new ArrayList(); + } + return this.vol; + } + + + /** + *

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="vServ" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *         <element name="vBCRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *         <element name="pICMSRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
+             *         <element name="vICMSRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
+             *         <element name="CFOP">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <pattern value="[1,2,3,5,6,7]{1}[0-9]{3}"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="cMunFG" type="{http://www.portalfiscal.inf.br/nfe}TCodMunIBGE"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "vServ", + "vbcRet", + "picmsRet", + "vicmsRet", + "cfop", + "cMunFG" + }) + public static class RetTransp { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vServ; + @XmlElement(name = "vBCRet", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vbcRet; + @XmlElement(name = "pICMSRet", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String picmsRet; + @XmlElement(name = "vICMSRet", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vicmsRet; + @XmlElement(name = "CFOP", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cfop; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cMunFG; + + /** + * Obtém o valor da propriedade vServ. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVServ() { + return vServ; + } + + /** + * Define o valor da propriedade vServ. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVServ(String value) { + this.vServ = value; + } + + /** + * Obtém o valor da propriedade vbcRet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVBCRet() { + return vbcRet; + } + + /** + * Define o valor da propriedade vbcRet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVBCRet(String value) { + this.vbcRet = value; + } + + /** + * Obtém o valor da propriedade picmsRet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPICMSRet() { + return picmsRet; + } + + /** + * Define o valor da propriedade picmsRet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPICMSRet(String value) { + this.picmsRet = value; + } + + /** + * Obtém o valor da propriedade vicmsRet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVICMSRet() { + return vicmsRet; + } + + /** + * Define o valor da propriedade vicmsRet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVICMSRet(String value) { + this.vicmsRet = value; + } + + /** + * Obtém o valor da propriedade cfop. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCFOP() { + return cfop; + } + + /** + * Define o valor da propriedade cfop. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCFOP(String value) { + this.cfop = value; + } + + /** + * Obtém o valor da propriedade cMunFG. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMunFG() { + return cMunFG; + } + + /** + * Define o valor da propriedade cMunFG. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMunFG(String value) { + this.cMunFG = value; + } + + } + + + /** + *

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>
+             *         <choice minOccurs="0">
+             *           <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="xNome" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *               <maxLength value="60"/>
+             *               <minLength value="2"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="IE" type="{http://www.portalfiscal.inf.br/nfe}TIeDest" minOccurs="0"/>
+             *         <element name="xEnder" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="60"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="xMun" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *               <maxLength value="60"/>
+             *               <minLength value="1"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="UF" type="{http://www.portalfiscal.inf.br/nfe}TUf" minOccurs="0"/>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "cnpj", + "cpf", + "xNome", + "ie", + "xEnder", + "xMun", + "uf" + }) + public static class Transporta { + + @XmlElement(name = "CNPJ", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cnpj; + @XmlElement(name = "CPF", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cpf; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String xNome; + @XmlElement(name = "IE", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String ie; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String xEnder; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String xMun; + @XmlElement(name = "UF", namespace = "http://www.portalfiscal.inf.br/nfe") + @XmlSchemaType(name = "string") + protected TUf uf; + + /** + * Obtém o valor da propriedade cnpj. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCNPJ() { + return cnpj; + } + + /** + * Define o valor da propriedade cnpj. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCNPJ(String value) { + this.cnpj = value; + } + + /** + * Obtém o valor da propriedade cpf. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCPF() { + return cpf; + } + + /** + * Define o valor da propriedade cpf. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCPF(String value) { + this.cpf = value; + } + + /** + * Obtém o valor da propriedade xNome. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXNome() { + return xNome; + } + + /** + * Define o valor da propriedade xNome. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXNome(String value) { + this.xNome = value; + } + + /** + * Obtém o valor da propriedade ie. + * + * @return + * possible object is + * {@link String } + * + */ + public String getIE() { + return ie; + } + + /** + * Define o valor da propriedade ie. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setIE(String value) { + this.ie = value; + } + + /** + * Obtém o valor da propriedade xEnder. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXEnder() { + return xEnder; + } + + /** + * Define o valor da propriedade xEnder. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXEnder(String value) { + this.xEnder = value; + } + + /** + * Obtém o valor da propriedade xMun. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMun() { + return xMun; + } + + /** + * Define o valor da propriedade xMun. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMun(String value) { + this.xMun = value; + } + + /** + * Obtém o valor da propriedade uf. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUF() { + return uf; + } + + /** + * Define o valor da propriedade uf. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUF(TUf value) { + this.uf = value; + } + + } + + + /** + *

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="qVol" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+             *               <whiteSpace value="preserve"/>
+             *               <pattern value="[0-9]{1,15}"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="esp" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="60"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="marca" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="60"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="nVol" minOccurs="0">
+             *           <simpleType>
+             *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *               <minLength value="1"/>
+             *               <maxLength value="60"/>
+             *             </restriction>
+             *           </simpleType>
+             *         </element>
+             *         <element name="pesoL" type="{http://www.portalfiscal.inf.br/nfe}TDec_1203" minOccurs="0"/>
+             *         <element name="pesoB" type="{http://www.portalfiscal.inf.br/nfe}TDec_1203" minOccurs="0"/>
+             *         <element name="lacres" maxOccurs="5000" minOccurs="0">
+             *           <complexType>
+             *             <complexContent>
+             *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+             *                 <sequence>
+             *                   <element name="nLacre">
+             *                     <simpleType>
+             *                       <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+             *                         <minLength value="1"/>
+             *                         <maxLength value="60"/>
+             *                       </restriction>
+             *                     </simpleType>
+             *                   </element>
+             *                 </sequence>
+             *               </restriction>
+             *             </complexContent>
+             *           </complexType>
+             *         </element>
+             *       </sequence>
+             *     </restriction>
+             *   </complexContent>
+             * </complexType>
+             * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "qVol", + "esp", + "marca", + "nVol", + "pesoL", + "pesoB", + "lacres" + }) + public static class Vol { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String qVol; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String esp; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String marca; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String nVol; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pesoL; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String pesoB; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected List lacres; + + /** + * Obtém o valor da propriedade qVol. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQVol() { + return qVol; + } + + /** + * Define o valor da propriedade qVol. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQVol(String value) { + this.qVol = value; + } + + /** + * Obtém o valor da propriedade esp. + * + * @return + * possible object is + * {@link String } + * + */ + public String getEsp() { + return esp; + } + + /** + * Define o valor da propriedade esp. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setEsp(String value) { + this.esp = value; + } + + /** + * Obtém o valor da propriedade marca. + * + * @return + * possible object is + * {@link String } + * + */ + public String getMarca() { + return marca; + } + + /** + * Define o valor da propriedade marca. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setMarca(String value) { + this.marca = value; + } + + /** + * Obtém o valor da propriedade nVol. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNVol() { + return nVol; + } + + /** + * Define o valor da propriedade nVol. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNVol(String value) { + this.nVol = value; + } + + /** + * Obtém o valor da propriedade pesoL. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPesoL() { + return pesoL; + } + + /** + * Define o valor da propriedade pesoL. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPesoL(String value) { + this.pesoL = value; + } + + /** + * Obtém o valor da propriedade pesoB. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPesoB() { + return pesoB; + } + + /** + * Define o valor da propriedade pesoB. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPesoB(String value) { + this.pesoB = value; + } + + /** + * Gets the value of the lacres property. + * + *

+ * 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 set method for the lacres property. + * + *

+ * For example, to add a new item, do as follows: + *

+                 *    getLacres().add(newItem);
+                 * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TNFe.InfNFe.Transp.Vol.Lacres } + * + * + */ + public List getLacres() { + if (lacres == null) { + lacres = new ArrayList(); + } + return this.lacres; + } + + + /** + *

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="nLacre">
+                 *           <simpleType>
+                 *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+                 *               <minLength value="1"/>
+                 *               <maxLength value="60"/>
+                 *             </restriction>
+                 *           </simpleType>
+                 *         </element>
+                 *       </sequence>
+                 *     </restriction>
+                 *   </complexContent>
+                 * </complexType>
+                 * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "nLacre" + }) + public static class Lacres { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String nLacre; + + /** + * Obtém o valor da propriedade nLacre. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNLacre() { + return nLacre; + } + + /** + * Define o valor da propriedade nLacre. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNLacre(String value) { + this.nLacre = value; + } + + } + + } + + } + + } + + + /** + *

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="qrCode">
+     *           <simpleType>
+     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *               <whiteSpace value="preserve"/>
+     *               <minLength value="60"/>
+     *               <maxLength value="1000"/>
+     *               <pattern value="((HTTPS?|https?)://.*\?chNFe=[0-9]{44}&nVersao=100&tpAmb=[1-2](&cDest=([A-Za-z0-9.:+-/)(]{0}|[A-Za-z0-9.:+-/)(]{5,20})?)?&dhEmi=[A-Fa-f0-9]{50}&vNF=(0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?)&vICMS=(0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?)&digVal=[A-Fa-f0-9]{56}&cIdToken=[0-9]{6}&cHashQRCode=[A-Fa-f0-9]{40})"/>
+     *               <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})"/>
+     *               <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})"/>
+     *               <pattern value="((HTTPS?|https?)://.*\?p=([0-9]{34}(1|3|4)[0-9]{9})\|[3]\|[1-2])"/>
+     *               <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}))"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *         <element name="urlChave">
+     *           <simpleType>
+     *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *               <minLength value="21"/>
+     *               <maxLength value="85"/>
+     *             </restriction>
+     *           </simpleType>
+     *         </element>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "qrCode", + "urlChave" + }) + public static class InfNFeSupl { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String qrCode; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String urlChave; + + /** + * Obtém o valor da propriedade qrCode. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQrCode() { + return qrCode; + } + + /** + * Define o valor da propriedade qrCode. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQrCode(String value) { + this.qrCode = value; + } + + /** + * Obtém o valor da propriedade urlChave. + * + * @return + * possible object is + * {@link String } + * + */ + public String getUrlChave() { + return urlChave; + } + + /** + * Define o valor da propriedade urlChave. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setUrlChave(String value) { + this.urlChave = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TNfeProc.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TNfeProc.java new file mode 100644 index 00000000..3aa40c94 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TNfeProc.java @@ -0,0 +1,116 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.*; + + +/** + * Tipo da NF-e processada + * + *

Classe Java de TNfeProc complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TNfeProc">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="NFe" type="{http://www.portalfiscal.inf.br/nfe}TNFe"/>
+ *         <element name="protNFe" type="{http://www.portalfiscal.inf.br/nfe}TProtNFe"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerNFe" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TNfeProc", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "nFe", + "protNFe" +}) +public class TNfeProc { + + @XmlElement(name = "NFe", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected TNFe nFe; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected TProtNFe protNFe; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Obtém o valor da propriedade nFe. + * + * @return + * possible object is + * {@link TNFe } + * + */ + public TNFe getNFe() { + return nFe; + } + + /** + * Define o valor da propriedade nFe. + * + * @param value + * allowed object is + * {@link TNFe } + * + */ + public void setNFe(TNFe value) { + this.nFe = value; + } + + /** + * Obtém o valor da propriedade protNFe. + * + * @return + * possible object is + * {@link TProtNFe } + * + */ + public TProtNFe getProtNFe() { + return protNFe; + } + + /** + * Define o valor da propriedade protNFe. + * + * @param value + * allowed object is + * {@link TProtNFe } + * + */ + public void setProtNFe(TProtNFe value) { + this.protNFe = value; + } + + /** + * Obtém o valor da propriedade versao. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Define o valor da propriedade versao. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TProtNFe.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TProtNFe.java new file mode 100644 index 00000000..e8660301 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TProtNFe.java @@ -0,0 +1,505 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.*; +import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; +import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; + + +/** + * Tipo Protocolo de status resultado do processamento da NF-e + * + *

Classe Java de TProtNFe complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TProtNFe">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="infProt">
+ *           <complexType>
+ *             <complexContent>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                 <sequence>
+ *                   <element name="tpAmb" type="{http://www.portalfiscal.inf.br/nfe}TAmb"/>
+ *                   <element name="verAplic" type="{http://www.portalfiscal.inf.br/nfe}TVerAplic"/>
+ *                   <element name="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/>
+ *                   <element name="dhRecbto" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/>
+ *                   <element name="nProt" type="{http://www.portalfiscal.inf.br/nfe}TProt" minOccurs="0"/>
+ *                   <element name="digVal" type="{http://www.w3.org/2000/09/xmldsig#}DigestValueType" minOccurs="0"/>
+ *                   <element name="cStat" type="{http://www.portalfiscal.inf.br/nfe}TStat"/>
+ *                   <element name="xMotivo" type="{http://www.portalfiscal.inf.br/nfe}TMotivo"/>
+ *                   <sequence minOccurs="0">
+ *                     <element name="cMsg">
+ *                       <simpleType>
+ *                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                           <whiteSpace value="preserve"/>
+ *                           <pattern value="[0-9]{1,4}"/>
+ *                         </restriction>
+ *                       </simpleType>
+ *                     </element>
+ *                     <element name="xMsg">
+ *                       <simpleType>
+ *                         <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                           <minLength value="1"/>
+ *                           <maxLength value="200"/>
+ *                         </restriction>
+ *                       </simpleType>
+ *                     </element>
+ *                   </sequence>
+ *                 </sequence>
+ *                 <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+ *               </restriction>
+ *             </complexContent>
+ *           </complexType>
+ *         </element>
+ *         <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerNFe" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TProtNFe", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "infProt", + "signature" +}) +public class TProtNFe { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected TProtNFe.InfProt infProt; + @XmlElement(name = "Signature", namespace = "http://www.w3.org/2000/09/xmldsig#") + protected SignatureType signature; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Obtém o valor da propriedade infProt. + * + * @return + * possible object is + * {@link TProtNFe.InfProt } + * + */ + public TProtNFe.InfProt getInfProt() { + return infProt; + } + + /** + * Define o valor da propriedade infProt. + * + * @param value + * allowed object is + * {@link TProtNFe.InfProt } + * + */ + public void setInfProt(TProtNFe.InfProt value) { + this.infProt = value; + } + + /** + * Obtém o valor da propriedade signature. + * + * @return + * possible object is + * {@link SignatureType } + * + */ + public SignatureType getSignature() { + return signature; + } + + /** + * Define o valor da propriedade signature. + * + * @param value + * allowed object is + * {@link SignatureType } + * + */ + public void setSignature(SignatureType value) { + this.signature = value; + } + + /** + * Obtém o valor da propriedade versao. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Define o valor da propriedade versao. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + + + /** + *

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="tpAmb" type="{http://www.portalfiscal.inf.br/nfe}TAmb"/>
+     *         <element name="verAplic" type="{http://www.portalfiscal.inf.br/nfe}TVerAplic"/>
+     *         <element name="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/>
+     *         <element name="dhRecbto" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/>
+     *         <element name="nProt" type="{http://www.portalfiscal.inf.br/nfe}TProt" minOccurs="0"/>
+     *         <element name="digVal" type="{http://www.w3.org/2000/09/xmldsig#}DigestValueType" minOccurs="0"/>
+     *         <element name="cStat" type="{http://www.portalfiscal.inf.br/nfe}TStat"/>
+     *         <element name="xMotivo" type="{http://www.portalfiscal.inf.br/nfe}TMotivo"/>
+     *         <sequence minOccurs="0">
+     *           <element name="cMsg">
+     *             <simpleType>
+     *               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+     *                 <whiteSpace value="preserve"/>
+     *                 <pattern value="[0-9]{1,4}"/>
+     *               </restriction>
+     *             </simpleType>
+     *           </element>
+     *           <element name="xMsg">
+     *             <simpleType>
+     *               <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+     *                 <minLength value="1"/>
+     *                 <maxLength value="200"/>
+     *               </restriction>
+     *             </simpleType>
+     *           </element>
+     *         </sequence>
+     *       </sequence>
+     *       <attribute name="Id" type="{http://www.w3.org/2001/XMLSchema}ID" />
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "tpAmb", + "verAplic", + "chNFe", + "dhRecbto", + "nProt", + "digVal", + "cStat", + "xMotivo", + "cMsg", + "xMsg" + }) + public static class InfProt { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpAmb; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String verAplic; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String chNFe; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String dhRecbto; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String nProt; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected byte[] digVal; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cStat; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String xMotivo; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cMsg; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String xMsg; + @XmlAttribute(name = "Id") + @XmlJavaTypeAdapter(CollapsedStringAdapter.class) + @XmlID + @XmlSchemaType(name = "ID") + protected String id; + + /** + * Obtém o valor da propriedade tpAmb. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpAmb() { + return tpAmb; + } + + /** + * Define o valor da propriedade tpAmb. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpAmb(String value) { + this.tpAmb = value; + } + + /** + * Obtém o valor da propriedade verAplic. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVerAplic() { + return verAplic; + } + + /** + * Define o valor da propriedade verAplic. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVerAplic(String value) { + this.verAplic = value; + } + + /** + * Obtém o valor da propriedade chNFe. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChNFe() { + return chNFe; + } + + /** + * Define o valor da propriedade chNFe. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChNFe(String value) { + this.chNFe = value; + } + + /** + * Obtém o valor da propriedade dhRecbto. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDhRecbto() { + return dhRecbto; + } + + /** + * Define o valor da propriedade dhRecbto. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDhRecbto(String value) { + this.dhRecbto = value; + } + + /** + * Obtém o valor da propriedade nProt. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNProt() { + return nProt; + } + + /** + * Define o valor da propriedade nProt. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNProt(String value) { + this.nProt = value; + } + + /** + * Obtém o valor da propriedade digVal. + * + * @return + * possible object is + * byte[] + */ + public byte[] getDigVal() { + return digVal; + } + + /** + * Define o valor da propriedade digVal. + * + * @param value + * allowed object is + * byte[] + */ + public void setDigVal(byte[] value) { + this.digVal = value; + } + + /** + * Obtém o valor da propriedade cStat. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCStat() { + return cStat; + } + + /** + * Define o valor da propriedade cStat. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCStat(String value) { + this.cStat = value; + } + + /** + * Obtém o valor da propriedade xMotivo. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMotivo() { + return xMotivo; + } + + /** + * Define o valor da propriedade xMotivo. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMotivo(String value) { + this.xMotivo = value; + } + + /** + * Obtém o valor da propriedade cMsg. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMsg() { + return cMsg; + } + + /** + * Define o valor da propriedade cMsg. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMsg(String value) { + this.cMsg = value; + } + + /** + * Obtém o valor da propriedade xMsg. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMsg() { + return xMsg; + } + + /** + * Define o valor da propriedade xMsg. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMsg(String value) { + this.xMsg = value; + } + + /** + * Obtém o valor da propriedade id. + * + * @return + * possible object is + * {@link String } + * + */ + public String getId() { + return id; + } + + /** + * Define o valor da propriedade id. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setId(String value) { + this.id = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TRed.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TRed.java new file mode 100644 index 00000000..31d1e7fe --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TRed.java @@ -0,0 +1,92 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Tipo Redução Base de Cálculo + * + *

Classe Java de TRed complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TRed">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="pRedAliq" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04"/>
+ *         <element name="pAliqEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TRed", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "pRedAliq", + "pAliqEfet" +}) +public class TRed { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String pRedAliq; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String pAliqEfet; + + /** + * Obtém o valor da propriedade pRedAliq. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPRedAliq() { + return pRedAliq; + } + + /** + * Define o valor da propriedade pRedAliq. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPRedAliq(String value) { + this.pRedAliq = value; + } + + /** + * Obtém o valor da propriedade pAliqEfet. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPAliqEfet() { + return pAliqEfet; + } + + /** + * Define o valor da propriedade pAliqEfet. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPAliqEfet(String value) { + this.pAliqEfet = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TRetConsReciNFe.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TRetConsReciNFe.java new file mode 100644 index 00000000..de4b48c6 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TRetConsReciNFe.java @@ -0,0 +1,363 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.*; +import java.util.ArrayList; +import java.util.List; + + +/** + * Tipo Retorno do Pedido de Consulta do Recido do Lote de Notas Fiscais Eletrônicas + * + *

Classe Java de TRetConsReciNFe complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TRetConsReciNFe">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="tpAmb" type="{http://www.portalfiscal.inf.br/nfe}TAmb"/>
+ *         <element name="verAplic" type="{http://www.portalfiscal.inf.br/nfe}TVerAplic"/>
+ *         <element name="nRec" type="{http://www.portalfiscal.inf.br/nfe}TRec"/>
+ *         <element name="cStat" type="{http://www.portalfiscal.inf.br/nfe}TStat"/>
+ *         <element name="xMotivo" type="{http://www.portalfiscal.inf.br/nfe}TMotivo"/>
+ *         <element name="cUF" type="{http://www.portalfiscal.inf.br/nfe}TCodUfIBGE"/>
+ *         <element name="dhRecbto" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/>
+ *         <sequence minOccurs="0">
+ *           <element name="cMsg">
+ *             <simpleType>
+ *               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *                 <whiteSpace value="preserve"/>
+ *                 <pattern value="[0-9]{1,4}"/>
+ *               </restriction>
+ *             </simpleType>
+ *           </element>
+ *           <element name="xMsg">
+ *             <simpleType>
+ *               <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *                 <minLength value="1"/>
+ *                 <maxLength value="200"/>
+ *               </restriction>
+ *             </simpleType>
+ *           </element>
+ *         </sequence>
+ *         <element name="protNFe" type="{http://www.portalfiscal.inf.br/nfe}TProtNFe" maxOccurs="50" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerNFe" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TRetConsReciNFe", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "tpAmb", + "verAplic", + "nRec", + "cStat", + "xMotivo", + "cuf", + "dhRecbto", + "cMsg", + "xMsg", + "protNFe" +}) +public class TRetConsReciNFe { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpAmb; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String verAplic; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String nRec; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cStat; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String xMotivo; + @XmlElement(name = "cUF", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cuf; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String dhRecbto; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String cMsg; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected String xMsg; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected List protNFe; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Obtém o valor da propriedade tpAmb. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpAmb() { + return tpAmb; + } + + /** + * Define o valor da propriedade tpAmb. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpAmb(String value) { + this.tpAmb = value; + } + + /** + * Obtém o valor da propriedade verAplic. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVerAplic() { + return verAplic; + } + + /** + * Define o valor da propriedade verAplic. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVerAplic(String value) { + this.verAplic = value; + } + + /** + * Obtém o valor da propriedade nRec. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNRec() { + return nRec; + } + + /** + * Define o valor da propriedade nRec. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNRec(String value) { + this.nRec = value; + } + + /** + * Obtém o valor da propriedade cStat. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCStat() { + return cStat; + } + + /** + * Define o valor da propriedade cStat. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCStat(String value) { + this.cStat = value; + } + + /** + * Obtém o valor da propriedade xMotivo. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMotivo() { + return xMotivo; + } + + /** + * Define o valor da propriedade xMotivo. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMotivo(String value) { + this.xMotivo = value; + } + + /** + * Obtém o valor da propriedade cuf. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCUF() { + return cuf; + } + + /** + * Define o valor da propriedade cuf. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCUF(String value) { + this.cuf = value; + } + + /** + * Obtém o valor da propriedade dhRecbto. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDhRecbto() { + return dhRecbto; + } + + /** + * Define o valor da propriedade dhRecbto. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDhRecbto(String value) { + this.dhRecbto = value; + } + + /** + * Obtém o valor da propriedade cMsg. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCMsg() { + return cMsg; + } + + /** + * Define o valor da propriedade cMsg. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCMsg(String value) { + this.cMsg = value; + } + + /** + * Obtém o valor da propriedade xMsg. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMsg() { + return xMsg; + } + + /** + * Define o valor da propriedade xMsg. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMsg(String value) { + this.xMsg = value; + } + + /** + * Gets the value of the protNFe property. + * + *

+ * 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 set method for the protNFe property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getProtNFe().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TProtNFe } + * + * + */ + public List getProtNFe() { + if (protNFe == null) { + protNFe = new ArrayList(); + } + return this.protNFe; + } + + /** + * Obtém o valor da propriedade versao. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Define o valor da propriedade versao. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TRetEnviNFe.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TRetEnviNFe.java new file mode 100644 index 00000000..3f53f55c --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TRetEnviNFe.java @@ -0,0 +1,380 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.*; + + +/** + * Tipo Retorno do Pedido de Autorização da Nota Fiscal Eletrônica + * + *

Classe Java de TRetEnviNFe complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TRetEnviNFe">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="tpAmb" type="{http://www.portalfiscal.inf.br/nfe}TAmb"/>
+ *         <element name="verAplic" type="{http://www.portalfiscal.inf.br/nfe}TVerAplic"/>
+ *         <element name="cStat" type="{http://www.portalfiscal.inf.br/nfe}TStat"/>
+ *         <element name="xMotivo" type="{http://www.portalfiscal.inf.br/nfe}TMotivo"/>
+ *         <element name="cUF" type="{http://www.portalfiscal.inf.br/nfe}TCodUfIBGE"/>
+ *         <element name="dhRecbto" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/>
+ *         <choice>
+ *           <element name="infRec" minOccurs="0">
+ *             <complexType>
+ *               <complexContent>
+ *                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *                   <sequence>
+ *                     <element name="nRec" type="{http://www.portalfiscal.inf.br/nfe}TRec"/>
+ *                     <element name="tMed" type="{http://www.portalfiscal.inf.br/nfe}TMed"/>
+ *                   </sequence>
+ *                 </restriction>
+ *               </complexContent>
+ *             </complexType>
+ *           </element>
+ *           <element name="protNFe" type="{http://www.portalfiscal.inf.br/nfe}TProtNFe" minOccurs="0"/>
+ *         </choice>
+ *       </sequence>
+ *       <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerNFe" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TRetEnviNFe", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "tpAmb", + "verAplic", + "cStat", + "xMotivo", + "cuf", + "dhRecbto", + "infRec", + "protNFe" +}) +public class TRetEnviNFe { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tpAmb; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String verAplic; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cStat; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String xMotivo; + @XmlElement(name = "cUF", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cuf; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String dhRecbto; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TRetEnviNFe.InfRec infRec; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TProtNFe protNFe; + @XmlAttribute(name = "versao", required = true) + protected String versao; + + /** + * Obtém o valor da propriedade tpAmb. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTpAmb() { + return tpAmb; + } + + /** + * Define o valor da propriedade tpAmb. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTpAmb(String value) { + this.tpAmb = value; + } + + /** + * Obtém o valor da propriedade verAplic. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVerAplic() { + return verAplic; + } + + /** + * Define o valor da propriedade verAplic. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVerAplic(String value) { + this.verAplic = value; + } + + /** + * Obtém o valor da propriedade cStat. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCStat() { + return cStat; + } + + /** + * Define o valor da propriedade cStat. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCStat(String value) { + this.cStat = value; + } + + /** + * Obtém o valor da propriedade xMotivo. + * + * @return + * possible object is + * {@link String } + * + */ + public String getXMotivo() { + return xMotivo; + } + + /** + * Define o valor da propriedade xMotivo. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setXMotivo(String value) { + this.xMotivo = value; + } + + /** + * Obtém o valor da propriedade cuf. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCUF() { + return cuf; + } + + /** + * Define o valor da propriedade cuf. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCUF(String value) { + this.cuf = value; + } + + /** + * Obtém o valor da propriedade dhRecbto. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDhRecbto() { + return dhRecbto; + } + + /** + * Define o valor da propriedade dhRecbto. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDhRecbto(String value) { + this.dhRecbto = value; + } + + /** + * Obtém o valor da propriedade infRec. + * + * @return + * possible object is + * {@link TRetEnviNFe.InfRec } + * + */ + public TRetEnviNFe.InfRec getInfRec() { + return infRec; + } + + /** + * Define o valor da propriedade infRec. + * + * @param value + * allowed object is + * {@link TRetEnviNFe.InfRec } + * + */ + public void setInfRec(TRetEnviNFe.InfRec value) { + this.infRec = value; + } + + /** + * Obtém o valor da propriedade protNFe. + * + * @return + * possible object is + * {@link TProtNFe } + * + */ + public TProtNFe getProtNFe() { + return protNFe; + } + + /** + * Define o valor da propriedade protNFe. + * + * @param value + * allowed object is + * {@link TProtNFe } + * + */ + public void setProtNFe(TProtNFe value) { + this.protNFe = value; + } + + /** + * Obtém o valor da propriedade versao. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVersao() { + return versao; + } + + /** + * Define o valor da propriedade versao. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVersao(String value) { + this.versao = value; + } + + + /** + *

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="nRec" type="{http://www.portalfiscal.inf.br/nfe}TRec"/>
+     *         <element name="tMed" type="{http://www.portalfiscal.inf.br/nfe}TMed"/>
+     *       </sequence>
+     *     </restriction>
+     *   </complexContent>
+     * </complexType>
+     * 
+ * + * + */ + @XmlAccessorType(XmlAccessType.FIELD) + @XmlType(name = "", propOrder = { + "nRec", + "tMed" + }) + public static class InfRec { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String nRec; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String tMed; + + /** + * Obtém o valor da propriedade nRec. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNRec() { + return nRec; + } + + /** + * Define o valor da propriedade nRec. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNRec(String value) { + this.nRec = value; + } + + /** + * Obtém o valor da propriedade tMed. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTMed() { + return tMed; + } + + /** + * Define o valor da propriedade tMed. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTMed(String value) { + this.tMed = value; + } + + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TTransfCred.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TTransfCred.java new file mode 100644 index 00000000..9c5aff3a --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TTransfCred.java @@ -0,0 +1,92 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Tipo Transferência de Crédito + * + *

Classe Java de TTransfCred complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TTransfCred">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="vIBS" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *         <element name="vCBS" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TTransfCred", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "vibs", + "vcbs" +}) +public class TTransfCred { + + @XmlElement(name = "vIBS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vibs; + @XmlElement(name = "vCBS", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vcbs; + + /** + * Obtém o valor da propriedade vibs. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVIBS() { + return vibs; + } + + /** + * Define o valor da propriedade vibs. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVIBS(String value) { + this.vibs = value; + } + + /** + * Obtém o valor da propriedade vcbs. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVCBS() { + return vcbs; + } + + /** + * Define o valor da propriedade vcbs. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVCBS(String value) { + this.vcbs = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TTribBPe.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TTribBPe.java new file mode 100644 index 00000000..ac60a07f --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TTribBPe.java @@ -0,0 +1,120 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Grupo de informações da Tributação do BPe + * + *

Classe Java de TTribBPe complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TTribBPe">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="CST" type="{http://www.portalfiscal.inf.br/nfe}TCST"/>
+ *         <element name="cClassTrib" type="{http://www.portalfiscal.inf.br/nfe}TcClassTrib"/>
+ *         <element name="gIBSCBS" type="{http://www.portalfiscal.inf.br/nfe}TCIBS" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TTribBPe", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "cst", + "cClassTrib", + "gibscbs" +}) +public class TTribBPe { + + @XmlElement(name = "CST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cst; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cClassTrib; + @XmlElement(name = "gIBSCBS", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TCIBS gibscbs; + + /** + * Obtém o valor da propriedade cst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Define o valor da propriedade cst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Obtém o valor da propriedade cClassTrib. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCClassTrib() { + return cClassTrib; + } + + /** + * Define o valor da propriedade cClassTrib. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCClassTrib(String value) { + this.cClassTrib = value; + } + + /** + * Obtém o valor da propriedade gibscbs. + * + * @return + * possible object is + * {@link TCIBS } + * + */ + public TCIBS getGIBSCBS() { + return gibscbs; + } + + /** + * Define o valor da propriedade gibscbs. + * + * @param value + * allowed object is + * {@link TCIBS } + * + */ + public void setGIBSCBS(TCIBS value) { + this.gibscbs = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TTribCTe.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TTribCTe.java new file mode 100644 index 00000000..e150b618 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TTribCTe.java @@ -0,0 +1,120 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Grupo de informações da Tributação do CTe + * + *

Classe Java de TTribCTe complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TTribCTe">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="CST" type="{http://www.portalfiscal.inf.br/nfe}TCST"/>
+ *         <element name="cClassTrib" type="{http://www.portalfiscal.inf.br/nfe}TcClassTrib"/>
+ *         <element name="gIBSCBS" type="{http://www.portalfiscal.inf.br/nfe}TCIBS" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TTribCTe", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "cst", + "cClassTrib", + "gibscbs" +}) +public class TTribCTe { + + @XmlElement(name = "CST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cst; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cClassTrib; + @XmlElement(name = "gIBSCBS", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TCIBS gibscbs; + + /** + * Obtém o valor da propriedade cst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Define o valor da propriedade cst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Obtém o valor da propriedade cClassTrib. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCClassTrib() { + return cClassTrib; + } + + /** + * Define o valor da propriedade cClassTrib. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCClassTrib(String value) { + this.cClassTrib = value; + } + + /** + * Obtém o valor da propriedade gibscbs. + * + * @return + * possible object is + * {@link TCIBS } + * + */ + public TCIBS getGIBSCBS() { + return gibscbs; + } + + /** + * Define o valor da propriedade gibscbs. + * + * @param value + * allowed object is + * {@link TCIBS } + * + */ + public void setGIBSCBS(TCIBS value) { + this.gibscbs = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TTribCompraGov.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TTribCompraGov.java new file mode 100644 index 00000000..a35d320d --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TTribCompraGov.java @@ -0,0 +1,204 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Tipo Tributação Compra Governamental + * + *

Classe Java de TTribCompraGov complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TTribCompraGov">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="pAliqIBSUF" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04"/>
+ *         <element name="vTribIBSUF" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *         <element name="pAliqIBSMun" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04"/>
+ *         <element name="vTribIBSMun" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *         <element name="pAliqCBS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04"/>
+ *         <element name="vTribCBS" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TTribCompraGov", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "pAliqIBSUF", + "vTribIBSUF", + "pAliqIBSMun", + "vTribIBSMun", + "pAliqCBS", + "vTribCBS" +}) +public class TTribCompraGov { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String pAliqIBSUF; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vTribIBSUF; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String pAliqIBSMun; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vTribIBSMun; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String pAliqCBS; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vTribCBS; + + /** + * Obtém o valor da propriedade pAliqIBSUF. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPAliqIBSUF() { + return pAliqIBSUF; + } + + /** + * Define o valor da propriedade pAliqIBSUF. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPAliqIBSUF(String value) { + this.pAliqIBSUF = value; + } + + /** + * Obtém o valor da propriedade vTribIBSUF. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVTribIBSUF() { + return vTribIBSUF; + } + + /** + * Define o valor da propriedade vTribIBSUF. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVTribIBSUF(String value) { + this.vTribIBSUF = value; + } + + /** + * Obtém o valor da propriedade pAliqIBSMun. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPAliqIBSMun() { + return pAliqIBSMun; + } + + /** + * Define o valor da propriedade pAliqIBSMun. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPAliqIBSMun(String value) { + this.pAliqIBSMun = value; + } + + /** + * Obtém o valor da propriedade vTribIBSMun. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVTribIBSMun() { + return vTribIBSMun; + } + + /** + * Define o valor da propriedade vTribIBSMun. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVTribIBSMun(String value) { + this.vTribIBSMun = value; + } + + /** + * Obtém o valor da propriedade pAliqCBS. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPAliqCBS() { + return pAliqCBS; + } + + /** + * Define o valor da propriedade pAliqCBS. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPAliqCBS(String value) { + this.pAliqCBS = value; + } + + /** + * Obtém o valor da propriedade vTribCBS. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVTribCBS() { + return vTribCBS; + } + + /** + * Define o valor da propriedade vTribCBS. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVTribCBS(String value) { + this.vTribCBS = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TTribNF3E.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TTribNF3E.java new file mode 100644 index 00000000..392e3da9 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TTribNF3E.java @@ -0,0 +1,120 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Grupo de informações da Tributação da NF3e + * + *

Classe Java de TTribNF3e complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TTribNF3e">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="CST" type="{http://www.portalfiscal.inf.br/nfe}TCST"/>
+ *         <element name="cClassTrib" type="{http://www.portalfiscal.inf.br/nfe}TcClassTrib"/>
+ *         <element name="gIBSCBS" type="{http://www.portalfiscal.inf.br/nfe}TCIBS" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TTribNF3e", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "cst", + "cClassTrib", + "gibscbs" +}) +public class TTribNF3E { + + @XmlElement(name = "CST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cst; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cClassTrib; + @XmlElement(name = "gIBSCBS", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TCIBS gibscbs; + + /** + * Obtém o valor da propriedade cst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Define o valor da propriedade cst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Obtém o valor da propriedade cClassTrib. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCClassTrib() { + return cClassTrib; + } + + /** + * Define o valor da propriedade cClassTrib. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCClassTrib(String value) { + this.cClassTrib = value; + } + + /** + * Obtém o valor da propriedade gibscbs. + * + * @return + * possible object is + * {@link TCIBS } + * + */ + public TCIBS getGIBSCBS() { + return gibscbs; + } + + /** + * Define o valor da propriedade gibscbs. + * + * @param value + * allowed object is + * {@link TCIBS } + * + */ + public void setGIBSCBS(TCIBS value) { + this.gibscbs = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TTribNFCe.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TTribNFCe.java new file mode 100644 index 00000000..b09fb977 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TTribNFCe.java @@ -0,0 +1,150 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Grupo de informações da Tributação da NFCe + * + *

Classe Java de TTribNFCe complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TTribNFCe">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="CST" type="{http://www.portalfiscal.inf.br/nfe}TCST"/>
+ *         <element name="cClassTrib" type="{http://www.portalfiscal.inf.br/nfe}TcClassTrib"/>
+ *         <choice minOccurs="0">
+ *           <element name="gIBSCBS" type="{http://www.portalfiscal.inf.br/nfe}TCIBS"/>
+ *           <element name="gIBSCBSMono" type="{http://www.portalfiscal.inf.br/nfe}TMonofasia"/>
+ *         </choice>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TTribNFCe", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "cst", + "cClassTrib", + "gibscbs", + "gibscbsMono" +}) +public class TTribNFCe { + + @XmlElement(name = "CST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cst; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cClassTrib; + @XmlElement(name = "gIBSCBS", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TCIBS gibscbs; + @XmlElement(name = "gIBSCBSMono", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TMonofasia gibscbsMono; + + /** + * Obtém o valor da propriedade cst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Define o valor da propriedade cst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Obtém o valor da propriedade cClassTrib. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCClassTrib() { + return cClassTrib; + } + + /** + * Define o valor da propriedade cClassTrib. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCClassTrib(String value) { + this.cClassTrib = value; + } + + /** + * Obtém o valor da propriedade gibscbs. + * + * @return + * possible object is + * {@link TCIBS } + * + */ + public TCIBS getGIBSCBS() { + return gibscbs; + } + + /** + * Define o valor da propriedade gibscbs. + * + * @param value + * allowed object is + * {@link TCIBS } + * + */ + public void setGIBSCBS(TCIBS value) { + this.gibscbs = value; + } + + /** + * Obtém o valor da propriedade gibscbsMono. + * + * @return + * possible object is + * {@link TMonofasia } + * + */ + public TMonofasia getGIBSCBSMono() { + return gibscbsMono; + } + + /** + * Define o valor da propriedade gibscbsMono. + * + * @param value + * allowed object is + * {@link TMonofasia } + * + */ + public void setGIBSCBSMono(TMonofasia value) { + this.gibscbsMono = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TTribNFCom.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TTribNFCom.java new file mode 100644 index 00000000..a4235ff6 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TTribNFCom.java @@ -0,0 +1,120 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Grupo de informações da Tributação da NFCom + * + *

Classe Java de TTribNFCom complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TTribNFCom">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="CST" type="{http://www.portalfiscal.inf.br/nfe}TCST"/>
+ *         <element name="cClassTrib" type="{http://www.portalfiscal.inf.br/nfe}TcClassTrib"/>
+ *         <element name="gIBSCBS" type="{http://www.portalfiscal.inf.br/nfe}TCIBS" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TTribNFCom", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "cst", + "cClassTrib", + "gibscbs" +}) +public class TTribNFCom { + + @XmlElement(name = "CST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cst; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cClassTrib; + @XmlElement(name = "gIBSCBS", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TCIBS gibscbs; + + /** + * Obtém o valor da propriedade cst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Define o valor da propriedade cst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Obtém o valor da propriedade cClassTrib. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCClassTrib() { + return cClassTrib; + } + + /** + * Define o valor da propriedade cClassTrib. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCClassTrib(String value) { + this.cClassTrib = value; + } + + /** + * Obtém o valor da propriedade gibscbs. + * + * @return + * possible object is + * {@link TCIBS } + * + */ + public TCIBS getGIBSCBS() { + return gibscbs; + } + + /** + * Define o valor da propriedade gibscbs. + * + * @param value + * allowed object is + * {@link TCIBS } + * + */ + public void setGIBSCBS(TCIBS value) { + this.gibscbs = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TTribNFe.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TTribNFe.java new file mode 100644 index 00000000..df946910 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TTribNFe.java @@ -0,0 +1,206 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Grupo de informações da Tributação da NFe + * + *

Classe Java de TTribNFe complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TTribNFe">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="CST" type="{http://www.portalfiscal.inf.br/nfe}TCST"/>
+ *         <element name="cClassTrib" type="{http://www.portalfiscal.inf.br/nfe}TcClassTrib"/>
+ *         <choice minOccurs="0">
+ *           <element name="gIBSCBS" type="{http://www.portalfiscal.inf.br/nfe}TCIBS"/>
+ *           <element name="gIBSCBSMono" type="{http://www.portalfiscal.inf.br/nfe}TMonofasia"/>
+ *           <element name="gTransfCred" type="{http://www.portalfiscal.inf.br/nfe}TTransfCred"/>
+ *         </choice>
+ *         <element name="gCredPresIBSZFM" type="{http://www.portalfiscal.inf.br/nfe}TCredPresIBSZFM" minOccurs="0"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TTribNFe", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "cst", + "cClassTrib", + "gibscbs", + "gibscbsMono", + "gTransfCred", + "gCredPresIBSZFM" +}) +public class TTribNFe { + + @XmlElement(name = "CST", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cst; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cClassTrib; + @XmlElement(name = "gIBSCBS", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TCIBS gibscbs; + @XmlElement(name = "gIBSCBSMono", namespace = "http://www.portalfiscal.inf.br/nfe") + protected TMonofasia gibscbsMono; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TTransfCred gTransfCred; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe") + protected TCredPresIBSZFM gCredPresIBSZFM; + + /** + * Obtém o valor da propriedade cst. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCST() { + return cst; + } + + /** + * Define o valor da propriedade cst. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCST(String value) { + this.cst = value; + } + + /** + * Obtém o valor da propriedade cClassTrib. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCClassTrib() { + return cClassTrib; + } + + /** + * Define o valor da propriedade cClassTrib. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCClassTrib(String value) { + this.cClassTrib = value; + } + + /** + * Obtém o valor da propriedade gibscbs. + * + * @return + * possible object is + * {@link TCIBS } + * + */ + public TCIBS getGIBSCBS() { + return gibscbs; + } + + /** + * Define o valor da propriedade gibscbs. + * + * @param value + * allowed object is + * {@link TCIBS } + * + */ + public void setGIBSCBS(TCIBS value) { + this.gibscbs = value; + } + + /** + * Obtém o valor da propriedade gibscbsMono. + * + * @return + * possible object is + * {@link TMonofasia } + * + */ + public TMonofasia getGIBSCBSMono() { + return gibscbsMono; + } + + /** + * Define o valor da propriedade gibscbsMono. + * + * @param value + * allowed object is + * {@link TMonofasia } + * + */ + public void setGIBSCBSMono(TMonofasia value) { + this.gibscbsMono = value; + } + + /** + * Obtém o valor da propriedade gTransfCred. + * + * @return + * possible object is + * {@link TTransfCred } + * + */ + public TTransfCred getGTransfCred() { + return gTransfCred; + } + + /** + * Define o valor da propriedade gTransfCred. + * + * @param value + * allowed object is + * {@link TTransfCred } + * + */ + public void setGTransfCred(TTransfCred value) { + this.gTransfCred = value; + } + + /** + * Obtém o valor da propriedade gCredPresIBSZFM. + * + * @return + * possible object is + * {@link TCredPresIBSZFM } + * + */ + public TCredPresIBSZFM getGCredPresIBSZFM() { + return gCredPresIBSZFM; + } + + /** + * Define o valor da propriedade gCredPresIBSZFM. + * + * @param value + * allowed object is + * {@link TCredPresIBSZFM } + * + */ + public void setGCredPresIBSZFM(TCredPresIBSZFM value) { + this.gCredPresIBSZFM = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TTribRegular.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TTribRegular.java new file mode 100644 index 00000000..ea77474b --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TTribRegular.java @@ -0,0 +1,260 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + * Tipo Tributação Regular + * + *

Classe Java de TTribRegular complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TTribRegular">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="CSTReg" type="{http://www.portalfiscal.inf.br/nfe}TCST"/>
+ *         <element name="cClassTribReg" type="{http://www.portalfiscal.inf.br/nfe}TcClassTrib"/>
+ *         <element name="pAliqEfetRegIBSUF" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04"/>
+ *         <element name="vTribRegIBSUF" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *         <element name="pAliqEfetRegIBSMun" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04"/>
+ *         <element name="vTribRegIBSMun" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *         <element name="pAliqEfetRegCBS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302_04"/>
+ *         <element name="vTribRegCBS" type="{http://www.portalfiscal.inf.br/nfe}TDec1302"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TTribRegular", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "cstReg", + "cClassTribReg", + "pAliqEfetRegIBSUF", + "vTribRegIBSUF", + "pAliqEfetRegIBSMun", + "vTribRegIBSMun", + "pAliqEfetRegCBS", + "vTribRegCBS" +}) +public class TTribRegular { + + @XmlElement(name = "CSTReg", namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cstReg; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String cClassTribReg; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String pAliqEfetRegIBSUF; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vTribRegIBSUF; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String pAliqEfetRegIBSMun; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vTribRegIBSMun; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String pAliqEfetRegCBS; + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String vTribRegCBS; + + /** + * Obtém o valor da propriedade cstReg. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCSTReg() { + return cstReg; + } + + /** + * Define o valor da propriedade cstReg. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCSTReg(String value) { + this.cstReg = value; + } + + /** + * Obtém o valor da propriedade cClassTribReg. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCClassTribReg() { + return cClassTribReg; + } + + /** + * Define o valor da propriedade cClassTribReg. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCClassTribReg(String value) { + this.cClassTribReg = value; + } + + /** + * Obtém o valor da propriedade pAliqEfetRegIBSUF. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPAliqEfetRegIBSUF() { + return pAliqEfetRegIBSUF; + } + + /** + * Define o valor da propriedade pAliqEfetRegIBSUF. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPAliqEfetRegIBSUF(String value) { + this.pAliqEfetRegIBSUF = value; + } + + /** + * Obtém o valor da propriedade vTribRegIBSUF. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVTribRegIBSUF() { + return vTribRegIBSUF; + } + + /** + * Define o valor da propriedade vTribRegIBSUF. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVTribRegIBSUF(String value) { + this.vTribRegIBSUF = value; + } + + /** + * Obtém o valor da propriedade pAliqEfetRegIBSMun. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPAliqEfetRegIBSMun() { + return pAliqEfetRegIBSMun; + } + + /** + * Define o valor da propriedade pAliqEfetRegIBSMun. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPAliqEfetRegIBSMun(String value) { + this.pAliqEfetRegIBSMun = value; + } + + /** + * Obtém o valor da propriedade vTribRegIBSMun. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVTribRegIBSMun() { + return vTribRegIBSMun; + } + + /** + * Define o valor da propriedade vTribRegIBSMun. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVTribRegIBSMun(String value) { + this.vTribRegIBSMun = 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/schema_rt/nfe/TUf.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TUf.java new file mode 100644 index 00000000..4e01dd9e --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TUf.java @@ -0,0 +1,91 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Classe Java de TUf. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + *

+ *

+ * <simpleType name="TUf">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <whiteSpace value="preserve"/>
+ *     <enumeration value="AC"/>
+ *     <enumeration value="AL"/>
+ *     <enumeration value="AM"/>
+ *     <enumeration value="AP"/>
+ *     <enumeration value="BA"/>
+ *     <enumeration value="CE"/>
+ *     <enumeration value="DF"/>
+ *     <enumeration value="ES"/>
+ *     <enumeration value="GO"/>
+ *     <enumeration value="MA"/>
+ *     <enumeration value="MG"/>
+ *     <enumeration value="MS"/>
+ *     <enumeration value="MT"/>
+ *     <enumeration value="PA"/>
+ *     <enumeration value="PB"/>
+ *     <enumeration value="PE"/>
+ *     <enumeration value="PI"/>
+ *     <enumeration value="PR"/>
+ *     <enumeration value="RJ"/>
+ *     <enumeration value="RN"/>
+ *     <enumeration value="RO"/>
+ *     <enumeration value="RR"/>
+ *     <enumeration value="RS"/>
+ *     <enumeration value="SC"/>
+ *     <enumeration value="SE"/>
+ *     <enumeration value="SP"/>
+ *     <enumeration value="TO"/>
+ *     <enumeration value="EX"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "TUf", namespace = "http://www.portalfiscal.inf.br/nfe") +@XmlEnum +public enum TUf { + + AC, + AL, + AM, + AP, + BA, + CE, + DF, + ES, + GO, + MA, + MG, + MS, + MT, + PA, + PB, + PE, + PI, + PR, + RJ, + RN, + RO, + RR, + RS, + SC, + SE, + SP, + TO, + EX; + + public String value() { + return name(); + } + + public static TUf fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TUfEmi.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TUfEmi.java new file mode 100644 index 00000000..ce42d70c --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TUfEmi.java @@ -0,0 +1,89 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.XmlEnum; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Classe Java de TUfEmi. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + *

+ *

+ * <simpleType name="TUfEmi">
+ *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <whiteSpace value="preserve"/>
+ *     <enumeration value="AC"/>
+ *     <enumeration value="AL"/>
+ *     <enumeration value="AM"/>
+ *     <enumeration value="AP"/>
+ *     <enumeration value="BA"/>
+ *     <enumeration value="CE"/>
+ *     <enumeration value="DF"/>
+ *     <enumeration value="ES"/>
+ *     <enumeration value="GO"/>
+ *     <enumeration value="MA"/>
+ *     <enumeration value="MG"/>
+ *     <enumeration value="MS"/>
+ *     <enumeration value="MT"/>
+ *     <enumeration value="PA"/>
+ *     <enumeration value="PB"/>
+ *     <enumeration value="PE"/>
+ *     <enumeration value="PI"/>
+ *     <enumeration value="PR"/>
+ *     <enumeration value="RJ"/>
+ *     <enumeration value="RN"/>
+ *     <enumeration value="RO"/>
+ *     <enumeration value="RR"/>
+ *     <enumeration value="RS"/>
+ *     <enumeration value="SC"/>
+ *     <enumeration value="SE"/>
+ *     <enumeration value="SP"/>
+ *     <enumeration value="TO"/>
+ *   </restriction>
+ * </simpleType>
+ * 
+ * + */ +@XmlType(name = "TUfEmi", namespace = "http://www.portalfiscal.inf.br/nfe") +@XmlEnum +public enum TUfEmi { + + AC, + AL, + AM, + AP, + BA, + CE, + DF, + ES, + GO, + MA, + MG, + MS, + MT, + PA, + PB, + PE, + PI, + PR, + RJ, + RN, + RO, + RR, + RS, + SC, + SE, + SP, + TO; + + public String value() { + return name(); + } + + public static TUfEmi fromValue(String v) { + return valueOf(v); + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TVeiculo.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TVeiculo.java new file mode 100644 index 00000000..fbe4d2d9 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TVeiculo.java @@ -0,0 +1,132 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.*; + + +/** + * Tipo Dados do Veículo + * + *

Classe Java de TVeiculo complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TVeiculo">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="placa">
+ *           <simpleType>
+ *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *               <whiteSpace value="preserve"/>
+ *               <pattern value="[A-Z]{2,3}[0-9]{4}|[A-Z]{3,4}[0-9]{3}|[A-Z0-9]{7}"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *         <element name="UF" type="{http://www.portalfiscal.inf.br/nfe}TUf" minOccurs="0"/>
+ *         <element name="RNTC" minOccurs="0">
+ *           <simpleType>
+ *             <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
+ *               <minLength value="1"/>
+ *               <maxLength value="20"/>
+ *             </restriction>
+ *           </simpleType>
+ *         </element>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TVeiculo", namespace = "http://www.portalfiscal.inf.br/nfe", propOrder = { + "placa", + "uf", + "rntc" +}) +public class TVeiculo { + + @XmlElement(namespace = "http://www.portalfiscal.inf.br/nfe", required = true) + protected String placa; + @XmlElement(name = "UF", namespace = "http://www.portalfiscal.inf.br/nfe") + @XmlSchemaType(name = "string") + protected TUf uf; + @XmlElement(name = "RNTC", namespace = "http://www.portalfiscal.inf.br/nfe") + protected String rntc; + + /** + * Obtém o valor da propriedade placa. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPlaca() { + return placa; + } + + /** + * Define o valor da propriedade placa. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPlaca(String value) { + this.placa = value; + } + + /** + * Obtém o valor da propriedade uf. + * + * @return + * possible object is + * {@link TUf } + * + */ + public TUf getUF() { + return uf; + } + + /** + * Define o valor da propriedade uf. + * + * @param value + * allowed object is + * {@link TUf } + * + */ + public void setUF(TUf value) { + this.uf = value; + } + + /** + * Obtém o valor da propriedade rntc. + * + * @return + * possible object is + * {@link String } + * + */ + public String getRNTC() { + return rntc; + } + + /** + * Define o valor da propriedade rntc. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setRNTC(String value) { + this.rntc = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TransformType.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TransformType.java new file mode 100644 index 00000000..e2d4663f --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TransformType.java @@ -0,0 +1,93 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.*; +import java.util.ArrayList; +import java.util.List; + + +/** + *

Classe Java de TransformType complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TransformType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence maxOccurs="unbounded" minOccurs="0">
+ *         <element name="XPath" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *       </sequence>
+ *       <attribute name="Algorithm" use="required" type="{http://www.w3.org/2000/09/xmldsig#}TTransformURI" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TransformType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "xPath" +}) +public class TransformType { + + @XmlElement(name = "XPath", namespace = "http://www.w3.org/2000/09/xmldsig#") + protected List xPath; + @XmlAttribute(name = "Algorithm", required = true) + protected String algorithm; + + /** + * Gets the value of the xPath property. + * + *

+ * 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 set method for the xPath property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getXPath().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List getXPath() { + if (xPath == null) { + xPath = new ArrayList(); + } + return this.xPath; + } + + /** + * Obtém o valor da propriedade algorithm. + * + * @return + * possible object is + * {@link String } + * + */ + public String getAlgorithm() { + return algorithm; + } + + /** + * Define o valor da propriedade algorithm. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setAlgorithm(String value) { + this.algorithm = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TransformsType.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TransformsType.java new file mode 100644 index 00000000..226a3d10 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/TransformsType.java @@ -0,0 +1,69 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; +import java.util.ArrayList; +import java.util.List; + + +/** + *

Classe Java de TransformsType complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="TransformsType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="Transform" type="{http://www.w3.org/2000/09/xmldsig#}TransformType" maxOccurs="2" minOccurs="2"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "TransformsType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "transform" +}) +public class TransformsType { + + @XmlElement(name = "Transform", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected List transform; + + /** + * Gets the value of the transform property. + * + *

+ * 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 set method for the transform property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getTransform().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TransformType } + * + * + */ + public List getTransform() { + if (transform == null) { + transform = new ArrayList(); + } + return this.transform; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/X509DataType.java b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/X509DataType.java new file mode 100644 index 00000000..cf309046 --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/schema_rt/nfe/X509DataType.java @@ -0,0 +1,60 @@ + +package br.com.swconsultoria.nfe.schema_rt.nfe; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Classe Java de X509DataType complex type. + * + *

O seguinte fragmento do esquema especifica o conteúdo esperado contido dentro desta classe. + * + *

+ * <complexType name="X509DataType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="X509Certificate" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
+ *       </sequence>
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "X509DataType", namespace = "http://www.w3.org/2000/09/xmldsig#", propOrder = { + "x509Certificate" +}) +public class X509DataType { + + @XmlElement(name = "X509Certificate", namespace = "http://www.w3.org/2000/09/xmldsig#", required = true) + protected byte[] x509Certificate; + + /** + * Obtém o valor da propriedade x509Certificate. + * + * @return + * possible object is + * byte[] + */ + public byte[] getX509Certificate() { + return x509Certificate; + } + + /** + * Define o valor da propriedade x509Certificate. + * + * @param value + * allowed object is + * byte[] + */ + public void setX509Certificate(byte[] value) { + this.x509Certificate = value; + } + +} diff --git a/src/main/java/br/com/swconsultoria/nfe/util/JAXBElementFactory.java b/src/main/java/br/com/swconsultoria/nfe/util/JAXBElementFactory.java new file mode 100644 index 00000000..fec1e40f --- /dev/null +++ b/src/main/java/br/com/swconsultoria/nfe/util/JAXBElementFactory.java @@ -0,0 +1,10 @@ +package br.com.swconsultoria.nfe.util; + +import javax.xml.bind.JAXBElement; +import javax.xml.namespace.QName; + +public class JAXBElementFactory { + public static JAXBElement create(QName qName, Class clazz, T value) { + return new JAXBElement<>(qName, clazz, clazz, value); + } +} \ No newline at end of file diff --git a/src/main/java/br/com/swconsultoria/nfe/util/NFCeUtil.java b/src/main/java/br/com/swconsultoria/nfe/util/NFCeUtil.java index 8c62c1ec..ce17ec54 100644 --- a/src/main/java/br/com/swconsultoria/nfe/util/NFCeUtil.java +++ b/src/main/java/br/com/swconsultoria/nfe/util/NFCeUtil.java @@ -1,27 +1,33 @@ package br.com.swconsultoria.nfe.util; -import java.security.InvalidParameterException; -import java.security.MessageDigest; -import java.security.NoSuchAlgorithmException; - -/** -* -* @author Samuel Oliveira -*/ +import br.com.swconsultoria.certificado.Certificado; +import br.com.swconsultoria.certificado.CertificadoService; +import br.com.swconsultoria.nfe.exception.NfeException; + +import java.nio.charset.StandardCharsets; +import java.security.*; +import java.util.Base64; +import java.util.Optional; + +/** + * @author Samuel Oliveira + */ public class NFCeUtil { /** - * * Funcao Responsavel por Devolver o QrCode já no padrão da Nota. * - * @param chave : Chave de Acesso da NFCe - * @param ambiente : Identificação do Ambiente (1 – Produção, 2 – Homologação) - * @param idToken : Identificador do CSC – Código de Segurança do Contribuinte no Banco de Dados da SEFAZ - * @param CSC : Código de Segurança do Contribuinte (antigo Token) + * @param chave : Chave de Acesso da NFCe + * @param ambiente : Identificação do Ambiente (1 – Produção, 2 – Homologação) + * @param idToken : Identificador do CSC – Código de Segurança do Contribuinte no Banco de Dados da SEFAZ + * @param CSC : Código de Segurança do Contribuinte (antigo Token) * @param urlConsulta : Url De Consulta da Nfc-e do Estado - * + *

+ * A NT 2025-001 define que deve ser utilizado o padrao v3 para o QrCode da NFC-e. + * Essa funcao será deletada em breve, e a nova funcao getCodeQRCodeV3 deve ser utilizada. * @return String do QrCode */ + @Deprecated public static String getCodeQRCode(String chave, String ambiente, String idToken, String CSC, String urlConsulta) throws NoSuchAlgorithmException { StringBuilder value = new StringBuilder(); @@ -34,6 +40,21 @@ public static String getCodeQRCode(String chave, String ambiente, String idToken return urlConsulta + "?p=" + value + "|" + cHashQRCode; } + /** + * Funcao Responsavel por Devolver o QrCode V3 já no padrão da Nota. + * + * @param chave : Chave de Acesso da NFCe + * @param ambiente : Identificação do Ambiente (1 – Produção, 2 – Homologação) + * @param urlConsulta : Url De Consulta da Nfc-e do Estado + * + * Para NFC-e emitida “on-line”: https://endereco-consulta-QRCode?p=|| + * + * @return String do QrCode + */ + public static String getCodeQRCodeV3(String chave, String ambiente, String urlConsulta) { + return String.format("%s?p=%s|3|%s", urlConsulta, chave, ambiente); + } + /** * Funcao Responsavel por Devolver o QrCode já no padrão da Nota. * @@ -42,8 +63,13 @@ public static String getCodeQRCode(String chave, String ambiente, String idToken * @param idToken : Identificador do CSC – Código de Segurança do Contribuinte no Banco de Dados da SEFAZ * @param CSC : Código de Segurança do Contribuinte (antigo Token) * @param urlConsulta : Url De Consulta da Nfc-e do Estado + *

+ * A NT 2025-001 define que deve ser utilizado o padrao v3 para o QrCode da NFC-e. + * Essa funcao será deletada em breve, e a nova funcao getCodeQRCodeV3 deve ser utilizada. + * * @return String do QrCode */ + @Deprecated public static String getCodeQRCodeContingencia(String chave, String ambiente, String dhEmi, String valorNF, String digVal, String idToken, String CSC, String urlConsulta) throws NoSuchAlgorithmException { StringBuilder value = new StringBuilder(); @@ -57,16 +83,46 @@ public static String getCodeQRCodeContingencia(String chave, String ambiente, St String cHashQRCode = getHexa(getHash(value.toString() + CSC)).toUpperCase(); return urlConsulta + "?p=" + value + "|" + cHashQRCode; + } /** + * Funcao Responsavel por Devolver o QrCode V3 de contingencia já no padrão da Nota. + * + * @param chave : Chave de Acesso da NFCe + * @param ambiente : Identificação do Ambiente (1 – Produção, 2 – Homologação) + * @param dhEmi : Campo dhEmi (B09) da NFCe + * @param valorNF : Campo de Valor da Nota (W16) + * @param tpDestinatario : 1=CNPJ; 2=CPF; 3=idEstrangeiro; Caso Destinatário estrangeiro ou não identificado, informar apenas nulo ou vazio + * @param identDest : Identificação do Destinatário CPF ou CNPJ na NFC-e.; Caso Destinatário estrangeiro ou não identificado, informar apenas nulo ou vazio + * @param urlConsulta : Url De Consulta da Nfc-e do Estado * + * Para NFC-e emitida em contingência “off-line”: + * https://endereco-consultaQRCode?p=||||||| + * + * @return String do QrCode + */ + public static String getCodeQRCodeContingenciaV3(String chave, String ambiente, String dhEmi, String valorNF, + String tpDestinatario, String identDest, String urlConsulta, + Certificado certificado) throws NfeException { + + String valor = String.format("%s|3|%s|%s|%s|%s|%s", + chave, ambiente, dhEmi.substring(8, 10), valorNF, + Optional.ofNullable(tpDestinatario).orElse(""), + Optional.ofNullable(identDest).orElse("")); + + String assinatura = assinarQrCodeV3(valor, certificado); + + return urlConsulta + "?p=" + valor + "|" + assinatura; + } + + /** * Função responsável por gerar o hashCSRT conforme definições da NT2018.005 v1.40. * * @param chave Chave da nota fiscal com 44 caracteres. - * @param csrt Token/Código de Segurança do Responsável Técnico, fornecido pela Sefaz de da estado. + * @param csrt Token/Código de Segurança do Responsável Técnico, fornecido pela Sefaz de da estado. * @return bytes conforme definição da NF2018.005 v1.40 sem fazer encode em base64. - * Isso porque já será feito ao gerar o xml devido ao tipo no XSD ser xs:base64Binary. + * Isso porque já será feito ao gerar o xml devido ao tipo no XSD ser xs:base64Binary. * @throws NoSuchAlgorithmException caso não encontre suporte para SHA-1. */ public static byte[] geraHashCSRT(String chave, String csrt) throws NoSuchAlgorithmException { @@ -79,23 +135,22 @@ public static byte[] geraHashCSRT(String chave, String csrt) throws NoSuchAlgori return getHash(csrt + chave); } - - /** - * @param valor - * @return - */ + /** + * @param valor + * @return + */ private static byte[] getHash(String valor) throws NoSuchAlgorithmException { - MessageDigest md = MessageDigest.getInstance("SHA-1"); - md.update(valor.getBytes()); - return md.digest(); + MessageDigest md = MessageDigest.getInstance("SHA-1"); + md.update(valor.getBytes()); + return md.digest(); } - - private static String getHexa(String valor) { - return getHexa(valor.getBytes()); - } - - private static String getHexa(byte[] bytes) { + + private static String getHexa(String valor) { + return getHexa(valor.getBytes()); + } + + private static String getHexa(byte[] bytes) { StringBuilder s = new StringBuilder(); for (byte aByte : bytes) { int parteAlta = ((aByte >> 4) & 0xf) << 4; @@ -104,9 +159,27 @@ private static String getHexa(byte[] bytes) { s.append('0'); } s.append(Integer.toHexString(parteAlta | parteBaixa)); - } - return s.toString(); - } + } + return s.toString(); + } + + private static String assinarQrCodeV3(String dados, Certificado certificado) throws NfeException { + try { + KeyStore keyStore = CertificadoService.getKeyStore(certificado); + + KeyStore.PrivateKeyEntry pkEntry = (KeyStore.PrivateKeyEntry) keyStore.getEntry(certificado.getNome(), + new KeyStore.PasswordProtection(ObjetoUtil.verifica(certificado.getSenha()).orElse("").toCharArray())); + + PrivateKey privateKey = pkEntry.getPrivateKey(); + Signature signature = Signature.getInstance("SHA1withRSA"); + signature.initSign(privateKey); + signature.update(dados.getBytes(StandardCharsets.UTF_8)); + byte[] signed = signature.sign(); + return Base64.getEncoder().encodeToString(signed); + } catch (Exception e) { + throw new NfeException("Erro ao gerar assinatura do QRCode V3: " + e.getMessage(), e); + } + } } diff --git a/src/main/java/br/com/swconsultoria/nfe/util/WebServiceUtil.java b/src/main/java/br/com/swconsultoria/nfe/util/WebServiceUtil.java index 33660c2f..a32a9bf6 100644 --- a/src/main/java/br/com/swconsultoria/nfe/util/WebServiceUtil.java +++ b/src/main/java/br/com/swconsultoria/nfe/util/WebServiceUtil.java @@ -1,6 +1,3 @@ -/** - * - */ package br.com.swconsultoria.nfe.util; import br.com.swconsultoria.nfe.dom.ConfiguracoesNfe; @@ -10,119 +7,238 @@ import br.com.swconsultoria.nfe.dom.enuns.ServicosEnum; import br.com.swconsultoria.nfe.exception.NfeException; import lombok.extern.java.Log; -import org.ini4j.Wini; import java.io.*; -import java.util.logging.Logger; +import java.nio.charset.StandardCharsets; +import java.util.HashMap; +import java.util.Map; +import java.util.regex.Matcher; +import java.util.regex.Pattern; /** * @author Samuel Oliveira - * + *

* Classe responsávelem montar as URL's de consulta de serviços do SEFAZ. */ @Log public class WebServiceUtil { - private final static Logger logger = Logger.getLogger(WebServiceUtil.class.getName()); + private static final Pattern sectionPattern = Pattern.compile("^\\[(.+)\\]$"); + + /** + * Obtém um valor de um Mapa que representa uma seção de um arquivo INI, + * buscando pela {@code targetKey} de forma case-insensitive. + * Este método também normaliza as chaves lidas do mapa (que vêm do arquivo INI) + * que contêm "..", substituindo por ".", antes de realizar a comparação case-insensitive. + * + * @param sectionMap O Mapa ({@code Map}) contendo os pares de chave-valor da seção específica. + * Pode ser nulo ou vazio. + * @param targetKey A chave alvo (geralmente esperada em lowercase, vinda de {@code ServicosEnum}, ou "Usar" em PascalCase) + * a ser buscada dentro da seção. + * @param log O log para registrar informações de depuração (ex: qual chave está sendo comparada). + * @return O valor da propriedade como String, se uma correspondência case-insensitive for encontrada; + * {@code null} caso contrário, ou se {@code sectionMap} for nulo/vazio, ou se {@code targetKey} for nula. + */ + private static String getIniValueIgnoreCase(Map sectionMap, String targetKey) { + if (sectionMap == null || sectionMap.isEmpty() || targetKey == null) { + return null; + } + for (Map.Entry entry : sectionMap.entrySet()) { + String keyFromIni = entry.getKey(); + String normalizedKeyFromIni = keyFromIni.replace("..", "."); + String normalizedTargetKey = targetKey.replace("..", "."); + if (normalizedTargetKey.equalsIgnoreCase(normalizedKeyFromIni)) { + return entry.getValue(); + } + } + return null; + } + + /** + * Analisa (parse) um arquivo INI a partir de um {@link InputStream} e o carrega em uma estrutura de dados aninhada de Mapas. + * O método lê o stream linha por linha, identificando seções (ex: {@code [NomeDaSecao]}), + * pares de chave-valor (ex: {@code chave=valor} ou {@code chave:valor}), e linhas de comentário (iniciadas com ';' ou '#'). + * Espaços em branco ao redor de nomes de seção, chaves e valores são removidos (trim). + * As seções e chaves são armazenadas preservando o case original do arquivo. + * + * @param inputStream O {@link InputStream} do arquivo INI a ser analisado. O stream é fechado ao final do parsing. + * @return Um {@code Map>} representando os dados do INI. + * A chave do mapa externo é o nome da seção. O valor é outro mapa contendo + * os pares de chave-valor daquela seção. + * @throws IOException Se ocorrer um erro de I/O durante a leitura do stream. + * @throws NfeException Se forem encontradas linhas malformadas que não se encaixam no padrão esperado + * de seção ou chave-valor (ex: nome de seção vazio em {@code []}, ou uma chave-valor fora de uma seção). + */ + private static Map> parseIniFile(InputStream inputStream) throws IOException, NfeException { + Map> iniData = new HashMap<>(); + String currentSectionName = null; + Map currentSectionMap = null; + + try (BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream, StandardCharsets.UTF_8))) { + String line; + while ((line = reader.readLine()) != null) { + line = line.trim(); + + if (line.isEmpty() || line.startsWith(";") || line.startsWith("#")) { + continue; + } + + Matcher sectionMatcher = sectionPattern.matcher(line); + if (sectionMatcher.matches()) { + currentSectionName = sectionMatcher.group(1).trim(); + if (currentSectionName.isEmpty()) { + throw new NfeException("Nome da seção inválido (vazio) no arquivo INI."); + } + currentSectionMap = new HashMap<>(); + iniData.put(currentSectionName, currentSectionMap); + } else { + if (currentSectionName == null) { + throw new NfeException("Propriedade encontrada fora de uma seção: " + line); + } + + int separatorPos; + separatorPos = line.indexOf('='); + + if (separatorPos != -1) { + String key = line.substring(0, separatorPos).trim(); + String value = line.substring(separatorPos + 1).trim(); + if (!key.isEmpty()) { + currentSectionMap.put(key, value); + } else { + log.warning("Linha malformada (chave vazia): " + line); + } + } else { + log.warning("Linha malformada ignorada: " + line); + } + } + } + } + return iniData; + } /** * Retorna a URL para consulta de operações do SEFAZ.
* *

- * O método carrega o arquivo WebServicesNfe.ini que contêm as - * URL's de operações do SEFAZ, busca pela seção no arquivo .ini que + * O método carrega o arquivo WebServicesNfe.ini (utilizando um parser customizado) + * que contêm as URL's de operações do SEFAZ, busca pela seção no arquivo .ini que * corresponda com os argumentos tipo, config, servico * e retorna essa URL. *

* - * @param config interface que contêm os dados necessários para a comunicação. - * @param tipoDocumento DocumentoEnum.NFE e ConstantesUtil.NFCE - * @param tipoServico é a operação que se deseja fazer.
- * Ex.: para consultas status deserviço no ambiente de produção - * use ServicosEnum.NfeStatusServico_4.00 - * + * @param config interface que contêm os dados necessários para a comunicação. + * @param tipoDocumento {@link DocumentoEnum#NFE} ou {@link DocumentoEnum#NFCE}. + * @param tipoServico é a operação que se deseja fazer.
+ * Ex.: para consultas status deserviço no ambiente de produção + * use ServicosEnum.NfeStatusServico_4.00 * @return url String que representa a URL do serviço. * @throws NfeException - * * @see ConfiguracoesNfe - * @see ConstantesUtil - **/ + */ public static String getUrl(ConfiguracoesNfe config, DocumentoEnum tipoDocumento, ServicosEnum tipoServico) throws NfeException { - + InputStream is = null; + Map> iniData; try { - - String secao = tipoDocumento.getTipo() + "_" + config.getEstado() + "_" - + (config.getAmbiente().equals(AmbienteEnum.HOMOLOGACAO) ? "H" : "P"); - - InputStream is; if (ObjetoUtil.verifica(config.getArquivoWebService()).isPresent()) { File arquivo = new File(config.getArquivoWebService()); - if (!arquivo.exists()) - throw new FileNotFoundException("Arquivo WebService" + config.getArquivoWebService() + " não encontrado"); + if (!arquivo.exists()) { + throw new FileNotFoundException("Arquivo WebService " + config.getArquivoWebService() + " não encontrado"); + } is = new FileInputStream(arquivo); log.info("[ARQUIVO INI CUSTOMIZADO]: " + config.getArquivoWebService()); } else { is = WebServiceUtil.class.getResourceAsStream("/WebServicesNfe.ini"); + if (is == null) { + throw new NfeException("Arquivo WebServicesNfe.ini não encontrado no classpath."); + } } - - Wini ini = new Wini(); - ini.getConfig().setLowerCaseOption(true); - ini.load(is); - is.close(); - String url = ini.get(secao, "usar"); - - //URLS CONSULTA CADASTO - if (tipoServico.equals(ServicosEnum.CONSULTA_CADASTRO) && ( - config.getEstado().equals(EstadosEnum.PA) || - config.getEstado().equals(EstadosEnum.AM) || - config.getEstado().equals(EstadosEnum.AL) || - config.getEstado().equals(EstadosEnum.AP) || - config.getEstado().equals(EstadosEnum.DF) || - config.getEstado().equals(EstadosEnum.PI) || - config.getEstado().equals(EstadosEnum.RJ) || - config.getEstado().equals(EstadosEnum.RO) || - config.getEstado().equals(EstadosEnum.SE) || - config.getEstado().equals(EstadosEnum.TO))) { - throw new NfeException("Estado não possui Consulta Cadastro."); - // URLS de ambiente nacional - } else if (tipoServico.equals(ServicosEnum.DISTRIBUICAO_DFE) - || tipoServico.equals(ServicosEnum.MANIFESTACAO) - || tipoServico.equals(ServicosEnum.EPEC)) { - secao = config.getAmbiente().equals(AmbienteEnum.HOMOLOGACAO) ? "NFe_AN_H" : "NFe_AN_P"; - } else if (!tipoServico.equals(ServicosEnum.URL_CONSULTANFCE) - && !tipoServico.equals(ServicosEnum.URL_QRCODE) - && config.isContigenciaSVC() && tipoDocumento.equals(DocumentoEnum.NFE)) { - // SVC-RS - if (config.getEstado().equals(EstadosEnum.GO) || config.getEstado().equals(EstadosEnum.AM) - || config.getEstado().equals(EstadosEnum.BA) || config.getEstado().equals(EstadosEnum.CE) - || config.getEstado().equals(EstadosEnum.MA) || config.getEstado().equals(EstadosEnum.MS) - || config.getEstado().equals(EstadosEnum.MT) || config.getEstado().equals(EstadosEnum.PA) - || config.getEstado().equals(EstadosEnum.PE) || config.getEstado().equals(EstadosEnum.PI) - || config.getEstado().equals(EstadosEnum.PR)) { - secao = tipoDocumento.getTipo() + "_SVRS_" - + (config.getAmbiente().equals(AmbienteEnum.HOMOLOGACAO) ? "H" : "P"); - // SVC-AN - } else { - secao = tipoDocumento.getTipo() + "_SVC-AN_" - + (config.getAmbiente().equals(AmbienteEnum.HOMOLOGACAO) ? "H" : "P"); + iniData = parseIniFile(is); + } catch (IOException e) { + throw new NfeException("Erro ao carregar arquivo de configuração WebService: " + e.getMessage(), e); + } finally { + if (is != null) { + try { + is.close(); + } catch (IOException e) { + log.fine("Erro ao fechar InputStream: " + e.getMessage()); } - }else if (!tipoServico.equals(ServicosEnum.URL_CONSULTANFCE) - && !tipoServico.equals(ServicosEnum.URL_QRCODE) && ObjetoUtil.verifica(url).isPresent()) { - secao = url; } + } + + String initialSecaoKey = tipoDocumento.getTipo() + "_" + config.getEstado() + "_" + + (config.getAmbiente().equals(AmbienteEnum.HOMOLOGACAO) ? "H" : "P"); + + String lookupSectionKey = initialSecaoKey; + Map initialSectionMap = iniData.get(initialSecaoKey); + // Pass the static log from the class to the helper method + String usarValue = getIniValueIgnoreCase(initialSectionMap, "Usar"); + + String finalUrl; + + if (verificaEstadosConsultaCadastro(config, tipoServico)) { + throw new NfeException("Estado não possui Consulta Cadastro."); + } else if (verificaServicosAmbienteNacional(tipoServico)) { + lookupSectionKey = config.getAmbiente().equals(AmbienteEnum.HOMOLOGACAO) ? "NFe_AN_H" : "NFe_AN_P"; + Map nationalSectionMap = iniData.get(lookupSectionKey); + finalUrl = getIniValueIgnoreCase(nationalSectionMap, tipoServico.getServico()); + } else if (verificaSeContingenciaSvcNfe(config, tipoDocumento, tipoServico)) { + if (verificaEstadosComServidorProprio(config)) { + lookupSectionKey = tipoDocumento.getTipo() + "_SVRS_" + (config.getAmbiente().equals(AmbienteEnum.HOMOLOGACAO) ? "H" : "P"); + } else { + lookupSectionKey = tipoDocumento.getTipo() + "_SVC-AN_" + (config.getAmbiente().equals(AmbienteEnum.HOMOLOGACAO) ? "H" : "P"); + } + Map svcSectionMap = iniData.get(lookupSectionKey); + finalUrl = getIniValueIgnoreCase(svcSectionMap, tipoServico.getServico()); + } else if (ObjetoUtil.verifica(usarValue).isPresent() && + !tipoServico.equals(ServicosEnum.URL_CONSULTANFCE) && + !tipoServico.equals(ServicosEnum.URL_QRCODE)) { + lookupSectionKey = usarValue; + Map usarRedirectedSectionMap = iniData.get(lookupSectionKey); + finalUrl = getIniValueIgnoreCase(usarRedirectedSectionMap, tipoServico.getServico()); + } else { + Map currentSectionMap = iniData.get(lookupSectionKey); + finalUrl = getIniValueIgnoreCase(currentSectionMap, tipoServico.getServico()); + } - url = ini.get(secao, tipoServico.getServico().toLowerCase()); + final String finalLookupSectionKeyForLambda = lookupSectionKey; + ObjetoUtil.verifica(finalUrl).orElseThrow(() -> new NfeException( + "WebService de " + tipoServico + " não encontrado para " + config.getEstado().getNome() + " na seção " + finalLookupSectionKeyForLambda)); - ObjetoUtil.verifica(url).orElseThrow(() -> new NfeException( - "WebService de " + tipoServico + " não encontrado para " + config.getEstado().getNome())); + log.info("[URL]: " + tipoServico + ": " + finalUrl); + return finalUrl; + } - log.info("[URL]: " + tipoServico + ": " + url); + private static boolean verificaSeContingenciaSvcNfe(ConfiguracoesNfe config, DocumentoEnum tipoDocumento, ServicosEnum tipoServico) { + return !tipoServico.equals(ServicosEnum.URL_CONSULTANFCE) && + !tipoServico.equals(ServicosEnum.URL_QRCODE) && + config.isContigenciaSVC() && tipoDocumento.equals(DocumentoEnum.NFE); + } - return url; + private static boolean verificaEstadosComServidorProprio(ConfiguracoesNfe config) { + return config.getEstado().equals(EstadosEnum.GO) || config.getEstado().equals(EstadosEnum.AM) || + config.getEstado().equals(EstadosEnum.BA) || config.getEstado().equals(EstadosEnum.CE) || + config.getEstado().equals(EstadosEnum.MA) || config.getEstado().equals(EstadosEnum.MS) || + config.getEstado().equals(EstadosEnum.MT) || config.getEstado().equals(EstadosEnum.PA) || + config.getEstado().equals(EstadosEnum.PE) || config.getEstado().equals(EstadosEnum.PI) || + config.getEstado().equals(EstadosEnum.PR); + } - } catch (IOException e) { - throw new NfeException(e.getMessage(),e); - } + private static boolean verificaServicosAmbienteNacional(ServicosEnum tipoServico) { + return tipoServico.equals(ServicosEnum.DISTRIBUICAO_DFE) || + tipoServico.equals(ServicosEnum.MANIFESTACAO) || + tipoServico.equals(ServicosEnum.EPEC); + } + private static boolean verificaEstadosConsultaCadastro(ConfiguracoesNfe config, ServicosEnum tipoServico) { + return tipoServico.equals(ServicosEnum.CONSULTA_CADASTRO) && ( + config.getEstado().equals(EstadosEnum.PA) || + config.getEstado().equals(EstadosEnum.AL) || + config.getEstado().equals(EstadosEnum.AP) || + config.getEstado().equals(EstadosEnum.DF) || + config.getEstado().equals(EstadosEnum.PI) || + config.getEstado().equals(EstadosEnum.RJ) || + config.getEstado().equals(EstadosEnum.RO) || + config.getEstado().equals(EstadosEnum.SE) || + config.getEstado().equals(EstadosEnum.TO)); } } diff --git a/src/main/java/br/com/swconsultoria/nfe/util/XmlNfeUtil.java b/src/main/java/br/com/swconsultoria/nfe/util/XmlNfeUtil.java index 04ae12f3..afc314ab 100644 --- a/src/main/java/br/com/swconsultoria/nfe/util/XmlNfeUtil.java +++ b/src/main/java/br/com/swconsultoria/nfe/util/XmlNfeUtil.java @@ -17,6 +17,11 @@ import br.com.swconsultoria.nfe.schema_4.inutNFe.TRetInutNFe; import br.com.swconsultoria.nfe.schema_4.retConsSitNFe.TRetConsSitNFe; import lombok.extern.java.Log; +import org.w3c.dom.Document; +import org.w3c.dom.Node; +import org.w3c.dom.ls.DOMImplementationLS; +import org.w3c.dom.ls.LSSerializer; +import org.xml.sax.InputSource; import javax.xml.bind.*; import javax.xml.datatype.DatatypeConfigurationException; @@ -24,7 +29,11 @@ import javax.xml.datatype.DatatypeFactory; import javax.xml.datatype.XMLGregorianCalendar; import javax.xml.namespace.QName; +import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.transform.stream.StreamSource; +import javax.xml.xpath.XPath; +import javax.xml.xpath.XPathConstants; +import javax.xml.xpath.XPathFactory; import java.io.*; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; @@ -99,6 +108,7 @@ public class XmlNfeUtil { private static final String RET_CCE = "br.com.swconsultoria.nfe.schema.envcce.TRetEnvEvento"; private static final String RET_EPEC = "br.com.swconsultoria.nfe.schema.envEpec.TRetEnvEvento"; private static final String RET_MANIFESTAR = "br.com.swconsultoria.nfe.schema.envConfRecebto.TRetEnvEvento"; + private XmlNfeUtil() {} /** @@ -128,6 +138,8 @@ public static String objectToXml(Object obj, Charset encode) throws JAXBExce JAXBContext context; JAXBElement element; + //TODO REMOVER DEPOIS DO LAYOUT REFORMA ENTRAR EM PRODUCAO + boolean layoutReforma = obj.getClass().getName().contains("schema_rt"); switch (obj.getClass().getSimpleName()) { @@ -137,13 +149,25 @@ public static String objectToXml(Object obj, Charset encode) throws JAXBExce break; case ENVIO_NFE: - context = JAXBContext.newInstance(TEnviNFe.class); - element = new br.com.swconsultoria.nfe.schema_4.enviNFe.ObjectFactory().createEnviNFe((TEnviNFe) obj); + if (layoutReforma) { + //TODO REMOVER DEPOIS DO LAYOUT REFORMA ENTRAR EM PRODUCAO + context = JAXBContext.newInstance(br.com.swconsultoria.nfe.schema_rt.nfe.TEnviNFe.class); + element = XsdUtil.NfeRt.createTEnviNFe((br.com.swconsultoria.nfe.schema_rt.nfe.TEnviNFe) obj); + } else { + context = JAXBContext.newInstance(TEnviNFe.class); + element = new br.com.swconsultoria.nfe.schema_4.enviNFe.ObjectFactory().createEnviNFe((TEnviNFe) obj); + } break; case RETORNO_ENVIO: - context = JAXBContext.newInstance(TRetEnviNFe.class); - element = XsdUtil.enviNfe.createTRetEnviNFe((TRetEnviNFe) obj); + if (layoutReforma) { + //TODO REMOVER DEPOIS DO LAYOUT REFORMA ENTRAR EM PRODUCAO + context = JAXBContext.newInstance(br.com.swconsultoria.nfe.schema_rt.nfe.TRetEnviNFe.class); + element = XsdUtil.NfeRt.createTRetEnviNFe((br.com.swconsultoria.nfe.schema_rt.nfe.TRetEnviNFe) obj); + } else { + context = JAXBContext.newInstance(TRetEnviNFe.class); + element = XsdUtil.enviNfe.createTRetEnviNFe((TRetEnviNFe) obj); + } break; case SITUACAO_NFE: @@ -157,8 +181,14 @@ public static String objectToXml(Object obj, Charset encode) throws JAXBExce break; case TCONSRECINFE: - context = JAXBContext.newInstance(TConsReciNFe.class); - element = new br.com.swconsultoria.nfe.schema_4.consReciNFe.ObjectFactory().createConsReciNFe((TConsReciNFe) obj); + if (layoutReforma) { + //TODO REMOVER DEPOIS DO LAYOUT REFORMA ENTRAR EM PRODUCAO + context = JAXBContext.newInstance(br.com.swconsultoria.nfe.schema_rt.nfe.TConsReciNFe.class); + element = XsdUtil.NfeRt.createTConsReciNFe((br.com.swconsultoria.nfe.schema_rt.nfe.TConsReciNFe) obj); + } else { + context = JAXBContext.newInstance(TConsReciNFe.class); + element = new br.com.swconsultoria.nfe.schema_4.consReciNFe.ObjectFactory().createConsReciNFe((TConsReciNFe) obj); + } break; case TCONS_CAD: @@ -182,8 +212,14 @@ public static String objectToXml(Object obj, Charset encode) throws JAXBExce break; case RET_RECIBO_NFE: - context = JAXBContext.newInstance(br.com.swconsultoria.nfe.schema_4.retConsReciNFe.TRetConsReciNFe.class); - element = new br.com.swconsultoria.nfe.schema_4.retConsReciNFe.ObjectFactory().createRetConsReciNFe((br.com.swconsultoria.nfe.schema_4.retConsReciNFe.TRetConsReciNFe) obj); + if (layoutReforma) { + //TODO REMOVER DEPOIS DO LAYOUT REFORMA ENTRAR EM PRODUCAO + context = JAXBContext.newInstance(br.com.swconsultoria.nfe.schema_rt.nfe.TRetConsReciNFe.class); + element = XsdUtil.NfeRt.createTRetConsReciNFe((br.com.swconsultoria.nfe.schema_rt.nfe.TRetConsReciNFe) obj); + } else { + context = JAXBContext.newInstance(br.com.swconsultoria.nfe.schema_4.retConsReciNFe.TRetConsReciNFe.class); + element = new br.com.swconsultoria.nfe.schema_4.retConsReciNFe.ObjectFactory().createRetConsReciNFe((br.com.swconsultoria.nfe.schema_4.retConsReciNFe.TRetConsReciNFe) obj); + } break; case RET_STATUS_SERVICO: @@ -250,13 +286,25 @@ public static String objectToXml(Object obj, Charset encode) throws JAXBExce break; case NFEPROC: - context = JAXBContext.newInstance(TNfeProc.class); - element = XsdUtil.enviNfe.createTNfeProc((TNfeProc) obj); + if (layoutReforma) { + //TODO REMOVER DEPOIS DO LAYOUT REFORMA ENTRAR EM PRODUCAO + context = JAXBContext.newInstance(br.com.swconsultoria.nfe.schema_rt.nfe.TNfeProc.class); + element = XsdUtil.NfeRt.createTNfeProc((br.com.swconsultoria.nfe.schema_rt.nfe.TNfeProc) obj); + } else { + context = JAXBContext.newInstance(TNfeProc.class); + element = XsdUtil.enviNfe.createTNfeProc((TNfeProc) obj); + } break; case NFE: - context = JAXBContext.newInstance(TNFe.class); - element = new JAXBElement<>(new QName("http://www.portalfiscal.inf.br/nfe", "NFe"), TNFe.class, null, (br.com.swconsultoria.nfe.schema_4.enviNFe.TNFe) obj); + if (layoutReforma) { + //TODO REMOVER DEPOIS DO LAYOUT REFORMA ENTRAR EM PRODUCAO + context = JAXBContext.newInstance(br.com.swconsultoria.nfe.schema_rt.nfe.TNFe.class); + element = XsdUtil.NfeRt.createTNFe((br.com.swconsultoria.nfe.schema_rt.nfe.TNFe) obj); + } else { + context = JAXBContext.newInstance(TNFe.class); + element = new JAXBElement<>(new QName("http://www.portalfiscal.inf.br/nfe", "NFe"), TNFe.class, null, (br.com.swconsultoria.nfe.schema_4.enviNFe.TNFe) obj); + } break; case TPROCINUT: @@ -359,21 +407,27 @@ public static String objectToXml(Object obj, Charset encode) throws JAXBExce break; case TProtNFe: - switch (obj.getClass().getName()) { - case TProtEnvi: - context = JAXBContext.newInstance(TProtNFe.class); - element = XsdUtil.enviNfe.createTProtNFe((br.com.swconsultoria.nfe.schema_4.enviNFe.TProtNFe) obj); - break; - case TProtCons: - context = JAXBContext.newInstance(br.com.swconsultoria.nfe.schema_4.retConsSitNFe.TProtNFe.class); - element = XsdUtil.retConsSitNfe.createTProtNFe((br.com.swconsultoria.nfe.schema_4.retConsSitNFe.TProtNFe) obj); - break; - case TProtReci: - context = JAXBContext.newInstance(br.com.swconsultoria.nfe.schema_4.retConsReciNFe.TProtNFe.class); - element = XsdUtil.retConsReciNfe.createTProtNFe((br.com.swconsultoria.nfe.schema_4.retConsReciNFe.TProtNFe) obj); - break; - default: - throw new NfeException("Objeto não mapeado no XmlUtil:" + obj.getClass().getSimpleName()); + if (layoutReforma) { + //TODO REMOVER DEPOIS DO LAYOUT REFORMA ENTRAR EM PRODUCAO + context = JAXBContext.newInstance(br.com.swconsultoria.nfe.schema_rt.nfe.TProtNFe.class); + element = XsdUtil.NfeRt.createTProtNFe((br.com.swconsultoria.nfe.schema_rt.nfe.TProtNFe) obj); + }else{ + switch (obj.getClass().getName()) { + case TProtEnvi: + context = JAXBContext.newInstance(TProtNFe.class); + element = XsdUtil.enviNfe.createTProtNFe((br.com.swconsultoria.nfe.schema_4.enviNFe.TProtNFe) obj); + break; + case TProtCons: + context = JAXBContext.newInstance(br.com.swconsultoria.nfe.schema_4.retConsSitNFe.TProtNFe.class); + element = XsdUtil.retConsSitNfe.createTProtNFe((br.com.swconsultoria.nfe.schema_4.retConsSitNFe.TProtNFe) obj); + break; + case TProtReci: + context = JAXBContext.newInstance(br.com.swconsultoria.nfe.schema_4.retConsReciNFe.TProtNFe.class); + element = XsdUtil.retConsReciNfe.createTProtNFe((br.com.swconsultoria.nfe.schema_4.retConsReciNFe.TProtNFe) obj); + break; + default: + throw new NfeException("Objeto não mapeado no XmlUtil:" + obj.getClass().getSimpleName()); + } } break; @@ -391,7 +445,7 @@ public static String objectToXml(Object obj, Charset encode) throws JAXBExce String encodeXml = encode == null || !Charset.isSupported(encode.displayName()) ? "UTF-8" : encode.displayName(); - sw.append(""); + sw.append(""); marshaller.marshal(element, sw); @@ -481,4 +535,43 @@ public static String dataNfe(LocalDateTime dataASerFormatada, ZoneId zoneId) { } return null; } + + public static String getTag(String xml, String tag) throws NfeException { + if (xml == null || xml.isEmpty()) { + throw new NfeException("XML de entrada está vazio."); + } + + try { + DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); + dbf.setNamespaceAware(true); + dbf.setFeature("http://apache.org/xml/features/disallow-doctype-decl", true); + dbf.setFeature("http://xml.org/sax/features/external-general-entities", false); + dbf.setFeature("http://xml.org/sax/features/external-parameter-entities", false); + dbf.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false); + + Document doc = dbf.newDocumentBuilder().parse(new InputSource(new StringReader(xml))); + doc.getDocumentElement().normalize(); + + XPath xPath = XPathFactory.newInstance().newXPath(); + Node node = (Node) xPath.evaluate("//*[local-name()='" + tag + "']", doc, XPathConstants.NODE); + + if (node == null) { + throw new NfeException("Tag '" + tag + "' não encontrada no XML."); + } + + return nodeToString(node); + + } catch (Exception e) { + throw new NfeException("Erro ao extrair a tag '" + tag + "' do XML.\nErro: " + e.getMessage(), e); + } + } + + + private static String nodeToString(Node node) { + Document document = node.getOwnerDocument(); + DOMImplementationLS domImplLS = (DOMImplementationLS) document.getImplementation().getFeature("LS", "3.0"); + LSSerializer serializer = domImplLS.createLSSerializer(); + serializer.getDomConfig().setParameter("xml-declaration", false); + return serializer.writeToString(node); + } } diff --git a/src/main/java/br/com/swconsultoria/nfe/util/XsdUtil.java b/src/main/java/br/com/swconsultoria/nfe/util/XsdUtil.java index 36901074..d01ee50b 100644 --- a/src/main/java/br/com/swconsultoria/nfe/util/XsdUtil.java +++ b/src/main/java/br/com/swconsultoria/nfe/util/XsdUtil.java @@ -12,7 +12,13 @@ @XmlRegistry public class XsdUtil { + private static final QName _TConsReciNFe_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "consReciNFe"); + private static final QName _TConsSitNFe_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "consSitNFe"); + private static final QName _TRetConsSitNFe_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "retConsSitNFe"); + private static final QName _TEnviNFe_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "enviNFe"); + private static final QName _TRetConsReciNFe_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "retConsReciNFe"); private final static QName _TNfeProc_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "nfeProc"); + private final static QName _TNfe_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "NFe"); private final static QName _TProtNFe_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "protNFe"); private final static QName _TProcInutNFe_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "procInutNFe"); private final static QName _TRetEnviNFe_QNAME = new QName("http://www.portalfiscal.inf.br/nfe", "retEnviNFe"); @@ -44,6 +50,7 @@ public interface distDFeInt { static JAXBElement createDistDFeInt(br.com.swconsultoria.nfe.schema.distdfeint.DistDFeInt value) { return new JAXBElement<>(_TDistDFeInt_QNAME, br.com.swconsultoria.nfe.schema.distdfeint.DistDFeInt.class, br.com.swconsultoria.nfe.schema.distdfeint.DistDFeInt.class, value); } + @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "retDistDFeInt", scope = br.com.swconsultoria.nfe.schema.retdistdfeint.RetDistDFeInt.class) static JAXBElement createRetDistDFeInt(br.com.swconsultoria.nfe.schema.retdistdfeint.RetDistDFeInt value) { return new JAXBElement<>(_TRetDistDFeInt_QNAME, br.com.swconsultoria.nfe.schema.retdistdfeint.RetDistDFeInt.class, @@ -83,7 +90,6 @@ static JAXBElement create return new JAXBElement(_TProcInutNFe_QNAME, br.com.swconsultoria.nfe.schema_4.inutNFe.TRetInutNFe.class, br.com.swconsultoria.nfe.schema_4.inutNFe.TRetInutNFe.class, value); } - } public interface epec { @@ -113,6 +119,7 @@ static JAXBElement(_TProcEvento_QNAME, br.com.swconsultoria.nfe.schema.envEventoCancSubst.TProcEvento.class, br.com.swconsultoria.nfe.schema.envEventoCancSubst.TProcEvento.class, value); } } + public interface envcce { @XmlElementDecl(namespace = "http://www.portalfiscal.inf.br/nfe", name = "TProcEvento", scope = br.com.swconsultoria.nfe.schema.envcce.TProcEvento.class) static JAXBElement createTProcEvento(br.com.swconsultoria.nfe.schema.envcce.TProcEvento value) { @@ -216,4 +223,44 @@ static JAXBElement createTNFe( + br.com.swconsultoria.nfe.schema_rt.nfe.TNFe value) { + return JAXBElementFactory.create(_TNfe_QNAME, br.com.swconsultoria.nfe.schema_rt.nfe.TNFe.class, value); + } + + static JAXBElement createTNfeProc( + br.com.swconsultoria.nfe.schema_rt.nfe.TNfeProc value) { + return JAXBElementFactory.create(_TNfeProc_QNAME, br.com.swconsultoria.nfe.schema_rt.nfe.TNfeProc.class, value); + } + + static JAXBElement createTProtNFe( + br.com.swconsultoria.nfe.schema_rt.nfe.TProtNFe value) { + return JAXBElementFactory.create(_TProtNFe_QNAME, br.com.swconsultoria.nfe.schema_rt.nfe.TProtNFe.class, value); + } + + static JAXBElement createTRetEnviNFe( + br.com.swconsultoria.nfe.schema_rt.nfe.TRetEnviNFe value) { + return JAXBElementFactory.create(_TRetEnviNFe_QNAME, br.com.swconsultoria.nfe.schema_rt.nfe.TRetEnviNFe.class, value); + } + + static JAXBElement createTConsReciNFe( + br.com.swconsultoria.nfe.schema_rt.nfe.TConsReciNFe value) { + return JAXBElementFactory.create(_TConsReciNFe_QNAME, br.com.swconsultoria.nfe.schema_rt.nfe.TConsReciNFe.class, value); + } + + static JAXBElement createTEnviNFe( + br.com.swconsultoria.nfe.schema_rt.nfe.TEnviNFe value) { + return JAXBElementFactory.create(_TEnviNFe_QNAME, br.com.swconsultoria.nfe.schema_rt.nfe.TEnviNFe.class, value); + } + + static JAXBElement createTRetConsReciNFe( + br.com.swconsultoria.nfe.schema_rt.nfe.TRetConsReciNFe value) { + return JAXBElementFactory.create(_TRetConsReciNFe_QNAME, br.com.swconsultoria.nfe.schema_rt.nfe.TRetConsReciNFe.class, value); + } + + } + } diff --git a/src/main/resources/WebServicesNfe.ini b/src/main/resources/WebServicesNfe.ini index e7027fa3..8f718318 100644 --- a/src/main/resources/WebServicesNfe.ini +++ b/src/main/resources/WebServicesNfe.ini @@ -235,7 +235,7 @@ NfeStatusServico_4.00=https://nfe.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatu RecepcaoEvento_4.00=https://nfe.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx NFeAutorizacao_4.00=https://nfe.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx NFeRetAutorizacao_4.00=https://nfe.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx -NfeConsultaCadastro_4.00=https://cad.sefazrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx +NfeConsultaCadastro_4.00=https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx [NFe_RS_H] NfeInutilizacao_4.00=https://nfe-homologacao.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx @@ -244,7 +244,7 @@ NfeStatusServico_4.00=https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeStatusServ RecepcaoEvento_4.00=https://nfe-homologacao.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx NFeAutorizacao_4.00=https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx NFeRetAutorizacao_4.00=https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx -NfeConsultaCadastro_4.00=https://cad.sefazrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx +NfeConsultaCadastro_4.00=https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx [NFe_RR_P] Usar=NFe_SVRS_P @@ -427,24 +427,12 @@ URL-QRCode=http://hnfe.sefaz.ba.gov.br/servicos/nfce/modulos/geral/NFCEC_consult URL-ConsultaNFCe=http://hinternet.sefaz.ba.gov.br/nfce/consulta [NFCe_CE_P] -RecepcaoEvento_4.00=https://nfce.sefaz.ce.gov.br/nfce4/services/NFeRecepcaoEvento4?WSDL -NfeInutilizacao_4.00=https://nfce.sefaz.ce.gov.br/nfce4/services/NFeInutilizacao4?WSDL -NfeConsultaProtocolo_4.00=https://nfce.sefaz.ce.gov.br/nfce4/services/NFeConsultaProtocolo4?WSDL -NfeStatusServico_4.00=https://nfce.sefaz.ce.gov.br/nfce4/services/NFeStatusServico4?WSDL -NfeConsultaCadastro_4.00=https://nfce.sefaz.ce.gov.br/nfce4/services/CadConsultaCadastro4?WSDL -NFeAutorizacao_4.00=https://nfce.sefaz.ce.gov.br/nfce4/services/NFeAutorizacao4?WSDL -NFeRetAutorizacao_4.00=https://nfce.sefaz.ce.gov.br/nfce4/services/NFeRetAutorizacao4?WSDL +Usar=NFCe_SVRS_P URL-QRCode=http://nfce.sefaz.ce.gov.br/pages/ShowNFCe.html URL-ConsultaNFCe=www.sefaz.ce.gov.br/nfce/consulta [NFCe_CE_H] -RecepcaoEvento_4.00=https://nfceh.sefaz.ce.gov.br/nfce4/services/NFeRecepcaoEvento4?WSDL -NfeInutilizacao_4.00=https://nfceh.sefaz.ce.gov.br/nfce4/services/NFeInutilizacao4?WSDL -NfeConsultaProtocolo_4.00=https://nfceh.sefaz.ce.gov.br/nfce4/services/NFeConsultaProtocolo4?WSDL -NfeStatusServico_4.00=https://nfceh.sefaz.ce.gov.br/nfce4/services/NFeStatusServico4?WSDL -NfeConsultaCadastro_4.00=https://nfceh.sefaz.ce.gov.br/nfce4/services/CadConsultaCadastro4?WSDL -NFeAutorizacao_4.00=https://nfceh.sefaz.ce.gov.br/nfce4/services/NFeAutorizacao4?WSDL -NFeRetAutorizacao_4.00=https://nfceh.sefaz.ce.gov.br/nfce4/services/NFeRetAutorizacao4?WSDL +Usar=NFCe_SVRS_H URL-QRCode=http://nfceh.sefaz.ce.gov.br/pages/ShowNFCe.html URL-ConsultaNFCe=www.sefaz.ce.gov.br/nfce/consulta @@ -660,6 +648,7 @@ NfeAutorizacao_4.00=https://nfce.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutoriza RecepcaoEvento_4.00=https://nfce.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx NfeConsultaProtocolo_4.00=https://nfce.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx NfeInutilizacao_4.00=https://nfce.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx +NFeRetAutorizacao_4.00=https://nfce.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx URL-QRCode=https://www.sefaz.rs.gov.br/NFCE/NFCE-COM.aspx URL-ConsultaNFCe=www.sefaz.rs.gov.br/nfce/consulta diff --git a/src/test/java/br/com/swconsultoria/nfe/util/NFCeUtilTest.java b/src/test/java/br/com/swconsultoria/nfe/util/NFCeUtilTest.java index 96b73add..03f65a75 100644 --- a/src/test/java/br/com/swconsultoria/nfe/util/NFCeUtilTest.java +++ b/src/test/java/br/com/swconsultoria/nfe/util/NFCeUtilTest.java @@ -1,14 +1,21 @@ package br.com.swconsultoria.nfe.util; +import br.com.swconsultoria.certificado.Certificado; +import br.com.swconsultoria.certificado.CertificadoService; +import br.com.swconsultoria.certificado.exception.CertificadoException; +import br.com.swconsultoria.nfe.exception.NfeException; import org.junit.jupiter.api.Test; +import java.io.FileNotFoundException; +import java.net.URI; +import java.net.URISyntaxException; import java.nio.charset.StandardCharsets; -import java.security.NoSuchAlgorithmException; +import java.nio.file.Paths; +import java.security.*; import java.util.Base64; +import java.util.Objects; -import static org.junit.jupiter.api.Assertions.assertArrayEquals; -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertThrows; +import static org.junit.jupiter.api.Assertions.*; class NFCeUtilTest { @@ -29,19 +36,19 @@ void geraHashCSRTParametrosInvalidos() { IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, () -> geraHashCSRTBase64(null, csrt) ); - assertEquals(exception.getMessage(), "Chave não deve ser nula ou vazia"); + assertEquals("Chave não deve ser nula ou vazia", exception.getMessage()); //Chave Com menos Caracteres exception = assertThrows(IllegalArgumentException.class, () -> geraHashCSRTBase64("123", csrt) ); - assertEquals(exception.getMessage(), "Chave deve conter 44 caracteres."); + assertEquals("Chave deve conter 44 caracteres.", exception.getMessage()); //CSRC Vazio exception = assertThrows(IllegalArgumentException.class, () -> geraHashCSRTBase64(chave, "") ); - assertEquals(exception.getMessage(), "CSRT não deve ser nulo ou vazio"); + assertEquals("CSRT não deve ser nulo ou vazio", exception.getMessage()); } private byte[] geraHashCSRTBase64(String chave, String csrt) throws NoSuchAlgorithmException { @@ -49,4 +56,70 @@ private byte[] geraHashCSRTBase64(String chave, String csrt) throws NoSuchAlgori return Base64.getEncoder().encode(NFCeUtil.geraHashCSRT(chave, csrt)); } + @Test + void getCodeQRCodeContingenciaV3Sucesso() throws Exception { + String chave = "41180678393592000146558900000006041028190697"; + String tpAmp = "2"; + String dhEmi = "2025-07-01T12:37:06-03:00"; + String vNF = "12.34"; + String tpDestRegraQrCode = "2"; + String cpf = "11111111111"; + String dadosAssinar = obterDadosAssinar(chave, tpAmp, dhEmi, vNF, tpDestRegraQrCode, cpf); + Certificado certificado = obterCertificado(); + + String qrcodeGerado = NFCeUtil.getCodeQRCodeContingenciaV3(chave, tpAmp, dhEmi, vNF, tpDestRegraQrCode, cpf, + "https://fake.it", certificado); + byte[] assinatura = Base64.getDecoder().decode(qrcodeGerado.split("\\|")[7]); + + assertTrue(isAssinaturaValida(certificado, dadosAssinar, assinatura)); + } + + /** + * Neste caso da assinatura não bater a Sefaz retorna: + * 583-Rejeicao: Valor da assinatura do qrCode difere do valor calculado + */ + @Test + void getCodeQRCodeContingenciaV3FalhaDadosDivergentes() + throws FileNotFoundException, URISyntaxException, CertificadoException, NfeException, GeneralSecurityException { + String chave = "41180678393592000146558900000006041028190697"; + String tpAmp = "2"; + String dhEmi = "2025-07-01T12:37:06-03:00"; + String vNF = "12.34"; + String tpDestRegraQrCode = "2"; + String cpf = "11111111111"; + + String dadosAssinar = obterDadosAssinar(chave, tpAmp, dhEmi, vNF, tpDestRegraQrCode, "22222222222"); + Certificado certificado = obterCertificado(); + + String qrcodeGerado = NFCeUtil.getCodeQRCodeContingenciaV3(chave, tpAmp, dhEmi, vNF, tpDestRegraQrCode, cpf, + "https://fake.it", certificado); + byte[] assinatura = Base64.getDecoder().decode(qrcodeGerado.split("\\|")[7]); + + assertFalse(isAssinaturaValida(certificado, dadosAssinar, assinatura)); + } + + private String obterDadosAssinar(String chave, String tpAmp, String dhEmi, String vNF, String tpDestRegraQrCode, + String cpf) { + //Conforme manual v6.0 QRCode - Assinar apenas Campos 1 ao 7, incluindo os separadores |. + return String.format("%s|3|%s|%s|%s|%s|%s", chave, tpAmp, dhEmi.substring(8, 10), vNF, tpDestRegraQrCode, cpf); + } + + private Certificado obterCertificado() throws URISyntaxException, CertificadoException, FileNotFoundException { + URI uri = Objects.requireNonNull(NFCeUtilTest.class.getClassLoader() + .getResource("NAO_UTILIZE.pfx")) + .toURI(); + return CertificadoService.certificadoPfx(Paths.get(uri).toString(), "123456"); + } + + private boolean isAssinaturaValida(Certificado certificado, String dadosAssinar, byte[] assinatura) + throws GeneralSecurityException, CertificadoException { + Signature verifier = Signature.getInstance("SHA1withRSA"); + KeyStore keyStore = CertificadoService.getKeyStore(certificado); + PublicKey publicKey = keyStore.getCertificate(certificado.getNome()).getPublicKey(); + + verifier.initVerify(publicKey); + verifier.update(dadosAssinar.getBytes(StandardCharsets.UTF_8)); + return verifier.verify(assinatura); + } + } \ No newline at end of file diff --git a/src/test/java/br/com/swconsultoria/nfe/util/WebServiceUtilTest.java b/src/test/java/br/com/swconsultoria/nfe/util/WebServiceUtilTest.java new file mode 100644 index 00000000..58ce73c8 --- /dev/null +++ b/src/test/java/br/com/swconsultoria/nfe/util/WebServiceUtilTest.java @@ -0,0 +1,129 @@ +package br.com.swconsultoria.nfe.util; + +import br.com.swconsultoria.nfe.dom.ConfiguracoesNfe; +import br.com.swconsultoria.nfe.dom.enuns.AmbienteEnum; +import br.com.swconsultoria.nfe.dom.enuns.DocumentoEnum; +import br.com.swconsultoria.nfe.dom.enuns.EstadosEnum; +import br.com.swconsultoria.nfe.dom.enuns.ServicosEnum; +import br.com.swconsultoria.nfe.exception.NfeException; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + +import java.io.IOException; +import java.io.InputStream; +import java.nio.file.Files; +import java.nio.file.Paths; +import java.nio.file.StandardCopyOption; +import java.util.stream.Stream; + +import static org.junit.jupiter.api.Assertions.*; + +class WebServiceUtilTest { + + private static Stream provideStateAndServiceCombinationsNfe() { + return Stream.of(EstadosEnum.values()) + .flatMap(estado -> + Stream.of(ServicosEnum.values()) + .filter(servico -> + servico != ServicosEnum.CONSULTA_CADASTRO && + servico != ServicosEnum.URL_CONSULTANFCE && + servico != ServicosEnum.PROC && + servico != ServicosEnum.URL_QRCODE) + .flatMap(servico -> + Stream.of(AmbienteEnum.values()) + .map(ambiente -> new Object[]{estado, servico, ambiente}))); + } + + private static Stream provideStateAndServiceCombinationsNfce() { + return Stream.of(EstadosEnum.values()) + .flatMap(estado -> + Stream.of(ServicosEnum.values()) + .filter(servico -> + servico != ServicosEnum.CONSULTA_CADASTRO && + servico != ServicosEnum.PROC) + .flatMap(servico -> + Stream.of(AmbienteEnum.values()) + .map(ambiente -> new Object[]{estado, servico, ambiente}))); + } + + @Test + void testGetUrlWithCustomFile() throws NfeException, IOException { + String TEMP_WS_FILE = "temp_WebServicesNfe.ini"; + + // Cria uma cópia temporária do arquivo INI para testes + try (InputStream is = WebServiceUtil.class.getResourceAsStream("/WebServicesNfe.ini")) { + assertNotNull(is); + Files.copy(is, Paths.get(TEMP_WS_FILE), StandardCopyOption.REPLACE_EXISTING); + } + + ConfiguracoesNfe config = new ConfiguracoesNfe(); + config.setEstado(EstadosEnum.SP); + config.setAmbiente(AmbienteEnum.PRODUCAO); + config.setArquivoWebService(TEMP_WS_FILE); + + String url = WebServiceUtil.getUrl(config, DocumentoEnum.NFE, ServicosEnum.STATUS_SERVICO); + assertNotNull(url); + + // Remove o arquivo temporário após os testes + Files.deleteIfExists(Paths.get(TEMP_WS_FILE)); + } + + @Test + void testGetUrlWithFileNotFound() { + ConfiguracoesNfe config = new ConfiguracoesNfe(); + config.setEstado(EstadosEnum.SP); + config.setAmbiente(AmbienteEnum.PRODUCAO); + config.setArquivoWebService("nonexistent_file.ini"); + + assertThrows(NfeException.class, () -> WebServiceUtil.getUrl(config, DocumentoEnum.NFE, ServicosEnum.STATUS_SERVICO)); + } + + @ParameterizedTest + @MethodSource("provideStateAndServiceCombinationsNfe") + void testGetUrlForStateServiceCombinationsNfe(EstadosEnum estado, ServicosEnum servico, AmbienteEnum ambienteEnum) throws NfeException { + ConfiguracoesNfe config = new ConfiguracoesNfe(); + config.setEstado(estado); + config.setAmbiente(ambienteEnum); + + String url = WebServiceUtil.getUrl(config,DocumentoEnum.NFE, servico); + assertNotNull(url); + assertTrue(url.startsWith("http")); + } + + @ParameterizedTest + @MethodSource("provideStateAndServiceCombinationsNfce") + void testGetUrlForStateServiceCombinationsNfce(EstadosEnum estado, ServicosEnum servico, AmbienteEnum ambienteEnum) throws NfeException { + ConfiguracoesNfe config = new ConfiguracoesNfe(); + config.setEstado(estado); + config.setAmbiente(ambienteEnum); + + String url = WebServiceUtil.getUrl(config,DocumentoEnum.NFCE, servico); + assertNotNull(url); + } + + @Test + void testGetUrlForDistribuicaoDFe() throws NfeException { + ConfiguracoesNfe config = new ConfiguracoesNfe(); + config.setEstado(EstadosEnum.SP); // Qualquer estado serve para AN + config.setAmbiente(AmbienteEnum.PRODUCAO); + + String url = WebServiceUtil.getUrl(config, DocumentoEnum.NFE, ServicosEnum.DISTRIBUICAO_DFE); + assertNotNull(url); + assertTrue(url.startsWith("https://www1.nfe.fazenda.gov.br/NFeDistribuicaoDFe/NFeDistribuicaoDFe.asmx")); + } + + @Test + void testGetUrlForContingenciaSVC() throws NfeException { + ConfiguracoesNfe config = new ConfiguracoesNfe(); + config.setEstado(EstadosEnum.SP); + config.setAmbiente(AmbienteEnum.PRODUCAO); + config.setContigenciaSVC(true); + + // SP no SVC deve usar SVRS + String url = WebServiceUtil.getUrl(config,DocumentoEnum.NFE, ServicosEnum.STATUS_SERVICO); + assertNotNull(url); + assertTrue(url.contains("sefazvirtual")); + } + +} \ No newline at end of file diff --git a/src/test/java/br/com/swconsultoria/nfe/util/XmlNfeUtilTest.java b/src/test/java/br/com/swconsultoria/nfe/util/XmlNfeUtilTest.java index 8bdfb13f..44fcb810 100644 --- a/src/test/java/br/com/swconsultoria/nfe/util/XmlNfeUtilTest.java +++ b/src/test/java/br/com/swconsultoria/nfe/util/XmlNfeUtilTest.java @@ -2,6 +2,7 @@ import br.com.swconsultoria.nfe.Validar; import br.com.swconsultoria.nfe.dom.enuns.ServicosEnum; +import br.com.swconsultoria.nfe.exception.NfeException; import org.junit.jupiter.api.Test; import java.io.FileNotFoundException; @@ -15,7 +16,7 @@ class XmlNfeUtilTest { @Test - public void validarXmlNfeProc() { + void validarXmlNfeProc() { final String xml1 = "5256781234Venda de Comb. Congenere551731792023-03-21T11:30:57-03:002023-03-21T11:30:00-03:00115220454115110009.21.509158456000159PHOENIX DIST DE COMBUSTIVEIS LTDAPHOENIX DIST DE COMBUSTIVEIS LTDAAV TROPICAL S/NR QD. MOD, LT. 8, BLC. B, SL. 040DISTR IND BRASIL CENTRAL5220454SENADOR CANEDOGO752517221058BRASIL6235124426104282215308944957000360PETROWORLD COMBUSTIVEIS S/AAV. TROPICAL, LT. 05/06 A, SALA 250DISTR INDL BR CENTRAL5220454SENADOR CANEDOGO752517221058BRASIL623622807711076803353301SEM GTINOLEO DIESEL A S-5002710192106006005655L47878.00005.0139000000240055.50SEM GTINL47878.00005.01390000001420102004OLEO DIESEL A S-50047878.0000GO0600.000.00322990.3045218.64999530404- Produto Retirado na DINAMICA TERMINAIS CANEDO S/A - AV TROPICAL SNR MODULO 06B - DISTR INDL BR CENTRAL - SENADOR CANEDO - GO - CNPJ: 33.047.181/0001-60 - Pedido = 5664401 - Qtde 20 graus: 47.821 litros; - Formulario seguranca:5664401; - Numero Boletim de Conformidade = 67/2023; - Base ICMS Origem = 322.990,30 - Valor = 45.218,64;0.000.000.000.000.000.000.000.00240055.500.000.000.000.000.000.000.000.000.00240055.50109158456000310PROPRIO107780828AV TROPICAL MODULO 6B , BLOCO A SALA 16SENADOR CANEDOGOAAA0000GO47878PHOENIX140170.00040170.0000086434073179240055.500.00240055.500012023-03-21240055.5015240055.50- Declaramos que os Produtos estao adequadamente acondicionados para as Normas de Carregamento, Descarregamento, Transbordo e Transporte, conforme Regulamentacao em Vigor. - Produto Retirado na DINAMICA TERMINAIS CANEDO S/A - AV TROPICAL SNR MODULO 06B - DISTR INDL BR CENTRAL - SENADOR CANEDO - GO - CNPJ: 33.047.181/0001-60 - Nome Motorista: VENDA CONGENERE PHOENIX - PETROWORLD - Placas: GO AAA-0000 - Pedido = 5664401 - Lacres = Azul 0086434; - Numero Boletim de Conformidade = 67/2023;18406978000113Ubaltino Faleiroubaltino@sistemainteligente.com62992887101prmbdxKA/lyJ5RkjcliNkqY14nA=YLElEQYakJPKh4oChHkSkfqFtRro2l2y3kN4wPiQbncv1EVFIn/PPrD/mi9GPF9U2g1SoHzYeNHR20QvhdyjcUF+DkgmHwT/SCvx89d0Q6ui3Gm5rggaCXw2MY7H99oxXMfT3OMKDCgCskiiHlTf9cCNF985BHs8y+j6yeDrZltAlrThq47xhET4I3xyBXlMlYWqvlnem/LN4eaVXAxCvkryzJCaFS+wtPJTEASWMz0mb1JT3VpYNvvcjFTH2PymY8x0wfvlP/bhlzPadiJ+BGKZ1971z3m+svJzX3wCZgw0Log/hjTyiRRQwqnwBbM+BHc8YDnuOY7ZqiHznbE/RA==MIIHjjCCBXagAwIBAgIIVCegZAmcBk0wDQYJKoZIhvcNAQELBQAwczELMAkGA1UEBhMCQlIxEzARBgNVBAoTCklDUC1CcmFzaWwxNjA0BgNVBAsTLVNlY3JldGFyaWEgZGEgUmVjZWl0YSBGZWRlcmFsIGRvIEJyYXNpbCAtIFJGQjEXMBUGA1UEAxMOQUMgQ05ETCBSRkIgdjMwHhcNMjIwNTEyMTM1NzE4WhcNMjMwNTEyMTM1NzE4WjCCAQoxCzAJBgNVBAYTAkJSMRMwEQYDVQQKEwpJQ1AtQnJhc2lsMQswCQYDVQQIEwJHTzEXMBUGA1UEBxMOU0VOQURPUiBDQU5FRE8xFzAVBgNVBAsTDjM0MTczNjgyMDAwMzE4MTYwNAYDVQQLEy1TZWNyZXRhcmlhIGRhIFJlY2VpdGEgRmVkZXJhbCBkbyBCcmFzaWwgLSBSRkIxFjAUBgNVBAsTDVJGQiBlLUNOUEogQTExEzARBgNVBAsTCnByZXNlbmNpYWwxQjBABgNVBAMTOVBIT0VOSVggRElTVFJJQlVJRE9SQSBERSBDT01CVVNUSVZFSVMgTFREQTowOTE1ODQ1NjAwMDE1OTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMyJ2rzR12+HudEntD5N1+SYuLcLslway8q4V1jQXV+pkO4Er5vxSh4YamZvufpaPAGEYizjOwru1vw1DEPf4NVyGpvvysLG7K2Q1U1w3zuIkPXEMwwSTanrXTgreSKwj6VBmEtOSyN6r2cNZYp/r97Z4hZWWHDgVmg71KN4AxSOjRidXdtcFtFZePor0voEP9n4ztEZcNSfklyikJDkHH+lqQto+CkKH/982IvsUNVNYX/K8RstSR55Zm34yBojf5T8JihZusjZ4ffNgO1zUlmitTkai6EB9N1V1O3Ej9HVC6pBnH/iz8YlzBJa9mZLUea5oJokd4mW1vpGEoJtpTUCAwEAAaOCAoswggKHMB8GA1UdIwQYMBaAFGsfNBVBGuqbHsoi0s7d77vpMsqJMA4GA1UdDwEB/wQEAwIF4DBpBgNVHSAEYjBgMF4GBmBMAQIBNDBUMFIGCCsGAQUFBwIBFkZodHRwOi8vcmVwb3NpdG9yaW8uYWNzcGNicmFzaWwub3JnLmJyL2FjLWNuZGxyZmIvYWMtY25kbC1yZmItcGMtYTEucGRmMIGmBgNVHR8EgZ4wgZswS6BJoEeGRWh0dHA6Ly9yZXBvc2l0b3Jpby5hY3NwY2JyYXNpbC5vcmcuYnIvYWMtY25kbHJmYi9sY3ItYWMtY25kbHJmYnY1LmNybDBMoEqgSIZGaHR0cDovL3JlcG9zaXRvcmlvMi5hY3NwY2JyYXNpbC5vcmcuYnIvYWMtY25kbHJmYi9sY3ItYWMtY25kbHJmYnY1LmNybDBdBggrBgEFBQcBAQRRME8wTQYIKwYBBQUHMAKGQWh0dHA6Ly9yZXBvc2l0b3Jpby5hY3NwY2JyYXNpbC5vcmcuYnIvYWMtY25kbHJmYi9hYy1jbmRscmZidjUucDdiMIG2BgNVHREEga4wgauBFVBFUkVTQllURUBIT1RNQUlMLkNPTaAkBgVgTAEDAqAbExlBTEVYQU5EUkUgQ1VSU0lOTyBDQVVEVVJPoBkGBWBMAQMDoBATDjA5MTU4NDU2MDAwMTU5oDgGBWBMAQMEoC8TLTIzMTAxOTczMTI4Njc4MDQ4OTIwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMKAXBgVgTAEDB6AOEwwwMDAwMDAwMDAwMDAwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUFBwMEMAkGA1UdEwQCMAAwDQYJKoZIhvcNAQELBQADggIBAGSqy3KLbXE9RUjjn4Fn6pmWb/k04JyfWWoCV1uqVHEgUM4mmpo0cpY/BfK1UnPQ7gBD6Z/Hv8fNLqxhEU4AS4WLAvC7hCSjELkmXgZmFeJLnQqgJC2tNto2bW+J/jCPnVpebrwQz2orbYqHdaRJuuEanhTEencwe4DssxV3T85yQR0zZr/7DB8sLGPPpGaOB4/JJeYOAY6Pt2B+pilKOBqCBsDlT0D9R5kMiB0e3mK1CUip3Uid6/X1YV5nckTTNS+iKr5q9YxheIGn2KwXqOvXwa7jzI0KRzqxkuWmZ5jzI/5TPK6+SYAhj1PQf9AFcOaivXn59SvI6tCgxEhSRASEJa05sQM5CpFsMdONClYHvXiu8eeCohb0FVagsBKQti9mxCuM5xHsZKL0kemFpyufKDxN5jRUA+6w2Ca9wbAvDEejIg16Vg6Ula2rDcINm7XJjbT7dceTww/NYjAirOgCKIfWO0qcebErHv5bRqhEofaV6EiYqVfHAACHSozZ0qZuGGlGqjZ1bS01YrOYjhp18kvnzfkl+FBamFvq0z71lJhsp+18+7/wgcaMtr5lPUciWekJ95N8sze/Zm56IeYHP3qb304+889DHJJgPk/H7NqwWRgdepQNX6+SX0ePNYu/dUfTtEgvBKOD/SDWOHzV0NIprczQ2V2Uag968bbn1GO4.0522303091584560001595500100007317915678123452023-03-21T11:31:00-03:00152236109643154prmbdxKA/lyJ5RkjcliNkqY14nA=100Autorizado o uso da NF-e"; final String xml2 = "4317611923Venda55104329572023-04-12T10:59:49-03:001143187051111109004.0089548523000180ALISUL ALIMENTOS S.A. - SAO LEOPOLDOALISUL ALIMENTOS S.A.AV JOAO CARLOS HOHENDORFFNR 900ARROIO DA MANTEIGA4318705SAO LEOPOLDORS931354001058BRASIL51212314001240047077318863437000114EVERTON PAULO ALVES AGROPECRUA DJALMO HAACKNR 748ALEXANDRIA4314050PAROBERS956300001058BRASIL513543402712410071133EVERTON@EVERTON.COM.BR987E10.17896803078888SAPECA PEQUENAS RACAS SC 10,1KG230990102200100015401SC20.000059.76630000001195.337896803078888SC20.000059.766300000031.911453.6501011227.2417.0000208.63472.28002114.2917.0000150.80999501195.330.00000.00011018.601.650016.81011018.607.600077.41Valor Aproximado dos Tributos - R$453.65.986E10.17896803077522SAPECA ADULTOS SC 10.1KG230990102200100015401SC15.000053.0301000000795.457896803077522SC15.000053.030100000023.931302.890101819.3817.0000139.29472.28001411.6317.0000100.6999950795.450.00000.0001680.091.650011.2201680.097.600051.69(1*) Valor Aproximado dos Tributos - R$302.89. Desconto Promocional - R$ 50,23.985E10.17896803077478SAPECA FILHOTES SC 10.1KG230990102200100015401SC15.000063.8116000000957.177896803077478SC15.000063.811600000023.931362.670101981.1017.0000166.79472.28001690.2417.0000120.5599950957.170.00000.0001814.311.650013.4401814.317.600061.89(1*) Valor Aproximado dos Tributos - R$362.67.3027.72514.710.000.005216.16372.040.000.002947.9579.770.000.000.000.000.0041.47190.990.003399.761119.21024792638000170TRANSPORTADORA DE CARGAS SAO JOAO LTDA0780107713EST. MAURICIO CARDOSO,SN - KM 08 - PASSO DA SERRAMONTENEGRORSIKB0F64RS50SCSUPRA505.000511.3004329573399.760.003399.760012023-04-19849.970022023-04-26849.930032023-05-03849.930042023-05-10849.931153399.76VENDA PET - ICMS RETIDO DE ACORDO COM PROTOCOLO 26/2004 - COMBINADO COM LIVRO III, ART. 177 - RICMS/RS // OPERACAO SUJEITA A NAO-INCIDENCIA DO IPI, PARA AS EMBALAGENS SUPERIORES A 10KG, EM FACE DE DECISAO TRANSITADA EM JULGADO NOS AUTOS DA ACAO DECLARATORIA NUMERO 2002.71.08.004673-4/RS / IPI NAO CALCULADO SOBRE O VALOR DO FRETE EM RAZAO DA DECISAO MANDADO DE SEGURANCA n. 500305287.2017.4.04.7108/RS. (1*) - Produto isento de registro junto ao Ministerio da Agricultura, Pecuaria e Abastecimento.5Pn0xv9AzYUyaW+Sd/sKNgTOdW4=Zb9fmJW+hkG2he/NJ2lV5T9EyupVeY1pcqPpQxtvV/967RYcOn16gblGtn0IsG9sEuWGVXu6BR6dK2ITmuzAu/1+/gGEAFVt8KRvNOmT/4GlVU2YMGkix+dw1YIQ87/fexyBt0CrcRsO45R4dbFC031G7RgRxXWGh2u4g1GigHwQGsff4ayDjlHNfWRY2wrFy853Ku2glFI7Zy920Mu0EDvR7LrAx+fHp/WQKPrvty0t9Z1mWYOvGFldRVOfOPIhZHMwawQIr6NHALrhHMFi+0c8ZAYBqP4z/5F3ckjHQjQ+XeBCdHceX7subS89pk+UJMUxses2OGYH3lrRn2ddZg==MIIH5zCCBc+gAwIBAgIIbPpY+mrkO98wDQYJKoZIhvcNAQELBQAwdjELMAkGA1UEBhMCQlIxEzARBgNVBAoTCklDUC1CcmFzaWwxNjA0BgNVBAsTLVNlY3JldGFyaWEgZGEgUmVjZWl0YSBGZWRlcmFsIGRvIEJyYXNpbCAtIFJGQjEaMBgGA1UEAxMRQUMgU0FGRVdFQiBSRkIgdjUwHhcNMjMwMjEzMTc1NzMxWhcNMjQwMjEzMTc1NzMxWjCB9zELMAkGA1UEBhMCQlIxEzARBgNVBAoTCklDUC1CcmFzaWwxCzAJBgNVBAgTAlJTMRUwEwYDVQQHEwxTQU8gTEVPUE9MRE8xNjA0BgNVBAsTLVNlY3JldGFyaWEgZGEgUmVjZWl0YSBGZWRlcmFsIGRvIEJyYXNpbCAtIFJGQjEWMBQGA1UECxMNUkZCIGUtQ05QSiBBMTEXMBUGA1UECxMOMTg5Mjk5MjAwMDAxNTQxGTAXBgNVBAsTEHZpZGVvY29uZmVyZW5jaWExKzApBgNVBAMTIkFMSVNVTCBBTElNRU5UT1MgU0E6ODk1NDg1MjMwMDAxODAwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC4hWNEvke1u4ipVBmo53QsKrBgfJx3r8JL9wONeBGl4vV1+YaL8CNi0U9+jvFRRBpH4Rqn5F1tLFLqUfHzaACqeDwU7QmokS19p7GlF3gKftP59fX8q3zIGJJYLvk/YLnqLYm3Tl94OabXulX6JvNHcejokusEPh06anGmd8JkmdZ4XGV3lNxyBId91OYucqZZUNsvo1xbG+g2hzBpNENzYI2Rz4ydWfiRZwaYATERHSd+rEHO5xf6BmFATIv0YeGFZkENaBYIkSh1d5Es058azQ6f/1YmYRKgDA4gAW6Y50Vjme55p5OLjOG1rQOcvE7MxvNZ1zpqjJ8jz97uJ8pZAgMBAAGjggL1MIIC8TAfBgNVHSMEGDAWgBQpXkvVRky7/hanY8EdxCby3djzBTAOBgNVHQ8BAf8EBAMCBeAwaQYDVR0gBGIwYDBeBgZgTAECATMwVDBSBggrBgEFBQcCARZGaHR0cDovL3JlcG9zaXRvcmlvLmFjc2FmZXdlYi5jb20uYnIvYWMtc2FmZXdlYnJmYi9kcGMtYWNzYWZld2VicmZiLnBkZjCBrgYDVR0fBIGmMIGjME+gTaBLhklodHRwOi8vcmVwb3NpdG9yaW8uYWNzYWZld2ViLmNvbS5ici9hYy1zYWZld2VicmZiL2xjci1hYy1zYWZld2VicmZidjUuY3JsMFCgTqBMhkpodHRwOi8vcmVwb3NpdG9yaW8yLmFjc2FmZXdlYi5jb20uYnIvYWMtc2FmZXdlYnJmYi9sY3ItYWMtc2FmZXdlYnJmYnY1LmNybDCBtwYIKwYBBQUHAQEEgaowgacwUQYIKwYBBQUHMAKGRWh0dHA6Ly9yZXBvc2l0b3Jpby5hY3NhZmV3ZWIuY29tLmJyL2FjLXNhZmV3ZWJyZmIvYWMtc2FmZXdlYnJmYnY1LnA3YjBSBggrBgEFBQcwAoZGaHR0cDovL3JlcG9zaXRvcmlvMi5hY3NhZmV3ZWIuY29tLmJyL2FjLXNhZmV3ZWJyZmIvYWMtc2FmZXdlYnJmYnY1LnA3YjCBvQYDVR0RBIG1MIGygRtTVVNBTkEuR0VXRUhSQEFMSVNVTC5DT00uQlKgJQYFYEwBAwKgHBMaU1VTQU5BIExVQ0UgU0NITUlUWiBHRVdFSFKgGQYFYEwBAwOgEBMOODk1NDg1MjMwMDAxODCgOAYFYEwBAwSgLxMtMjUwMzE5NzA1ODMwNTc4NTA2ODAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwoBcGBWBMAQMHoA4TDDAwMDAwMDAwMDAwMDAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwQwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAgEAYmXJdFEjeGPqrlLQVF05LEW0k8bk/xIw6TRwlVjCIRlHazUVCSb/ABVxXHzmZOoBIPbq3TRkn/v1tzb04Kg2k/dxVv2tby3aKHpzjnfADW/N8Y8afUF34r9vGEIgLrtVZ/qp4ACMAQkw/A3ljSfTSA927np3kK95ncTH3jUXK4IBbZ6fotVeJaIQUe1xmxrr6PakWIUwMwS4ghGW1xdl1SF2E3JxE8eheTbctc1Q+zRYPfibvvJoSngZIS5tI93ZJCnS1+2HLcijIo0i6ikyLshDf9iRpb4mTZLHp320M5TnZ/grgzylMwvAU5fmb4qRcetHF63Catsu+UrrF1sBxtbjE8m54Z3rVhM9faa+c+Z4AHZWE7XXylyshGZq/5ULA8mLtZ3G2cZTiqvDP6uqVKdnluMRw9vnklw//jl9eNamgkWxMnemxr7GM+FDm3l9syTJm/J0qVUeqZJJQLFPO36NBppg+0yVpgXGfN2uT8a7uqn912RnHTSc9A0hJN4pKgM9WOBgqaZzDqL4eKaohkpLi02XP6JD2+tsvWJtBYNi5RZcKeZDTkGONU1nvZ6HxdMfSyVMcFOXBpexx5hc6VAuxDswvL5jColN0gfe5eOh2JVtOiFUxC/LdNsfNkwXwDp7tvCR2GdPVtEwoSgztZri5llSl+ldmcG/ya+f4n0=1RS202303091530432304895485230001805501000043295711761192312023-04-12T10:59:51-03:001432300805680745Pn0xv9AzYUyaW+Sd/sKNgTOdW4=100Autorizado o uso da NF-e"; final String xml3 = "5200117912RETORNO COMB REC P/ ARMAZENAGEM551671842023-03-31T13:10:48-03:002023-03-31T13:10:48-03:00115220454112110100petrow.com.br522303442973670002755500100000918218015333855223034429736700027555001000009224169876081933047181000160DINAMICA TERMINAIS CANEDO S/ADTCAVENIDA TROPICAL0QUADRAMODULO 6-BDISTRITO INDUSTRIAL BRASIL CENTRAL5220454SENADOR CANEDOGO752517221058BRASIL6235122932107550547344297367000275WK PRODUTOS DE PETROLEO LTDAAVENIDA TROPICAL0DISTRITO INDUSTRIAL BRASIL CENTRAL5220454SENADOR CANEDOGO752517221058BRASIL62330715951109208153wkcombustiveis@gropowk.net.br58/S10 ASEM GTINS10 A 420105001271019215664L22494.921800800411069.13SEM GTINL22494.92180080041420105001OLEO DIESEL A S10GO041004540909NFE52230344297367000275550010000092241698760819 9.224/1 28/03/2023 TA: 21,0 DA: 0,8345 D20: 0,8352 FC: 0,999268/B100SEM GTINBIODIESEL 820101001382600005664L2504.63824000001159.56SEM GTINL2504.63824000001820101001BIODIESEL B100GO041004540909NFE52230344297367000275550010000091821801533385 9.182/1 27/03/2023 TA: 21,0 DA: 0,8776 D20: 0,8781 FC: 0,99920.000.000.000.000.000.000.000.000.000.000.0012228.690.000.000.000.000.000.000.000.000.0012228.690.00444297367000275WK PRODUTOS DE PETROLEO LTDA109208153AVENIDA TROPICAL, S/N DISTRITO INDUSTRIAL BRASIL CENTRALSENADOR CANEDOGOFRI3C572499GRANELDTC2097.8902097.8900900.00DECLARAMOS QUE OS PRODUTOS ESTAO ADEQUADAMENTE EMBALADOS/ACONDICIONADOS P/ SUPORTAR OS RISCOS DE CARREGAMENTO, DESCARREGAMENTO, TRANSBORDO E TRANSPORTE, CONFORME REGULAMENTACAO EM VIGOR. NAO INCIDENCIA DE ICMS, CONF. DEC. 4852/97, ART. 79, INC. I, ALINEA I RCTE-SEFAZ-GO.|002.515-03 FRI3C57 ERONICE 31/03/2325337354000157EVERTON ANTONIO RAMOSeverton@txfuel.com.br41991341456Gl2d7APkqcG4yWb3DNE8/biib7I=M5oNfVMhNTv7iGf9XZ78IQHGPKqluwzm02aF46Lu/TNSEkmDf/f++Hq3OOkzuHoKnIpViGYn7WZ7c5fGg8xGa4HEd/dU20bjDIrGmLX5VjknNeUD+0Vrv5gnokDl/T3GCa029R4jkAaaFBlD56uKdvAuc4UdoY7naMfXKyshfrTK3ojQIf5rh4lk8ocn73Ak4mfkvmIX4UhHQ8GDACRBTzYogvRiYdNprTq/U24h+xAjkuG2TMasZoit8sEKlfPVYVKIjeLgrVMk3r1lqLhHez419H6ULpAxi2zHLpIO/O8TyEDHbwpuhcjzdKWciEBcX9X1tqNi9qTxa/WX1/eWWw==MIIHhzCCBW+gAwIBAgIIZgGgHulU/BUwDQYJKoZIhvcNAQELBQAwczELMAkGA1UEBhMCQlIxEzARBgNVBAoTCklDUC1CcmFzaWwxNjA0BgNVBAsTLVNlY3JldGFyaWEgZGEgUmVjZWl0YSBGZWRlcmFsIGRvIEJyYXNpbCAtIFJGQjEXMBUGA1UEAxMOQUMgQ05ETCBSRkIgdjMwHhcNMjMwMzAxMjA1MjA2WhcNMjQwMzAxMjA1MjA2WjCB/TELMAkGA1UEBhMCQlIxEzARBgNVBAoTCklDUC1CcmFzaWwxCzAJBgNVBAgTAkdPMRcwFQYDVQQHEw5TRU5BRE9SIENBTkVETzEXMBUGA1UECxMOMzQxNzM2ODIwMDAzMTgxNjA0BgNVBAsTLVNlY3JldGFyaWEgZGEgUmVjZWl0YSBGZWRlcmFsIGRvIEJyYXNpbCAtIFJGQjEWMBQGA1UECxMNUkZCIGUtQ05QSiBBMTETMBEGA1UECxMKcHJlc2VuY2lhbDE1MDMGA1UEAxMsRElOQU1JQ0EgVEVSTUlOQUlTIENBTkVETyBTIEE6MzMwNDcxODEwMDAxNjAwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDVgQZWNCYFXmIop9ib+Ir+lzkiVseJmr51p6vkEqIe1+e6u4f/UZhrolyA/BPdOv2DL+bLTppg+YF2OfRAidTmjxI3w8/9boSDCQOnSVZQ8n/MqESa/6Piyqk41O5W1m1yKABH5mm61GGbRpKP2n3XTcj0glys0MWqJBADN48Vky/0wQDSlePuxdgJ5i6IRkNTt9NKYS7M+lQUovcuO7EJ8aZeb5nhDSTeqyVT413g76GYJqU85+A5DQylHXmJC5/pNLHAt5agWhJPULob/XxO2ykWZg3/wqEZduzcD2v4o+ZNWYm6eooGW5XWfn8WAOPWFoZkyqr8XV8AWicQXothAgMBAAGjggKSMIICjjAfBgNVHSMEGDAWgBRrHzQVQRrqmx7KItLO3e+76TLKiTAOBgNVHQ8BAf8EBAMCBeAwZwYDVR0gBGAwXjBcBgZgTAECATQwUjBQBggrBgEFBQcCARZEaHR0cDovL3JlcG9zaXRvcmlvLmFjc3BjYnJhc2lsLm9yZy5ici9hYy1jbmRscmZiL2FjLWNuZGwtcmZiLWRwYy5wZGYwgaYGA1UdHwSBnjCBmzBLoEmgR4ZFaHR0cDovL3JlcG9zaXRvcmlvLmFjc3BjYnJhc2lsLm9yZy5ici9hYy1jbmRscmZiL2xjci1hYy1jbmRscmZidjUuY3JsMEygSqBIhkZodHRwOi8vcmVwb3NpdG9yaW8yLmFjc3BjYnJhc2lsLm9yZy5ici9hYy1jbmRscmZiL2xjci1hYy1jbmRscmZidjUuY3JsMF0GCCsGAQUFBwEBBFEwTzBNBggrBgEFBQcwAoZBaHR0cDovL3JlcG9zaXRvcmlvLmFjc3BjYnJhc2lsLm9yZy5ici9hYy1jbmRscmZiL2FjLWNuZGxyZmJ2NS5wN2Iwgb8GA1UdEQSBtzCBtIEcTUFVUklDSU9ARFRDVEVSTUlOQUlTLkNPTS5CUqAmBgVgTAEDAqAdExtNQVVSSUNJTyBDQU5ERUxBUklBIE1JWklBUkGgGQYFYEwBAwOgEBMOMzMwNDcxODEwMDAxNjCgOAYFYEwBAwSgLxMtMTQwNzE5OTQzOTg5MjUwMTgzNzAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwoBcGBWBMAQMHoA4TDDAwMDAwMDAwMDAwMDAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwQwCQYDVR0TBAIwADANBgkqhkiG9w0BAQsFAAOCAgEAEJ4GQ94EPheH1zwtbzt54yKyS2QDiijNBomuY/5Vzoyv+BM6LTD8huJMBh8cglNo4XnVyMY7hyynJuYsWkoWF5bEM8xDiH/e5YJ8CdgRFSFffdPKNJQLCKYwYCT56JLAMSnr9GTV7pp0nrcUk/ALB5eljU3ZHS7NRi511nutB54NZsCVztWgytNcQfKzzQDn9KZfQ092P3sh9WmqFMfJKt1bU9OvODhntU+zRWbnTk581iWzTgcdw4Mm5Tf0HtL8JtInvMfX3g92CpqddPFT5DBVbYpl08frEX6kvsAkSwNrf2EKsfWDNFwR6ooh79LBvHE+N/em2HCZsJuCTrm1sxa2gzimHtzPlVJ0MKHJO1TedetlNG0PSlga5z/PfO5nERNHblIIO8lciFhM3EHfMbU3U+Fondv5qDukDM+GXSOHvHKe2RNT49q4XG1xlF20T2Sr+PXJ6TaNqHC2c8cJoJKNSSFiP61BRls9coKDTK8lRKwjbn5fDtd2RRmWvqiRR5MZZPY+eqY0jxYUPgKHHCg/k8ytSDDcvILMY0PUjckl18Q221W/A8RT1+igT8yMjtfDCvtCjwvjGHP3hIGkhFRgTf1f4QYiYdBJXFOFvjAhubcmDgT95mhDXvVo1ZEyteah/NHeQzVG5l9VzN6RgKXMqqMR/RvU2vx501aiyFo=1GO4.0522303330471810001605500100006718410011791222023-03-31T13:10:51-03:00152236143080702Gl2d7APkqcG4yWb3DNE8/biib7I=100Autorizado o uso da NF-e"; @@ -56,4 +57,45 @@ void leXmlParametroVazioNull() { } + @Test + void deveExtrairTagCorretamente() throws Exception { + String xml = "123Teste"; + String resultado = XmlNfeUtil.getTag(xml, "id"); + assertEquals("123", resultado); + } + + @Test + void deveExtrairPrimeiraOcorrenciaDaTag() throws Exception { + String xml = "PrimeiroSegundo"; + String resultado = XmlNfeUtil.getTag(xml, "item"); + assertEquals("Primeiro", resultado); + } + + @Test + void deveLancarExcecaoQuandoTagNaoExiste() { + String xml = "123"; + NfeException exception = assertThrows(NfeException.class, () -> { + XmlNfeUtil.getTag(xml, "nome"); + }); + assertTrue(exception.getMessage().contains("Tag 'nome' não encontrada")); + } + + @Test + void deveLancarExcecaoQuandoXmlEhInvalido() { + String xml = "123"; + NfeException exception = assertThrows(NfeException.class, () -> { + XmlNfeUtil.getTag(xml, "id"); + }); + assertTrue(exception.getMessage().contains("Erro ao extrair a tag")); + } + + @Test + void deveLancarExcecaoQuandoXmlEhVazio() { + String xml = ""; + NfeException exception = assertThrows(NfeException.class, () -> { + XmlNfeUtil.getTag(xml, "id"); + }); + assertEquals("XML de entrada está vazio.", exception.getMessage()); + } + }