1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <!-- edited with XMLSpy v2008 (http://www.altova.com) by [email protected] (PROCERGS) --> 3+ <xs : schema xmlns : xs =" http://www.w3.org/2001/XMLSchema" xmlns =" http://www.portalfiscal.inf.br/mdfe" xmlns : ds =" http://www.w3.org/2000/09/xmldsig#" xmlns : ns1 =" http://www.portalfiscal.inf.br/mdfe" targetNamespace =" http://www.portalfiscal.inf.br/mdfe" elementFormDefault =" qualified" attributeFormDefault =" unqualified" >
4+ <xs : include schemaLocation =" eventoMDFeTiposBasico_v3.00.xsd" />
5+ <xs : element name =" evAlteracaoPagtoServMDFe" >
6+ <xs : annotation >
7+ <xs : documentation >Schema XML de validação do evento de alteração do pagamento do serviçp de transporte 110118</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 - “Alteração Pagamento Serviço MDFe”</xs : documentation >
14+ </xs : annotation >
15+ <xs : simpleType >
16+ <xs : restriction base =" xs:string" >
17+ <xs : whiteSpace value =" preserve" />
18+ <xs : enumeration value =" Alteração Pagamento Serviço MDFe" />
19+ <xs : enumeration value =" Alteracao Pagamento Servico MDFe" />
20+ </xs : restriction >
21+ </xs : simpleType >
22+ </xs : element >
23+ <xs : element name =" nProt" type =" TProt" >
24+ <xs : annotation >
25+ <xs : documentation >Número do Protocolo de Status do MDF-e. </xs : documentation >
26+ </xs : annotation >
27+ </xs : element >
28+ <xs : element name =" infPag" maxOccurs =" unbounded" >
29+ <xs : annotation >
30+ <xs : documentation >Informações do Pagamento do Frete</xs : documentation >
31+ </xs : annotation >
32+ <xs : complexType >
33+ <xs : sequence >
34+ <xs : element name =" xNome" minOccurs =" 0" >
35+ <xs : annotation >
36+ <xs : documentation >Razão social ou Nome do responsavel pelo pagamento</xs : documentation >
37+ </xs : annotation >
38+ <xs : simpleType >
39+ <xs : restriction base =" TString" >
40+ <xs : maxLength value =" 60" />
41+ <xs : minLength value =" 2" />
42+ </xs : restriction >
43+ </xs : simpleType >
44+ </xs : element >
45+ <xs : choice >
46+ <xs : element name =" CPF" type =" TCpf" >
47+ <xs : annotation >
48+ <xs : documentation >Número do CPF do responsável pelo pgto</xs : documentation >
49+ <xs : documentation >Informar os zeros não significativos.</xs : documentation >
50+ </xs : annotation >
51+ </xs : element >
52+ <xs : element name =" CNPJ" type =" TCnpjOpc" >
53+ <xs : annotation >
54+ <xs : documentation >Número do CNPJ do responsável pelo pgto</xs : documentation >
55+ <xs : documentation >Informar os zeros não significativos.</xs : documentation >
56+ </xs : annotation >
57+ </xs : element >
58+ <xs : element name =" idEstrangeiro" >
59+ <xs : annotation >
60+ <xs : documentation >Identificador do responsável pelo pgto em caso de ser estrangeiro</xs : documentation >
61+ </xs : annotation >
62+ <xs : simpleType >
63+ <xs : restriction base =" xs:string" >
64+ <xs : whiteSpace value =" preserve" />
65+ <xs : minLength value =" 2" />
66+ <xs : maxLength value =" 20" />
67+ <xs : pattern value =" ([!-ÿ]{0}|[!-ÿ]{5,20})?" />
68+ </xs : restriction >
69+ </xs : simpleType >
70+ </xs : element >
71+ </xs : choice >
72+ <xs : element name =" Comp" maxOccurs =" unbounded" >
73+ <xs : annotation >
74+ <xs : documentation >Componentes do Pagamentoi do Frete</xs : documentation >
75+ </xs : annotation >
76+ <xs : complexType >
77+ <xs : sequence >
78+ <xs : element name =" tpComp" >
79+ <xs : annotation >
80+ <xs : documentation >Tipo do Componente</xs : documentation >
81+ <xs : documentation >
82+ 01 - Vale Pedágio;
83+ 02 - Impostos, taxas e contribuições;
84+ 03 - Despesas (bancárias, meios de pagamento, outras)
85+ 04 - Frete
86+ 99 - Outros</xs : documentation >
87+ </xs : annotation >
88+ <xs : simpleType >
89+ <xs : restriction base =" xs:string" >
90+ <xs : whiteSpace value =" preserve" />
91+ <xs : enumeration value =" 01" />
92+ <xs : enumeration value =" 02" />
93+ <xs : enumeration value =" 03" />
94+ <xs : enumeration value =" 04" />
95+ <xs : enumeration value =" 99" />
96+ </xs : restriction >
97+ </xs : simpleType >
98+ </xs : element >
99+ <xs : element name =" vComp" type =" TDec_1302" >
100+ <xs : annotation >
101+ <xs : documentation >Valor do componente</xs : documentation >
102+ </xs : annotation >
103+ </xs : element >
104+ <xs : element name =" xComp" minOccurs =" 0" >
105+ <xs : annotation >
106+ <xs : documentation >Descrição do componente do tipo Outros</xs : documentation >
107+ </xs : annotation >
108+ <xs : simpleType >
109+ <xs : restriction base =" TString" >
110+ <xs : maxLength value =" 60" />
111+ <xs : minLength value =" 2" />
112+ </xs : restriction >
113+ </xs : simpleType >
114+ </xs : element >
115+ </xs : sequence >
116+ </xs : complexType >
117+ </xs : element >
118+ <xs : element name =" vContrato" type =" TDec_1302" >
119+ <xs : annotation >
120+ <xs : documentation >Valor Total do Contrato</xs : documentation >
121+ </xs : annotation >
122+ </xs : element >
123+ <xs : element name =" indPag" >
124+ <xs : annotation >
125+ <xs : documentation >Indicador da Forma de Pagamento:0-Pagamento à Vista;1-Pagamento à Prazo;</xs : documentation >
126+ </xs : annotation >
127+ <xs : simpleType >
128+ <xs : restriction base =" xs:string" >
129+ <xs : whiteSpace value =" preserve" />
130+ <xs : enumeration value =" 0" />
131+ <xs : enumeration value =" 1" />
132+ </xs : restriction >
133+ </xs : simpleType >
134+ </xs : element >
135+ <xs : element name =" vAdiant" type =" TDec_1302" minOccurs =" 0" >
136+ <xs : annotation >
137+ <xs : documentation >Valor do Adiantamento (usar apenas em pagamento à Prazo</xs : documentation >
138+ </xs : annotation >
139+ </xs : element >
140+ <xs : element name =" indAntecipaAdiant" minOccurs =" 0" >
141+ <xs : annotation >
142+ <xs : documentation >Indicador para declarar concordância em antecipar o adiantamento</xs : documentation >
143+ <xs : documentation >Operação de transporte com utilização de veículos de frotas dedicadas ou fidelizadas.
144+ Preencher com “1” para indicar operação de transporte de alto desempenho, demais casos não informar a tag
145+ </xs : documentation >
146+ </xs : annotation >
147+ <xs : simpleType >
148+ <xs : restriction base =" xs:string" >
149+ <xs : enumeration value =" 1" />
150+ </xs : restriction >
151+ </xs : simpleType >
152+ </xs : element >
153+ <xs : element name =" infPrazo" minOccurs =" 0" maxOccurs =" unbounded" >
154+ <xs : annotation >
155+ <xs : documentation >Informações do pagamento a prazo. </xs : documentation >
156+ <xs : documentation >Informar somente se indPag for à Prazo</xs : documentation >
157+ </xs : annotation >
158+ <xs : complexType >
159+ <xs : sequence >
160+ <xs : element name =" nParcela" >
161+ <xs : annotation >
162+ <xs : documentation >Número da Parcela</xs : documentation >
163+ </xs : annotation >
164+ <xs : simpleType >
165+ <xs : restriction base =" xs:string" >
166+ <xs : whiteSpace value =" preserve" />
167+ <xs : pattern value =" [0-9]{3}" />
168+ </xs : restriction >
169+ </xs : simpleType >
170+ </xs : element >
171+ <xs : element name =" dVenc" type =" TData" >
172+ <xs : annotation >
173+ <xs : documentation >Data de vencimento da Parcela (AAAA-MM-DD)</xs : documentation >
174+ </xs : annotation >
175+ </xs : element >
176+ <xs : element name =" vParcela" type =" TDec_1302Opc" >
177+ <xs : annotation >
178+ <xs : documentation >Valor da Parcela</xs : documentation >
179+ </xs : annotation >
180+ </xs : element >
181+ </xs : sequence >
182+ </xs : complexType >
183+ </xs : element >
184+ <xs : element name =" tpAntecip" minOccurs =" 0" >
185+ <xs : annotation >
186+ <xs : documentation >Tipo de Permissão em relação a antecipação das parcelas</xs : documentation >
187+ <xs : documentation >0 - Não permite antecipar
188+ 1 - Permite antecipar as parcelas
189+ 2 - Permite antecipar as parcelas mediante confirmação</xs : documentation >
190+ </xs : annotation >
191+ <xs : simpleType >
192+ <xs : restriction base =" xs:string" >
193+ <xs : enumeration value =" 0" />
194+ <xs : enumeration value =" 1" />
195+ <xs : enumeration value =" 2" />
196+ </xs : restriction >
197+ </xs : simpleType >
198+ </xs : element >
199+ <xs : element name =" infBanc" >
200+ <xs : annotation >
201+ <xs : documentation >Informações bancárias</xs : documentation >
202+ </xs : annotation >
203+ <xs : complexType >
204+ <xs : choice >
205+ <xs : sequence >
206+ <xs : element name =" codBanco" >
207+ <xs : annotation >
208+ <xs : documentation >Número do banco</xs : documentation >
209+ </xs : annotation >
210+ <xs : simpleType >
211+ <xs : restriction base =" TString" >
212+ <xs : minLength value =" 3" />
213+ <xs : maxLength value =" 5" />
214+ </xs : restriction >
215+ </xs : simpleType >
216+ </xs : element >
217+ <xs : element name =" codAgencia" >
218+ <xs : annotation >
219+ <xs : documentation >Número da agência bancária </xs : documentation >
220+ </xs : annotation >
221+ <xs : simpleType >
222+ <xs : restriction base =" TString" >
223+ <xs : minLength value =" 1" />
224+ <xs : maxLength value =" 10" />
225+ </xs : restriction >
226+ </xs : simpleType >
227+ </xs : element >
228+ </xs : sequence >
229+ <xs : element name =" CNPJIPEF" type =" TCnpjOpc" >
230+ <xs : annotation >
231+ <xs : documentation >Número do CNPJ da Instituição de Pagamento Eletrônico do Frete</xs : documentation >
232+ <xs : documentation >Informar os zeros não significativos.</xs : documentation >
233+ </xs : annotation >
234+ </xs : element >
235+ <xs : element name =" PIX" >
236+ <xs : annotation >
237+ <xs : documentation >Chave PIX </xs : documentation >
238+ <xs : documentation >Informar a chave PIX para recebimento do frete.
239+ Pode ser email, CPF/ CNPJ (somente numeros), Telefone com a seguinte formatação (+5599999999999) ou a chave aleatória gerada pela instituição.</xs : documentation >
240+ </xs : annotation >
241+ <xs : simpleType >
242+ <xs : restriction base =" TString" >
243+ <xs : maxLength value =" 60" />
244+ <xs : minLength value =" 2" />
245+ </xs : restriction >
246+ </xs : simpleType >
247+ </xs : element >
248+ </xs : choice >
249+ </xs : complexType >
250+ </xs : element >
251+ </xs : sequence >
252+ </xs : complexType >
253+ </xs : element >
254+ </xs : sequence >
255+ </xs : complexType >
256+ </xs : element >
257+ </xs : schema >
0 commit comments