money_xml_validator 0.0.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. checksums.yaml +5 -5
  2. data/Gemfile.lock +24 -0
  3. data/README.md +17 -7
  4. data/lib/money_xml_validator.rb +1 -1
  5. data/lib/money_xml_validator/money_xsd/README.md +10 -2
  6. data/lib/money_xml_validator/money_xsd/examples/basic_invoice.xml +56 -0
  7. data/lib/money_xml_validator/money_xsd/examples/credit_note.xml +58 -0
  8. data/lib/money_xml_validator/money_xsd/{Dochazka → schemas/Dochazka}/Dochazka.xsd +24 -20
  9. data/lib/money_xml_validator/money_xsd/{Dochazka → schemas/Dochazka}/Zamestnanci.xsd +13 -7
  10. data/lib/money_xml_validator/money_xsd/{EPO → schemas/EPO}/EPO_Error.xsd +11 -11
  11. data/lib/money_xml_validator/money_xsd/{EPO → schemas/EPO}/EPO_Success.xsd +1 -1
  12. data/lib/money_xml_validator/money_xsd/schemas/Readme.txt +4 -0
  13. data/lib/money_xml_validator/money_xsd/{_Document.xsd → schemas/_Document.xsd} +35 -51
  14. data/lib/money_xml_validator/money_xsd/{_Export.xsd → schemas/_Export.xsd} +7 -3
  15. data/lib/money_xml_validator/money_xsd/schemas/_Import.xsd +176 -0
  16. data/lib/money_xml_validator/money_xsd/{_Report.xsd → schemas/_Report.xsd} +41 -134
  17. data/lib/money_xml_validator/money_xsd/schemas/__Comtypes.xsd +742 -0
  18. data/lib/money_xml_validator/money_xsd/{__Faktura.xsd → schemas/__Faktura.xsd} +577 -566
  19. data/lib/money_xml_validator/money_xsd/{__Firma.xsd → schemas/__Firma.xsd} +197 -96
  20. data/lib/money_xml_validator/money_xsd/schemas/__IntDokl.xsd +427 -0
  21. data/lib/money_xml_validator/money_xsd/{__InvDokl.xsd → schemas/__InvDokl.xsd} +11 -8
  22. data/lib/money_xml_validator/money_xsd/{__Mzda.xsd → schemas/__Mzda.xsd} +10 -6
  23. data/lib/money_xml_validator/money_xsd/schemas/__Objedn.xsd +896 -0
  24. data/lib/money_xml_validator/money_xsd/schemas/__Seznamy.xsd +1755 -0
  25. data/lib/money_xml_validator/money_xsd/schemas/__SklDokl.xsd +685 -0
  26. data/lib/money_xml_validator/money_xsd/{__UcDokl.xsd → schemas/__UcDokl.xsd} +1019 -925
  27. data/lib/money_xml_validator/money_xsd/{__Uhrady.xsd → schemas/__Uhrady.xsd} +92 -92
  28. data/lib/money_xml_validator/money_xsd/{__Vyroba.xsd → schemas/__Vyroba.xsd} +0 -0
  29. data/lib/money_xml_validator/money_xsd/{__Zakazka.xsd → schemas/__Zakazka.xsd} +5 -31
  30. data/lib/money_xml_validator/money_xsd/{__Zamestnanec.xsd → schemas/__Zamestnanec.xsd} +6 -6
  31. data/lib/money_xml_validator/money_xsd/schemas/__Zasoba.xsd +1319 -0
  32. data/money_xml_validator.gemspec +1 -1
  33. metadata +30 -28
  34. data/lib/money_xml_validator/money_xsd/_Import.xsd +0 -94
  35. data/lib/money_xml_validator/money_xsd/__Comtypes.xsd +0 -706
  36. data/lib/money_xml_validator/money_xsd/__IntDokl.xsd +0 -397
  37. data/lib/money_xml_validator/money_xsd/__Objedn.xsd +0 -865
  38. data/lib/money_xml_validator/money_xsd/__Seznamy.xsd +0 -1721
  39. data/lib/money_xml_validator/money_xsd/__SklDokl.xsd +0 -674
  40. data/lib/money_xml_validator/money_xsd/__Zasoba.xsd +0 -1317
  41. data/lib/money_xml_validator/money_xsd/all_schemas.zip +0 -0
