money_xml_validator 0.0.1

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 (39) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +12 -0
  3. data/.gitmodules +3 -0
  4. data/.rspec +3 -0
  5. data/.travis.yml +5 -0
  6. data/Gemfile +6 -0
  7. data/LICENSE.txt +21 -0
  8. data/README.md +39 -0
  9. data/Rakefile +6 -0
  10. data/bin/console +14 -0
  11. data/bin/setup +8 -0
  12. data/lib/money_xml_validator.rb +18 -0
  13. data/lib/money_xml_validator/money_xsd/Dochazka/Dochazka.xsd +295 -0
  14. data/lib/money_xml_validator/money_xsd/Dochazka/Zamestnanci.xsd +202 -0
  15. data/lib/money_xml_validator/money_xsd/EPO/EPO_Error.xsd +61 -0
  16. data/lib/money_xml_validator/money_xsd/EPO/EPO_Success.xsd +183 -0
  17. data/lib/money_xml_validator/money_xsd/README.md +5 -0
  18. data/lib/money_xml_validator/money_xsd/_Document.xsd +912 -0
  19. data/lib/money_xml_validator/money_xsd/_Export.xsd +45 -0
  20. data/lib/money_xml_validator/money_xsd/_Import.xsd +94 -0
  21. data/lib/money_xml_validator/money_xsd/_Report.xsd +793 -0
  22. data/lib/money_xml_validator/money_xsd/__Comtypes.xsd +706 -0
  23. data/lib/money_xml_validator/money_xsd/__Faktura.xsd +1097 -0
  24. data/lib/money_xml_validator/money_xsd/__Firma.xsd +1705 -0
  25. data/lib/money_xml_validator/money_xsd/__IntDokl.xsd +397 -0
  26. data/lib/money_xml_validator/money_xsd/__InvDokl.xsd +150 -0
  27. data/lib/money_xml_validator/money_xsd/__Mzda.xsd +240 -0
  28. data/lib/money_xml_validator/money_xsd/__Objedn.xsd +865 -0
  29. data/lib/money_xml_validator/money_xsd/__Seznamy.xsd +1721 -0
  30. data/lib/money_xml_validator/money_xsd/__SklDokl.xsd +674 -0
  31. data/lib/money_xml_validator/money_xsd/__UcDokl.xsd +1869 -0
  32. data/lib/money_xml_validator/money_xsd/__Uhrady.xsd +230 -0
  33. data/lib/money_xml_validator/money_xsd/__Vyroba.xsd +193 -0
  34. data/lib/money_xml_validator/money_xsd/__Zakazka.xsd +165 -0
  35. data/lib/money_xml_validator/money_xsd/__Zamestnanec.xsd +145 -0
  36. data/lib/money_xml_validator/money_xsd/__Zasoba.xsd +1317 -0
  37. data/lib/money_xml_validator/money_xsd/all_schemas.zip +0 -0
  38. data/money_xml_validator.gemspec +25 -0
  39. metadata +123 -0
