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,685 @@
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:include schemaLocation="__Zasoba.xsd"/>
6
+ <xs:include schemaLocation="_Report.xsd"/>
7
+ <xs:complexType name="sklDoklType">
8
+ <xs:sequence>
9
+ <xs:element name="CisloDokla" minOccurs="0">
10
+ <xs:annotation>
11
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
12
+ </xs:annotation>
13
+ <xs:simpleType>
14
+ <xs:restriction base="xs:string">
15
+ <xs:maxLength value="10"/>
16
+ </xs:restriction>
17
+ </xs:simpleType>
18
+ </xs:element>
19
+ <xs:element name="EET" type="EETType" minOccurs="0">
20
+ <xs:annotation>
21
+ <xs:documentation>Údaje týkající se EET (pouze prodejky a pouze CZ verze)
22
+
23
+ IMPORT: ANO,
24
+ EXPORT: ANO
25
+ </xs:documentation>
26
+ </xs:annotation>
27
+ </xs:element>
28
+ <xs:element name="ZpusobUctovani" type="xs:byte" minOccurs="0">
29
+ <xs:annotation>
30
+ <xs:documentation>Způsob účtování dokladu:
31
+ 0 = účtování dokladu proběhne podle nastavení v konfiguraci (default)
32
+ 1 = doklad se nezaúčtuje
33
+ IMPORT: ANO, EXPORT: ANO</xs:documentation>
34
+ </xs:annotation>
35
+ </xs:element>
36
+ <xs:element name="CObjednavk" type="xs:string" minOccurs="0">
37
+ <xs:annotation>
38
+ <xs:documentation>Číslo objednávky (pouze DLV, Prodejka) IMPORT:ANO, EXPORT:ANO</xs:documentation>
39
+ </xs:annotation>
40
+ </xs:element>
41
+ <xs:element name="KPFromOdb" type="xs:boolean" minOccurs="0">
42
+ <xs:annotation>
43
+ <xs:documentation>Příznak toho, že se adresa konečného příjemce přebírá z odběratele Import: ANO, Export: ANO</xs:documentation>
44
+ </xs:annotation>
45
+ </xs:element>
46
+ <xs:element name="Datum" type="xs:date" minOccurs="0">
47
+ <xs:annotation>
48
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
49
+ </xs:annotation>
50
+ </xs:element>
51
+ <xs:sequence minOccurs="0">
52
+ <xs:element name="SouhrnDPH" type="souhrnDPHType">
53
+ <xs:annotation>
54
+ <xs:documentation>Doklady v domácí měně: IMPORT: ANO
55
+ EXPORT: ANO</xs:documentation>
56
+ </xs:annotation>
57
+ </xs:element>
58
+ <xs:element name="Celkem" type="castkaType">
59
+ <xs:annotation>
60
+ <xs:documentation>Celkiem s DPH (POUZE EXPORT)</xs:documentation>
61
+ </xs:annotation>
62
+ </xs:element>
63
+ </xs:sequence>
64
+ <xs:element name="DRada" minOccurs="0">
65
+ <xs:annotation>
66
+ <xs:documentation>Zkratka číselné řady Import: ANO, Export: ANO</xs:documentation>
67
+ </xs:annotation>
68
+ <xs:simpleType>
69
+ <xs:restriction base="xs:string">
70
+ <xs:maxLength value="5"/>
71
+ </xs:restriction>
72
+ </xs:simpleType>
73
+ </xs:element>
74
+ <xs:element name="Stredisko" minOccurs="0">
75
+ <xs:annotation>
76
+ <xs:documentation>Středisko Import: ANO, Export: ANO</xs:documentation>
77
+ </xs:annotation>
78
+ <xs:simpleType>
79
+ <xs:restriction base="xs:string">
80
+ <xs:maxLength value="10"/>
81
+ </xs:restriction>
82
+ </xs:simpleType>
83
+ </xs:element>
84
+ <xs:element name="Zakazka" minOccurs="0">
85
+ <xs:annotation>
86
+ <xs:documentation>Zakázka Import: ANO, Export: ANO</xs:documentation>
87
+ </xs:annotation>
88
+ <xs:simpleType>
89
+ <xs:restriction base="xs:string">
90
+ <xs:maxLength value="10"/>
91
+ </xs:restriction>
92
+ </xs:simpleType>
93
+ </xs:element>
94
+ <xs:element name="Cinnost" minOccurs="0">
95
+ <xs:annotation>
96
+ <xs:documentation>Činnost Import: ANO, Export: ANO</xs:documentation>
97
+ </xs:annotation>
98
+ <xs:simpleType>
99
+ <xs:restriction base="xs:string">
100
+ <xs:maxLength value="10"/>
101
+ </xs:restriction>
102
+ </xs:simpleType>
103
+ </xs:element>
104
+ <xs:element name="Popis" minOccurs="0">
105
+ <xs:annotation>
106
+ <xs:documentation>Poznámka Import: ANO, Export: ANO</xs:documentation>
107
+ </xs:annotation>
108
+ </xs:element>
109
+ <xs:element name="Vystavil" minOccurs="0">
110
+ <xs:annotation>
111
+ <xs:documentation>Import: NE, Export: ANO</xs:documentation>
112
+ </xs:annotation>
113
+ <xs:simpleType>
114
+ <xs:restriction base="xs:string">
115
+ <xs:maxLength value="50"/>
116
+ </xs:restriction>
117
+ </xs:simpleType>
118
+ </xs:element>
119
+ <xs:element name="VyrizFaktu" minOccurs="0">
120
+ <xs:annotation>
121
+ <xs:documentation>Import: NE, Export: NE</xs:documentation>
122
+ </xs:annotation>
123
+ <xs:simpleType>
124
+ <xs:restriction base="xs:string">
125
+ <xs:maxLength value="10"/>
126
+ </xs:restriction>
127
+ </xs:simpleType>
128
+ </xs:element>
129
+ <xs:element name="TextPredPo" minOccurs="0">
130
+ <xs:annotation>
131
+ <xs:documentation>Text před položkami Import: ANO, Export: ANO</xs:documentation>
132
+ </xs:annotation>
133
+ </xs:element>
134
+ <xs:element name="TextZaPol" minOccurs="0">
135
+ <xs:annotation>
136
+ <xs:documentation>Text za položkami Import: ANO, Export: ANO</xs:documentation>
137
+ </xs:annotation>
138
+ </xs:element>
139
+ <xs:element name="Nadpis" type="popisType" minOccurs="0">
140
+ <xs:annotation>
141
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
142
+ </xs:annotation>
143
+ </xs:element>
144
+ <xs:element name="ZkratTypuD" type="zkratkaType" minOccurs="0">
145
+ <xs:annotation>
146
+ <xs:documentation>Zkratka typu dokladu Import: ANO, Export: ANO</xs:documentation>
147
+ </xs:annotation>
148
+ </xs:element>
149
+ <xs:element name="PorizCena" type="castkaType" minOccurs="0">
150
+ <xs:annotation>
151
+ <xs:documentation>Import: NE, Export: ANO</xs:documentation>
152
+ </xs:annotation>
153
+ </xs:element>
154
+ <xs:element name="PopisX" type="popisType" minOccurs="0">
155
+ <xs:annotation>
156
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
157
+ </xs:annotation>
158
+ </xs:element>
159
+ <xs:element name="Fiskal" type="xs:boolean" minOccurs="0">
160
+ <xs:annotation>
161
+ <xs:documentation>Příznak toho, že prošlo fiskálem Import: NE, Export: ANO</xs:documentation>
162
+ </xs:annotation>
163
+ </xs:element>
164
+ <xs:element name="FisDoklad" type="cisloType" minOccurs="0">
165
+ <xs:annotation>
166
+ <xs:documentation>Číslo fiskálního dokladu Import: NE, Export: ANO</xs:documentation>
167
+ </xs:annotation>
168
+ </xs:element>
169
+ <xs:element name="DatSkPoh" type="xs:date" minOccurs="0">
170
+ <xs:annotation>
171
+ <xs:documentation>Datum skladového pohybu Import: ANO, Export: ANO</xs:documentation>
172
+ </xs:annotation>
173
+ </xs:element>
174
+ <xs:element name="StatMOSS" minOccurs="0">
175
+ <xs:annotation>
176
+ <xs:documentation>Kód státu MOSS (Mini One Stop Shop). Jen dodací listy vydané, prodejky a výdejky.
177
+ IMPORT: ANO, EXPORT: ANO</xs:documentation>
178
+ </xs:annotation>
179
+ <xs:simpleType>
180
+ <xs:restriction base="xs:string">
181
+ <xs:length value="2"/>
182
+ </xs:restriction>
183
+ </xs:simpleType>
184
+ </xs:element>
185
+ <xs:element name="ZpVypDPH" type="xs:byte" minOccurs="0">
186
+ <xs:annotation>
187
+ <xs:documentation>Způsob výpočtu DPH (1 = matematicky, 2 = koeficient). IMPORT: ANO, EXPORT: ANO</xs:documentation>
188
+ </xs:annotation>
189
+ </xs:element>
190
+ <xs:element name="SazbaDPH1" type="procentoType" minOccurs="0">
191
+ <xs:annotation>
192
+ <xs:documentation>Snížená sazba DPH IMPORT: ANO
193
+ EXPORT: ANO</xs:documentation>
194
+ </xs:annotation>
195
+ </xs:element>
196
+ <xs:element name="SazbaDPH2" type="procentoType" minOccurs="0">
197
+ <xs:annotation>
198
+ <xs:documentation>Základní sazba DPH IMPORT: ANO
199
+ EXPORT: ANO</xs:documentation>
200
+ </xs:annotation>
201
+ </xs:element>
202
+ <xs:element name="PrimDoklad" minOccurs="0">
203
+ <xs:annotation>
204
+ <xs:documentation>Doklad došlý Import: ANO, Export: ANO</xs:documentation>
205
+ </xs:annotation>
206
+ <xs:simpleType>
207
+ <xs:restriction base="xs:string">
208
+ <xs:maxLength value="20"/>
209
+ </xs:restriction>
210
+ </xs:simpleType>
211
+ </xs:element>
212
+ <xs:element name="VarSymbol" minOccurs="0">
213
+ <xs:annotation>
214
+ <xs:documentation>Variabilní symbol Import:ANO, Export:ANO</xs:documentation>
215
+ </xs:annotation>
216
+ <xs:simpleType>
217
+ <xs:restriction base="xs:string">
218
+ <xs:maxLength value="20"/>
219
+ </xs:restriction>
220
+ </xs:simpleType>
221
+ </xs:element>
222
+ <xs:element name="ParSymbol" minOccurs="0">
223
+ <xs:annotation>
224
+ <xs:documentation>Párovací symbol Import: ANO, Export: ANO</xs:documentation>
225
+ </xs:annotation>
226
+ <xs:simpleType>
227
+ <xs:restriction base="xs:string">
228
+ <xs:maxLength value="20"/>
229
+ </xs:restriction>
230
+ </xs:simpleType>
231
+ </xs:element>
232
+ <xs:element name="DodOdb" type="skDokladFirmaType" minOccurs="0"/>
233
+ <xs:element name="KonecPrij" type="konecPrijFirmaType" minOccurs="0"/>
234
+ <xs:element name="TypTransakce" minOccurs="0">
235
+ <xs:annotation>
236
+ <xs:documentation>Hodnota pro Intrastat. Údaj je na hlavičkách i na položkách. </xs:documentation>
237
+ </xs:annotation>
238
+ <xs:simpleType>
239
+ <xs:restriction base="xs:string">
240
+ <xs:length value="2"/>
241
+ <xs:whiteSpace value="replace"/>
242
+ </xs:restriction>
243
+ </xs:simpleType>
244
+ </xs:element>
245
+ <xs:element name="DodaciPodm" minOccurs="0">
246
+ <xs:annotation>
247
+ <xs:documentation>Hodnota pro Intrastat. Údaj je jenom na hlavičkách dokladů.</xs:documentation>
248
+ </xs:annotation>
249
+ <xs:simpleType>
250
+ <xs:restriction base="xs:string">
251
+ <xs:whiteSpace value="replace"/>
252
+ <xs:maxLength value="3"/>
253
+ </xs:restriction>
254
+ </xs:simpleType>
255
+ </xs:element>
256
+ <xs:element name="DruhDopravy" minOccurs="0">
257
+ <xs:annotation>
258
+ <xs:documentation>Hodnota pro Intrastat. Údaj se vyskytuje pouze na hlavičkách dokladů. </xs:documentation>
259
+ </xs:annotation>
260
+ <xs:simpleType>
261
+ <xs:restriction base="xs:string">
262
+ <xs:length value="1"/>
263
+ <xs:whiteSpace value="replace"/>
264
+ </xs:restriction>
265
+ </xs:simpleType>
266
+ </xs:element>
267
+ <xs:element name="StOdeslUrc" minOccurs="0">
268
+ <xs:annotation>
269
+ <xs:documentation>Hodnota pro Intrastat. Při přijetí zboží z jiného členského státu EU se jedná o „Stát odeslání“ (dodací list přijatý, příjemka), při odeslání zboží do jiného členského státu EU se jedná o „Stát určení“ (dodací list vydaný, výdejka, prodejka). Údaj se vyskytuje pouze na hlavičkách dokladů.</xs:documentation>
270
+ </xs:annotation>
271
+ </xs:element>
272
+ <xs:element name="DopravTuz" type="castkaType" minOccurs="0">
273
+ <xs:annotation>
274
+ <xs:documentation>Doprava tuzemsko</xs:documentation>
275
+ </xs:annotation>
276
+ </xs:element>
277
+ <xs:element name="DopravZahr" type="castkaType" minOccurs="0">
278
+ <xs:annotation>
279
+ <xs:documentation>Doprava zahraničí</xs:documentation>
280
+ </xs:annotation>
281
+ </xs:element>
282
+ <xs:element name="DatumITS" type="xs:date" minOccurs="0">
283
+ <xs:annotation>
284
+ <xs:documentation>Datum pro Intrastat</xs:documentation>
285
+ </xs:annotation>
286
+ </xs:element>
287
+ <xs:element name="Sleva" type="castkaType" minOccurs="0">
288
+ <xs:annotation>
289
+ <xs:documentation>Sleva celkem za doklad (pouze u dokladů s položkami) - implicitně 0 IMPORT: NE (případná sleva dokladu musí být zohledněna přímo v cenách položek), EXPORT: ANO</xs:documentation>
290
+ </xs:annotation>
291
+ </xs:element>
292
+ <xs:element name="Valuty" minOccurs="0">
293
+ <xs:annotation>
294
+ <xs:documentation>Doklad v cizí měně
295
+ IMPORT: ANO
296
+ EXPORT: ANO</xs:documentation>
297
+ </xs:annotation>
298
+ <xs:complexType>
299
+ <xs:sequence>
300
+ <xs:element name="Mena" type="menaType">
301
+ <xs:annotation>
302
+ <xs:documentation>Identifikace cizí měny</xs:documentation>
303
+ </xs:annotation>
304
+ </xs:element>
305
+ <xs:element name="SouhrnDPH" type="souhrnDPHType">
306
+ <xs:annotation>
307
+ <xs:documentation>Souhrn DPH
308
+ IMPORT: ANO
309
+ EXPORT: ANO</xs:documentation>
310
+ </xs:annotation>
311
+ </xs:element>
312
+ <xs:element name="Celkem" type="castkaType">
313
+ <xs:annotation>
314
+ <xs:documentation>Celkem s DPH ve valutách (POUZE EXPORT)</xs:documentation>
315
+ </xs:annotation>
316
+ </xs:element>
317
+ </xs:sequence>
318
+ </xs:complexType>
319
+ </xs:element>
320
+ <xs:element name="iDokladID" minOccurs="0">
321
+ <xs:annotation>
322
+ <xs:documentation>Pouze pro interní potřebu (iDoklad)</xs:documentation>
323
+ </xs:annotation>
324
+ </xs:element>
325
+ <xs:element name="iDoklAgend" minOccurs="0">
326
+ <xs:annotation>
327
+ <xs:documentation>Pouze pro interní potřebu (iDoklad)</xs:documentation>
328
+ </xs:annotation>
329
+ </xs:element>
330
+ <xs:element name="Import" minOccurs="0">
331
+ <xs:annotation>
332
+ <xs:documentation>Přesměrování importované prodejky do Reportu. Pouze pro interní potřebu (iDoklad).</xs:documentation>
333
+ </xs:annotation>
334
+ <xs:complexType>
335
+ <xs:complexContent>
336
+ <xs:extension base="messageType">
337
+ <xs:sequence minOccurs="0">
338
+ <xs:element name="DodOdb" type="msgFirmaType" minOccurs="0"/>
339
+ <xs:element name="KonecPrij" type="msgFirmaType" minOccurs="0"/>
340
+ <xs:element name="Polozka" type="msgPolozType" minOccurs="0" maxOccurs="unbounded"/>
341
+ <xs:element name="NepPlatba" type="messageType" minOccurs="0" maxOccurs="unbounded">
342
+ <xs:annotation>
343
+ <xs:documentation>Nepeněžní platidla na prodejce</xs:documentation>
344
+ </xs:annotation>
345
+ </xs:element>
346
+ </xs:sequence>
347
+ <xs:attribute name="Exported" type="xs:boolean" use="optional">
348
+ <xs:annotation>
349
+ <xs:documentation>Atribut informující o tom, zda se má provést odeslání příznaku Exported do iDokladu. Používá se pouze pro interní potřebu při komunikaci s iDokladem.</xs:documentation>
350
+ </xs:annotation>
351
+ </xs:attribute>
352
+ </xs:extension>
353
+ </xs:complexContent>
354
+ </xs:complexType>
355
+ </xs:element>
356
+ <xs:element name="SkladProPr" type="skladType" minOccurs="0">
357
+ <xs:annotation>
358
+ <xs:documentation>Sklad pro převod Tento tag je zde pro případ, že by se implemetovaly převodky Import: Ne Export: NE </xs:documentation>
359
+ </xs:annotation>
360
+ </xs:element>
361
+ <xs:element name="Polozka" type="polSklDoklType" minOccurs="0" maxOccurs="unbounded"/>
362
+ <xs:element name="MojeFirma" type="mojeFirmaType" minOccurs="0">
363
+ <xs:annotation>
364
+ <xs:documentation>Import: NE, Export: ANO</xs:documentation>
365
+ </xs:annotation>
366
+ </xs:element>
367
+ <xs:element name="SeznamNepPlateb" minOccurs="0">
368
+ <xs:annotation>
369
+ <xs:documentation>Seznam nepeněžních plateb na prodejkách
370
+ Import: ANO, Export ANO</xs:documentation>
371
+ </xs:annotation>
372
+ <xs:complexType>
373
+ <xs:sequence>
374
+ <xs:element name="NepPlatba" type="nepPlatbaType" minOccurs="0" maxOccurs="unbounded"/>
375
+ </xs:sequence>
376
+ </xs:complexType>
377
+ </xs:element>
378
+ <xs:element name="Vlajky" minOccurs="0">
379
+ <xs:complexType>
380
+ <xs:sequence>
381
+ <xs:element name="Global" type="VlajkaType" minOccurs="0"/>
382
+ <xs:element name="User" type="VlajkaType" minOccurs="0"/>
383
+ </xs:sequence>
384
+ </xs:complexType>
385
+ </xs:element>
386
+ <xs:element name="Dokumenty" minOccurs="0">
387
+ <xs:annotation>
388
+ <xs:documentation>Seznam připojených dokumentů
389
+ IMPORT: ANO
390
+ EXPORT: NE</xs:documentation>
391
+ </xs:annotation>
392
+ <xs:complexType>
393
+ <xs:sequence>
394
+ <xs:element name="Dokument" type="xs:string" maxOccurs="unbounded">
395
+ <xs:annotation>
396
+ <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>
397
+ </xs:annotation>
398
+ </xs:element>
399
+ </xs:sequence>
400
+ </xs:complexType>
401
+ </xs:element>
402
+ <xs:element name="UzivatelskaPole" type="uzivatelskePoleType" minOccurs="0">
403
+ <xs:annotation>
404
+ <xs:documentation>Seznam uživatelských polí
405
+ IMPORT: ANO
406
+ EXPORT: ANO</xs:documentation>
407
+ </xs:annotation>
408
+ </xs:element>
409
+ </xs:sequence>
410
+ </xs:complexType>
411
+ <xs:complexType name="polSklDoklType">
412
+ <xs:all>
413
+ <xs:element name="Nazev" type="popisType" minOccurs="0">
414
+ <xs:annotation>
415
+ <xs:documentation>Název položky Import: ANO, Export: ANO</xs:documentation>
416
+ </xs:annotation>
417
+ </xs:element>
418
+ <xs:element name="PocetMJ" type="mnozstviType" minOccurs="0">
419
+ <xs:annotation>
420
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
421
+ </xs:annotation>
422
+ </xs:element>
423
+ <xs:element name="Cena" type="castkaType" minOccurs="0">
424
+ <xs:annotation>
425
+ <xs:documentation>Příjmové doklady: nákupní cena. Výdajové doklady: dodací list a prodejka - prodejní cena, výdejka -implicitně rovná pořizovací ceně.</xs:documentation>
426
+ </xs:annotation>
427
+ </xs:element>
428
+ <xs:element name="Valuty" type="castkaType" minOccurs="0">
429
+ <xs:annotation>
430
+ <xs:documentation>částka v cizí měně</xs:documentation>
431
+ </xs:annotation>
432
+ </xs:element>
433
+ <xs:element name="DPH" type="procentoType" minOccurs="0">
434
+ <xs:annotation>
435
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
436
+ </xs:annotation>
437
+ </xs:element>
438
+ <xs:element name="CenaTyp" minOccurs="0">
439
+ <xs:annotation>
440
+ <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
441
+ </xs:annotation>
442
+ <xs:simpleType>
443
+ <xs:restriction base="xs:decimal">
444
+ <xs:totalDigits value="3"/>
445
+ <xs:fractionDigits value="0"/>
446
+ </xs:restriction>
447
+ </xs:simpleType>
448
+ </xs:element>
449
+ <xs:element name="Sleva" type="castkaType" minOccurs="0">
450
+ <xs:annotation>
451
+ <xs:documentation>Sleva na položku</xs:documentation>
452
+ </xs:annotation>
453
+ </xs:element>
454
+ <xs:element name="Cinnost" minOccurs="0">
455
+ <xs:annotation>
456
+ <xs:documentation>Činnost Import: ANO, Export: ANO</xs:documentation>
457
+ </xs:annotation>
458
+ <xs:simpleType>
459
+ <xs:restriction base="xs:string">
460
+ <xs:maxLength value="10"/>
461
+ </xs:restriction>
462
+ </xs:simpleType>
463
+ </xs:element>
464
+ <xs:element name="Zakazka" minOccurs="0">
465
+ <xs:annotation>
466
+ <xs:documentation>Zakázka Import: ANO, Export: ANO</xs:documentation>
467
+ </xs:annotation>
468
+ <xs:simpleType>
469
+ <xs:restriction base="xs:string">
470
+ <xs:maxLength value="10"/>
471
+ </xs:restriction>
472
+ </xs:simpleType>
473
+ </xs:element>
474
+ <xs:element name="Stredisko" minOccurs="0">
475
+ <xs:annotation>
476
+ <xs:documentation>Středisko Import: ANO, Export: ANO</xs:documentation>
477
+ </xs:annotation>
478
+ <xs:simpleType>
479
+ <xs:restriction base="xs:string">
480
+ <xs:maxLength value="10"/>
481
+ </xs:restriction>
482
+ </xs:simpleType>
483
+ </xs:element>
484
+ <xs:element name="CenovaHlad" type="zkratkaType" minOccurs="0">
485
+ <xs:annotation>
486
+ <xs:documentation>Cenová hladina Import: ANO, Export: ANO</xs:documentation>
487
+ </xs:annotation>
488
+ </xs:element>
489
+ <xs:element name="Poznamka" minOccurs="0">
490
+ <xs:annotation>
491
+ <xs:documentation>Poznámka Import: ANO, Export: ANO</xs:documentation>
492
+ </xs:annotation>
493
+ </xs:element>
494
+ <xs:element name="Vratka" type="xs:boolean" minOccurs="0">
495
+ <xs:annotation>
496
+ <xs:documentation>Příznak vratky Import: ANO, Export: ANO</xs:documentation>
497
+ </xs:annotation>
498
+ </xs:element>
499
+ <xs:element name="UcetMD" type="ucetType" minOccurs="0">
500
+ <xs:annotation>
501
+ <xs:documentation>Účet má dáti Import: ANO, Export: ANO</xs:documentation>
502
+ </xs:annotation>
503
+ </xs:element>
504
+ <xs:element name="UcetD" type="ucetType" minOccurs="0">
505
+ <xs:annotation>
506
+ <xs:documentation>Účet dal Import: ANO, Export: ANO</xs:documentation>
507
+ </xs:annotation>
508
+ </xs:element>
509
+ <xs:element name="KodStatuPuv" minOccurs="0">
510
+ <xs:annotation>
511
+ <xs:documentation>Údaj pro Intrastat. Vyskytuje se jen na položkách. Pokud není zadán, přebírá se z km. karty.</xs:documentation>
512
+ </xs:annotation>
513
+ <xs:simpleType>
514
+ <xs:restriction base="xs:string">
515
+ <xs:length value="2"/>
516
+ <xs:whiteSpace value="replace"/>
517
+ </xs:restriction>
518
+ </xs:simpleType>
519
+ </xs:element>
520
+ <xs:element name="TypTransakce" minOccurs="0">
521
+ <xs:annotation>
522
+ <xs:documentation>Hodnota pro Intrastat. Údaj je na hlavičkách i na položkách. </xs:documentation>
523
+ </xs:annotation>
524
+ <xs:simpleType>
525
+ <xs:restriction base="xs:string">
526
+ <xs:length value="2"/>
527
+ <xs:whiteSpace value="replace"/>
528
+ </xs:restriction>
529
+ </xs:simpleType>
530
+ </xs:element>
531
+ <xs:element name="Hmotnost" minOccurs="0">
532
+ <xs:annotation>
533
+ <xs:documentation>Hodnota pro Intrastat. Údaj se vyskytuje jenom na položkách. </xs:documentation>
534
+ </xs:annotation>
535
+ <xs:simpleType>
536
+ <xs:restriction base="xs:float"/>
537
+ </xs:simpleType>
538
+ </xs:element>
539
+ <xs:element name="PorizCena" minOccurs="0">
540
+ <xs:annotation>
541
+ <xs:documentation>Pořizovací cena: Pro výdejové doklady (výdejka, vyst.dod.list a prodejka) je ignorována: a) při importu určuje pořizovací cenu sklad Money b) při exportu se neexportuje, viz. též proměnná "Cena" </xs:documentation>
542
+ </xs:annotation>
543
+ </xs:element>
544
+ <xs:element name="ZvlRezim" type="xs:byte" minOccurs="0">
545
+ <xs:annotation>
546
+ <xs:documentation>Zvláštní režim DPH:
547
+ 0 = neurčeno
548
+ 1 = použité zboží
549
+ 2 = umělecké dílo
550
+ 3 = sběratelský předmět, starožitnost
551
+ 4 = cestovní služba IMPORT: ANO, EXPORT: ANO</xs:documentation>
552
+ </xs:annotation>
553
+ </xs:element>
554
+ <xs:element name="ZvlDPH" type="procentoType" minOccurs="0">
555
+ <xs:annotation>
556
+ <xs:documentation>Sazba DPH pro zvláštní režim
557
+ IMPORT: ANO, EXPORT: ANO</xs:documentation>
558
+ </xs:annotation>
559
+ </xs:element>
560
+ <xs:element name="RezimEET" type="xs:byte" minOccurs="0">
561
+ <xs:annotation>
562
+ <xs:documentation>Režim EET:
563
+ 0 = neurčeno
564
+ 1 = poukaz
565
+ 2 = vratná záloha
566
+ IMPORT: ANO, EXPORT: ANO</xs:documentation>
567
+ </xs:annotation>
568
+ </xs:element>
569
+ <xs:element name="CenaPoSleve" type="xs:boolean" minOccurs="0">
570
+ <xs:annotation>
571
+ <xs:documentation>Indikace, zda se jedná o cenu po slevě</xs:documentation>
572
+ </xs:annotation>
573
+ </xs:element>
574
+ <xs:element name="SeznamVC" minOccurs="0">
575
+ <xs:annotation>
576
+ <xs:documentation>Seznam výrobních čísel Import: ANO, Export: ANO</xs:documentation>
577
+ </xs:annotation>
578
+ <xs:complexType>
579
+ <xs:sequence>
580
+ <xs:element name="VyrobniCislo" type="vyrobniCisloType" maxOccurs="unbounded"/>
581
+ </xs:sequence>
582
+ </xs:complexType>
583
+ </xs:element>
584
+ <xs:element name="SeznamDodavek" minOccurs="0">
585
+ <xs:annotation>
586
+ <xs:documentation>U prijmu muze obsahovat 1 element Dodavka. Export (podle konfigurace) a import elementu Oznaceni (označení dodávky) a DatExp (datum exspirace).
587
+ U vydeje se volitelne (podle nastaveni v konfiguraci) muze exportovat seznam dodavek, ze kterych byl vydej odepsany. Kazda dodavka obsahuje Oznaceni, DatExp, PocetMJ (mnozstvi odepsane z teto dodavky) a Cena (cena z dodavky). Pokud je vydej odepsany z jedne dodavky, nemusi byt obsazen PocetMJ ani Cena.
588
+ U VYDEJU SE DODAVKY NEIMPORTUJI!!!</xs:documentation>
589
+ </xs:annotation>
590
+ <xs:complexType>
591
+ <xs:sequence>
592
+ <xs:element name="Dodavka" type="dodavkaType" maxOccurs="unbounded"/>
593
+ </xs:sequence>
594
+ </xs:complexType>
595
+ </xs:element>
596
+ <xs:element name="Sklad" type="skladType" minOccurs="0"/>
597
+ <xs:element name="KmKarta" type="kmKartaType" minOccurs="0"/>
598
+ <xs:element name="Slozeni" minOccurs="0">
599
+ <xs:complexType>
600
+ <xs:sequence>
601
+ <xs:element name="SubPolozka" type="defSubPolType" maxOccurs="unbounded"/>
602
+ </xs:sequence>
603
+ </xs:complexType>
604
+ </xs:element>
605
+ <xs:element name="UzivatelskaPole" type="uzivatelskePoleType" minOccurs="0">
606
+ <xs:annotation>
607
+ <xs:documentation>Seznam uživatelských polí
608
+ IMPORT: ANO
609
+ EXPORT: ANO</xs:documentation>
610
+ </xs:annotation>
611
+ </xs:element>
612
+ </xs:all>
613
+ </xs:complexType>
614
+ <xs:complexType name="defSubPolType">
615
+ <xs:sequence>
616
+ <xs:element name="MJNaSadu">
617
+ <xs:simpleType>
618
+ <xs:restriction base="mnozstviType">
619
+ <xs:minExclusive value="0"/>
620
+ </xs:restriction>
621
+ </xs:simpleType>
622
+ </xs:element>
623
+ <xs:element name="Polozka" type="polSklDoklType"/>
624
+ </xs:sequence>
625
+ </xs:complexType>
626
+ <xs:complexType name="nepPlatidloType">
627
+ <xs:all>
628
+ <xs:element name="Kod">
629
+ <xs:annotation>
630
+ <xs:documentation>Kód nepeněžního platidla
631
+ Import: ANO (pouze existující), Export ANO</xs:documentation>
632
+ </xs:annotation>
633
+ <xs:simpleType>
634
+ <xs:restriction base="xs:string">
635
+ <xs:maxLength value="10"/>
636
+ </xs:restriction>
637
+ </xs:simpleType>
638
+ </xs:element>
639
+ <xs:element name="Popis" minOccurs="0">
640
+ <xs:annotation>
641
+ <xs:documentation>Popis nepeněžního platidla
642
+ Import: NE, Export ANO</xs:documentation>
643
+ </xs:annotation>
644
+ <xs:simpleType>
645
+ <xs:restriction base="xs:string">
646
+ <xs:maxLength value="50"/>
647
+ </xs:restriction>
648
+ </xs:simpleType>
649
+ </xs:element>
650
+ <xs:element name="VarSymb" minOccurs="0">
651
+ <xs:annotation>
652
+ <xs:documentation>Variabilní symbol, který byl určen vystavitelem platidla (např. u platebních karet se jedná o variabilní symbol, pod kterým jsou evidovány kreditní pohyby z těchto plateb na bankovním účtu).
653
+ Import: NE, Export ANO</xs:documentation>
654
+ </xs:annotation>
655
+ <xs:simpleType>
656
+ <xs:restriction base="xs:string">
657
+ <xs:maxLength value="20"/>
658
+ </xs:restriction>
659
+ </xs:simpleType>
660
+ </xs:element>
661
+ </xs:all>
662
+ </xs:complexType>
663
+ <xs:complexType name="nepPlatbaType">
664
+ <xs:all>
665
+ <xs:element name="Platidlo" type="nepPlatidloType" minOccurs="0">
666
+ <xs:annotation>
667
+ <xs:documentation>Identifikace nepeněžního platidla. Není-li uvedeno, jedná se o hotovost.
668
+ Import: ANO, Export ANO</xs:documentation>
669
+ </xs:annotation>
670
+ </xs:element>
671
+ <xs:element name="MnozstviMJ" minOccurs="0">
672
+ <xs:annotation>
673
+ <xs:documentation>Počet měrných jednotek nepeněžního platidla na prodejce
674
+ Import: ANO (pouze je-li uvedeno Platidlo - nehotovostní platba), Export ANO</xs:documentation>
675
+ </xs:annotation>
676
+ </xs:element>
677
+ <xs:element name="Castka" minOccurs="0">
678
+ <xs:annotation>
679
+ <xs:documentation>Celková peněžní částka platidla v domácí měně
680
+ Import: ANO (pouze při hotovostní platbě), Export ANO</xs:documentation>
681
+ </xs:annotation>
682
+ </xs:element>
683
+ </xs:all>
684
+ </xs:complexType>
685
+ </xs:schema>