@@ -0,0 +1,427 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
3
+ <xs:include schemaLocation="__Comtypes.xsd"/>
4
+ <xs:include schemaLocation="__Firma.xsd"/>
5
+ <xs:complexType name="intDoklType">
6
+ <xs:sequence>
7
+ <xs:element name="Doklad" minOccurs="0">
8
+ <xs:annotation>
9
+ <xs:documentation>Číslo dokladu Import: ANO Export: ANO</xs:documentation>
10
+ </xs:annotation>
11
+ <xs:simpleType>
12
+ <xs:restriction base="xs:string">
13
+ <xs:maxLength value="10"/>
14
+ </xs:restriction>
15
+ </xs:simpleType>
16
+ </xs:element>
17
+ <xs:element name="EET" type="EETType" minOccurs="0">
18
+ <xs:annotation>
19
+ <xs:documentation>Údaje týkající se EET (pouze CZ verze)
20
+
21
+ IMPORT: ANO,
22
+ EXPORT: ANO
23
+ </xs:documentation>
24
+ </xs:annotation>
25
+ </xs:element>
26
+ <xs:element name="ZpusobUctovani" type="xs:byte" minOccurs="0">
27
+ <xs:annotation>
28
+ <xs:documentation>Způsob účtování dokladu:
29
+ 0 = účtování dokladu proběhne podle nastavení v konfiguraci (default)
30
+ 1 = doklad se nezaúčtuje
31
+ IMPORT: ANO, EXPORT: ANO</xs:documentation>
32
+ </xs:annotation>
33
+ </xs:element>
34
+ <xs:element name="Storno" type="xs:byte" minOccurs="0">
35
+ <xs:annotation>
36
+ <xs:documentation>Informace o stornu dokladu:
37
+ 0 = normální doklad bez vlivu na storno
38
+ 1 = stornovaný doklad
39
+ 2 = stornující protidoklad
40
+ IMPORT: NE
41
+ EXPORT: ANO</xs:documentation>
42
+ </xs:annotation>
43
+ </xs:element>
44
+ <xs:element name="Del" type="xs:boolean" minOccurs="0">
45
+ <xs:annotation>
46
+ <xs:documentation>Informace o smazaném dokladu:
47
+ 0 = normální nesmazaný doklad
48
+ 1 = smazaný doklad
49
+ IMPORT: NE
50
+ EXPORT: ANO</xs:documentation>
51
+ </xs:annotation>
52
+ </xs:element>
53
+ <xs:element name="Popis" type="popisType" minOccurs="0">
54
+ <xs:annotation>
55
+ <xs:documentation>Popis Import: ANO Export: ANO</xs:documentation>
56
+ </xs:annotation>
57
+ </xs:element>
58
+ <xs:element name="DatUcPr" type="xs:date" minOccurs="0">
59
+ <xs:annotation>
60
+ <xs:documentation>Datum účetního případu Import: ANO Export: ANO</xs:documentation>
61
+ </xs:annotation>
62
+ </xs:element>
63
+ <xs:element name="DatPln" type="xs:date" minOccurs="0">
64
+ <xs:annotation>
65
+ <xs:documentation>Datum zdanitelného plnění Import: ANO Export: ANO</xs:documentation>
66
+ </xs:annotation>
67
+ </xs:element>
68
+ <xs:element name="DatUplDPH" type="xs:date" minOccurs="0">
69
+ <xs:annotation>
70
+ <xs:documentation>Datum uplatnění DPH (pouze CZ verze)
71
+ Import: ANO Export: ANO</xs:documentation>
72
+ </xs:annotation>
73
+ </xs:element>
74
+ <xs:element name="DatumKV" type="xs:date" minOccurs="0">
75
+ <xs:annotation>
76
+ <xs:documentation>Datum vstupu do KV (pouze SK verze)
77
+ Import: ANO Export: ANO</xs:documentation>
78
+ </xs:annotation>
79
+ </xs:element>
80
+ <xs:element name="CisloZapoc">
81
+ <xs:annotation>
82
+ <xs:documentation>Číslo vzájemného zápočtu, který je tvořen mj. i tímto dokladem. IMPORT: ANO, EXPORT: ANO</xs:documentation>
83
+ </xs:annotation>
84
+ </xs:element>
85
+ <xs:element name="PrijatDokl" minOccurs="0">
86
+ <xs:annotation>
87
+ <xs:documentation>Číslo přijatého dokladu</xs:documentation>
88
+ </xs:annotation>
89
+ <xs:simpleType>
90
+ <xs:restriction base="xs:string">
91
+ <xs:maxLength value="50"/>
92
+ </xs:restriction>
93
+ </xs:simpleType>
94
+ </xs:element>
95
+ <xs:element name="VarSym" minOccurs="0">
96
+ <xs:annotation>
97
+ <xs:documentation>Variabilní szmbol Import: ANO Export: ANO</xs:documentation>
98
+ </xs:annotation>
99
+ <xs:simpleType>
100
+ <xs:restriction base="xs:string">
101
+ <xs:maxLength value="20"/>
102
+ </xs:restriction>
103
+ </xs:simpleType>
104
+ </xs:element>
105
+ <xs:element name="ParSym" minOccurs="0">
106
+ <xs:annotation>
107
+ <xs:documentation>Párovací symbol Import: ANO Export: ANO</xs:documentation>
108
+ </xs:annotation>
109
+ <xs:simpleType>
110
+ <xs:restriction base="xs:string">
111
+ <xs:maxLength value="20"/>
112
+ </xs:restriction>
113
+ </xs:simpleType>
114
+ </xs:element>
115
+ <xs:element name="Adresa" type="dokladFirmaType" minOccurs="0">
116
+ <xs:annotation>
117
+ <xs:documentation>Adresát dokladu Import: ANO Export: ANO</xs:documentation>
118
+ </xs:annotation>
119
+ </xs:element>
120
+ <xs:element name="PrKont" type="zkratkaType" minOccurs="0">
121
+ <xs:annotation>
122
+ <xs:documentation>zatím neřešeno</xs:documentation>
123
+ </xs:annotation>
124
+ </xs:element>
125
+ <xs:element name="Cleneni" type="zkratkaType" minOccurs="0">
126
+ <xs:annotation>
127
+ <xs:documentation>Členění DPH Import: ANO Export: ANO</xs:documentation>
128
+ </xs:annotation>
129
+ </xs:element>
130
+ <xs:element name="Stred" type="zkratkaType" minOccurs="0">
131
+ <xs:annotation>
132
+ <xs:documentation>Středisko Import: ANO Export: ANO</xs:documentation>
133
+ </xs:annotation>
134
+ </xs:element>
135
+ <xs:element name="Zakazka" type="zkratkaType" minOccurs="0">
136
+ <xs:annotation>
137
+ <xs:documentation>Zakázka Import: ANO Export: ANO</xs:documentation>
138
+ </xs:annotation>
139
+ </xs:element>
140
+ <xs:element name="Cinnost" type="zkratkaType" minOccurs="0">
141
+ <xs:annotation>
142
+ <xs:documentation>Činnost Import: ANO Export: ANO</xs:documentation>
143
+ </xs:annotation>
144
+ </xs:element>
145
+ <xs:element name="Vyroba" type="castkaType" minOccurs="0">
146
+ <xs:annotation>
147
+ <xs:documentation>Pro potřeby modulu Výroba</xs:documentation>
148
+ </xs:annotation>
149
+ </xs:element>
150
+ <xs:element name="StatMOSS" minOccurs="0">
151
+ <xs:annotation>
152
+ <xs:documentation>Kód státu MOSS (Mini One Stop Shop).
153
+ IMPORT: ANO, EXPORT: ANO</xs:documentation>
154
+ </xs:annotation>
155
+ <xs:simpleType>
156
+ <xs:restriction base="xs:string">
157
+ <xs:length value="2"/>
158
+ </xs:restriction>
159
+ </xs:simpleType>
160
+ </xs:element>
161
+ <xs:element name="ZpVypDPH" type="xs:byte" minOccurs="0">
162
+ <xs:annotation>
163
+ <xs:documentation>Způsob výpočtu DPH (1 = matematicky, 2 = koeficient). IMPORT: ANO, EXPORT: ANO</xs:documentation>
164
+ </xs:annotation>
165
+ </xs:element>
166
+ <xs:element name="SSazba" type="procentoType" minOccurs="0">
167
+ <xs:annotation>
168
+ <xs:documentation>Snížená sazba DPH IMPORT: ANO
169
+ EXPORT: ANO</xs:documentation>
170
+ </xs:annotation>
171
+ </xs:element>
172
+ <xs:element name="ZSazba" type="procentoType" minOccurs="0">
173
+ <xs:annotation>
174
+ <xs:documentation>Základní sazba DPH IMPORT: ANO
175
+ EXPORT: ANO</xs:documentation>
176
+ </xs:annotation>
177
+ </xs:element>
178
+ <xs:sequence minOccurs="0">
179
+ <xs:element name="SouhrnDPH" type="souhrnDPHType">
180
+ <xs:annotation>
181
+ <xs:documentation>Doklady v domácí měně: IMPORT: ANO
182
+ EXPORT: ANO</xs:documentation>
183
+ </xs:annotation>
184
+ </xs:element>
185
+ <xs:element name="Celkem" type="castkaType">
186
+ <xs:annotation>
187
+ <xs:documentation>Celkiem s DPH (POUZE EXPORT)</xs:documentation>
188
+ </xs:annotation>
189
+ </xs:element>
190
+ </xs:sequence>
191
+ <xs:element name="Valuty" minOccurs="0">
192
+ <xs:annotation>
193
+ <xs:documentation>Doklad v cizí měně
194
+ IMPORT: ANO
195
+ EXPORT: ANO</xs:documentation>
196
+ </xs:annotation>
197
+ <xs:complexType>
198
+ <xs:sequence>
199
+ <xs:element name="Mena" type="menaType">
200
+ <xs:annotation>
201
+ <xs:documentation>Identifikace cizí měny</xs:documentation>
202
+ </xs:annotation>
203
+ </xs:element>
204
+ <xs:element name="SouhrnDPH" type="souhrnDPHType">
205
+ <xs:annotation>
206
+ <xs:documentation>Souhrn DPH
207
+ IMPORT: ANO
208
+ EXPORT: ANO</xs:documentation>
209
+ </xs:annotation>
210
+ </xs:element>
211
+ <xs:element name="Celkem" type="castkaType">
212
+ <xs:annotation>
213
+ <xs:documentation>Celkem s DPH ve valutách (POUZE EXPORT)</xs:documentation>
214
+ </xs:annotation>
215
+ </xs:element>
216
+ </xs:sequence>
217
+ </xs:complexType>
218
+ </xs:element>
219
+ <xs:element name="Pozn" minOccurs="0">
220
+ <xs:annotation>
221
+ <xs:documentation>Poznámka Import: ANO Export: ANO </xs:documentation>
222
+ </xs:annotation>
223
+ </xs:element>
224
+ <xs:element name="DRada" minOccurs="0">
225
+ <xs:annotation>
226
+ <xs:documentation>Číselná řada - prefix Import: ANO Export: ANO </xs:documentation>
227
+ </xs:annotation>
228
+ <xs:simpleType>
229
+ <xs:restriction base="xs:string">
230
+ <xs:maxLength value="5"/>
231
+ </xs:restriction>
232
+ </xs:simpleType>
233
+ </xs:element>
234
+ <xs:element name="DCislo" minOccurs="0">
235
+ <xs:annotation>
236
+ <xs:documentation>Čítač číselné řady Import: NE Export: ANO </xs:documentation>
237
+ </xs:annotation>
238
+ <xs:simpleType>
239
+ <xs:restriction base="xs:decimal">
240
+ <xs:totalDigits value="11"/>
241
+ <xs:fractionDigits value="0"/>
242
+ </xs:restriction>
243
+ </xs:simpleType>
244
+ </xs:element>
245
+ <xs:element name="Vyst" minOccurs="0">
246
+ <xs:annotation>
247
+ <xs:documentation>Uživatel, který vystavil doklad Import: ANO Export: ANO </xs:documentation>
248
+ </xs:annotation>
249
+ <xs:simpleType>
250
+ <xs:restriction base="xs:string">
251
+ <xs:maxLength value="50"/>
252
+ </xs:restriction>
253
+ </xs:simpleType>
254
+ </xs:element>
255
+ <xs:element name="Rezim" type="xs:boolean" minOccurs="0"/>
256
+ <xs:element name="KorekceCen" type="xs:boolean" minOccurs="0">
257
+ <xs:annotation>
258
+ <xs:documentation>neřešeno</xs:documentation>
259
+ </xs:annotation>
260
+ </xs:element>
261
+ <xs:element name="TypDokl" minOccurs="0">
262
+ <xs:annotation>
263
+ <xs:documentation>Zkratka typu dokladu Import: ANO Export: ANO </xs:documentation>
264
+ </xs:annotation>
265
+ <xs:simpleType>
266
+ <xs:restriction base="xs:string">
267
+ <xs:maxLength value="10"/>
268
+ </xs:restriction>
269
+ </xs:simpleType>
270
+ </xs:element>
271
+ <xs:choice minOccurs="0">
272
+ <xs:element name="RozuctPolozka" type="rozuctPolozIDType" maxOccurs="unbounded">
273
+ <xs:annotation>
274
+ <xs:documentation>Rozúčtovací položky dokladu Import: ANO Export: ANO </xs:documentation>
275
+ </xs:annotation>
276
+ </xs:element>
277
+ <xs:element name="NormPolozka" type="normPolozIDType" maxOccurs="unbounded">
278
+ <xs:annotation>
279
+ <xs:documentation>neřešeno</xs:documentation>
280
+ </xs:annotation>
281
+ </xs:element>
282
+ </xs:choice>
283
+ <xs:element name="Vlajky" minOccurs="0">
284
+ <xs:complexType>
285
+ <xs:sequence>
286
+ <xs:element name="Global" type="VlajkaType" minOccurs="0"/>
287
+ <xs:element name="User" type="VlajkaType" minOccurs="0"/>
288
+ </xs:sequence>
289
+ </xs:complexType>
290
+ </xs:element>
291
+ <xs:element name="Dokumenty" minOccurs="0">
292
+ <xs:annotation>
293
+ <xs:documentation>Seznam připojených dokumentů
294
+ IMPORT: ANO
295
+ EXPORT: NE</xs:documentation>
296
+ </xs:annotation>
297
+ <xs:complexType>
298
+ <xs:sequence>
299
+ <xs:element name="Dokument" type="xs:string" maxOccurs="unbounded">
300
+ <xs:annotation>
301
+ <xs:documentation>Jméno souboru (bez cesty). Soubor se musí nacházet ve stejném adresáři (ZIP souboru) jako importovaný XML dokument.</xs:documentation>
302
+ </xs:annotation>
303
+ </xs:element>
304
+ </xs:sequence>
305
+ </xs:complexType>
306
+ </xs:element>
307
+ </xs:sequence>
308
+ </xs:complexType>
309
+ <xs:complexType name="normPolozIDType">
310
+ <xs:all>
311
+ <xs:element name="Poradi" minOccurs="0">
312
+ <xs:simpleType>
313
+ <xs:restriction base="xs:decimal">
314
+ <xs:totalDigits value="11"/>
315
+ <xs:fractionDigits value="0"/>
316
+ </xs:restriction>
317
+ </xs:simpleType>
318
+ </xs:element>
319
+ <xs:element name="Popis" type="popisType" minOccurs="0"/>
320
+ <xs:element name="Zkratka" type="zkratkaType" minOccurs="0"/>
321
+ <xs:element name="Cena" type="castkaType" minOccurs="0"/>
322
+ <xs:element name="CenaTyp" minOccurs="0">
323
+ <xs:simpleType>
324
+ <xs:restriction base="xs:decimal">
325
+ <xs:totalDigits value="1"/>
326
+ <xs:fractionDigits value="0"/>
327
+ </xs:restriction>
328
+ </xs:simpleType>
329
+ </xs:element>
330
+ <xs:element name="SazbaDPH" type="procentoType" minOccurs="0"/>
331
+ <xs:element name="TextMJ" minOccurs="0">
332
+ <xs:simpleType>
333
+ <xs:restriction base="xs:string">
334
+ <xs:maxLength value="10"/>
335
+ </xs:restriction>
336
+ </xs:simpleType>
337
+ </xs:element>
338
+ <xs:element name="PocetMJ" type="mnozstviType" minOccurs="0"/>
339
+ <xs:element name="PrKont" type="zkratkaType" minOccurs="0"/>
340
+ <xs:element name="Cleneni" type="zkratkaType" minOccurs="0"/>
341
+ <xs:element name="Stred" type="zkratkaType" minOccurs="0"/>
342
+ <xs:element name="Zakazka" type="zkratkaType" minOccurs="0"/>
343
+ <xs:element name="Cinnost" type="zkratkaType" minOccurs="0"/>
344
+ <xs:element name="Poznamka" minOccurs="0"/>
345
+ </xs:all>
346
+ </xs:complexType>
347
+ <xs:complexType name="rozuctPolozIDType">
348
+ <xs:all>
349
+ <xs:element name="Popis" type="popisType" minOccurs="0">
350
+ <xs:annotation>
351
+ <xs:documentation>Popis položky Import: ANO Export: ANO </xs:documentation>
352
+ </xs:annotation>
353
+ </xs:element>
354
+ <xs:element name="UcMD" type="ucetType">
355
+ <xs:annotation>
356
+ <xs:documentation>Účet MD Import: ANO Export: ANO </xs:documentation>
357
+ </xs:annotation>
358
+ </xs:element>
359
+ <xs:element name="UcD" type="ucetType">
360
+ <xs:annotation>
361
+ <xs:documentation>Účet Dal Import: ANO Export: ANO </xs:documentation>
362
+ </xs:annotation>
363
+ </xs:element>
364
+ <xs:element name="Castka" type="castkaType">
365
+ <xs:annotation>
366
+ <xs:documentation>Částka položky Import: ANO Export: ANO </xs:documentation>
367
+ </xs:annotation>
368
+ </xs:element>
369
+ <xs:element name="Stred" type="zkratkaType" minOccurs="0">
370
+ <xs:annotation>
371
+ <xs:documentation>Středisko Import: ANO Export: ANO </xs:documentation>
372
+ </xs:annotation>
373
+ </xs:element>
374
+ <xs:element name="Zakazka" type="zkratkaType" minOccurs="0">
375
+ <xs:annotation>
376
+ <xs:documentation>Zakázka Import: ANO Export: ANO </xs:documentation>
377
+ </xs:annotation>
378
+ </xs:element>
379
+ <xs:element name="Cinnost" type="zkratkaType" minOccurs="0">
380
+ <xs:annotation>
381
+ <xs:documentation>Činnost Import: ANO Export: ANO </xs:documentation>
382
+ </xs:annotation>
383
+ </xs:element>
384
+ <xs:element name="ParSym" minOccurs="0">
385
+ <xs:annotation>
386
+ <xs:documentation>Párovací symbol Import: ANO Export: ANO </xs:documentation>
387
+ </xs:annotation>
388
+ <xs:simpleType>
389
+ <xs:restriction base="xs:string">
390
+ <xs:maxLength value="20"/>
391
+ </xs:restriction>
392
+ </xs:simpleType>
393
+ </xs:element>
394
+ <xs:element name="ParICO" minOccurs="0">
395
+ <xs:annotation>
396
+ <xs:documentation>Párovací IČO (pro zaúčtování) Import: ANO Export: ANO </xs:documentation>
397
+ </xs:annotation>
398
+ <xs:simpleType>
399
+ <xs:restriction base="xs:string">
400
+ <xs:maxLength value="10"/>
401
+ </xs:restriction>
402
+ </xs:simpleType>
403
+ </xs:element>
404
+ <xs:element name="Pozn" minOccurs="0">
405
+ <xs:annotation>
406
+ <xs:documentation>Poznámka Import: ANO Export: ANO </xs:documentation>
407
+ </xs:annotation>
408
+ </xs:element>
409
+ <xs:element name="TypCena" type="xs:boolean" minOccurs="0">
410
+ <xs:annotation>
411
+ <xs:documentation>Typ ceny(částka) : 0=základ, 1= DPH Import: ANO Export: ANO </xs:documentation>
412
+ </xs:annotation>
413
+ </xs:element>
414
+ <xs:element name="SazbaDPH" type="procentoType" minOccurs="0">
415
+ <xs:annotation>
416
+ <xs:documentation>Sazba DPH pro částku položky Import: ANO Export: ANO </xs:documentation>
417
+ </xs:annotation>
418
+ </xs:element>
419
+ <xs:element name="Adresa" type="firmaType" minOccurs="0">
420
+ <xs:annotation>
421
+ <xs:documentation>Párovací IČ s vazbou na adresu
422
+ </xs:documentation>
423
+ </xs:annotation>
424
+ </xs:element>
425
+ </xs:all>
426
+ </xs:complexType>
427
+ </xs:schema>
@@ -6,12 +6,15 @@
6
6
  <xs:sequence>