@@ -0,0 +1,1097 @@
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="__SklDokl.xsd"/>
7
+ <xs:include schemaLocation="__Uhrady.xsd"/>
8
+ <xs:include schemaLocation="__Objedn.xsd"/>
9
+ <xs:include schemaLocation="_Report.xsd"/>
10
+ <xs:complexType name="fakturaType">
11
+ <xs:annotation>
12
+ <xs:documentation>Obecně platí:IMPORT: nová ANO, oprava NE, EXPORT: ANO Podrobnosti pro jednotlivé proměbnné jsou uvedeny přímo u komkrétních tagů</xs:documentation>
13
+ </xs:annotation>
14
+ <xs:sequence>
15
+ <xs:element name="Doklad" minOccurs="0">
16
+ <xs:annotation>
17
+ <xs:documentation>Číslo dokladu v Money - u přijatého dokladu interní číslo, u vydaného dokladu interní a zároveň i externí číslo. Klíčová položka. IMPORT: nová ANO, oprava NE, EXPORT: ANO</xs:documentation>
18
+ </xs:annotation>
19
+ <xs:simpleType>
20
+ <xs:restriction base="xs:string">
21
+ <xs:maxLength value="10"/>
22
+ </xs:restriction>
23
+ </xs:simpleType>
24
+ </xs:element>
25
+ <xs:element name="EvCisDokl" minOccurs="0">
26
+ <xs:annotation>
27
+ <xs:documentation>Evidenční číslo daňového dokladu pro kontrolní hlášení (pouze faktury vydané)
28
+ IMPORT. ANO
29
+ EXPORT: ANO</xs:documentation>
30
+ </xs:annotation>
31
+ <xs:simpleType>
32
+ <xs:restriction base="xs:string">
33
+ <xs:maxLength value="50"/>
34
+ </xs:restriction>
35
+ </xs:simpleType>
36
+ </xs:element>
37
+ <xs:element name="ZpusobUctovani" type="xs:byte" minOccurs="0">
38
+ <xs:annotation>
39
+ <xs:documentation>Způsob účtování dokladu:
40
+ 0 = účtování dokladu proběhne podle nastavení v konfiguraci (default)
41
+ 1 = doklad se nezaúčtuje
42
+ IMPORT: nová ANO, oprava NE, EXPORT: ANO</xs:documentation>
43
+ </xs:annotation>
44
+ </xs:element>
45
+ <xs:element name="GUID" minOccurs="0">
46
+ <xs:annotation>
47
+ <xs:documentation>GUID
48
+ IMPORT: ANO, EXPORT: ANO</xs:documentation>
49
+ </xs:annotation>
50
+ </xs:element>
51
+ <xs:element name="Rada" minOccurs="0">
52
+ <xs:annotation>
53
+ <xs:documentation>Identifikace číselné řady pro čísla dokladů. Není-li při importu specifikováno číslo dokladu, doplní se na základě číselné řady. IMPORT: nová ANO, EXPORT: ANO</xs:documentation>
54
+ </xs:annotation>
55
+ <xs:simpleType>
56
+ <xs:restriction base="xs:string">
57
+ <xs:maxLength value="5"/>
58
+ </xs:restriction>
59
+ </xs:simpleType>
60
+ </xs:element>
61
+ <xs:element name="CisRada" minOccurs="0">
62
+ <xs:annotation>
63
+ <xs:documentation>Pořadové číslo dokladu v číselné řadě. IMPORT: NE, EXPORT: ANO</xs:documentation>
64
+ </xs:annotation>
65
+ <xs:simpleType>
66
+ <xs:restriction base="xs:decimal">
67
+ <xs:totalDigits value="11"/>
68
+ <xs:fractionDigits value="0"/>
69
+ </xs:restriction>
70
+ </xs:simpleType>
71
+ </xs:element>
72
+ <xs:element name="UDoklad" minOccurs="0">
73
+ <xs:annotation>
74
+ <xs:documentation>Číslol uhrazujícího dokladu(konečná úhrada) IMPORT: NE, EXPORT: ANO</xs:documentation>
75
+ </xs:annotation>
76
+ </xs:element>
77
+ <xs:element name="Popis" type="popisType" minOccurs="0">
78
+ <xs:annotation>
79
+ <xs:documentation>Libovolný popis dokladu max. délka 50. IMPORT: nová ANO, EXPORT: ANO</xs:documentation>
80
+ </xs:annotation>
81
+ </xs:element>
82
+ <xs:element name="Vystaveno" type="xs:date" minOccurs="0">
83
+ <xs:annotation>
84
+ <xs:documentation>Datum vystavení IMPORT: nová ANO, EXPORT: ANO</xs:documentation>
85
+ </xs:annotation>
86
+ </xs:element>
87
+ <xs:element name="DatUcPr" type="xs:date" minOccurs="0">
88
+ <xs:annotation>
89
+ <xs:documentation>Datum účetního případu (pouze Podv.Účetnictví) IMPORT: nová ANO, EXPORT: ANO</xs:documentation>
90
+ </xs:annotation>
91
+ </xs:element>
92
+ <xs:element name="PlnenoDPH" type="xs:date" minOccurs="0">
93
+ <xs:annotation>
94
+ <xs:documentation>Datum zd.plnění: povinné u plátců DPH IMPORT: nová ANO, EXPORT: ANO</xs:documentation>
95
+ </xs:annotation>
96
+ </xs:element>
97
+ <xs:element name="Splatno" type="xs:date" minOccurs="0">
98
+ <xs:annotation>
99
+ <xs:documentation>Datum splatnosti IMPORT: nová ANO, EXPORT: ANO</xs:documentation>
100
+ </xs:annotation>
101
+ </xs:element>
102
+ <xs:element name="Uhrazeno" type="xs:date" minOccurs="0">
103
+ <xs:annotation>
104
+ <xs:documentation>Datum uhrazení dokladu IMPORT: NE, EXPORT: ANO</xs:documentation>
105
+ </xs:annotation>
106
+ </xs:element>
107
+ <xs:element name="Doruceno" type="xs:date" minOccurs="0">
108
+ <xs:annotation>
109
+ <xs:documentation>Datum doručení u dobropisů IMPORT: nová ANO, EXPORT: ANO</xs:documentation>
110
+ </xs:annotation>
111
+ </xs:element>
112
+ <xs:element name="DatSkPoh" type="xs:date" minOccurs="0">
113
+ <xs:annotation>
114
+ <xs:documentation>Datum skl.pohybu IMPORT: ANO, EXPORT: ANO</xs:documentation>
115
+ </xs:annotation>
116
+ </xs:element>
117
+ <xs:element name="KonstSym" minOccurs="0">
118
+ <xs:annotation>
119
+ <xs:documentation> IMPORT: nová ANO, EXPORT: ANO</xs:documentation>
120
+ </xs:annotation>
121
+ <xs:simpleType>
122
+ <xs:restriction base="xs:string">
123
+ <xs:maxLength value="4"/>
124
+ </xs:restriction>
125
+ </xs:simpleType>
126
+ </xs:element>
127
+ <xs:element name="KodDPH" type="zkratkaType" minOccurs="0">
128
+ <xs:annotation>
129
+ <xs:documentation>Zkratka členění DPH IMPORT: nová ANO, EXPORT: ANO</xs:documentation>
130
+ </xs:annotation>
131
+ </xs:element>
132
+ <xs:element name="UcelZdPl" minOccurs="0">
133
+ <xs:annotation>
134
+ <xs:documentation>Pouze Slov.verze IMPORT: nová ANO, EXPORT: ANO</xs:documentation>
135
+ </xs:annotation>
136
+ </xs:element>
137
+ <xs:element name="PlnenDPH" minOccurs="0">
138
+ <xs:annotation>
139
+ <xs:documentation>Pouze Slov.verze 0=(default)vstupuje do priznani DPH pri vystaveni dokladu, 1=..az po uhrade IMPORT: nová ANO, EXPORT: ANO</xs:documentation>
140
+ </xs:annotation>
141
+ </xs:element>
142
+ <xs:element name="ZjednD" type="xs:boolean" minOccurs="0">
143
+ <xs:annotation>
144
+ <xs:documentation>Příznak Zjednodušeného daňového dokladu.(SK verze FV, FP, CZ verze - pouze FV) Default=False IMPORT: nová ANO, EXPORT: ANO</xs:documentation>
145
+ </xs:annotation>
146
+ </xs:element>
147
+ <xs:element name="VarSymbol" minOccurs="0">
148
+ <xs:annotation>
149
+ <xs:documentation>IMPORT: nová ANO, EXPORT: ANO</xs:documentation>
150
+ </xs:annotation>
151
+ <xs:simpleType>
152
+ <xs:restriction base="xs:string">
153
+ <xs:maxLength value="20"/>
154
+ </xs:restriction>
155
+ </xs:simpleType>
156
+ </xs:element>
157
+ <xs:element name="SpecSymbol" minOccurs="0">
158
+ <xs:annotation>
159
+ <xs:documentation>IMPORT: nová ANO, EXPORT: ANO</xs:documentation>
160
+ </xs:annotation>
161
+ <xs:simpleType>
162
+ <xs:restriction base="xs:string">
163
+ <xs:maxLength value="20"/>
164
+ </xs:restriction>
165
+ </xs:simpleType>
166
+ </xs:element>
167
+ <xs:element name="PrijatDokl" minOccurs="0">
168
+ <xs:annotation>
169
+ <xs:documentation>Číslo Dokladu přijatého- pouze u FP, IMPORT: nová ANO, EXPORT: ANO</xs:documentation>
170
+ </xs:annotation>
171
+ <xs:simpleType>
172
+ <xs:restriction base="xs:string">
173
+ <xs:maxLength value="50"/>
174
+ </xs:restriction>
175
+ </xs:simpleType>
176
+ </xs:element>
177
+ <xs:element name="ParSymbol" minOccurs="0">
178
+ <xs:annotation>
179
+ <xs:documentation>IMPORT: nová ANO, EXPORT: ANO</xs:documentation>
180
+ </xs:annotation>
181
+ <xs:simpleType>
182
+ <xs:restriction base="xs:string">
183
+ <xs:maxLength value="20"/>
184
+ </xs:restriction>
185
+ </xs:simpleType>
186
+ </xs:element>
187
+ <xs:element name="PuvDoklad" minOccurs="0">
188
+ <xs:annotation>
189
+ <xs:documentation>Číslo puvodni faktury -pouze SK verze: IMPORT: nová ANO, EXPORT: ANO</xs:documentation>
190
+ </xs:annotation>
191
+ <xs:simpleType>
192
+ <xs:restriction base="xs:string">
193
+ <xs:maxLength value="50"/>
194
+ </xs:restriction>
195
+ </xs:simpleType>
196
+ </xs:element>
197
+ <xs:element name="Zakazka" type="zkratkaType" minOccurs="0">
198
+ <xs:annotation>
199
+ <xs:documentation>IMPORT: nová ANO, EXPORT: ANO</xs:documentation>
200
+ </xs:annotation>
201
+ </xs:element>
202
+ <xs:element name="CObjednavk" minOccurs="0">
203
+ <xs:annotation>
204
+ <xs:documentation>Číslo objednávky - pouze u FV
205
+
206
+ POZOR: pro vyřízení objednávky při importu faktury je třeba použít element SeznamVazeb.
207
+
208
+ IMPORT: nová ANO
209
+ EXPORT: ANO</xs:documentation>
210
+ </xs:annotation>
211
+ <xs:simpleType>
212
+ <xs:restriction base="xs:string">
213
+ <xs:maxLength value="50"/>
214
+ </xs:restriction>
215
+ </xs:simpleType>
216
+ </xs:element>
217
+ <xs:element name="Ucet" type="zkratkaType" minOccurs="0">
218
+ <xs:annotation>
219
+ <xs:documentation>Zkratka Bank.účtu nebo Pokladny (Hradit na/z) IMPORT: nová ANO, EXPORT: ANO</xs:documentation>
220
+ </xs:annotation>
221
+ </xs:element>
222
+ <xs:element name="Druh" minOccurs="0">
223
+ <xs:annotation>
224
+ <xs:documentation>Druh faktury:
225
+ N - normální(default),
226
+ Z = zálohová,
227
+ P = proforma,
228
+ L = zálohová-objednávková, F = proforma-objednávková
229
+ D = daňový doklad
230
+ k přijaté platbě
231
+ IMPORT: nová ANO, EXPORT: ANO</xs:documentation>
232
+ </xs:annotation>
233
+ <xs:simpleType>
234
+ <xs:restriction base="xs:string">
235
+ <xs:length value="1"/>
236
+ <xs:enumeration value="N"/>
237
+ <xs:enumeration value="Z"/>
238
+ <xs:enumeration value="P"/>
239
+ <xs:enumeration value="L"/>
240
+ <xs:enumeration value="F"/>
241
+ <xs:enumeration value="D"/>
242
+ </xs:restriction>
243
+ </xs:simpleType>
244
+ </xs:element>
245
+ <xs:element name="Dobropis" type="xs:boolean" minOccurs="0">
246
+ <xs:annotation>
247
+ <xs:documentation>Příznak dobropisu (default=False) IMPORT: nová ANO, EXPORT: ANO</xs:documentation>
248
+ </xs:annotation>
249
+ </xs:element>
250
+ <xs:element name="DobrDUZP" minOccurs="0">
251
+ <xs:annotation>
252
+ <xs:documentation>Datum uskutečnění zdanitelného plnění dobropisovaného dokladu</xs:documentation>
253
+ </xs:annotation>
254
+ </xs:element>
255
+ <xs:element name="ZpDopravy" minOccurs="0">
256
+ <xs:annotation>
257
+ <xs:documentation>Způsob dopravy (pouze FV) IMPORT: nová ANO, EXPORT: ANO</xs:documentation>
258
+ </xs:annotation>
259
+ <xs:simpleType>
260
+ <xs:restriction base="xs:string">
261
+ <xs:maxLength value="255"/>
262
+ </xs:restriction>
263
+ </xs:simpleType>
264
+ </xs:element>
265
+ <xs:element name="Uhrada" minOccurs="0">
266
+ <xs:annotation>
267
+ <xs:documentation>Způsob úhrady - default "převodem" IMPORT: nová ANO, EXPORT: ANO </xs:documentation>
268
+ </xs:annotation>
269
+ <xs:simpleType>
270
+ <xs:restriction base="xs:string">
271
+ <xs:maxLength value="20"/>
272
+ </xs:restriction>
273
+ </xs:simpleType>
274
+ </xs:element>
275
+ <xs:element name="PredKontac" type="zkratkaType" minOccurs="0">
276
+ <xs:annotation>
277
+ <xs:documentation>Zkratka předkontace IMPORT: nová ANO, EXPORT: ANO</xs:documentation>
278
+ </xs:annotation>
279
+ </xs:element>
280
+ <xs:element name="Cinnost" type="zkratkaType" minOccurs="0">
281
+ <xs:annotation>
282
+ <xs:documentation>Činnost IMPORT: nová ANO, EXPORT: ANO</xs:documentation>
283
+ </xs:annotation>
284
+ </xs:element>
285
+ <xs:element name="StatMOSS" minOccurs="0">
286
+ <xs:annotation>
287
+ <xs:documentation>Kód státu MOSS (Mini One Stop Shop). Jen faktury vydané.
288
+ IMPORT: ANO, EXPORT: ANO</xs:documentation>
289
+ </xs:annotation>
290
+ <xs:simpleType>
291
+ <xs:restriction base="xs:string">
292
+ <xs:length value="2"/>
293
+ </xs:restriction>
294
+ </xs:simpleType>
295
+ </xs:element>
296
+ <xs:element name="ZpVypDPH" minOccurs="0">
297
+ <xs:annotation>
298
+ <xs:documentation>Způsob výpočtu DPH na státu MOSS (1 = matematicky, 2 = koeficient). IMPORT: ne, EXPORT: pouze pro potřeby periodické fakturace</xs:documentation>
299
+ </xs:annotation>
300
+ </xs:element>
301
+ <xs:element name="Proplatit" type="castkaType" minOccurs="0">
302
+ <xs:annotation>
303
+ <xs:documentation>Zbývá proplatit IMPORT: NE, EXPORT: ANO</xs:documentation>
304
+ </xs:annotation>
305
+ </xs:element>
306
+ <xs:element name="Vyuctovano" type="xs:boolean" minOccurs="0">
307
+ <xs:annotation>
308
+ <xs:documentation>Příznak vyúčtování (odpočtu) u zálohových faktur IMPORT: NE, EXPORT: ANO</xs:documentation>
309
+ </xs:annotation>
310
+ </xs:element>
311
+ <xs:element name="SazbaDPH1" type="procentoType" minOccurs="0">
312
+ <xs:annotation>
313
+ <xs:documentation>Snížená sazba DPH IMPORT: ANO
314
+ EXPORT: ANO</xs:documentation>
315
+ </xs:annotation>
316
+ </xs:element>
317
+ <xs:element name="SazbaDPH2" type="procentoType" minOccurs="0">
318
+ <xs:annotation>
319
+ <xs:documentation>Základní sazba DPH IMPORT: ANO
320
+ EXPORT: ANO</xs:documentation>
321
+ </xs:annotation>
322
+ </xs:element>
323
+ <xs:sequence minOccurs="0">
324
+ <xs:element name="SouhrnDPH" type="souhrnDPHType">
325
+ <xs:annotation>
326
+ <xs:documentation>Doklady v domácí měně: IMPORT: ANO
327
+ EXPORT: ANO</xs:documentation>
328
+ </xs:annotation>
329
+ </xs:element>
330
+ <xs:element name="Celkem" type="castkaType">
331
+ <xs:annotation>
332
+ <xs:documentation>Celkiem s DPH (POUZE EXPORT)</xs:documentation>
333
+ </xs:annotation>
334
+ </xs:element>
335
+ </xs:sequence>
336
+ <xs:element name="Valuty" minOccurs="0">
337
+ <xs:annotation>
338
+ <xs:documentation>Doklad v cizí měně
339
+ IMPORT: ANO
340
+ EXPORT: ANO</xs:documentation>
341
+ </xs:annotation>
342
+ <xs:complexType>
343
+ <xs:sequence>
344
+ <xs:element name="Mena" type="menaType">
345
+ <xs:annotation>
346
+ <xs:documentation>Identifikace cizí měny</xs:documentation>
347
+ </xs:annotation>
348
+ </xs:element>
349
+ <xs:element name="SouhrnDPH" type="souhrnDPHType">
350
+ <xs:annotation>
351
+ <xs:documentation>Souhrn DPH
352
+ IMPORT: ANO
353
+ EXPORT: ANO</xs:documentation>
354
+ </xs:annotation>
355
+ </xs:element>
356
+ <xs:element name="Celkem" type="castkaType">
357
+ <xs:annotation>
358
+ <xs:documentation>Celkem s DPH ve valutách (POUZE EXPORT)</xs:documentation>
359
+ </xs:annotation>
360
+ </xs:element>
361
+ </xs:sequence>
362
+ </xs:complexType>
363
+ </xs:element>
364
+ <xs:element name="Typ" type="zkratkaType" minOccurs="0">
365
+ <xs:annotation>
366
+ <xs:documentation>Zkratka typu faktury IMPORT: ANO, EXPORT: ANO</xs:documentation>
367
+ </xs:annotation>
368
+ </xs:element>
369
+ <xs:element name="Vystavil" minOccurs="0">
370
+ <xs:annotation>
371
+ <xs:documentation> default: Jméno přihlášeného uživatele Money IMPORT: ANO, EXPORT: ANO</xs:documentation>
372
+ </xs:annotation>
373
+ <xs:simpleType>
374
+ <xs:restriction base="xs:string">
375
+ <xs:maxLength value="50"/>
376
+ </xs:restriction>
377
+ </xs:simpleType>
378
+ </xs:element>
379
+ <xs:element name="PrikUhrady" type="xs:date" minOccurs="0">
380
+ <xs:annotation>
381
+ <xs:documentation>Jen FP nebo dobropisy FV, Datum posledního příkazu k úhradě IMPORT: NE, EXPORT: ANO</xs:documentation>
382
+ </xs:annotation>
383
+ </xs:element>
384
+ <xs:element name="PriUhrZbyv" type="castkaType" minOccurs="0">
385
+ <xs:annotation>
386
+ <xs:documentation>Jen FP nebo dobropisy FV, Částka zbývá proplatit pro příkaz k úhradě IMPORT: NE, EXPORT: ANO</xs:documentation>
387
+ </xs:annotation>
388
+ </xs:element>
389
+ <xs:element name="Poznamka" type="xs:string" minOccurs="0">
390
+ <xs:annotation>
391
+ <xs:documentation>Poznámka</xs:documentation>
392
+ </xs:annotation>
393
+ </xs:element>
394
+ <xs:element name="Stredisko" type="zkratkaType" minOccurs="0">
395
+ <xs:annotation>
396
+ <xs:documentation> IMPORT: ANO, EXPORT: ANO</xs:documentation>
397
+ </xs:annotation>
398
+ </xs:element>
399
+ <xs:element name="TextPredFa" minOccurs="0">
400
+ <xs:annotation>
401
+ <xs:documentation>jen FV:Memo položka: Text před položkami pro tisk IMPORT: ANO, EXPORT: ANO </xs:documentation>
402
+ </xs:annotation>
403
+ <xs:simpleType>
404
+ <xs:restriction base="xs:string">
405
+ <xs:maxLength value="255"/>
406
+ </xs:restriction>
407
+ </xs:simpleType>
408
+ </xs:element>
409
+ <xs:element name="TextZaFa" minOccurs="0">
410
+ <xs:annotation>
411
+ <xs:documentation>jen FV:Memo položka: Text za položkami pro tisk IMPORT: ANO, EXPORT: ANO </xs:documentation>
412
+ </xs:annotation>
413
+ <xs:simpleType>
414
+ <xs:restriction base="xs:string">
415
+ <xs:maxLength value="255"/>
416
+ </xs:restriction>
417
+ </xs:simpleType>
418
+ </xs:element>
419
+ <xs:element name="TextPredDL" minOccurs="0">
420
+ <xs:annotation>
421
+ <xs:documentation>jen FV:Memo položka: Text před položkami pro tisk IMPORT: ANO, EXPORT: ANO </xs:documentation>
422
+ </xs:annotation>
423
+ <xs:simpleType>
424
+ <xs:restriction base="xs:string">
425
+ <xs:maxLength value="255"/>
426
+ </xs:restriction>
427
+ </xs:simpleType>
428
+ </xs:element>
429
+ <xs:element name="TextZaDL" minOccurs="0">
430
+ <xs:annotation>
431
+ <xs:documentation>jen FV:Memo položka: Text za položkami pro tisk IMPORT: ANO, EXPORT: ANO </xs:documentation>
432
+ </xs:annotation>
433
+ <xs:simpleType>
434
+ <xs:restriction base="xs:string">
435
+ <xs:maxLength value="255"/>
436
+ </xs:restriction>
437
+ </xs:simpleType>
438
+ </xs:element>
439
+ <xs:element name="DateUpom1" type="xs:date" minOccurs="0">
440
+ <xs:annotation>
441
+ <xs:documentation> IMPORT: NE, EXPORT: ANO </xs:documentation>
442
+ </xs:annotation>
443
+ </xs:element>
444
+ <xs:element name="DateUpom2" type="xs:date" minOccurs="0">
445
+ <xs:annotation>
446
+ <xs:documentation>IMPORT: NE, EXPORT: ANO </xs:documentation>
447
+ </xs:annotation>
448
+ </xs:element>
449
+ <xs:element name="DateUpomL" type="xs:date" minOccurs="0">
450
+ <xs:annotation>
451
+ <xs:documentation>IMPORT: NE, EXPORT: ANO </xs:documentation>
452
+ </xs:annotation>
453
+ </xs:element>
454
+ <xs:element name="ValutyProp" type="castkaType" minOccurs="0">
455
+ <xs:annotation>
456
+ <xs:documentation>Zbývá proplatit ve valutách IMPORT: NE, EXPORT: ANO </xs:documentation>
457
+ </xs:annotation>
458
+ </xs:element>
459
+ <xs:element name="SumZaloha" type="castkaType" minOccurs="0">
460
+ <xs:annotation>
461
+ <xs:documentation>Jen u vyúčtovacích faktur: součet cen odečtených záloh s DPH (POUZE EXPORT)</xs:documentation>
462
+ </xs:annotation>
463
+ </xs:element>
464
+ <xs:element name="SumZalohaC" type="castkaType" minOccurs="0">
465
+ <xs:annotation>
466
+ <xs:documentation>Jen u vyúčtovacích faktur: součet cen odečtených záloh s DPH ve valutách (POUZE EXPORT)</xs:documentation>
467
+ </xs:annotation>
468
+ </xs:element>
469
+ <xs:element name="DodOdb" type="dokladFirmaType" minOccurs="0"/>
470
+ <xs:element name="KonecPrij" type="konecPrijFirmaType" minOccurs="0">
471
+ <xs:annotation>
472
+ <xs:documentation>Konečný příjemce (pouze faktura vydaná)</xs:documentation>
473
+ </xs:annotation>
474
+ </xs:element>
475
+ <xs:element name="TypTransakce" minOccurs="0">
476
+ <xs:annotation>
477
+ <xs:documentation>Hodnota pro Intrastat. Údaj je na hlavičkách i na položkách. </xs:documentation>
478
+ </xs:annotation>
479
+ <xs:simpleType>
480
+ <xs:restriction base="xs:string">
481
+ <xs:length value="2"/>
482
+ <xs:whiteSpace value="replace"/>
483
+ </xs:restriction>
484
+ </xs:simpleType>
485
+ </xs:element>
486
+ <xs:element name="DodaciPodm" minOccurs="0">
487
+ <xs:annotation>
488
+ <xs:documentation>Hodnota pro Intrastat. Údaj je jenom na hlavičkách dokladů.</xs:documentation>
489
+ </xs:annotation>
490
+ <xs:simpleType>
491
+ <xs:restriction base="xs:string">
492
+ <xs:whiteSpace value="replace"/>
493
+ <xs:maxLength value="3"/>
494
+ </xs:restriction>
495
+ </xs:simpleType>
496
+ </xs:element>
497
+ <xs:element name="DruhDopravy" minOccurs="0">
498
+ <xs:annotation>
499
+ <xs:documentation>Hodnota pro Intrastat. Údaj se vyskytuje pouze na hlavičkách dokladů. </xs:documentation>
500
+ </xs:annotation>
501
+ <xs:simpleType>
502
+ <xs:restriction base="xs:string">
503
+ <xs:whiteSpace value="replace"/>
504
+ <xs:maxLength value="1"/>
505
+ </xs:restriction>
506
+ </xs:simpleType>
507
+ </xs:element>
508
+ <xs:element name="StOdeslUrc" minOccurs="0">
509
+ <xs:annotation>
510
+ <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í“ (faktura přijatá), při odeslání zboží do jiného členského státu EU se jedná o „Stát určení“ (faktura vydaná). Údaj se vyskytuje pouze na hlavičkách dokladů.</xs:documentation>
511
+ </xs:annotation>
512
+ </xs:element>
513
+ <xs:element name="DopravTuz" type="castkaType" minOccurs="0">
514
+ <xs:annotation>
515
+ <xs:documentation>Doprava tuzemsko</xs:documentation>
516
+ </xs:annotation>
517
+ </xs:element>
518
+ <xs:element name="DopravZahr" type="castkaType" minOccurs="0">
519
+ <xs:annotation>
520
+ <xs:documentation>Doprava zahraničí</xs:documentation>
521
+ </xs:annotation>
522
+ </xs:element>
523
+ <xs:element name="DatumITS" type="xs:date" minOccurs="0">
524
+ <xs:annotation>
525
+ <xs:documentation>Datum pro Intrastat</xs:documentation>
526
+ </xs:annotation>
527
+ </xs:element>
528
+ <xs:element name="Sleva" type="castkaType" minOccurs="0">
529
+ <xs:annotation>
530
+ <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>
531
+ </xs:annotation>
532
+ </xs:element>
533
+ <xs:element name="VyriditNej" type="xs:date" minOccurs="0">
534
+ <xs:annotation>
535
+ <xs:documentation>Pouze u zálohových faktur, data vazební Objednávky Import:NE, Export: ANO</xs:documentation>
536
+ </xs:annotation>
537
+ </xs:element>
538
+ <xs:element name="Vyridit_do" type="xs:date" minOccurs="0">
539
+ <xs:annotation>
540
+ <xs:documentation>Pouze u zálohových faktur, data vazební Objednávky, Datum, do kdy se má vyřídit Import: NE, Export: ANO</xs:documentation>
541
+ </xs:annotation>
542
+ </xs:element>
543
+ <xs:element name="Vyrizeno" type="xs:date" minOccurs="0">
544
+ <xs:annotation>
545
+ <xs:documentation>Pouze u zálohových faktur, data vazební Objednávky, Datum vyřízení Import: NE, Export: ANO</xs:documentation>
546
+ </xs:annotation>
547
+ </xs:element>
548
+ <xs:element name="iDokladID" minOccurs="0">
549
+ <xs:annotation>
550
+ <xs:documentation>Pouze pro interní potřebu (iDoklad)</xs:documentation>
551
+ </xs:annotation>
552
+ </xs:element>
553
+ <xs:element name="iDoklAgend" minOccurs="0">
554
+ <xs:annotation>
555
+ <xs:documentation>Pouze pro interní potřebu (iDoklad)</xs:documentation>
556
+ </xs:annotation>
557
+ </xs:element>
558
+ <xs:element name="Import" minOccurs="0">
559
+ <xs:annotation>
560
+ <xs:documentation>Přesměrování importované faktury do Reportu. Pouze pro interní potřebu (iDoklad).</xs:documentation>
561
+ </xs:annotation>
562
+ <xs:complexType>
563
+ <xs:complexContent>
564
+ <xs:extension base="messageType">
565
+ <xs:sequence minOccurs="0">
566
+ <xs:element name="DodOdb" type="msgFirmaType" minOccurs="0"/>
567
+ <xs:element name="KonecPrij" type="msgFirmaType" minOccurs="0"/>
568
+ <xs:element name="Polozka" type="msgFaktPolozType" minOccurs="0" maxOccurs="unbounded"/>
569
+ <xs:element name="Uhrada" type="messageType" minOccurs="0" maxOccurs="unbounded"/>
570
+ <xs:element name="Data" minOccurs="0">
571
+ <xs:complexType>
572
+ <xs:choice>
573
+ <xs:element name="FaktVyd" type="fakturaType"/>
574
+ <xs:element name="FaktPrij" type="fakturaType"/>
575
+ </xs:choice>
576
+ </xs:complexType>
577
+ </xs:element>
578
+ </xs:sequence>
579
+ <xs:attribute name="Exported" type="xs:boolean" use="optional">
580
+ <xs:annotation>
581
+ <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>
582
+ </xs:annotation>
583
+ </xs:attribute>
584
+ </xs:extension>
585
+ </xs:complexContent>
586
+ </xs:complexType>
587
+ </xs:element>
588
+ <xs:element name="eshop" minOccurs="0">
589
+ <xs:annotation>
590
+ <xs:documentation>Pouze pro faktury vydané určené pro internetový obchod (tj. IN_Export = 6)
591
+
592
+ IMPORT: ANO,
593
+ EXPORT: ANO
594
+ </xs:documentation>
595
+ </xs:annotation>
596
+ <xs:complexType>
597
+ <xs:sequence>
598
+ <xs:element name="IN_Export" type="xs:unsignedByte">
599
+ <xs:annotation>
600
+ <xs:documentation>Typ internetového obchodu:
601
+
602
+ 0 = bez obchodování na internetu
603
+ 6 = E-shop konektor
604
+
605
+ IMPORT:ANO,
606
+ EXPORT:ANO </xs:documentation>
607
+ </xs:annotation>
608
+ </xs:element>
609
+ <xs:element name="IN_Changed" type="xs:boolean" minOccurs="0">
610
+ <xs:annotation>
611
+ <xs:documentation>Příznak změny faktury v Money nebo v internetovém obchodě
612
+
613
+ IMPORT:NE,
614
+ EXPORT:ANO </xs:documentation>
615
+ </xs:annotation>
616
+ </xs:element>
617
+ <xs:element name="IN_FakCis" type="xs:long" minOccurs="0">
618
+ <xs:annotation>
619
+ <xs:documentation>ID (číslo) faktury v internetovém obchodě
620
+
621
+ IMPORT:ANO,
622
+ EXPORT:ANO </xs:documentation>
623
+ </xs:annotation>
624
+ </xs:element>
625
+ <xs:element name="IN_ReqStor" type="xs:boolean" minOccurs="0">
626
+ <xs:annotation>
627
+ <xs:documentation>Požadaek storna faktury v internetovém obchodě
628
+
629
+ IMPORT:ANO,
630
+ EXPORT:NE</xs:documentation>
631
+ </xs:annotation>
632
+ </xs:element>
633
+ <xs:element name="IN_YesStor" type="xs:boolean" minOccurs="0">
634
+ <xs:annotation>
635
+ <xs:documentation>Potvrzení storna faktury z Money
636
+
637
+ IMPORT:NE,
638
+ EXPORT:ANO</xs:documentation>
639
+ </xs:annotation>
640
+ </xs:element>
641
+ <xs:element name="IN_ShopID" type="xs:string" minOccurs="0">
642
+ <xs:annotation>
643
+ <xs:documentation>Číslo XML obchodu v notaci "nn" (char*2). Základní prodejna (00) se ukládá jako " " (mezery).
644
+
645
+ EXPORT:ANO, IMPORT:NE (plní program dle importu)</xs:documentation>
646
+ </xs:annotation>
647
+ </xs:element>
648
+ <xs:element name="IN_Poznamk" minOccurs="0">
649
+ <xs:annotation>
650
+ <xs:documentation>Poznámka k faktuře v internetovém obchodě
651
+
652
+ IMPORT:ANO,
653
+ EXPORT:ANO</xs:documentation>
654
+ </xs:annotation>
655
+ <xs:simpleType>
656
+ <xs:restriction base="xs:string">
657
+ <xs:maxLength value="100"/>
658
+ </xs:restriction>
659
+ </xs:simpleType>
660
+ </xs:element>
661
+ </xs:sequence>
662
+ </xs:complexType>
663
+ </xs:element>
664
+ <xs:element name="Pojisteno" type="castkaType" minOccurs="0">
665
+ <xs:annotation>
666
+ <xs:documentation>Expedice - pojistné (pouze faktury vydané a pouze SK verze)</xs:documentation>
667
+ </xs:annotation>
668
+ </xs:element>
669
+ <xs:element name="Prepravce" type="prepravceType" minOccurs="0">
670
+ <xs:annotation>
671
+ <xs:documentation>Expedice - přepravce (pouze faktury vydané)</xs:documentation>
672
+ </xs:annotation>
673
+ </xs:element>
674
+ <xs:element name="TypZasillky" type="typZasilkyType" minOccurs="0">
675
+ <xs:annotation>
676
+ <xs:documentation>Expedice - typ zásilky (pouze faktury vydané)</xs:documentation>
677
+ </xs:annotation>
678
+ </xs:element>
679
+ <xs:element name="Prepr_Vyplatne" type="preprDoplnUdajType" minOccurs="0">
680
+ <xs:annotation>
681
+ <xs:documentation>Expedice - doplňkový údaj - výplatné (pouze faktury vydané a pouze SK verze)</xs:documentation>
682
+ </xs:annotation>
683
+ </xs:element>
684
+ <xs:element name="Prepr_UhradaDobirky" type="preprDoplnUdajType" minOccurs="0">
685
+ <xs:annotation>
686
+ <xs:documentation>Expedice - doplňkový údaj - úhrada dobírky (pouze faktury vydané a pouze SK verze)</xs:documentation>
687
+ </xs:annotation>
688
+ </xs:element>
689
+ <xs:element name="Prepr_Trida" type="preprDoplnUdajType" minOccurs="0">
690
+ <xs:annotation>
691
+ <xs:documentation>Expedice - doplňkový údaj - třída (pouze faktury vydané a pouze SK verze)</xs:documentation>
692
+ </xs:annotation>
693
+ </xs:element>
694
+ <xs:element name="Prepr_SeznamSluzeb" minOccurs="0">
695
+ <xs:annotation>
696
+ <xs:documentation>Expedice - doplňkový údaj - seznam služeb (pouze faktury vydané a pouze SK verze)</xs:documentation>
697
+ </xs:annotation>
698
+ <xs:complexType>
699
+ <xs:sequence>
700
+ <xs:element name="Prepr_Sluzba" type="preprDoplnUdajType" maxOccurs="unbounded">
701
+ <xs:annotation>
702
+ <xs:documentation>Doplňkový údaj - služba</xs:documentation>
703
+ </xs:annotation>
704
+ </xs:element>
705
+ </xs:sequence>
706
+ </xs:complexType>
707
+ </xs:element>
708
+ <xs:element name="SeznamPolozek" minOccurs="0">
709
+ <xs:annotation>
710
+ <xs:documentation>Seznam položek normálních faktur</xs:documentation>
711
+ </xs:annotation>
712
+ <xs:complexType>
713
+ <xs:sequence>
714
+ <xs:element name="Polozka" type="polFakturyType" minOccurs="0" maxOccurs="unbounded"/>
715
+ </xs:sequence>
716
+ </xs:complexType>
717
+ </xs:element>
718
+ <xs:element name="SeznamZalPolozek" minOccurs="0">
719
+ <xs:annotation>
720
+ <xs:documentation>Seznam položek zálohových (objednávkových) faktur</xs:documentation>
721
+ </xs:annotation>
722
+ <xs:complexType>
723
+ <xs:sequence>
724
+ <xs:element name="Polozka" type="polObjednType" minOccurs="0" maxOccurs="unbounded"/>
725
+ </xs:sequence>
726
+ </xs:complexType>
727
+ </xs:element>
728
+ <xs:element name="SeznamUhrad" minOccurs="0">
729
+ <xs:annotation>
730
+ <xs:documentation>Seznam úhrad</xs:documentation>
731
+ </xs:annotation>
732
+ <xs:complexType>
733
+ <xs:sequence>
734
+ <xs:element name="Uhrada" type="uhradaType" minOccurs="0" maxOccurs="unbounded"/>
735
+ </xs:sequence>
736
+ </xs:complexType>
737
+ </xs:element>
738
+ <xs:element name="MojeFirma" type="mojeFirmaType" minOccurs="0">
739
+ <xs:annotation>
740
+ <xs:documentation>IMPORT: NE, EXPORT: ANO (pouze u FV se importují údaje Banka, Ucet, KodBanky)</xs:documentation>
741
+ </xs:annotation>
742
+ </xs:element>
743
+ <xs:element name="SeznamNepPlateb" minOccurs="0">
744
+ <xs:annotation>
745
+ <xs:documentation>Seznam nepeněžních plateb na fakturách vydaných (pouze CZ verze)
746
+ Import: ANO, Export ANO</xs:documentation>
747
+ </xs:annotation>
748
+ <xs:complexType>
749
+ <xs:sequence>
750
+ <xs:element name="NepPlatba" type="nepPlatbaType" minOccurs="0" maxOccurs="unbounded"/>
751
+ </xs:sequence>
752
+ </xs:complexType>
753
+ </xs:element>
754
+ <xs:element name="Vlajky" minOccurs="0">
755
+ <xs:complexType>
756
+ <xs:sequence>
757
+ <xs:element name="Global" type="VlajkaType" minOccurs="0"/>
758
+ <xs:element name="User" type="VlajkaType" minOccurs="0"/>
759
+ </xs:sequence>
760
+ </xs:complexType>
761
+ </xs:element>
762
+ <xs:element name="SeznamVazeb" minOccurs="0">
763
+ <xs:annotation>
764
+ <xs:documentation>Sezenam vazebních dokladů</xs:documentation>
765
+ </xs:annotation>
766
+ <xs:complexType>
767
+ <xs:sequence>
768
+ <xs:element name="Vazba" type="vazbaType" maxOccurs="unbounded">
769
+ <xs:annotation>
770
+ <xs:documentation>Vazba</xs:documentation>
771
+ </xs:annotation>
772
+ </xs:element>
773
+ </xs:sequence>
774
+ </xs:complexType>
775
+ </xs:element>
776
+ <xs:element name="Dokumenty" minOccurs="0">
777
+ <xs:annotation>
778
+ <xs:documentation>Seznam připojených dokumentů
779
+ IMPORT: ANO
780
+ EXPORT: NE</xs:documentation>
781
+ </xs:annotation>
782
+ <xs:complexType>
783
+ <xs:sequence>
784
+ <xs:element name="Dokument" type="xs:string" maxOccurs="unbounded">
785
+ <xs:annotation>
786
+ <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>
787
+ </xs:annotation>
788
+ </xs:element>
789
+ </xs:sequence>
790
+ </xs:complexType>
791
+ </xs:element>
792
+ </xs:sequence>
793
+ </xs:complexType>
794
+ <xs:complexType name="polFakturyType">
795
+ <xs:sequence>
796
+ <xs:element name="Popis" type="popisType" minOccurs="0">
797
+ <xs:annotation>
798
+ <xs:documentation>IMPORT: ANO, EXPORT: ANO </xs:documentation>
799
+ </xs:annotation>
800
+ </xs:element>
801
+ <xs:element name="Poznamka" minOccurs="0">
802
+ <xs:annotation>
803
+ <xs:documentation>Memo položka: IMPORT: ANO, EXPORT: ANO </xs:documentation>
804
+ </xs:annotation>
805
+ </xs:element>
806
+ <xs:element name="PocetMJ" type="mnozstviType" minOccurs="0">
807
+ <xs:annotation>
808
+ <xs:documentation>IMPORT: ANO, EXPORT: ANO </xs:documentation>
809
+ </xs:annotation>
810
+ </xs:element>
811
+ <xs:element name="SazbaDPH" type="procentoType" minOccurs="0">
812
+ <xs:annotation>
813
+ <xs:documentation>IMPORT: ANO, EXPORT: ANO </xs:documentation>
814
+ </xs:annotation>
815
+ </xs:element>
816
+ <xs:element name="Cena" type="castkaType" minOccurs="0">
817
+ <xs:annotation>
818
+ <xs:documentation>Cena za Mj. Typ ceny určuje proměnná CenaTyp: doklad v domácí měně: IMPORT: ANO, EXPORT: ANO doklad v cizí měně: IMPORT: NE (kalkuluje se z Valuty), EXPORT: ANO </xs:documentation>
819
+ </xs:annotation>
820
+ </xs:element>
821
+ <xs:element name="SouhrnDPH" type="souhrnDPHPolType" minOccurs="0">
822
+ <xs:annotation>
823
+ <xs:documentation>Rozpis částek DPH (POUZE ISDOC EXPORT)</xs:documentation>
824
+ </xs:annotation>
825
+ </xs:element>
826
+ <xs:element name="CenaTyp" minOccurs="0">
827
+ <xs:annotation>
828
+ <xs:documentation>0=bez DPH, 1=s DPH, 2=jen DPH, 3=jen základ, skladové položky pouze hodnoty 0,1 IMPORT: ANO, EXPORT: ANO </xs:documentation>
829
+ </xs:annotation>
830
+ <xs:simpleType>
831
+ <xs:restriction base="xs:decimal">
832
+ <xs:totalDigits value="3"/>
833
+ <xs:fractionDigits value="0"/>
834
+ <xs:enumeration value="0"/>
835
+ <xs:enumeration value="1"/>
836
+ <xs:enumeration value="2"/>
837
+ <xs:enumeration value="3"/>
838
+ </xs:restriction>
839
+ </xs:simpleType>
840
+ </xs:element>
841
+ <xs:element name="Sleva" type="castkaType" minOccurs="0">
842
+ <xs:annotation>
843
+ <xs:documentation>Sleva na položku</xs:documentation>
844
+ </xs:annotation>
845
+ </xs:element>
846
+ <xs:element name="Cinnost" minOccurs="0">
847
+ <xs:annotation>
848
+ <xs:documentation>IMPORT: ANO, EXPORT: ANO </xs:documentation>
849
+ </xs:annotation>
850
+ <xs:simpleType>
851
+ <xs:restriction base="xs:string">
852
+ <xs:maxLength value="10"/>
853
+ </xs:restriction>
854
+ </xs:simpleType>
855
+ </xs:element>
856
+ <xs:element name="Poradi" type="cisloType" minOccurs="0">
857
+ <xs:annotation>
858
+ <xs:documentation>Pořadí položek při tisku IMPORT: ANO, EXPORT: ANO </xs:documentation>
859
+ </xs:annotation>
860
+ </xs:element>
861
+ <xs:element name="KodDPH" minOccurs="0">
862
+ <xs:annotation>
863
+ <xs:documentation>Členění DPH IMPORT: ANO, EXPORT: ANO </xs:documentation>
864
+ </xs:annotation>
865
+ <xs:simpleType>
866
+ <xs:restriction base="xs:string">
867
+ <xs:maxLength value="10"/>
868
+ </xs:restriction>
869
+ </xs:simpleType>
870
+ </xs:element>
871
+ <xs:element name="Stredisko" minOccurs="0">
872
+ <xs:annotation>
873
+ <xs:documentation>IMPORT: ANO, EXPORT: ANO </xs:documentation>
874
+ </xs:annotation>
875
+ <xs:simpleType>
876
+ <xs:restriction base="xs:string">
877
+ <xs:maxLength value="10"/>
878
+ </xs:restriction>
879
+ </xs:simpleType>
880
+ </xs:element>
881
+ <xs:element name="Zakazka" minOccurs="0">
882
+ <xs:annotation>
883
+ <xs:documentation>IMPORT: ANO, EXPORT: ANO </xs:documentation>
884
+ </xs:annotation>
885
+ <xs:simpleType>
886
+ <xs:restriction base="xs:string">
887
+ <xs:maxLength value="10"/>
888
+ </xs:restriction>
889
+ </xs:simpleType>
890
+ </xs:element>
891
+ <xs:element name="Predkontac" minOccurs="0">
892
+ <xs:annotation>
893
+ <xs:documentation>IMPORT: ANO, EXPORT: ANO </xs:documentation>
894
+ </xs:annotation>
895
+ <xs:simpleType>
896
+ <xs:restriction base="xs:string">
897
+ <xs:maxLength value="10"/>
898
+ </xs:restriction>
899
+ </xs:simpleType>
900
+ </xs:element>
901
+ <xs:element name="Valuty" type="castkaType" minOccurs="0">
902
+ <xs:annotation>
903
+ <xs:documentation>Cena ve valutách u dokladů v cizí měně IMPORT: ANO, EXPORT: ANO </xs:documentation>
904
+ </xs:annotation>
905
+ </xs:element>
906
+ <xs:element name="NesklPolozka" minOccurs="0">
907
+ <xs:complexType>
908
+ <xs:sequence>
909
+ <xs:element name="Zkrat" minOccurs="0">
910
+ <xs:annotation>
911
+ <xs:documentation>Zkratka: IMPORT: ANO, Export: ANO</xs:documentation>
912
+ </xs:annotation>
913
+ <xs:simpleType>
914
+ <xs:restriction base="xs:string">
915
+ <xs:maxLength value="20"/>
916
+ </xs:restriction>
917
+ </xs:simpleType>
918
+ </xs:element>
919
+ <xs:element name="MJ" minOccurs="0">
920
+ <xs:annotation>
921
+ <xs:documentation>Měrná jednotka IMPORT: ANO, EXPORT: ANO </xs:documentation>
922
+ </xs:annotation>
923
+ <xs:simpleType>
924
+ <xs:restriction base="xs:string">
925
+ <xs:maxLength value="10"/>
926
+ </xs:restriction>
927
+ </xs:simpleType>
928
+ </xs:element>
929
+ <xs:element name="UzivCode" minOccurs="0">
930
+ <xs:annotation>
931
+ <xs:documentation>Užívatelský kód (PLU) Import: ANO, Export: ANO</xs:documentation>
932
+ </xs:annotation>
933
+ <xs:simpleType>
934
+ <xs:restriction base="xs:string">
935
+ <xs:maxLength value="6"/>
936
+ </xs:restriction>
937
+ </xs:simpleType>
938
+ </xs:element>
939
+ <xs:element name="Katalog" minOccurs="0">
940
+ <xs:annotation>
941
+ <xs:documentation>Číslo katalogu IMPORT: ANO, EXPORT: ANO </xs:documentation>
942
+ </xs:annotation>
943
+ <xs:simpleType>
944
+ <xs:restriction base="xs:string">
945
+ <xs:maxLength value="20"/>
946
+ </xs:restriction>
947
+ </xs:simpleType>
948
+ </xs:element>
949
+ <xs:element name="BarCode" minOccurs="0">
950
+ <xs:annotation>
951
+ <xs:documentation>Čarový kód Import: ANO, Export: ANO</xs:documentation>
952
+ </xs:annotation>
953
+ <xs:simpleType>
954
+ <xs:restriction base="xs:string">
955
+ <xs:maxLength value="20"/>
956
+ </xs:restriction>
957
+ </xs:simpleType>
958
+ </xs:element>
959
+ <xs:element name="Zaloha" type="xs:boolean" minOccurs="0">
960
+ <xs:annotation>
961
+ <xs:documentation>Příznak odpočtu zálohy. Default:false, true=položka je typu odpočet zálohy IMPORT: ANO, EXPORT: ANO </xs:documentation>
962
+ </xs:annotation>
963
+ </xs:element>
964
+ <xs:element name="ZdanZaloha" type="xs:boolean" minOccurs="0">
965
+ <xs:annotation>
966
+ <xs:documentation>Příznak, zda se v případě odpočtu zálohy jedná o zdaněnou zálohu.
967
+ IMPORT: ANO, EXPORT: ANO </xs:documentation>
968
+ </xs:annotation>
969
+ </xs:element>
970
+ <xs:element name="KonecOdpocet" type="xs:boolean" minOccurs="0">
971
+ <xs:annotation>
972
+ <xs:documentation>Příznak, zda se jedná o konečný odpočet zálohy.
973
+ IMPORT: ANO, EXPORT: ANO </xs:documentation>
974
+ </xs:annotation>
975
+ </xs:element>
976
+ <xs:element name="TypZarDoby" minOccurs="0">
977
+ <xs:annotation>
978
+ <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>
979
+ </xs:annotation>
980
+ <xs:simpleType>
981
+ <xs:restriction base="xs:string">
982
+ <xs:maxLength value="1"/>
983
+ </xs:restriction>
984
+ </xs:simpleType>
985
+ </xs:element>
986
+ <xs:element name="ZarDoba" minOccurs="0">
987
+ <xs:annotation>
988
+ <xs:documentation>IMPORT: ANO (ignoruje se když TypZarDoby=N,S) EXPORT: ANO </xs:documentation>
989
+ </xs:annotation>
990
+ <xs:simpleType>
991
+ <xs:restriction base="xs:decimal">
992
+ <xs:totalDigits value="5"/>
993
+ <xs:fractionDigits value="0"/>
994
+ </xs:restriction>
995
+ </xs:simpleType>
996
+ </xs:element>
997
+ <xs:element name="Protizapis">
998
+ <xs:annotation>
999
+ <xs:documentation>Příznak pro zaúčtování odpočtu zálohy.TRUE=účtuje se kladnou částkou, FALSE=zápornou částkou.IMPORT:ANO,EXPORT:ANO </xs:documentation>
1000
+ </xs:annotation>
1001
+ </xs:element>
1002
+ <xs:element name="PlnenoDPH" type="xs:date" minOccurs="0">
1003
+ <xs:annotation>
1004
+ <xs:documentation>Datum zdanitelného plnění DPH odpočtové položky (pouze CZ verze).</xs:documentation>
1005
+ </xs:annotation>
1006
+ </xs:element>
1007
+ <xs:element name="Hmotnost" minOccurs="0">
1008
+ <xs:annotation>
1009
+ <xs:documentation>Hmotnost Export:ANO, Import:ANO.</xs:documentation>
1010
+ </xs:annotation>
1011
+ <xs:simpleType>
1012
+ <xs:restriction base="xs:float">
1013
+ <xs:whiteSpace value="replace"/>
1014
+ </xs:restriction>
1015
+ </xs:simpleType>
1016
+ </xs:element>
1017
+ <xs:element name="VyrobniCis" minOccurs="0">
1018
+ <xs:annotation>
1019
+ <xs:documentation>Výrobní číslo, Import:ANO, Export: ANO</xs:documentation>
1020
+ </xs:annotation>
1021
+ <xs:simpleType>
1022
+ <xs:restriction base="xs:string">
1023
+ <xs:maxLength value="50"/>
1024
+ </xs:restriction>
1025
+ </xs:simpleType>
1026
+ </xs:element>
1027
+ <xs:element name="DatExp" type="xs:date" minOccurs="0">
1028
+ <xs:annotation>
1029
+ <xs:documentation>Datum exspirace Import: ANO, Export:ANO</xs:documentation>
1030
+ </xs:annotation>
1031
+ </xs:element>
1032
+ <xs:element name="DatNakupu" type="xs:date" minOccurs="0">
1033
+ <xs:annotation>
1034
+ <xs:documentation>Datum nákupu: Import: ANO, Export:ANO</xs:documentation>
1035
+ </xs:annotation>
1036
+ </xs:element>
1037
+ <xs:element name="Dodavatel" type="firmaType" minOccurs="0">
1038
+ <xs:annotation>
1039
+ <xs:documentation>Dodavatel (pouze prodejní objednávky), Export:ANO, Import:ANO</xs:documentation>
1040
+ </xs:annotation>
1041
+ </xs:element>
1042
+ <xs:element name="PredmPln" type="xs:string" minOccurs="0">
1043
+ <xs:annotation>
1044
+ <xs:documentation>Předmět plnění pro režim přenesení daňové povinnosti Import: ANO, Export: ANO</xs:documentation>
1045
+ </xs:annotation>
1046
+ </xs:element>
1047
+ </xs:sequence>
1048
+ </xs:complexType>
1049
+ </xs:element>
1050
+ <xs:element name="CenaPoSleve" type="xs:boolean" minOccurs="0">
1051
+ <xs:annotation>
1052
+ <xs:documentation>Indikace, zda je cena po slevě</xs:documentation>
1053
+ </xs:annotation>
1054
+ </xs:element>
1055
+ <xs:element name="ZvlRezim" type="xs:byte" minOccurs="0">
1056
+ <xs:annotation>
1057
+ <xs:documentation>Zvláštní režim DPH:
1058
+ 0 = neurčeno
1059
+ 1 = použité zboží
1060
+ 2 = umělecké dílo
1061
+ 3 = sběratelský předmět, starožitnost
1062
+ 4 = cestovní služba IMPORT: ANO, EXPORT: ANO</xs:documentation>
1063
+ </xs:annotation>
1064
+ </xs:element>
1065
+ <xs:element name="ZvlDPH" type="procentoType" minOccurs="0">
1066
+ <xs:annotation>
1067
+ <xs:documentation>Sazba DPH pro zvláštní režim
1068
+ IMPORT: ANO, EXPORT: ANO</xs:documentation>
1069
+ </xs:annotation>
1070
+ </xs:element>
1071
+ <xs:element name="RezimEET" type="xs:byte" minOccurs="0">
1072
+ <xs:annotation>
1073
+ <xs:documentation>Režim EET:
1074
+ 0 = neurčeno
1075
+ 1 = poukaz
1076
+ 2 = vratná záloha
1077
+ IMPORT: ANO, EXPORT: ANO</xs:documentation>
1078
+ </xs:annotation>
1079
+ </xs:element>
1080
+ <xs:element name="SklPolozka" type="polSklDoklType" minOccurs="0"/>
1081
+ <xs:element name="SeznamVazeb" minOccurs="0">
1082
+ <xs:annotation>
1083
+ <xs:documentation>Sezenam vazebních dokladů (pouze u odpočtových položek)</xs:documentation>
1084
+ </xs:annotation>
1085
+ <xs:complexType>
1086
+ <xs:sequence>
1087
+ <xs:element name="Vazba" type="vazbaType">
1088
+ <xs:annotation>
1089
+ <xs:documentation>Vazba</xs:documentation>
1090
+ </xs:annotation>
1091
+ </xs:element>
1092
+ </xs:sequence>
1093
+ </xs:complexType>
1094
+ </xs:element>
1095
+ </xs:sequence>
1096
+ </xs:complexType>
1097
+ </xs:schema>