|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- edited with XMLSpy v2008 (http://www.altova.com) by sas-softwares@procergs.rs.gov.br (PROCERGS) --> |
| 3 | +<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"> |
| 4 | + <xs:include schemaLocation="tiposBasico_v1.03.xsd"/> |
| 5 | + <xs:element name="detEvento"> |
| 6 | + <xs:annotation> |
| 7 | + <xs:documentation>Schema XML de validação do evento de Ator Interessado na NF-e - Transportador (110150)”</xs:documentation> |
| 8 | + </xs:annotation> |
| 9 | + <xs:complexType> |
| 10 | + <xs:sequence> |
| 11 | + <xs:element name="descEvento"> |
| 12 | + <xs:annotation> |
| 13 | + <xs:documentation>Descrição do Evento - "Ator interessado na NF-e”"</xs:documentation> |
| 14 | + </xs:annotation> |
| 15 | + <xs:simpleType> |
| 16 | + <xs:restriction base="TString"> |
| 17 | + <xs:whiteSpace value="preserve"/> |
| 18 | + <xs:enumeration value="Ator interessado na NF-e"/> |
| 19 | + </xs:restriction> |
| 20 | + </xs:simpleType> |
| 21 | + </xs:element> |
| 22 | + <xs:element name="cOrgaoAutor" type="TCodUfIBGE"/> |
| 23 | + <xs:element name="tpAutor"> |
| 24 | + <xs:annotation> |
| 25 | + <xs:documentation>Tipo do Órgão Autor do Evento. Informar uma das opções 1=Geração do Evento pelo Emitente; 2=Geração do Evento pelo Destinatário; 3=Geração do Evento pelo Transportador |
| 26 | +Outros valores: 1=Empresa Emitente, 2=Empresa destinatária; 3=Empresa; 5=Fisco; 6=RFB; 9=Outros Órgãos;</xs:documentation> |
| 27 | + </xs:annotation> |
| 28 | + <xs:simpleType> |
| 29 | + <xs:restriction base="xs:string"> |
| 30 | + <xs:whiteSpace value="preserve"/> |
| 31 | + <xs:enumeration value="1"/> |
| 32 | + <xs:enumeration value="2"/> |
| 33 | + <xs:enumeration value="3"/> |
| 34 | + </xs:restriction> |
| 35 | + </xs:simpleType> |
| 36 | + </xs:element> |
| 37 | + <xs:element name="verAplic" type="TVerAplic"> |
| 38 | + <xs:annotation> |
| 39 | + <xs:documentation>Versão do aplicativo do Autor do Evento.</xs:documentation> |
| 40 | + </xs:annotation> |
| 41 | + </xs:element> |
| 42 | + <xs:element name="autXML"> |
| 43 | + <xs:annotation> |
| 44 | + <xs:documentation>Pessoas autorizadas a acessar o XML da NF-e</xs:documentation> |
| 45 | + </xs:annotation> |
| 46 | + <xs:complexType> |
| 47 | + <xs:choice> |
| 48 | + <xs:element name="CNPJ" type="TCnpj"/> |
| 49 | + <xs:element name="CPF" type="TCpf"/> |
| 50 | + </xs:choice> |
| 51 | + </xs:complexType> |
| 52 | + </xs:element> |
| 53 | + <xs:element name="tpAutorizacao" minOccurs="0"> |
| 54 | + <xs:annotation> |
| 55 | + <xs:documentation>0 – Não permite; 1 – Permite o transportador autorizado pelo emitente ou destinatário autorizar outros transportadores para ter acesso ao download da NF-e |
| 56 | + </xs:documentation> |
| 57 | + </xs:annotation> |
| 58 | + <xs:simpleType> |
| 59 | + <xs:restriction base="xs:string"> |
| 60 | + <xs:whiteSpace value="preserve"/> |
| 61 | + <xs:enumeration value="0"/> |
| 62 | + <xs:enumeration value="1"/> |
| 63 | + </xs:restriction> |
| 64 | + </xs:simpleType> |
| 65 | + </xs:element> |
| 66 | + <xs:element name="xCondUso" minOccurs="0"> |
| 67 | + <xs:annotation> |
| 68 | + <xs:documentation>Texto Fixo com as Condição de uso do tipo de autorização para o transportador: </xs:documentation> |
| 69 | + </xs:annotation> |
| 70 | + <xs:simpleType> |
| 71 | + <xs:restriction base="xs:string"> |
| 72 | + <xs:whiteSpace value="preserve"/> |
| 73 | + <xs:enumeration value="O emitente ou destinatário da NF-e, declara que permite o transportador declarado no campo CNPJ/CPF deste evento a autorizar os transportadores subcontratados ou redespachados a terem acesso ao download da NF-e"/> |
| 74 | + </xs:restriction> |
| 75 | + </xs:simpleType> |
| 76 | + </xs:element> |
| 77 | + </xs:sequence> |
| 78 | + <xs:attribute name="versao" use="required"> |
| 79 | + <xs:simpleType> |
| 80 | + <xs:restriction base="xs:string"> |
| 81 | + <xs:whiteSpace value="preserve"/> |
| 82 | + <xs:enumeration value="1.00"/> |
| 83 | + </xs:restriction> |
| 84 | + </xs:simpleType> |
| 85 | + </xs:attribute> |
| 86 | + </xs:complexType> |
| 87 | + </xs:element> |
| 88 | +</xs:schema> |
0 commit comments