7
7
  <xs:element name="CisloD" type="xs:integer">
8
8
  <xs:annotation>
9
- <xs:documentation>Číslo dokladu v rámci inventury: Import: ANO, Export: ANO</xs:documentation>
9
+ <xs:documentation>Číslo dokladu v rámci inventury
10
+ Import: ANO, Export: ANO</xs:documentation>
10
11
  </xs:annotation>
11
12
  </xs:element>
12
13
  <xs:element name="InvID" type="xs:integer">
13
14
  <xs:annotation>
14
- <xs:documentation>číslo inventury, spolu s CisloID jednoznačný identifikátor: Import: ANO, Export: ANO</xs:documentation>
15
+ <xs:documentation>"Číslo řádku" inventury,
16
+ společně s CisloD jednoznačný identifikátor
17
+ Import: ANO, Export: ANO</xs:documentation>
15
18
  </xs:annotation>
16
19
  </xs:element>
17
20
  <xs:element name="Popis" minOccurs="0">
@@ -56,7 +59,7 @@
56
59
  </xs:sequence>
57
60
  </xs:complexType>
58
61
  <xs:complexType name="polInvDoklType">
59
- <xs:sequence maxOccurs="unbounded">
62
+ <xs:all>
60
63
  <xs:element name="Popis" type="popisType" minOccurs="0">
