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

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions NFe.AppTeste/NFe.AppTeste.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -284,10 +284,42 @@
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="Schemas\e211110_v1.00.xsd">
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="Schemas\e211120_v1.00.xsd">
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="Schemas\e211124_v1.00.xsd">
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="Schemas\e211128_v1.00.xsd">
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="Schemas\e211130_v1.00.xsd">
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="Schemas\e211140_v1.00.xsd">
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="Schemas\e211150_v1.00.xsd">
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="Schemas\e212110_v1.00.xsd">
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="Schemas\e212120_v1.00.xsd">
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="Schemas\e411500_v1.00.xsd">
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
Expand All @@ -304,6 +336,14 @@
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="Schemas\e412120_v1.00.xsd">
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="Schemas\e412130_v1.00.xsd">
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="Schemas\e790700_v1.00.xsd">
<SubType>Designer</SubType>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
Expand Down
134 changes: 134 additions & 0 deletions NFe.AppTeste/Schemas/e211110_v1.00.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2008 (http://www.altova.com) by sas-software@procergs.rs.gov.br (PROCERGS) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/nfe" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:include schemaLocation="tiposBasico_v1.03.xsd"/>
<xs:element name="detEvento">
<xs:annotation>
<xs:documentation>Informações do Evento de Solicitação de Apropriação de crédito presumido</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="descEvento">
<xs:annotation>
<xs:documentation>Descrição do Evento de Solicitação de Apropriação de crédito presumido</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Solicitação de Apropriação de crédito presumido"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="cOrgaoAutor" type="TCodUfIBGE">
<xs:annotation>
<xs:documentation>Código do Órgão Autor do Evento. Informar o Código da UF para este Evento.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="tpAutor">
<xs:annotation>
<xs:documentation>Informar 2=Empresa destinatario
Valores: 1=Empresa Emitente, 2=Empresa destinatária; 3=Empresa; 5=Fisco;6=RFB; 9=Outros Órgãos;
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="verAplic" type="TVerAplic">
<xs:annotation>
<xs:documentation>Versão do Aplicativo que recebeu o Evento</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="gCredPres" maxOccurs="990">
<xs:annotation>
<xs:documentation>Informações de crédito presumido por item</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="vBC" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do base de cálculo do item</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="gIBS" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="cCredPres">
<xs:annotation>
<xs:documentation>Usar tabela Cred Presumido, para o emitente da nota.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[0-9]{2}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="pCredPres" type="TDec_0302_04">
<xs:annotation>
<xs:documentation>Percentual do Crédito Presumido</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vCredPres" type="TDec1302">
<xs:annotation>
<xs:documentation>Valor do Crédito Presumido</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="gCBS" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="cCredPres">
<xs:annotation>
<xs:documentation>Usar tabela Cred Presumido, para o emitente da nota.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[0-9]{2}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="pCredPres" type="TDec_0302_04">
<xs:annotation>
<xs:documentation>Percentual do Crédito Presumido</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vCredPres" type="TDec1302">
<xs:annotation>
<xs:documentation>Valor do Crédito Presumido</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="nItem" type="TnItem" use="required">
<xs:annotation>
<xs:documentation>Corresponde ao atributo “nItem” do elemento “det” da NF-e de importação </xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="versao">
<xs:annotation>
<xs:documentation>Versão do evento de Irregularidade Fiscal</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="1.00"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:unique name="pk_nItem">
<xs:selector xpath="./*"/>
<xs:field xpath="@nItem"/>
</xs:unique>
</xs:element>
</xs:schema>
107 changes: 107 additions & 0 deletions NFe.AppTeste/Schemas/e211124_v1.00.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2008 (http://www.altova.com) by sas-software@procergs.rs.gov.br (PROCERGS) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/nfe" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:include schemaLocation="tiposBasico_v1.03.xsd"/>
<xs:element name="detEvento">
<xs:annotation>
<xs:documentation>Informações do Evento de Perecimento, perda, roubo ou furto durante o transporte contratado pelo adquirente</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="descEvento">
<xs:annotation>
<xs:documentation>Descrição do evento: “Perecimento, perda, roubo ou furto durante o transporte contratado pelo adquirente"</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Perecimento, perda, roubo ou furto durante o transporte contratado pelo adquirente"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="cOrgaoAutor" type="TCodUfIBGE">
<xs:annotation>
<xs:documentation>Código do Órgão Autor do Evento. Informar o Código da UF para este Evento.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="tpAutor">
<xs:annotation>
<xs:documentation>Informar 2=Empresa destinataria
Valores: 1=Empresa Emitente, 2=Empresa destinatária; 3=Empresa; 5=Fisco;6=RFB; 9=Outros Órgãos;
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="verAplic" type="TVerAplic">
<xs:annotation>
<xs:documentation>Versão do Aplicativo que recebeu o Evento</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="gPerecimento" maxOccurs="990">
<xs:annotation>
<xs:documentation>Informações por item da Nota de Aquisição</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="vIBS" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do IBS na nota de aquisição correspondente à quantidade destinada a uso e consumo pessoal</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vCBS" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor da CBS na nota de aquisição correspondente à quantidade destinada a uso e consumo pessoal</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="gControleEstoque">
<xs:complexType>
<xs:sequence>
<xs:element name="qPerecimento" type="TDec_1104">
<xs:annotation>
<xs:documentation>Informar a quantidade que foi objeto de roubo, perda, furto ou perecimento</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="uPerecimento">
<xs:annotation>
<xs:documentation>Informar a unidade relativa ao campo qPerecimento</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:maxLength value="6"/>
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="nItem" type="TnItem" use="required">
<xs:annotation>
<xs:documentation>Corresponde ao atributo “nItem” do elemento “det” da NF-e de importação </xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="versao">
<xs:annotation>
<xs:documentation>Versão do leiaute do evento</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="1.00"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:unique name="pk_nItem">
<xs:selector xpath="./*"/>
<xs:field xpath="@nItem"/>
</xs:unique>
</xs:element>
</xs:schema>
69 changes: 69 additions & 0 deletions NFe.AppTeste/Schemas/e211128_v1.00.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2008 (http://www.altova.com) by sas-software@procergs.rs.gov.br (PROCERGS) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/nfe" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:include schemaLocation="tiposBasico_v1.03.xsd"/>
<xs:element name="detEvento">
<xs:annotation>
<xs:documentation>Informações do Evento de Aceite de débito na apuração por emissão de nota de crédito</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="descEvento">
<xs:annotation>
<xs:documentation>Descrição do evento: "Aceite de débito na apuração por emissão de nota de crédito"</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Aceite de débito na apuração por emissão de nota de crédito"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="cOrgaoAutor" type="TCodUfIBGE">
<xs:annotation>
<xs:documentation>Código do Órgão Autor do Evento. Informar o Código da UF para este Evento.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="tpAutor">
<xs:annotation>
<xs:documentation>Informar 2=Empresa destinataria
Valores: 1=Empresa Emitente, 2=Empresa destinatária; 3=Empresa; 5=Fisco;6=RFB; 9=Outros Órgãos;
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="verAplic" type="TVerAplic">
<xs:annotation>
<xs:documentation>Versão do Aplicativo que recebeu o Evento</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="indAceitacao">
<xs:annotation>
<xs:documentation>Indicador de concordância com o valor da nota de crédito que lançaram IBS e CBS na apuração assistida. Valores: 0 = não aceite; 1 = aceite.
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
<xs:attribute name="versao">
<xs:annotation>
<xs:documentation>Versão do leiaute do evento</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="1.00"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:schema>
Loading