IkreDpnVratPodani-v1.xsd
  1 <?xml version="1.0" encoding="UTF-8"?>
  2 <xs:schema xmlns="urn:cz:isvs:cssz:schemas:IkreDpnVratPodani:v1"
  3            xmlns:xs="http://www.w3.org/2001/XMLSchema"
  4            xmlns:ikrbt="urn:cz:isvs:cssz:schemas:IkrBaseTypes:v1"
  5            xmlns:ikrmsg="urn:cz:isvs:cssz:schemas:IkrMessageTypes:v1"
  6            xmlns:ikremsg="urn:cz:isvs:cssz:schemas:IkreDpnMessages:v1"
  7            targetNamespace="urn:cz:isvs:cssz:schemas:IkreDpnVratPodani:v1"
  8            elementFormDefault="qualified"
  9            version="1.2.0">
 10       <xs:annotation>
 11         <xs:documentation xml:lang="cs">
 12             Služba externího rozhraní IKR: 10.6_IkreDpnVratPodani - Služba pro získání informací o přijatých elektronických podáních DPN
 13             <p/>
 14             Verze 1.1.0,  26.04.2019 - počáteční návrh (Jitka Žídková).
 15             Verze 1.1.1,  14.05.2019 - Přidání elementu Icpe do IkrDpnVratPodaniPripaduVstupDataType a IkrDpnVratDetailPodaniVstupDataType
 16             .             20.05.2019 - Rozšíření IkrDpnVratPodaniVystupDataType o CelkovyPocetZaznamu
 17             Verze 1.1.2,  03.07.2019 - Rozšíření o typy podání ZOLUSU, ZOLUSOU, ZUSPVY a ZPNPUS
 18             Verze 1.1.3,  02.08.2019 - Rozšíření vstupu IkreDpnVratPodaniDleIcpe o nepovinný vstupní atribut BezPripadu.
 19             Verze 1.1.4,  18.10.2019 - Rozšíření o operaci VratPodaniDleRc.
 20             Verze 1.1.5,  06.11.2019 - Do VratPodani... přidán filtr na správce pojištění - SpravcePojisteni  
 21             Verze 1.1.6,  18.11.2019 - Do IkrDpnVratDetailPodaniVystupDataType přidán nepovinný příznak AktivniIcpe
 22             Verze 1.1.7,  13.01.2020 - Nova operace IkreDpnVratDetailPodaniDleId
 23             Verze 1.1.8,  16.01.2020 - IkrDpnVratDetailPodaniVystupDataType rozšířen o nepovinný element DatumPrijeti
 24             Verze 1.1.9,  09.03.2020 - IkrDpnVratPodaniPripaduVstupDataType rozšířen o nepovinný element Strankovani
 25             Verze 1.1.10, 05.02.2021 - IkrDpnVratDetailPodaniVystupDataType rozšířen o nepovinný element StavZpracovani
 26             Verze 1.2.0,  16.06.2021 - Změna výstupního elementu pro DpnVratDetailPodaniDleId
 27         </xs:documentation>
 28     </xs:annotation>
 29     <xs:import namespace="urn:cz:isvs:cssz:schemas:IkrBaseTypes:v1"
 30                schemaLocation="../../ikr/xsd/IkrBaseTypes.xsd"/>
 31     <xs:import namespace="urn:cz:isvs:cssz:schemas:IkrMessageTypes:v1"
 32                schemaLocation="../../ikr/xsd/IkrDpnMessageTypes.xsd"/>
 33     <xs:import namespace="urn:cz:isvs:cssz:schemas:IkreDpnMessages:v1"
 34                schemaLocation="IkreDpnMessages.xsd"/>
 35 
 36     <xs:element name="IkreDpnVratPodaniDleIcpe" type="IkreDpnVratPodaniDleIcpeType">
 37         <xs:annotation>
 38             <xs:documentation>
 39                 Ikre 10.6 - Dotaz na všechna podání evidovaná pro dané IČPE - požadavek.
 40             </xs:documentation>
 41         </xs:annotation>
 42     </xs:element>
 43     <xs:element name="IkreDpnVratPodaniDleRc" type="IkreDpnVratPodaniDleRcType">
 44         <xs:annotation>
 45             <xs:documentation>
 46                 Ikre 10.6 - Dotaz na všechna podání evidovaná pro dané IČPE a vztahující se na konkrétní případ RČ nebo EČP - požadavek.
 47             </xs:documentation>
 48         </xs:annotation>
 49     </xs:element>
 50     <xs:element name="IkreDpnVratPodaniPripadu" type="IkreDpnVratPodaniPripaduType">
 51         <xs:annotation>
 52             <xs:documentation>
 53                 Ikre 10.6 - Dotaz na všechna podání evidovaná pro dané IČPE a vztahující se na konkrétní případ DPN (dle čísla rozhodnutí DPN) - požadavek.
 54             </xs:documentation>
 55         </xs:annotation>
 56     </xs:element>
 57     <xs:element name="IkreDpnVratDetailPodani" type="IkreDpnVratDetailPodaniType">
 58         <xs:annotation>
 59             <xs:documentation>
 60                 Ikre 10.6 - Dotaz na detail konkrétního podání (dle identifikátoru podání) evidovaného pro dané IČPE - požadavek.
 61             </xs:documentation>
 62         </xs:annotation>
 63     </xs:element>
 64     <xs:element name="IkreDpnVratDetailPodaniDleId" type="IkreDpnVratDetailPodaniDleIdType">
 65         <xs:annotation>
 66             <xs:documentation>
 67                 Ikre 10.6 - Dotaz na detail konkrétního podání (dle identifikátoru podání) - požadavek.
 68             </xs:documentation>
 69         </xs:annotation>
 70     </xs:element>
 71     <xs:element name="IkreDpnVratPodaniOdpoved" type="IkreDpnVratPodaniOdpovedType">
 72         <xs:annotation>
 73             <xs:documentation>
 74                 Ikre 10.6 - Dotaz na podání - odpověď.
 75             </xs:documentation>
 76         </xs:annotation>
 77     </xs:element>
 78     <xs:element name="IkreDpnVratDetailPodaniOdpoved" type="IkreDpnVratDetailPodaniOdpovedType">
 79         <xs:annotation>
 80             <xs:documentation>
 81                 Ikre 10.6 - Dotaz na detail konkrétního podání (dle identifikátoru podání) evidovaného pro dané IČPE - odpověď.
 82             </xs:documentation>
 83         </xs:annotation>
 84     </xs:element>
 85     <xs:element name="IkreDpnVratDetailPodaniDleIdOdpoved" type="IkreDpnVratDetailPodaniDleIdOdpovedType">
 86         <xs:annotation>
 87             <xs:documentation>
 88                 Ikre 10.6 - Dotaz na detail konkrétního podání (dle identifikátoru podání) - odpověď.
 89             </xs:documentation>
 90         </xs:annotation>
 91     </xs:element>
 92 
 93     <xs:complexType name="IkreDpnVratPodaniDleIcpeType">
 94         <xs:annotation>
 95             <xs:documentation xml:lang="cs">
 96                 Ikre 10.6 - Dotaz na všechna podání evidovaná pro dané IČPE - požadavek.
 97             </xs:documentation>
 98         </xs:annotation>
 99         <xs:complexContent>
