money_xml_validator 0.0.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -1,397 +0,0 @@
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="Popis" type="popisType" minOccurs="0">
35
- <xs:annotation>
36
- <xs:documentation>Popis Import: ANO Export: ANO</xs:documentation>
37
- </xs:annotation>
38
- </xs:element>
39
- <xs:element name="DatUcPr" type="xs:date" minOccurs="0">
40
- <xs:annotation>
41
- <xs:documentation>Datum účetního případu Import: ANO Export: ANO</xs:documentation>
42
- </xs:annotation>
43
- </xs:element>
44
- <xs:element name="DatPln" type="xs:date" minOccurs="0">
45
- <xs:annotation>
46
- <xs:documentation>Datum zdanitelného plnění Import: ANO Export: ANO</xs:documentation>
47
- </xs:annotation>
48
- </xs:element>
49
- <xs:element name="DatUplDPH" type="xs:date" minOccurs="0">
50
- <xs:annotation>
51
- <xs:documentation>Datum uplatnění DPH (pouze CZ verze)
52
- Import: ANO Export: ANO</xs:documentation>
53
- </xs:annotation>
54
- </xs:element>
55
- <xs:element name="DatumKV" type="xs:date" minOccurs="0">
56
- <xs:annotation>
57
- <xs:documentation>Datum vstupu do KV (pouze SK verze)
58
- Import: ANO Export: ANO</xs:documentation>
59
- </xs:annotation>
60
- </xs:element>
61
- <xs:element name="CisloZapoc">
62
- <xs:annotation>
63
- <xs:documentation>Číslo vzájemného zápočtu, který je tvořen mj. i tímto dokladem. IMPORT: ANO, EXPORT: ANO</xs:documentation>
64
- </xs:annotation>
65
- </xs:element>
66
- <xs:element name="PrijatDokl" minOccurs="0">
67
- <xs:annotation>
68
- <xs:documentation>Číslo přijatého dokladu</xs:documentation>
69
- </xs:annotation>
70
- <xs:simpleType>
71
- <xs:restriction base="xs:string">
72
- <xs:maxLength value="50"/>
73
- </xs:restriction>
74
- </xs:simpleType>
75
- </xs:element>
76
- <xs:element name="VarSym" minOccurs="0">
77
- <xs:annotation>
78
- <xs:documentation>Variabilní szmbol Import: ANO Export: ANO</xs:documentation>
79
- </xs:annotation>
80
- <xs:simpleType>
81
- <xs:restriction base="xs:string">
82
- <xs:maxLength value="20"/>
83
- </xs:restriction>
84
- </xs:simpleType>
85
- </xs:element>
86
- <xs:element name="ParSym" minOccurs="0">
87
- <xs:annotation>
88
- <xs:documentation>Párovací symbol Import: ANO Export: ANO</xs:documentation>
89
- </xs:annotation>
90
- <xs:simpleType>
91
- <xs:restriction base="xs:string">
92
- <xs:maxLength value="20"/>
93
- </xs:restriction>
94
- </xs:simpleType>
95
- </xs:element>
96
- <xs:element name="Adresa" type="dokladFirmaType" minOccurs="0">
97
- <xs:annotation>
98
- <xs:documentation>Adresát dokladu Import: ANO Export: ANO</xs:documentation>
99
- </xs:annotation>
100
- </xs:element>
101
- <xs:element name="PrKont" type="zkratkaType" minOccurs="0">
102
- <xs:annotation>
103
- <xs:documentation>zatím neřešeno</xs:documentation>
104
- </xs:annotation>
105
- </xs:element>
106
- <xs:element name="Cleneni" type="zkratkaType" minOccurs="0">
107
- <xs:annotation>
108
- <xs:documentation>Členění DPH Import: ANO Export: ANO</xs:documentation>
109
- </xs:annotation>
110
- </xs:element>
111
- <xs:element name="Stred" type="zkratkaType" minOccurs="0">
112
- <xs:annotation>
113
- <xs:documentation>Středisko Import: ANO Export: ANO</xs:documentation>
114
- </xs:annotation>
115
- </xs:element>
116
- <xs:element name="Zakazka" type="zkratkaType" minOccurs="0">
117
- <xs:annotation>
118
- <xs:documentation>Zakázka Import: ANO Export: ANO</xs:documentation>
119
- </xs:annotation>
120
- </xs:element>
121
- <xs:element name="Cinnost" type="zkratkaType" minOccurs="0">
122
- <xs:annotation>
123
- <xs:documentation>Činnost Import: ANO Export: ANO</xs:documentation>
124
- </xs:annotation>
125
- </xs:element>
126
- <xs:element name="Vyroba" type="castkaType" minOccurs="0">
127
- <xs:annotation>
128
- <xs:documentation>Pro potřeby modulu Výroba</xs:documentation>
129
- </xs:annotation>
130
- </xs:element>
131
- <xs:element name="StatMOSS" minOccurs="0">
132
- <xs:annotation>
133
- <xs:documentation>Kód státu MOSS (Mini One Stop Shop).
134
- IMPORT: ANO, EXPORT: ANO</xs:documentation>
135
- </xs:annotation>
136
- <xs:simpleType>
137
- <xs:restriction base="xs:string">
138
- <xs:length value="2"/>
139
- </xs:restriction>
140
- </xs:simpleType>
141
- </xs:element>
142
- <xs:element name="SSazba" type="procentoType" minOccurs="0">
143
- <xs:annotation>
144
- <xs:documentation>Snížená sazba DPH IMPORT: ANO
145
- EXPORT: ANO</xs:documentation>
146
- </xs:annotation>
147
- </xs:element>
148
- <xs:element name="ZSazba" type="procentoType" minOccurs="0">
149
- <xs:annotation>
150
- <xs:documentation>Základní sazba DPH IMPORT: ANO
151
- EXPORT: ANO</xs:documentation>
152
- </xs:annotation>
153
- </xs:element>
154
- <xs:sequence minOccurs="0">
155
- <xs:element name="SouhrnDPH" type="souhrnDPHType">
156
- <xs:annotation>
157
- <xs:documentation>Doklady v domácí měně: IMPORT: ANO
158
- EXPORT: ANO</xs:documentation>
159
- </xs:annotation>
160
- </xs:element>
161
- <xs:element name="Celkem" type="castkaType">
162
- <xs:annotation>
163
- <xs:documentation>Celkiem s DPH (POUZE EXPORT)</xs:documentation>
164
- </xs:annotation>
165
- </xs:element>
166
- </xs:sequence>
167
- <xs:element name="Valuty" minOccurs="0">
168
- <xs:annotation>
169
- <xs:documentation>Doklad v cizí měně
170
- IMPORT: ANO
171
- EXPORT: ANO</xs:documentation>
172
- </xs:annotation>
173
- <xs:complexType>
174
- <xs:sequence>
175
- <xs:element name="Mena" type="menaType">
176
- <xs:annotation>
177
- <xs:documentation>Identifikace cizí měny</xs:documentation>
178
- </xs:annotation>
179
- </xs:element>
180
- <xs:element name="SouhrnDPH" type="souhrnDPHType">
181
- <xs:annotation>
182
- <xs:documentation>Souhrn DPH
183
- IMPORT: ANO
184
- EXPORT: ANO</xs:documentation>
185
- </xs:annotation>
186
- </xs:element>
187
- <xs:element name="Celkem" type="castkaType">
188
- <xs:annotation>
189
- <xs:documentation>Celkem s DPH ve valutách (POUZE EXPORT)</xs:documentation>
190
- </xs:annotation>
191
- </xs:element>
192
- </xs:sequence>
193
- </xs:complexType>
194
- </xs:element>
195
- <xs:element name="Pozn" minOccurs="0">
196
- <xs:annotation>
197
- <xs:documentation>Poznámka Import: ANO Export: ANO </xs:documentation>
198
- </xs:annotation>
199
- </xs:element>
200
- <xs:element name="DRada" minOccurs="0">
201
- <xs:annotation>
202
- <xs:documentation>Číselná řada - prefix Import: ANO Export: ANO </xs:documentation>
203
- </xs:annotation>
204
- <xs:simpleType>
205
- <xs:restriction base="xs:string">
206
- <xs:maxLength value="5"/>
207
- </xs:restriction>
208
- </xs:simpleType>
209
- </xs:element>
210
- <xs:element name="DCislo" minOccurs="0">
211
- <xs:annotation>
212
- <xs:documentation>Čítač číselné řady Import: NE Export: ANO </xs:documentation>
213
- </xs:annotation>
214
- <xs:simpleType>
215
- <xs:restriction base="xs:decimal">
216
- <xs:totalDigits value="11"/>
217
- <xs:fractionDigits value="0"/>
218
- </xs:restriction>
219
- </xs:simpleType>
220
- </xs:element>
221
- <xs:element name="Vyst" minOccurs="0">
222
- <xs:annotation>
223
- <xs:documentation>Uživatel, který vystavil doklad Import: ANO Export: ANO </xs:documentation>
224
- </xs:annotation>
225
- <xs:simpleType>
226
- <xs:restriction base="xs:string">
227
- <xs:maxLength value="50"/>
228
- </xs:restriction>
229
- </xs:simpleType>
230
- </xs:element>
231
- <xs:element name="Rezim" type="xs:boolean" minOccurs="0"/>
232
- <xs:element name="KorekceCen" type="xs:boolean" minOccurs="0">
233
- <xs:annotation>
234
- <xs:documentation>neřešeno</xs:documentation>
235
- </xs:annotation>
236
- </xs:element>
237
- <xs:element name="TypDokl" minOccurs="0">
238
- <xs:annotation>
239
- <xs:documentation>Zkratka typu dokladu Import: ANO Export: ANO </xs:documentation>
240
- </xs:annotation>
241
- <xs:simpleType>
242
- <xs:restriction base="xs:string">
243
- <xs:maxLength value="10"/>
244
- </xs:restriction>
245
- </xs:simpleType>
246
- </xs:element>
247
- <xs:choice minOccurs="0">
248
- <xs:element name="RozuctPolozka" type="rozuctPolozIDType" maxOccurs="unbounded">
249
- <xs:annotation>
250
- <xs:documentation>Rozúčtovací položky dokladu Import: ANO Export: ANO </xs:documentation>
251
- </xs:annotation>
252
- </xs:element>
253
- <xs:element name="NormPolozka" type="normPolozIDType" maxOccurs="unbounded">
254
- <xs:annotation>
255
- <xs:documentation>neřešeno</xs:documentation>
256
- </xs:annotation>
257
- </xs:element>
258
- </xs:choice>
259
- <xs:element name="Vlajky" minOccurs="0">
260
- <xs:complexType>
261
- <xs:sequence>
262
- <xs:element name="Global" type="VlajkaType" minOccurs="0"/>
263
- <xs:element name="User" type="VlajkaType" minOccurs="0"/>
264
- </xs:sequence>
265
- </xs:complexType>
266
- </xs:element>
267
- <xs:element name="Dokumenty" minOccurs="0">
268
- <xs:annotation>
269
- <xs:documentation>Seznam připojených dokumentů
270
- IMPORT: ANO
271
- EXPORT: NE</xs:documentation>
272
- </xs:annotation>
273
- <xs:complexType>
274
- <xs:sequence>
275
- <xs:element name="Dokument" type="xs:string" maxOccurs="unbounded">
276
- <xs:annotation>
277
- <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>
278
- </xs:annotation>
279
- </xs:element>
280
- </xs:sequence>
281
- </xs:complexType>
282
- </xs:element>
283
- </xs:sequence>
284
- </xs:complexType>
285
- <xs:complexType name="normPolozIDType">
286
- <xs:sequence>
287
- <xs:element name="Poradi" minOccurs="0">
288
- <xs:simpleType>
289
- <xs:restriction base="xs:decimal">
290
- <xs:totalDigits value="11"/>
291
- <xs:fractionDigits value="0"/>
292
- </xs:restriction>
293
- </xs:simpleType>
294
- </xs:element>
295
- <xs:element name="Popis" type="popisType" minOccurs="0"/>
296
- <xs:element name="Zkratka" type="zkratkaType" minOccurs="0"/>
297
- <xs:element name="Cena" type="castkaType" minOccurs="0"/>
298
- <xs:element name="CenaTyp" minOccurs="0">
299
- <xs:simpleType>
300
- <xs:restriction base="xs:decimal">
301
- <xs:totalDigits value="1"/>
302
- <xs:fractionDigits value="0"/>
303
- </xs:restriction>
304
- </xs:simpleType>
305
- </xs:element>
306
- <xs:element name="SazbaDPH" type="procentoType" minOccurs="0"/>
307
- <xs:element name="TextMJ" minOccurs="0">
308
- <xs:simpleType>
309
- <xs:restriction base="xs:string">
310
- <xs:maxLength value="10"/>
311
- </xs:restriction>
312
- </xs:simpleType>
313
- </xs:element>
314
- <xs:element name="PocetMJ" type="mnozstviType" minOccurs="0"/>
315
- <xs:element name="PrKont" type="zkratkaType" minOccurs="0"/>
316
- <xs:element name="Cleneni" type="zkratkaType" minOccurs="0"/>
317
- <xs:element name="Stred" type="zkratkaType" minOccurs="0"/>
318
- <xs:element name="Zakazka" type="zkratkaType" minOccurs="0"/>
319
- <xs:element name="Cinnost" type="zkratkaType" minOccurs="0"/>
320
- <xs:element name="Poznamka" minOccurs="0"/>
321
- </xs:sequence>
322
- </xs:complexType>
323
- <xs:complexType name="rozuctPolozIDType">
324
- <xs:sequence>
325
- <xs:element name="Popis" type="popisType" minOccurs="0">
326
- <xs:annotation>
327
- <xs:documentation>Popis položky Import: ANO Export: ANO </xs:documentation>
328
- </xs:annotation>
329
- </xs:element>
330
- <xs:element name="UcMD" type="ucetType">
331
- <xs:annotation>
332
- <xs:documentation>Účet MD Import: ANO Export: ANO </xs:documentation>
333
- </xs:annotation>
334
- </xs:element>
335
- <xs:element name="UcD" type="ucetType">
336
- <xs:annotation>
337
- <xs:documentation>Účet Dal Import: ANO Export: ANO </xs:documentation>
338
- </xs:annotation>
339
- </xs:element>
340
- <xs:element name="Castka" type="castkaType">
341
- <xs:annotation>
342
- <xs:documentation>Částka položky Import: ANO Export: ANO </xs:documentation>
343
- </xs:annotation>
344
- </xs:element>
345
- <xs:element name="Stred" type="zkratkaType" minOccurs="0">
346
- <xs:annotation>
347
- <xs:documentation>Středisko Import: ANO Export: ANO </xs:documentation>
348
- </xs:annotation>
349
- </xs:element>
350
- <xs:element name="Zakazka" type="zkratkaType" minOccurs="0">
351
- <xs:annotation>
352
- <xs:documentation>Zakázka Import: ANO Export: ANO </xs:documentation>
353
- </xs:annotation>
354
- </xs:element>
355
- <xs:element name="Cinnost" type="zkratkaType" minOccurs="0">
356
- <xs:annotation>
357
- <xs:documentation>Činnost Import: ANO Export: ANO </xs:documentation>
358
- </xs:annotation>
359
- </xs:element>
360
- <xs:element name="ParSym" minOccurs="0">
361
- <xs:annotation>
362
- <xs:documentation>Párovací symbol Import: ANO Export: ANO </xs:documentation>
363
- </xs:annotation>
364
- <xs:simpleType>
365
- <xs:restriction base="xs:string">
366
- <xs:maxLength value="20"/>
367
- </xs:restriction>
368
- </xs:simpleType>
369
- </xs:element>
370
- <xs:element name="ParICO" minOccurs="0">
371
- <xs:annotation>
372
- <xs:documentation>Párovací IČO (pro zaúčtování) Import: ANO Export: ANO </xs:documentation>
373
- </xs:annotation>
374
- <xs:simpleType>
375
- <xs:restriction base="xs:string">
376
- <xs:maxLength value="10"/>
377
- </xs:restriction>
378
- </xs:simpleType>
379
- </xs:element>
380
- <xs:element name="Pozn" minOccurs="0">
381
- <xs:annotation>
382
- <xs:documentation>Poznámka Import: ANO Export: ANO </xs:documentation>
383
- </xs:annotation>
384
- </xs:element>
385
- <xs:element name="TypCena" type="xs:boolean" minOccurs="0">
386
- <xs:annotation>
387
- <xs:documentation>Typ ceny(částka) : 0=základ, 1= DPH Import: ANO Export: ANO </xs:documentation>
388
- </xs:annotation>
389
- </xs:element>
390
- <xs:element name="SazbaDPH" type="procentoType" minOccurs="0">
391
- <xs:annotation>
392
- <xs:documentation>Sazba DPH pro částku položky Import: ANO Export: ANO </xs:documentation>
393
- </xs:annotation>
394
- </xs:element>
395
- </xs:sequence>
396
- </xs:complexType>
397
- </xs:schema>
@@ -1,865 +0,0 @@
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="__Firma.xsd"/>
4
- <xs:include schemaLocation="__Zasoba.xsd"/>
5
- <xs:include schemaLocation="__Comtypes.xsd"/>
6
- <xs:complexType name="objednavkaType">
7
- <xs:sequence>
8
- <xs:element name="Doklad" minOccurs="0">
9
- <xs:annotation>
10
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
11
- </xs:annotation>
12
- <xs:simpleType>
13
- <xs:restriction base="xs:string">
14
- <xs:maxLength value="10"/>
15
- </xs:restriction>
16
- </xs:simpleType>
17
- </xs:element>
18
- <xs:element name="Popis" type="popisType" minOccurs="0">
19
- <xs:annotation>
20
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
21
- </xs:annotation>
22
- </xs:element>
23
- <xs:element name="Poznamka" minOccurs="0">
24
- <xs:annotation>
25
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
26
- </xs:annotation>
27
- </xs:element>
28
- <xs:element name="TextPredPo" minOccurs="0">
29
- <xs:annotation>
30
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
31
- </xs:annotation>
32
- </xs:element>
33
- <xs:element name="TextZaPol" minOccurs="0">
34
- <xs:annotation>
35
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
36
- </xs:annotation>
37
- </xs:element>
38
- <xs:element name="Vystaveno" type="xs:date" minOccurs="0">
39
- <xs:annotation>
40
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
41
- </xs:annotation>
42
- </xs:element>
43
- <xs:element name="Vyridit_do" type="xs:date" minOccurs="0">
44
- <xs:annotation>
45
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
46
- </xs:annotation>
47
- </xs:element>
48
- <xs:element name="Vyrizeno" type="xs:date" minOccurs="0">
49
- <xs:annotation>
50
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
51
- </xs:annotation>
52
- </xs:element>
53
- <xs:element name="DodOdb" type="dokladFirmaType" minOccurs="0"/>
54
- <xs:element name="KonecPrij" type="konecPrijFirmaType" minOccurs="0"/>
55
- <xs:element name="KPFromOdb" type="xs:boolean" minOccurs="0">
56
- <xs:annotation>
57
- <xs:documentation>Import: ANO,Export: ANO </xs:documentation>
58
- </xs:annotation>
59
- </xs:element>
60
- <xs:element name="SazbaDPH1" type="procentoType" minOccurs="0">
61
- <xs:annotation>
62
- <xs:documentation>Snížená sazba DPH IMPORT: ANO
63
- EXPORT: ANO</xs:documentation>
64
- </xs:annotation>
65
- </xs:element>
66
- <xs:element name="SazbaDPH2" type="procentoType" minOccurs="0">
67
- <xs:annotation>
68
- <xs:documentation>Základní sazba DPH IMPORT: ANO
69
- EXPORT: ANO</xs:documentation>
70
- </xs:annotation>
71
- </xs:element>
72
- <xs:sequence minOccurs="0">
73
- <xs:element name="SouhrnDPH" type="souhrnDPHType">
74
- <xs:annotation>
75
- <xs:documentation>Doklady v domácí měně: IMPORT: ANO
76
- EXPORT: ANO</xs:documentation>
77
- </xs:annotation>
78
- </xs:element>
79
- <xs:element name="Celkem" type="castkaType">
80
- <xs:annotation>
81
- <xs:documentation>Celkiem s DPH (POUZE EXPORT)</xs:documentation>
82
- </xs:annotation>
83
- </xs:element>
84
- </xs:sequence>
85
- <xs:element name="Valuty" minOccurs="0">
86
- <xs:annotation>
87
- <xs:documentation>Doklad v cizí měně
88
- IMPORT: ANO
89
- EXPORT: ANO</xs:documentation>
90
- </xs:annotation>
91
- <xs:complexType>
92
- <xs:sequence>
93
- <xs:element name="Mena" type="menaType">
94
- <xs:annotation>
95
- <xs:documentation>Identifikace cizí měny</xs:documentation>
96
- </xs:annotation>
97
- </xs:element>
98
- <xs:element name="SouhrnDPH" type="souhrnDPHType">
99
- <xs:annotation>
100
- <xs:documentation>Souhrn DPH
101
- IMPORT: ANO
102
- EXPORT: ANO</xs:documentation>
103
- </xs:annotation>
104
- </xs:element>
105
- <xs:element name="Celkem" type="castkaType">
106
- <xs:annotation>
107
- <xs:documentation>Celkem s DPH ve valutách (POUZE EXPORT)</xs:documentation>
108
- </xs:annotation>
109
- </xs:element>
110
- </xs:sequence>
111
- </xs:complexType>
112
- </xs:element>
113
- <xs:element name="DRada" minOccurs="0">
114
- <xs:annotation>
115
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
116
- </xs:annotation>
117
- <xs:simpleType>
118
- <xs:restriction base="xs:string">
119
- <xs:maxLength value="5"/>
120
- </xs:restriction>
121
- </xs:simpleType>
122
- </xs:element>
123
- <xs:element name="DCislo" minOccurs="0">
124
- <xs:annotation>
125
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
126
- </xs:annotation>
127
- <xs:simpleType>
128
- <xs:restriction base="xs:decimal">
129
- <xs:totalDigits value="11"/>
130
- <xs:fractionDigits value="0"/>
131
- </xs:restriction>
132
- </xs:simpleType>
133
- </xs:element>
134
- <xs:element name="Stredisko" minOccurs="0">
135
- <xs:annotation>
136
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
137
- </xs:annotation>
138
- <xs:simpleType>
139
- <xs:restriction base="xs:string">
140
- <xs:maxLength value="10"/>
141
- </xs:restriction>
142
- </xs:simpleType>
143
- </xs:element>
144
- <xs:element name="Zakazka" minOccurs="0">
145
- <xs:annotation>
146
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
147
- </xs:annotation>
148
- <xs:simpleType>
149
- <xs:restriction base="xs:string">
150
- <xs:maxLength value="10"/>
151
- </xs:restriction>
152
- </xs:simpleType>
153
- </xs:element>
154
- <xs:element name="Cinnost" minOccurs="0">
155
- <xs:annotation>
156
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
157
- </xs:annotation>
158
- <xs:simpleType>
159
- <xs:restriction base="xs:string">
160
- <xs:maxLength value="10"/>
161
- </xs:restriction>
162
- </xs:simpleType>
163
- </xs:element>
164
- <xs:element name="Vystavil" minOccurs="0">
165
- <xs:annotation>
166
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
167
- </xs:annotation>
168
- <xs:simpleType>
169
- <xs:restriction base="xs:string">
170
- <xs:maxLength value="50"/>
171
- </xs:restriction>
172
- </xs:simpleType>
173
- </xs:element>
174
- <xs:element name="NeRezervov" type="xs:boolean" minOccurs="0">
175
- <xs:annotation>
176
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
177
- </xs:annotation>
178
- </xs:element>
179
- <xs:element name="PevneCeny" type="xs:boolean" minOccurs="0">
180
- <xs:annotation>
181
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
182
- </xs:annotation>
183
- </xs:element>
184
- <xs:element name="PlatPodm" minOccurs="0">
185
- <xs:annotation>
186
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
187
- </xs:annotation>
188
- <xs:simpleType>
189
- <xs:restriction base="xs:string">
190
- <xs:maxLength value="20"/>
191
- </xs:restriction>
192
- </xs:simpleType>
193
- </xs:element>
194
- <xs:element name="Doprava" minOccurs="0">
195
- <xs:annotation>
196
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
197
- </xs:annotation>
198
- <xs:simpleType>
199
- <xs:restriction base="xs:string">
200
- <xs:maxLength value="20"/>
201
- </xs:restriction>
202
- </xs:simpleType>
203
- </xs:element>
204
- <xs:element name="CasVystave" type="xs:time" minOccurs="0">
205
- <xs:annotation>
206
- <xs:documentation>Čas vystavení dokladu</xs:documentation>
207
- </xs:annotation>
208
- </xs:element>
209
- <xs:element name="DatumVysta" type="xs:date" minOccurs="0">
210
- <xs:annotation>
211
- <xs:documentation>Datum vystavení dokladu</xs:documentation>
212
- </xs:annotation>
213
- </xs:element>
214
- <xs:element name="Nadpis" minOccurs="0">
215
- <xs:annotation>
216
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
217
- </xs:annotation>
218
- <xs:simpleType>
219
- <xs:restriction base="xs:string">
220
- <xs:maxLength value="50"/>
221
- </xs:restriction>
222
- </xs:simpleType>
223
- </xs:element>
224
- <xs:element name="VyriditNej" type="xs:date" minOccurs="0">
225
- <xs:annotation>
226
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
227
- </xs:annotation>
228
- </xs:element>
229
- <xs:element name="ZkratkaTyp" minOccurs="0">
230
- <xs:annotation>
231
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
232
- </xs:annotation>
233
- <xs:simpleType>
234
- <xs:restriction base="xs:string">
235
- <xs:maxLength value="10"/>
236
- </xs:restriction>
237
- </xs:simpleType>
238
- </xs:element>
239
- <xs:element name="PrimDoklad" minOccurs="0">
240
- <xs:annotation>
241
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
242
- </xs:annotation>
243
- <xs:simpleType>
244
- <xs:restriction base="xs:string">
245
- <xs:maxLength value="20"/>
246
- </xs:restriction>
247
- </xs:simpleType>
248
- </xs:element>
249
- <xs:element name="VarSymbol" minOccurs="0">
250
- <xs:annotation>
251
- <xs:documentation>Variabilní symbol Import:ANO, Export:ANO</xs:documentation>
252
- </xs:annotation>
253
- <xs:simpleType>
254
- <xs:restriction base="xs:string">
255
- <xs:maxLength value="20"/>
256
- </xs:restriction>
257
- </xs:simpleType>
258
- </xs:element>
259
- <xs:element name="NeVyrizova" type="xs:boolean" minOccurs="0">
260
- <xs:annotation>
261
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
262
- </xs:annotation>
263
- </xs:element>
264
- <xs:element name="SizDecDPH" minOccurs="0">
265
- <xs:annotation>
266
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
267
- </xs:annotation>
268
- <xs:simpleType>
269
- <xs:restriction base="xs:decimal">
270
- <xs:totalDigits value="3"/>
271
- <xs:fractionDigits value="0"/>
272
- </xs:restriction>
273
- </xs:simpleType>
274
- </xs:element>
275
- <xs:element name="SizDecCelk" minOccurs="0">
276
- <xs:annotation>
277
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
278
- </xs:annotation>
279
- <xs:simpleType>
280
- <xs:restriction base="xs:decimal">
281
- <xs:totalDigits value="3"/>
282
- <xs:fractionDigits value="0"/>
283
- </xs:restriction>
284
- </xs:simpleType>
285
- </xs:element>
286
- <xs:element name="ZobrPoznVy" type="xs:boolean" minOccurs="0">
287
- <xs:annotation>
288
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
289
- </xs:annotation>
290
- </xs:element>
291
- <xs:element name="StatMOSS" minOccurs="0">
292
- <xs:annotation>
293
- <xs:documentation>Kód státu MOSS (Mini One Stop Shop). Jen objednávky přijaté, nabídky vydané a poptávky přijaté.
294
- IMPORT: ANO, EXPORT: ANO</xs:documentation>
295
- </xs:annotation>
296
- <xs:simpleType>
297
- <xs:restriction base="xs:string">
298
- <xs:length value="2"/>
299
- </xs:restriction>
300
- </xs:simpleType>
301
- </xs:element>
302
- <xs:element name="TypTransakce" minOccurs="0">
303
- <xs:annotation>
304
- <xs:documentation>Hodnota pro Intrastat. Údaj je na hlavičkách i na položkách. </xs:documentation>
305
- </xs:annotation>
306
- <xs:simpleType>
307
- <xs:restriction base="xs:string">
308
- <xs:length value="2"/>
309
- <xs:whiteSpace value="replace"/>
310
- </xs:restriction>
311
- </xs:simpleType>
312
- </xs:element>
313
- <xs:element name="DodaciPodm" minOccurs="0">
314
- <xs:annotation>
315
- <xs:documentation>Hodnota pro Intrastat. Údaj je jenom na hlavičkách dokladů.</xs:documentation>
316
- </xs:annotation>
317
- <xs:simpleType>
318
- <xs:restriction base="xs:string">
319
- <xs:length value="3"/>
320
- <xs:whiteSpace value="replace"/>
321
- </xs:restriction>
322
- </xs:simpleType>
323
- </xs:element>
324
- <xs:element name="DruhDopravy" minOccurs="0">
325
- <xs:annotation>
326
- <xs:documentation>Hodnota pro Intrastat. Údaj se vyskytuje pouze na hlavičkách dokladů. </xs:documentation>
327
- </xs:annotation>
328
- <xs:simpleType>
329
- <xs:restriction base="xs:string">
330
- <xs:length value="1"/>
331
- <xs:whiteSpace value="replace"/>
332
- </xs:restriction>
333
- </xs:simpleType>
334
- </xs:element>
335
- <xs:element name="StOdeslUrc" minOccurs="0">
336
- <xs:annotation>
337
- <xs:documentation>Hodnota pro Intrastat. Při nákupu zboží z jiného členského státu EU se jedná o „Stát odeslání“ (objednávka vydaná, nabídka přijatá, poptávka vydaná), při prodeji zboží do jiného členského státu EU se jedná o „Stát určení“ (objednávka přiatá, nabídka vydaná, poptávka přijatá). Údaj se vyskytuje pouze na hlavičkách dokladů.</xs:documentation>
338
- </xs:annotation>
339
- </xs:element>
340
- <xs:element name="Sleva" type="castkaType" minOccurs="0">
341
- <xs:annotation>
342
- <xs:documentation>Sleva na doklad
343
- Import: ANO, Export: ANO</xs:documentation>
344
- </xs:annotation>
345
- </xs:element>
346
- <xs:element name="eshop" minOccurs="0">
347
- <xs:annotation>
348
- <xs:documentation>Pouze pro objednávky přijaté určené pro internetový obchod (tj. IN_Export je různo od 0)
349
-
350
- IMPORT: ANO,
351
- EXPORT: ANO
352
- </xs:documentation>
353
- </xs:annotation>
354
- <xs:complexType>
355
- <xs:sequence>
356
- <xs:element name="IN_Export" type="xs:unsignedByte">
357
- <xs:annotation>
358
- <xs:documentation>Typ internetového obchodu:
359
-
360
- 0 = bez obchodování na internetu
361
- 1 = inShop (verze 1)
362
- 2 = Vltava 2000
363
- 3 = inShop 2000
364
- 4 = MůjObchod
365
- 5 = Store OnLine
366
- 6 = E-shop konektor
367
-
368
- IMPORT:ANO,
369
- EXPORT:ANO </xs:documentation>
370
- </xs:annotation>
371
- </xs:element>
372
- <xs:element name="IN_Changed" type="xs:boolean" minOccurs="0">
373
- <xs:annotation>
374
- <xs:documentation>Příznak změny objednávky v Money nebo v internetovém obchodě
375
-
376
- IMPORT:NE,
377
- EXPORT:ANO </xs:documentation>
378
- </xs:annotation>
379
- </xs:element>
380
- <xs:element name="IN_ObjCis" type="xs:long" minOccurs="0">
381
- <xs:annotation>
382
- <xs:documentation>ID (číslo) objednávky na internetovém obchodě
383
-
384
- IMPORT:ANO,
385
- EXPORT:ANO </xs:documentation>
386
- </xs:annotation>
387
- </xs:element>
388
- <xs:element name="IN_Stav" type="xs:unsignedByte" minOccurs="0">
389
- <xs:annotation>
390
- <xs:documentation>Stav objednávky na internetovém obchodě
391
-
392
- Pro E-shop konektor (IN_Export = 6) platí:
393
- 0 = přijatá
394
- 1 = vyřizuje se
395
- 2 = částečně vyřízená
396
- 3 = vyřízená (expedovaná)
397
- 4 = nelze vyřídit
398
-
399
- IMPORT:ANO,
400
- EXPORT:ANO</xs:documentation>
401
- </xs:annotation>
402
- </xs:element>
403
- <xs:element name="IN_ReqStor" type="xs:boolean" minOccurs="0">
404
- <xs:annotation>
405
- <xs:documentation>Zákazník internetového obchodu požaduje storno objednávky
406
-
407
- IMPORT:ANO,
408
- EXPORT:NE</xs:documentation>
409
- </xs:annotation>
410
- </xs:element>
411
- <xs:element name="IN_YesStor" type="xs:boolean" minOccurs="0">
412
- <xs:annotation>
413
- <xs:documentation>Potvrzení storna objednávky z Money
414
-
415
- IMPORT:NE,
416
- EXPORT:ANO</xs:documentation>
417
- </xs:annotation>
418
- </xs:element>
419
- <xs:element name="IN_ShopID" type="xs:string" minOccurs="0">
420
- <xs:annotation>
421
- <xs:documentation>Číslo XML obchodu v notaci "nn" (char*2). Základní prodejna (00) se ukládá jako " " (mezery). Určeno pouze pro E-shop konektor.
422
-
423
- EXPORT:ANO, IMPORT:NE (plní program dle importu)</xs:documentation>
424
- </xs:annotation>
425
- </xs:element>
426
- <xs:element name="IN_Poznamk" minOccurs="0">
427
- <xs:annotation>
428
- <xs:documentation>Poznámka k objednávce v internetovém obchodě
429
-
430
- IMPORT:ANO,
431
- EXPORT:ANO</xs:documentation>
432
- </xs:annotation>
433
- <xs:simpleType>
434
- <xs:restriction base="xs:string">
435
- <xs:maxLength value="100"/>
436
- </xs:restriction>
437
- </xs:simpleType>
438
- </xs:element>
439
- </xs:sequence>
440
- </xs:complexType>
441
- </xs:element>
442
- <xs:element name="Pojisteno" type="castkaType" minOccurs="0">
443
- <xs:annotation>
444
- <xs:documentation>Expedice - pojistné (pouze objednávky přijaté a pouze SK verze)</xs:documentation>
445
- </xs:annotation>
446
- </xs:element>
447
- <xs:element name="Prepravce" type="prepravceType" minOccurs="0">
448
- <xs:annotation>
449
- <xs:documentation>Expedice - přepravce (pouze objednávky přijaté)</xs:documentation>
450
- </xs:annotation>
451
- </xs:element>
452
- <xs:element name="TypZasillky" type="typZasilkyType" minOccurs="0">
453
- <xs:annotation>
454
- <xs:documentation>Expedice - typ zásilky (pouze objednávky přijaté)</xs:documentation>
455
- </xs:annotation>
456
- </xs:element>
457
- <xs:element name="Prepr_Vyplatne" type="preprDoplnUdajType" minOccurs="0">
458
- <xs:annotation>
459
- <xs:documentation>Expedice - doplňkový údaj - výplatné (pouze objednávky přijaté a pouze SK verze)</xs:documentation>
460
- </xs:annotation>
461
- </xs:element>
462
- <xs:element name="Prepr_UhradaDobirky" type="preprDoplnUdajType" minOccurs="0">
463
- <xs:annotation>
464
- <xs:documentation>Expedice - doplňkový údaj - úhrada dobírky (pouze objednávky přijaté a pouze SK verze)</xs:documentation>
465
- </xs:annotation>
466
- </xs:element>
467
- <xs:element name="Prepr_Trida" type="preprDoplnUdajType" minOccurs="0">
468
- <xs:annotation>
469
- <xs:documentation>Expedice - doplňkový údaj - třída (pouze objednávky přijaté a pouze SK verze)</xs:documentation>
470
- </xs:annotation>
471
- </xs:element>
472
- <xs:element name="Prepr_SeznamSluzeb" minOccurs="0">
473
- <xs:annotation>
474
- <xs:documentation>Expedice - doplňkový údaj - seznam služeb (pouze objednávky přijaté a pouze SK verze)</xs:documentation>
475
- </xs:annotation>
476
- <xs:complexType>
477
- <xs:sequence>
478
- <xs:element name="Prepr_Sluzba" type="preprDoplnUdajType" maxOccurs="unbounded">
479
- <xs:annotation>
480
- <xs:documentation>Doplňkový údaj - služba</xs:documentation>
481
- </xs:annotation>
482
- </xs:element>
483
- </xs:sequence>
484
- </xs:complexType>
485
- </xs:element>
486
- <xs:element name="Polozka" type="polObjednType" minOccurs="0" maxOccurs="unbounded"/>
487
- <xs:element name="MojeFirma" type="mojeFirmaType" minOccurs="0">
488
- <xs:annotation>
489
- <xs:documentation>Import: NE, Export: ANO</xs:documentation>
490
- </xs:annotation>
491
- </xs:element>
492
- <xs:element name="Vlajky" minOccurs="0">
493
- <xs:complexType>
494
- <xs:sequence>
495
- <xs:element name="Global" type="VlajkaType" minOccurs="0"/>
496
- <xs:element name="User" type="VlajkaType" minOccurs="0"/>
497
- </xs:sequence>
498
- </xs:complexType>
499
- </xs:element>
500
- <xs:element name="Dokumenty" minOccurs="0">
501
- <xs:annotation>
502
- <xs:documentation>Seznam připojených dokumentů
503
- IMPORT: ANO
504
- EXPORT: NE</xs:documentation>
505
- </xs:annotation>
506
- <xs:complexType>
507
- <xs:sequence>
508
- <xs:element name="Dokument" type="xs:string" maxOccurs="unbounded">
509
- <xs:annotation>
510
- <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>
511
- </xs:annotation>
512
- </xs:element>
513
- </xs:sequence>
514
- </xs:complexType>
515
- </xs:element>
516
- </xs:sequence>
517
- <xs:attribute name="command" use="optional">
518
- <xs:annotation>
519
- <xs:documentation source='Pouze pro OP: Pokud je command="UpdateHd", jde o update hlavičky OP pro XML el.obchody'/>
520
- </xs:annotation>
521
- <xs:simpleType>
522
- <xs:restriction base="xs:string">
523
- <xs:enumeration value="UpdateHd"/>
524
- </xs:restriction>
525
- </xs:simpleType>
526
- </xs:attribute>
527
- </xs:complexType>
528
- <xs:complexType name="polObjednType">
529
- <xs:sequence>
530
- <xs:element name="Popis" type="popisType" minOccurs="0">
531
- <xs:annotation>
532
- <xs:documentation>Popis IMPORT: ANO, Export: ANO</xs:documentation>
533
- </xs:annotation>
534
- </xs:element>
535
- <xs:element name="Poznamka" minOccurs="0">
536
- <xs:annotation>
537
- <xs:documentation>Poznámka Import: Ano Export: ANO</xs:documentation>
538
- </xs:annotation>
539
- </xs:element>
540
- <xs:element name="PocetMJ" type="mnozstviType" minOccurs="0">
541
- <xs:annotation>
542
- <xs:documentation>Počet množstevních jednotek IMPORT: ANO, Export: ANO</xs:documentation>
543
- </xs:annotation>
544
- </xs:element>
545
- <xs:element name="ZbyvaMJ" type="mnozstviType" minOccurs="0">
546
- <xs:annotation>
547
- <xs:documentation>Počet zbývajících nevyříízených m.j. IMPORT: ANO, Export: ANO</xs:documentation>
548
- </xs:annotation>
549
- </xs:element>
550
- <xs:element name="Cena" type="castkaType" minOccurs="0">
551
- <xs:annotation>
552
- <xs:documentation>Cena IMPORT: ANO, Export: ANO</xs:documentation>
553
- </xs:annotation>
554
- </xs:element>
555
- <xs:element name="SouhrnDPH" type="souhrnDPHPolType" minOccurs="0">
556
- <xs:annotation>
557
- <xs:documentation>Rozpis částek DPH (POUZE ISDOC EXPORT)</xs:documentation>
558
- </xs:annotation>
559
- </xs:element>
560
- <xs:element name="SazbaDPH" type="procentoType" minOccurs="0">
561
- <xs:annotation>
562
- <xs:documentation>Sazba DPH IMPORT: ANO, Export: ANO</xs:documentation>
563
- </xs:annotation>
564
- </xs:element>
565
- <xs:element name="TypCeny" minOccurs="0">
566
- <xs:annotation>
567
- <xs:documentation>Typ ceny 0=bez DPH, 1=s DPH, 2=jen DPH, 3=jen základ, IMPORT: ANO, EXPORT: ANO </xs:documentation>
568
- </xs:annotation>
569
- <xs:simpleType>
570
- <xs:restriction base="xs:decimal">
571
- <xs:totalDigits value="3"/>
572
- <xs:fractionDigits value="0"/>
573
- </xs:restriction>
574
- </xs:simpleType>
575
- </xs:element>
576
- <xs:element name="Sleva" type="castkaType" minOccurs="0">
577
- <xs:annotation>
578
- <xs:documentation>Sleva na položku</xs:documentation>
579
- </xs:annotation>
580
- </xs:element>
581
- <xs:element name="Vystaveno" type="xs:date" minOccurs="0">
582
- <xs:annotation>
583
- <xs:documentation>Datum vystavení Import: NE, Export: ANO</xs:documentation>
584
- </xs:annotation>
585
- </xs:element>
586
- <xs:element name="VyriditNej" type="xs:date" minOccurs="0">
587
- <xs:annotation>
588
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
589
- </xs:annotation>
590
- </xs:element>
591
- <xs:element name="Vyridit_do" type="xs:date" minOccurs="0">
592
- <xs:annotation>
593
- <xs:documentation>Datum, do kdy se má vyřídit Import: ANO, Export: ANO</xs:documentation>
594
- </xs:annotation>
595
- </xs:element>
596
- <xs:element name="Vyrizeno" type="xs:date" minOccurs="0">
597
- <xs:annotation>
598
- <xs:documentation>Datum vyřízení Import: NE, Export: ANO</xs:documentation>
599
- </xs:annotation>
600
- </xs:element>
601
- <xs:element name="Poradi" type="cisloType" minOccurs="0">
602
- <xs:annotation>
603
- <xs:documentation>Pořadí položek při tisku IMPORT: ANO, Export: ANO</xs:documentation>
604
- </xs:annotation>
605
- </xs:element>
606
- <xs:element name="Stredisko" minOccurs="0">
607
- <xs:annotation>
608
- <xs:documentation>Střadisko IMPORT: ANO, Export: ANO</xs:documentation>
609
- </xs:annotation>
610
- <xs:simpleType>
611
- <xs:restriction base="xs:string">
612
- <xs:maxLength value="10"/>
613
- </xs:restriction>
614
- </xs:simpleType>
615
- </xs:element>
616
- <xs:element name="Zakazka" minOccurs="0">
617
- <xs:annotation>
618
- <xs:documentation>Zakázka IMPORT: ANO, Export: ANO</xs:documentation>
619
- </xs:annotation>
620
- <xs:simpleType>
621
- <xs:restriction base="xs:string">
622
- <xs:maxLength value="10"/>
623
- </xs:restriction>
624
- </xs:simpleType>
625
- </xs:element>
626
- <xs:element name="Cinnost" minOccurs="0">
627
- <xs:annotation>
628
- <xs:documentation>Činnost IMPORT: ANO, Export: ANO</xs:documentation>
629
- </xs:annotation>
630
- <xs:simpleType>
631
- <xs:restriction base="xs:string">
632
- <xs:maxLength value="10"/>
633
- </xs:restriction>
634
- </xs:simpleType>
635
- </xs:element>
636
- <xs:element name="CenovaHlad" minOccurs="0">
637
- <xs:annotation>
638
- <xs:documentation>Cenová hladina IMPORT: ANO, Export: ANO</xs:documentation>
639
- </xs:annotation>
640
- <xs:simpleType>
641
- <xs:restriction base="xs:string">
642
- <xs:maxLength value="10"/>
643
- </xs:restriction>
644
- </xs:simpleType>
645
- </xs:element>
646
- <xs:element name="Valuty" type="castkaType" minOccurs="0">
647
- <xs:annotation>
648
- <xs:documentation>Cena ve valutách u dokladů v cizí měně . IMPORT: ANO, Export: ANO</xs:documentation>
649
- </xs:annotation>
650
- </xs:element>
651
- <xs:element name="KodStatuPuv" minOccurs="0">
652
- <xs:annotation>
653
- <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>
654
- </xs:annotation>
655
- <xs:simpleType>
656
- <xs:restriction base="xs:string">
657
- <xs:length value="2"/>
658
- <xs:whiteSpace value="replace"/>
659
- </xs:restriction>
660
- </xs:simpleType>
661
- </xs:element>
662
- <xs:element name="TypTransakce" minOccurs="0">
663
- <xs:annotation>
664
- <xs:documentation>Hodnota pro Intrastat. Údaj je na hlavičkách i na položkách. </xs:documentation>
665
- </xs:annotation>
666
- <xs:simpleType>
667
- <xs:restriction base="xs:string">
668
- <xs:length value="2"/>
669
- <xs:whiteSpace value="replace"/>
670
- </xs:restriction>
671
- </xs:simpleType>
672
- </xs:element>
673
- <xs:element name="Hmotnost" minOccurs="0">
674
- <xs:annotation>
675
- <xs:documentation>Hmotnost: Import ANO, Export ANO (od verze 14.000 na skl. i neskl. položkách)</xs:documentation>
676
- </xs:annotation>
677
- <xs:simpleType>
678
- <xs:restriction base="xs:float">
679
- <xs:whiteSpace value="replace"/>
680
- </xs:restriction>
681
- </xs:simpleType>
682
- </xs:element>
683
- <xs:element name="CenaPoSleve" type="xs:boolean" minOccurs="0">
684
- <xs:annotation>
685
- <xs:documentation>Indikace, zda se jedná o cenu po slevě</xs:documentation>
686
- </xs:annotation>
687
- </xs:element>
688
- <xs:element name="ZvlRezim" type="xs:byte" minOccurs="0">
689
- <xs:annotation>
690
- <xs:documentation>Zvláštní režim DPH:
691
- 0 = neurčeno
692
- 1 = použité zboží
693
- 2 = umělecké dílo
694
- 3 = sběratelský předmět, starožitnost
695
- 4 = cestovní služba IMPORT: ANO, EXPORT: ANO</xs:documentation>
696
- </xs:annotation>
697
- </xs:element>
698
- <xs:element name="ZvlDPH" type="procentoType" minOccurs="0">
699
- <xs:annotation>
700
- <xs:documentation>Sazba DPH pro zvláštní režim
701
- IMPORT: ANO, EXPORT: ANO</xs:documentation>
702
- </xs:annotation>
703
- </xs:element>
704
- <xs:element name="RezimEET" type="xs:byte" minOccurs="0">
705
- <xs:annotation>
706
- <xs:documentation>Režim EET:
707
- 0 = neurčeno
708
- 1 = poukaz
709
- 2 = vratná záloha
710
- IMPORT: ANO, EXPORT: ANO</xs:documentation>
711
- </xs:annotation>
712
- </xs:element>
713
- <xs:element name="PredPC" type="castkaType" minOccurs="0">
714
- <xs:annotation>
715
- <xs:documentation>Předpokádaná pořizovací cena: (jen pro přijaté objednávky, přijaté poptávky, vystavené nabídky, zálohové faktury vystavené) IMPORT: ANO, Export: ANO</xs:documentation>
716
- </xs:annotation>
717
- </xs:element>
718
- <xs:choice>
719
- <xs:sequence minOccurs="0">
720
- <xs:element name="Sklad" type="skladType"/>
721
- <xs:element name="KmKarta" type="kmKartaType"/>
722
- </xs:sequence>
723
- <xs:element name="NesklPolozka" minOccurs="0">
724
- <xs:complexType>
725
- <xs:sequence>
726
- <xs:element name="Zkrat" minOccurs="0">
727
- <xs:annotation>
728
- <xs:documentation>Zkratka: IMPORT: ANO, Export: ANO</xs:documentation>
729
- </xs:annotation>
730
- <xs:simpleType>
731
- <xs:restriction base="xs:string">
732
- <xs:maxLength value="20"/>
733
- </xs:restriction>
734
- </xs:simpleType>
735
- </xs:element>
736
- <xs:element name="MJ" minOccurs="0">
737
- <xs:annotation>
738
- <xs:documentation>Měrná jednotka IMPORT: ANO, Export: ANO</xs:documentation>
739
- </xs:annotation>
740
- <xs:simpleType>
741
- <xs:restriction base="xs:string">
742
- <xs:maxLength value="10"/>
743
- </xs:restriction>
744
- </xs:simpleType>
745
- </xs:element>
746
- <xs:element name="UzivCode" minOccurs="0">
747
- <xs:annotation>
748
- <xs:documentation>Užívatelský kód (PLU) Import: ANO, Export: ANO</xs:documentation>
749
- </xs:annotation>
750
- <xs:simpleType>
751
- <xs:restriction base="xs:string">
752
- <xs:maxLength value="6"/>
753
- </xs:restriction>
754
- </xs:simpleType>
755
- </xs:element>
756
- <xs:element name="Katalog" minOccurs="0">
757
- <xs:annotation>
758
- <xs:documentation>Import: ANO, Export: ANO</xs:documentation>
759
- </xs:annotation>
760
- <xs:simpleType>
761
- <xs:restriction base="xs:string">
762
- <xs:maxLength value="20"/>
763
- </xs:restriction>
764
- </xs:simpleType>
765
- </xs:element>
766
- <xs:element name="BarCode" minOccurs="0">
767
- <xs:annotation>
768
- <xs:documentation>Čarový kód Import: ANO, Export: ANO</xs:documentation>
769
- </xs:annotation>
770
- <xs:simpleType>
771
- <xs:restriction base="xs:string">
772
- <xs:maxLength value="20"/>
773
- </xs:restriction>
774
- </xs:simpleType>
775
- </xs:element>
776
- <xs:element name="TypZarDoby" minOccurs="0">
777
- <xs:annotation>
778
- <xs:documentation>typ záruční doby: N=není,D=ve dnech,M=v měsících,R=v rocích,S=doživotní Import: ANO, Export: ANO</xs:documentation>
779
- </xs:annotation>
780
- <xs:simpleType>
781
- <xs:restriction base="xs:string">
782
- <xs:maxLength value="1"/>
783
- </xs:restriction>
784
- </xs:simpleType>
785
- </xs:element>
786
- <xs:element name="ZarDoba" minOccurs="0">
787
- <xs:annotation>
788
- <xs:documentation>Záruční doba (ignoruje se když TypZarDoby=N,S) Import: ANO, Export: ANO</xs:documentation>
789
- </xs:annotation>
790
- <xs:simpleType>
791
- <xs:restriction base="xs:decimal">
792
- <xs:totalDigits value="5"/>
793
- <xs:fractionDigits value="0"/>
794
- </xs:restriction>
795
- </xs:simpleType>
796
- </xs:element>
797
- <xs:element name="VyrobniCis" minOccurs="0">
798
- <xs:annotation>
799
- <xs:documentation>Výrobní číslo, Import:ANO, Export: ANO</xs:documentation>
800
- </xs:annotation>
801
- <xs:simpleType>
802
- <xs:restriction base="xs:string">
803
- <xs:maxLength value="50"/>
804
- </xs:restriction>
805
- </xs:simpleType>
806
- </xs:element>
807
- <xs:element name="DatExp" type="xs:date" minOccurs="0">
808
- <xs:annotation>
809
- <xs:documentation>Datum exspirace Import: ANO, Export:ANO</xs:documentation>
810
- </xs:annotation>
811
- </xs:element>
812
- <xs:element name="DatNakupu" type="xs:date" minOccurs="0">
813
- <xs:annotation>
814
- <xs:documentation>Datum nákupu: Import: ANO, Export:ANO</xs:documentation>
815
- </xs:annotation>
816
- </xs:element>
817
- <xs:element name="Dodavatel" type="firmaType" minOccurs="0">
818
- <xs:annotation>
819
- <xs:documentation>Dodavatel (pouze prodejní objednávky), Export:ANO, Import:ANO</xs:documentation>
820
- </xs:annotation>
821
- </xs:element>
822
- </xs:sequence>
823
- </xs:complexType>
824
- </xs:element>
825
- </xs:choice>
826
- <xs:element name="SeznamVC" minOccurs="0">
827
- <xs:annotation>
828
- <xs:documentation>Import: Ne, Export: Ne</xs:documentation>
829
- </xs:annotation>
830
- <xs:complexType>
831
- <xs:sequence>
832
- <xs:element name="VyrobniCislo" type="vyrobniCisloType" maxOccurs="unbounded"/>
833
- </xs:sequence>
834
- </xs:complexType>
835
- </xs:element>
836
- <xs:element name="Slozeni" minOccurs="0">
837
- <xs:annotation>
838
- <xs:documentation>Import: NE Export: ANO</xs:documentation>
839
- </xs:annotation>
840
- <xs:complexType>
841
- <xs:sequence>
842
- <xs:element name="SubPolozka" type="subPolObjType" maxOccurs="unbounded"/>
843
- </xs:sequence>
844
- </xs:complexType>
845
- </xs:element>
846
- </xs:sequence>
847
- </xs:complexType>
848
- <xs:complexType name="subPolObjType">
849
- <xs:sequence>
850
- <xs:element name="MJNaSadu">
851
- <xs:simpleType>
852
- <xs:restriction base="mnozstviType">
853
- <xs:minExclusive value="0"/>
854
- </xs:restriction>
855
- </xs:simpleType>
856
- </xs:element>
857
- <xs:element name="Polozka" type="polObjednType"/>
858
- </xs:sequence>
859
- </xs:complexType>
860
- <xs:complexType name="partnerType">
861
- <xs:sequence>
862
- <xs:element name="Partner" type="firmaType"/>
863
- </xs:sequence>
864
- </xs:complexType>
865
- </xs:schema>