-
Notifications
You must be signed in to change notification settings - Fork 543
/
Copy pathe110130_v1.00.xsd
executable file
·102 lines (102 loc) · 4.32 KB
/
e110130_v1.00.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2008 (http://www.altova.com) by [email protected] (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>Schema XML de validação do evento de Comprovante de Entrega da NF-e</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="descEvento">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Comprovante de Entrega da NF-e"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="cOrgaoAutor" type="TCOrgaoIBGE"/>
<xs:element name="tpAutor">
<xs:simpleType>
<xs:annotation>
<xs:documentation>1=Empresa Emitente; 2=Empresa Destinatária; 3=Empresa; 5=Fisco; 6=RFB; 9=Outros;</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="verAplic" type="TVerAplic">
<xs:annotation>
<xs:documentation>Versão do Aplicativo do Autor do Evento</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="dhEntrega" type="TDateTimeUTC">
<xs:annotation>
<xs:documentation>Data e hora do final da entrega. Formato AAAA-MMDDThh:mm:ssTZD
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="nDoc">
<xs:simpleType>
<xs:annotation>
<xs:documentation>Número do documento de identificação da pessoa que assinou o Comprovante de Entrega da NF-e</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:minLength value="2"/>
<xs:maxLength value="20"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="xNome">
<xs:annotation>
<xs:documentation>Nome da pessoa que assinou o Comprovante de Entrega da NF-e</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:maxLength value="60"/>
<xs:minLength value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="latGPS" type="TLatitude" minOccurs="0">
<xs:annotation>
<xs:documentation>Latitude do ponto de entrega</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="longGPS" type="TLongitude" minOccurs="0">
<xs:annotation>
<xs:documentation>Longitude do ponto de entrega</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="hashComprovante">
<xs:annotation>
<xs:documentation>Hash (SHA1) no formato Base64 resultante da concatenação: Chave de acesso da NFe + Base64 da imagem capturada da entrega (Exemplo: imagem capturada da assinatura eletrônica, digital do recebedor, foto, etc)</xs:documentation>
<xs:documentation>O hashCSRT é o resultado das funções SHA-1 e base64 do token CSRT fornecido pelo fisco + chave de acesso do DF-e. (Implementação em futura NT)
Observação: 28 caracteres são representados no schema como 20 bytes do tipo base64Binary</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:base64Binary">
<xs:length value="20"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="dhHashComprovante" type="TDateTimeUTC" minOccurs="0">
<xs:annotation>
<xs:documentation>Data e hora da geração do hash do Comprovante de Entrega da NF-e. Formato AAAA-MMDDThh:mm:ssTZD.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="versao" use="required">
<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>