100             <xs:extension base="ikremsg:IkreDpnPozadavekAbstractType">
101                 <xs:sequence>
102                     <xs:element name="PozadavekData" type="IkrDpnVratPodaniDleIcpeVstupDataType">
103                         <xs:annotation>
104                             <xs:documentation>
105                                 Definice obálky pro datovou větu požadavku.
106                             </xs:documentation>
107                         </xs:annotation>
108                     </xs:element>
109                 </xs:sequence>
110             </xs:extension>
111         </xs:complexContent>
112     </xs:complexType>
113     <xs:complexType name="IkreDpnVratPodaniDleRcType">
114         <xs:annotation>
115             <xs:documentation xml:lang="cs">
116                 Ikre 10.6 - Dotaz na všechna podání evidovaná pro dané IČPE a vztahující se na konkrétní případ RČ nebo EČP - požadavek.
117             </xs:documentation>
118         </xs:annotation>
119         <xs:complexContent>
120             <xs:extension base="ikremsg:IkreDpnPozadavekAbstractType">
121                 <xs:sequence>
122                     <xs:element name="PozadavekData" type="IkrDpnVratPodaniDleRcVstupDataType">
123                         <xs:annotation>
124                             <xs:documentation>
125                                 Definice obálky pro datovou větu požadavku.
126                             </xs:documentation>
127                         </xs:annotation>
128                     </xs:element>
129                 </xs:sequence>
130             </xs:extension>
131         </xs:complexContent>
132     </xs:complexType>
133     <xs:complexType name="IkreDpnVratPodaniPripaduType">
134         <xs:annotation>
135             <xs:documentation xml:lang="cs">
136                 Ikre 10.6 - Dotaz na všechna podání evidovaná pro dané IČPE a vztahující se na konkrétní případ DPN (dle čísla rozhodnutí DPN) - požadavek.
137             </xs:documentation>
138         </xs:annotation>
139         <xs:complexContent>
140             <xs:extension base="ikremsg:IkreDpnPozadavekAbstractType">
141                 <xs:sequence>
142                     <xs:element name="PozadavekData" type="IkrDpnVratPodaniPripaduVstupDataType">
143                         <xs:annotation>
144                             <xs:documentation>
145                                 Definice obálky pro datovou větu požadavku.
146                             </xs:documentation>
147                         </xs:annotation>
148                     </xs:element>
149                 </xs:sequence>
150             </xs:extension>
151         </xs:complexContent>
152     </xs:complexType>
153     <xs:complexType name="IkreDpnVratDetailPodaniType">
154         <xs:annotation>
155             <xs:documentation xml:lang="cs">
156                 Ikre 10.6 - Dotaz na detail konkrétního podání (dle identifikátoru podání) evidovaného pro dané IČPE - požadavek.
157             </xs:documentation>
158         </xs:annotation>
159         <xs:complexContent>
160             <xs:extension base="ikremsg:IkreDpnPozadavekAbstractType">
161                 <xs:sequence>
162                     <xs:element name="PozadavekData" type="IkrDpnVratDetailPodaniVstupDataType">
163                         <xs:annotation>
164                             <xs:documentation>
165                                 Definice obálky pro datovou větu požadavku.
166                             </xs:documentation>
167                         </xs:annotation>
168                     </xs:element>
169                 </xs:sequence>
170             </xs:extension>
171         </xs:complexContent>
172     </xs:complexType>
173     <xs:complexType name="IkreDpnVratDetailPodaniDleIdType">
174         <xs:annotation>
175             <xs:documentation xml:lang="cs">
176                 Ikre 10.6 - Dotaz na detail konkrétního podání (dle identifikátoru podání) - požadavek.
177             </xs:documentation>
178         </xs:annotation>
179         <xs:complexContent>
180             <xs:extension base="ikremsg:IkreDpnPozadavekAbstractType">
181                 <xs:sequence>
182                     <xs:element name="PozadavekData" type="IkrDpnVratDetailPodaniDleIdVstupDataType">
183                         <xs:annotation>
184                             <xs:documentation>
185                                 Definice obálky pro datovou větu požadavku.
186                             </xs:documentation>
187                         </xs:annotation>
188                     </xs:element>
189                 </xs:sequence>
190             </xs:extension>
191         </xs:complexContent>
192     </xs:complexType>
193     <xs:complexType name="IkreDpnVratPodaniOdpovedType">
194         <xs:annotation>
195             <xs:documentation xml:lang="cs">
196                 Ikre 10.6 - Dotaz na podání - odpověď.
197             </xs:documentation>
198         </xs:annotation>
199         <xs:complexContent>
200             <xs:extension base="ikremsg:IkreDpnOdpovedAbstractType">
201                 <xs:sequence>
202                     <xs:element name="OdpovedData" type="IkrDpnVratPodaniVystupDataType" minOccurs="0">
203                         <xs:annotation>
204                             <xs:documentation>
205                                 Definice obálky pro datovou větu odpovědi na požadavek.
206                             </xs:documentation>
207                         </xs:annotation>
208                     </xs:element>
209                 </xs:sequence>
210             </xs:extension>
211         </xs:complexContent>
212     </xs:complexType>
213     <xs:complexType name="IkreDpnVratDetailPodaniOdpovedType">
214         <xs:annotation>
215             <xs:documentation xml:lang="cs">
216                 Ikre 10.6 - Dotaz na detail konkrétního podání (dle identifikátoru podání) evidovaného pro dané IČPE - odpověď.
217             </xs:documentation>
218         </xs:annotation>
219         <xs:complexContent>
220             <xs:extension base="ikremsg:IkreDpnOdpovedAbstractType">
221                 <xs:sequence>
222                     <xs:element name="OdpovedData" type="IkrDpnVratDetailPodaniVystupDataType" minOccurs="0">
223                         <xs:annotation>
224                             <xs:documentation>
225                                 Definice obálky pro datovou větu odpovědi na požadavek.
226                             </xs:documentation>
227                         </xs:annotation>
228                     </xs:element>
229                 </xs:sequence>
230             </xs:extension>
231         </xs:complexContent>
232     </xs:complexType>
233     <xs:complexType name="IkreDpnVratDetailPodaniDleIdOdpovedType">
234         <xs:annotation>
235             <xs:documentation xml:lang="cs">
236                 Ikre 10.6 - Dotaz na detail konkrétního podání (dle identifikátoru podání) - odpověď.
237             </xs:documentation>
238         </xs:annotation>
239         <xs:complexContent>
240             <xs:extension base="ikremsg:IkreDpnOdpovedAbstractType">
241                 <xs:sequence>
242                     <xs:element name="OdpovedData" type="IkrDpnVratDetailPodaniDleIdVystupDataType" minOccurs="0">
243                         <xs:annotation>
244                             <xs:documentation>
245                                 Definice obálky pro datovou větu odpovědi na požadavek.
246                             </xs:documentation>
247                         </xs:annotation>
248                     </xs:element>
249                 </xs:sequence>
250             </xs:extension>
251         </xs:complexContent>
252     </xs:complexType>
253 
254     <xs:complexType name="IkrDpnVratPodaniDleIcpeVstupDataType">
255         <xs:annotation>
256             <xs:documentation xml:lang="cs">
257                 IkreDpnVratPodaniDleIcpe - datová věta pro vstupní data požadavku.
258             </xs:documentation>
259         </xs:annotation>
260         <xs:complexContent>
261             <xs:extension base="ikrmsg:IkrPozadavekDataAbstractType">
262                 <xs:sequence>
263                     <xs:element name="Icpe" type="ikrbt:ICPEType"/>
264                     <xs:element name="BezPripadu" type="ikrbt:LogickaHodnotaType" minOccurs="0"/>
265                     <xs:element name="TypPodani" type="ikrmsg:TypPodaniDpnType" minOccurs="0" maxOccurs="unbounded"/>
266                     <xs:element name="Strankovani" type="ikrmsg:StrankovaniType" minOccurs="0"/>
267                     <xs:element name="SpravcePojisteni" type="ikrmsg:SpravcePojisteniType" minOccurs="0" maxOccurs="6"/>  
268                 </xs:sequence>
269             </xs:extension>
270         </xs:complexContent>
271     </xs:complexType>
272     <xs:complexType name="IkrDpnVratPodaniDleRcVstupDataType">
273         <xs:annotation>
274             <xs:documentation xml:lang="cs">
275                 IkreDpnVratPodaniDleRc - datová věta pro vstupní data požadavku.
276             </xs:documentation>
277         </xs:annotation>
278         <xs:complexContent>
279             <xs:extension base="ikrmsg:IkrPozadavekDataAbstractType">
280                 <xs:sequence>
281                     <xs:element name="Icpe" type="ikrbt:ICPEType"/>
282                     <xs:element name="RodneCislo" type="ikrbt:RC_ECPType"/>
283                     <xs:element name="BezPripadu" type="ikrbt:LogickaHodnotaType" minOccurs="0"/>
284                     <xs:element name="TypPodani" type="ikrmsg:TypPodaniDpnType" minOccurs="0" maxOccurs="unbounded"/>
285                     <xs:element name="Strankovani" type="ikrmsg:StrankovaniType" minOccurs="0"/>
286                     <xs:element name="SpravcePojisteni" type="ikrmsg:SpravcePojisteniType" minOccurs="0" maxOccurs="6"/>                  
287                 </xs:sequence>
288             </xs:extension>
289         </xs:complexContent>
290     </xs:complexType>
291     <xs:complexType name="IkrDpnVratPodaniPripaduVstupDataType">
292         <xs:annotation>
293             <xs:documentation xml:lang="cs">
294                 IkreDpnVratPodaniPripadu - datová věta pro vstupní data požadavku.
295             </xs:documentation>
296         </xs:annotation>
297         <xs:complexContent>
298             <xs:extension base="ikrmsg:IkrPozadavekDataAbstractType">
299                 <xs:sequence>
300                     <xs:element name="CisloRozhodnuti" type="ikrbt:CisloRozhodnutiDpnType"/>
301                     <xs:element name="Icpe" type="ikrbt:ICPEType"/>
302                     <xs:element name="TypPodani" type="ikrmsg:TypPodaniDpnType" minOccurs="0" maxOccurs="unbounded"/>
303                     <xs:element name="SpravcePojisteni" type="ikrmsg:SpravcePojisteniType" minOccurs="0" maxOccurs="6"/>  
304                     <xs:element name="Strankovani" type="ikrmsg:StrankovaniType" minOccurs="0"/>
305                 </xs:sequence>
306             </xs:extension>
307         </xs:complexContent>
308     </xs:complexType>
309     <xs:complexType name="IkrDpnVratDetailPodaniVstupDataType">
310         <xs:annotation>
311             <xs:documentation xml:lang="cs">
312                 IkreDpnVratDetailPodani - datová věta pro vstupní data požadavku.
313             </xs:documentation>
314         </xs:annotation>
315         <xs:complexContent>
316             <xs:extension base="ikrmsg:IkrPozadavekDataAbstractType">
317                 <xs:sequence>
318                     <xs:element name="IdPodani" type="ikrbt:UUIDType"/>
319                     <xs:element name="Icpe" type="ikrbt:ICPEType"/>
320                 </xs:sequence>
321             </xs:extension>
322         </xs:complexContent>
323     </xs:complexType>
324     <xs:complexType name="IkrDpnVratDetailPodaniDleIdVstupDataType">
325         <xs:annotation>
326             <xs:documentation xml:lang="cs">
327                 IkreDpnVratDetailPodani - datová věta pro vstupní data požadavku.
328             </xs:documentation>
329         </xs:annotation>
330         <xs:complexContent>
331             <xs:extension base="ikrmsg:IkrPozadavekDataAbstractType">
332                 <xs:sequence>
333                     <xs:element name="IdPodani" type="ikrbt:UUIDType"/>
334                 </xs:sequence>
335             </xs:extension>
336         </xs:complexContent>
337     </xs:complexType>
338     <xs:complexType name="IkrDpnVratPodaniVystupDataType">
339         <xs:annotation>
340             <xs:documentation xml:lang="cs">
341                 IkreDpnVratPodaniDleIcpe a  IkreDpnVratPodaniPripadu - datová věta pro výstupní data v odpovědi.
342             </xs:documentation>
343         </xs:annotation>
344         <xs:complexContent>
345             <xs:extension base="ikrmsg:IkrOdpovedDataAbstractType">
346                 <xs:sequence>
347                     <xs:element name="CelkovyPocetZaznamu" type="ikrbt:MaxCisloType"/>
348                     <xs:element name="PodaniDpn" type="ikrmsg:PodaniDpnType" minOccurs="0" maxOccurs="unbounded"/>
349                 </xs:sequence>
350             </xs:extension>
351         </xs:complexContent>
352     </xs:complexType>
353     <xs:complexType name="IkrDpnVratDetailPodaniVystupDataType">
354         <xs:annotation>
355             <xs:documentation xml:lang="cs">
356                 IkreDpnVratDetailPodani - datová věta pro výstupní data v odpovědi.
357             </xs:documentation>
358         </xs:annotation>
359         <xs:complexContent>
360             <xs:extension base="ikrmsg:IkrOdpovedDataAbstractType">
361                 <xs:sequence>
362                     <xs:choice>
363                         <xs:element name="PodaniRdpn1" type="ikrmsg:PodaniRdpn1Type"/>
364                         <xs:element name="PodaniRdpn3" type="ikrmsg:PodaniRdpn3Type"/>
365                         <xs:element name="PodaniPtdpn" type="ikrmsg:PodaniPtdpnType"/>
366                         <xs:element name="PodaniHol" type="ikrmsg:PodaniHolType"/>
367                         <xs:element name="PodaniZolusu" type="ikrmsg:PodaniZolusuType"/>
368                         <xs:element name="PodaniZolusou" type="ikrmsg:PodaniZolusouType"/>
369                         <xs:element name="PodaniZuspvy" type="ikrmsg:PodaniZuspvyType"/>
370                         <xs:element name="PodaniZpnpus" type="ikrmsg:PodaniZpnpusType"/>
371                     </xs:choice>
372                     <xs:element name="AktivniIcpe" type="ikrbt:PriznakType" minOccurs="0">
373                         <xs:annotation>
374                           <xs:documentation xml:lang="cs">
375                             Element udává, zda pro toto podání (číslo rozhodnutí) je IČPE uvedené v požadavku aktivní, tj. podání nepřevzalo jiné IČPE.                          
376                           </xs:documentation>
377                         </xs:annotation>
378                     </xs:element>
379                     <xs:element name="DatumPrijeti" type="ikrbt:DatumCasType" minOccurs="0">
380                         <xs:annotation>
381                           <xs:documentation xml:lang="cs">
382                             Datum a čas, kdy bylo podání uloženo na ČSSZ.
383                           </xs:documentation>
384                         </xs:annotation>
385                     </xs:element>
386                     <xs:element name="StavZpracovani" type="ikrmsg:StavZpracovaniType" minOccurs="0"/>
387                 </xs:sequence>    
388             </xs:extension>
389         </xs:complexContent>
390     </xs:complexType>
391     <xs:complexType name="IkrDpnVratDetailPodaniDleIdVystupDataType">
392         <xs:annotation>
393             <xs:documentation xml:lang="cs">
394                 IkreDpnVratDetailPodaniDleId - datová věta pro výstupní data v odpovědi.
395             </xs:documentation>
396         </xs:annotation>
397         <xs:complexContent>
398             <xs:extension base="ikrmsg:IkrOdpovedDataAbstractType">
399                 <xs:sequence>
400                     <xs:choice>
401                         <xs:element name="PodaniRdpn1" type="ikrmsg:PodaniRdpn1Type"/>
402                         <xs:element name="PodaniRdpn3" type="ikrmsg:PodaniRdpn3Type"/>
403                         <xs:element name="PodaniPtdpn" type="ikrmsg:PodaniPtdpnType"/>
404                         <xs:element name="PodaniHol" type="ikrmsg:PodaniHolType"/>
405                         <xs:element name="PodaniZolusu" type="ikrmsg:PodaniZolusuType"/>
406                         <xs:element name="PodaniZolusou" type="ikrmsg:PodaniZolusouType"/>
407                         <xs:element name="PodaniZuspvy" type="ikrmsg:PodaniZuspvyType"/>
408                         <xs:element name="PodaniZpnpus" type="ikrmsg:PodaniZpnpusType"/>
409                     </xs:choice>
410                     <xs:element name="AktivniIcpe" type="ikrbt:PriznakType" minOccurs="0">
411                         <xs:annotation>
412                           <xs:documentation xml:lang="cs">
413                             Element udává, zda pro toto podání (číslo rozhodnutí) je IČPE uvedené v požadavku aktivní, tj. podání nepřevzalo jiné IČPE.                          
414                           </xs:documentation>
415                         </xs:annotation>
416                     </xs:element>
417                     <xs:element name="DatumPrijeti" type="ikrbt:DatumCasType" minOccurs="0">
418                         <xs:annotation>
419                           <xs:documentation xml:lang="cs">
420                             Datum a čas, kdy bylo podání uloženo na ČSSZ.
421                           </xs:documentation>
422                         </xs:annotation>
423                     </xs:element>
424                     <xs:element name="StavZpracovani" type="ikrmsg:StavZpracovaniType" minOccurs="0"/>
425                     <xs:element name="PredchoziSpravciPojisteni" type="ikrmsg:SpravcePojisteniHistorieType" minOccurs="0" maxOccurs="unbounded">
426                         <xs:annotation>
427                           <xs:documentation xml:lang="cs">
428                             Historie správců pojištění, kteří dané podání řešili.
429                           </xs:documentation>
430                         </xs:annotation>
431                     </xs:element>
432                 </xs:sequence>    
433             </xs:extension>
434         </xs:complexContent>
435     </xs:complexType>
436 
437 </xs:schema>