61
64
  <xs:annotation>
62
65
  <xs:documentation>Název položky Import: ANO, Export: ANO</xs:documentation>
@@ -111,8 +114,8 @@
111
114
  </xs:sequence>
112
115
  </xs:complexType>
113
116
  </xs:element>
114
- <xs:element name="Sklad" type="skladType"/>
115
- <xs:element name="KmKarta" type="kmKartaType">
117
+ <xs:element name="Sklad" type="skladType" minOccurs="0"/>
118
+ <xs:element name="KmKarta" type="kmKartaType" minOccurs="0">
116
119
  <xs:annotation>
117
120
  <xs:documentation>Číslo kmenové karty Import: NE, Export: ANO</xs:documentation>
118
121
  </xs:annotation>
@@ -127,13 +130,13 @@
127
130
  </xs:sequence>
128
131
  </xs:complexType>
129
132
  </xs:element>
130
- </xs:sequence>
133
+ </xs:all>
131
134
  </xs:complexType>
132
135
  <xs:complexType name="subpolInvDType">
133
136
  <xs:annotation>
134
137
  <xs:documentation>Definice složených karet: Import:NE Export:ANO (z definice km.karty)</xs:documentation>
135
138
  </xs:annotation>
136
- <xs:sequence maxOccurs="unbounded">
139
+ <xs:all>
137
140
  <xs:element name="MnSada">
138
141
  <xs:annotation>
139
142
  <xs:documentation>Množství na sadu Export:ANO, Import:NE</xs:documentation>
@@ -145,6 +148,6 @@
145
148
  </xs:simpleType>
146
149
  </xs:element>
147
150
  <xs:element name="Polozka" type="polInvDoklType"/>
148
- </xs:sequence>
151
+ </xs:all>
149
152
  </xs:complexType>
150
153
  </xs:schema>